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

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

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.