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

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

error message when people try to register

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

Previous topic - Next topic

0 Members and 2 Guests 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.