forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: debragrant on August 24, 2006, 03:59:52 pm
-
I tried to test my installation:
coppermine is installed - url/gallery
edited cftest.php to /gallery
went to - url/cpmfetch/cftest.php and got this error:
Parse error: parse error, unexpected T_DNUMBER in /home/fhlinux222/m/maura-tierney.diva-host.com/user/htdocs/cpmfetch/cftest.php on line 27
what is wrong?
this mod is ideal for me as I'm wanting to show the lastest images on my home page so I'd really like to get this to work
Vuud: Moderator renamed subject to something descriptive
-
Review what you changed in cftest.php, and if needed start with a fresh copy. I would bet a finger that you somehow added a typo in there when you changed to /gallery.
Please also try be more descriptive in the post titles in the future :) That way other people with that problem can benefit from it.
Vuud
-
the only thing I change was this
$ChangeThisToYourPartialUrlToCPG = "/gallery;
or
$ChangeThisToYourPartialUrlToCPG = "../gallery;
uploaded a clean cftest.php file got the check screen with just the line 5 error, will now try changing it.
it worked this time :-)
-
the only thing I change was this
$ChangeThisToYourPartialUrlToCPG = "/gallery;
or
$ChangeThisToYourPartialUrlToCPG = "../gallery;
uploaded a clean cftest.php file got the check screen with just the line 5 error, will now try changing it.
it worked this time :-)
Good. PHP errors of that sort are checked for before I ship it out. If one crops up its due to something changing after by someone or something.
I get to keep my finger :D
-
When opening a quote you need to close it again as well. To confirm that vuud can keep his fingers:
$ChangeThisToYourPartialUrlToCPG = "/gallery;
for sure never was in the code. It probably read $ChangeThisToYourPartialUrlToCPG = "/gallery";
(note the traling double quote).