PDA

View Full Version : Where's the parse error?


Bison
09-10-2002, 10:03 PM
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, 10:59 PM
Rolodex... change cpheader('');

to:

cpheader();

regards...

g-force2k2

Bison
09-11-2002, 01: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, 02:13 PM
if thats the case be sure to report it to vbulletin.com immediately... regards...

g-force2k2