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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.