error message when people try to register error message when people try to register
 

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

error message when people try to register

Started by imperious, November 23, 2004, 09:19:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

imperious

I went to the FAQ and found this code

How can I let unregistered users see the thumbnails only, but not the actual pictures?
Edit displayimage.php and add
if (!USER_ID) cpg_die(ERROR, 'You need to register to access this page', __FILE__, __LINE__);
just before


/**************************************************************************
* Local functions definition
**************************************************************************/




I did that code just like it says and now people that try to register get this error message

"Parse error: parse error, unexpected T_STRING in /home/mike1/public_html/port/register.php on line 180"

Please help me figure this out

My url is

http://www.imperiousphotography.com/port/index.php

Thanks!




Nibbler

Replace your register.php with a fresh version.

imperious


Tranz

Go to the downloads link at the top of this page and download the package that matches your version. Uncompress the archive file and upload register.php to your server space.