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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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.