Error using CPIMAGEGET, problem with thumbnail prefix? Error using CPIMAGEGET, problem with thumbnail prefix?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Error using CPIMAGEGET, problem with thumbnail prefix?

Started by Davide Renda, August 26, 2006, 10:24:35 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Davide Renda

When calling cpimageget.php I have following error message
Fatal error: Call to undefined function: setphotoprefix() in /web/htdocs/www.xxxxxxxxxxx.xxx/home/cpmfetch/cfimageget.php on line 162
Line 162 refers to thumbanil prefix, which is set as default on line 44:
$thumbnailprefix='thumb_';
$intermedprefix='normal_';
$fullsizeprefix='';


I run CPG 1.4.8 with Stramm's modpack, but I have mini-thumbs not activated, hence the thumbnail prefix is definitely thumb_ as default.  Any idea where does this error come from?

PS. the path has been changed (the gallery stays in the root), as long as $ALLOW_DIRECT_ACCESS was set to true  ;)

vuud

Quote from: lontano on August 26, 2006, 10:24:35 PM
When calling cpimageget.php I have following error message
Fatal error: Call to undefined function: setphotoprefix() in /web/htdocs/www.xxxxxxxxxxx.xxx/home/cpmfetch/cfimageget.php on line 162
Line 162 refers to thumbanil prefix, which is set as default on line 44:
$thumbnailprefix='thumb_';
$intermedprefix='normal_';
$fullsizeprefix='';


I run CPG 1.4.8 with Stramm's modpack, but I have mini-thumbs not activated, hence the thumbnail prefix is definitely thumb_ as default.  Any idea where does this error come from?

PS. the path has been changed (the gallery stays in the root), as long as $ALLOW_DIRECT_ACCESS was set to true  ;)

Download version 1.9.2 of the beta's.  That will fix your problem.

Also, if you are running the beta, please post bugs and stuff in the thread for that (2.0 SUPPORT THREAD or something like that)

http://forum.coppermine-gallery.net/index.php?topic=35432.0
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

Davide Renda

QuoteThat will fix your problem
That HAS fixed the problem!  :)
Thanks.

PS. I didn't post this as a bug, as I thought it was something to do with my limited knowledge of it!

vuud

Quote from: lontano on August 26, 2006, 11:41:21 PM
That HAS fixed the problem!  :)
Thanks.

PS. I didn't post this as a bug, as I thought it was something to do with my limited knowledge of it!

Hah!  You don't give yourself enough credit.  You are my #1 bug hunter at this point :)

Certainly forcing me to clean things up in the beta

Thanks for all your help, and for bearing with a bleeding edge beta
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco