Error - let unregistered users see the thumbnails only Error - let unregistered users see the thumbnails only
 

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 - let unregistered users see the thumbnails only

Started by scottking, October 09, 2006, 01:55:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

scottking

I did as followed to displayimage.php and get an error

if (!USER_ID) cpg_die(ERROR, 'You need to register to access this page', __FILE__, __LINE__);
just before
/**************************************************************************
* Local functions definition
**************************************************************************/

Error

Parse error: syntax error, unexpected T_DNUMBER in /home/nicholeh/public_html/photogallery/displayimage.php on line 97


Here is line 97

$ipinfo = ' (' . $CURRENT_PIC_DATA['pic_hdr_ip'] . '[' . $CURRENT_PIC_DATA['pic_raw_ip'] . ']) / ';

lookking for assistance on this error

Thanks
Scott

Sami

- Re-upload meded file again
- Rename it to displayimage.txt and attach it to this thread
‍I don't answer to PM with support question
Please post your issue to related board

scottking

Here is the displayimage.txt

Should of mentioned too I am running 1.49 with no mods

Sami

‍I don't answer to PM with support question
Please post your issue to related board

scottking

Solved.

Hmm strange. when I upload the displayimage.php I get the Parse error. If I delete the displayimage.php and upload the displayimage.txt and then rename it to .php everything works fine.

Sami

‍I don't answer to PM with support question
Please post your issue to related board