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

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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.