config.php parse error line 97 config.php parse error line 97
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

config.php parse error line 97

Started by kenagain, August 14, 2005, 12:03:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kenagain

When clicking, config I get the following error message:

Parse error: parse error, unexpected $ in /[myserverpath]/config.php on line 97

Line 97 of config.php code is:

                        <select name="$name" class="listbox">

kegobeer

If you haven't done any modifications, then your file is corrupt.  Upload a fresh copy to your website and try again.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

kenagain

I removed the $ from:

select name="$name" class="listbox"

making it:

select name="name" class="listbox"

and it works

Nibbler

It will stop the page working correctly though.