vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Where's the parse error? (https://vborg.vbsupport.ru/showthread.php?t=43409)

Bison 09-10-2002 09:03 PM

Where's the parse error?
 
Hello guys,

I just installed VB 2.2.7 and when I clicked on the link to goto my admin panel, I got this error:

Parse error: parse error in /home/www/forum/admin/index.php on line 89

Here's the code from line #82 - #94:

=========================

if ($action=="home") {

cpheader(");

?>

<p><b>Welcome to the vBulletin Administrators Control Panel</b><br>
<font size='1'>Software Developed by <a href="http://www.jelsoft.com">Jelsoft Enterprises Limited</a></font></p>

<p><font size='1'>From here, you can control all aspects of your vBulletin forums.
Please select what you need from the links down the left hand side of this page.</font><p>

<?php

============================

Maybe i'm blind but i can't see the error in the code above. I tried changing the ' ' around the font size number but that wasn't the problem.

Please advise!

Thanks in advance!

g-force2k2 09-10-2002 09:59 PM

Rolodex... change cpheader('');

to:

PHP Code:

cpheader(); 

regards...

g-force2k2

Bison 09-11-2002 12:13 AM

Thanks g-force!

I figured it out after looking at an old index.php file from the previous version. That certainly must be a bug in the 2.2.7 version because I didn't put that there!

I just ran the installer and that's it!

g-force2k2 09-11-2002 01:13 PM

if thats the case be sure to report it to vbulletin.com immediately... regards...

g-force2k2


All times are GMT. The time now is 11:36 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01572 seconds
  • Memory Usage 1,710KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete