forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: scottking on October 09, 2006, 01:55:58 am
-
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
-
- Re-upload meded file again
- Rename it to displayimage.txt and attach it to this thread
-
Here is the displayimage.txt
Should of mentioned too I am running 1.49 with no mods
-
Your attached file is fine !
Try to re-upload it
-
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.
-
What FTP Client you are using ?