Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Error using CPIMAGEGET, problem with thumbnail prefix?  (Read 7219 times)

0 Members and 1 Guest are viewing this topic.

Davide Renda

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1427
  • aka "Lontano"
    • www.daviderenda.eu
Error using CPIMAGEGET, problem with thumbnail prefix?
« on: August 26, 2006, 10:24:35 pm »

When calling cpimageget.php I have following error message
Code: [Select]
Fatal error: Call to undefined function: setphotoprefix() in /web/htdocs/www.xxxxxxxxxxx.xxx/home/cpmfetch/cfimageget.php on line 162Line 162 refers to thumbanil prefix, which is set as default on line 44:
Code: [Select]
$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  ;)
« Last Edit: August 27, 2006, 11:42:42 am by GauGau »
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Error using CPIMAGEGET, problem with thumbnail prefix?
« Reply #1 on: August 26, 2006, 11:33:55 pm »

When calling cpimageget.php I have following error message
Code: [Select]
Fatal error: Call to undefined function: setphotoprefix() in /web/htdocs/www.xxxxxxxxxxx.xxx/home/cpmfetch/cfimageget.php on line 162Line 162 refers to thumbanil prefix, which is set as default on line 44:
Code: [Select]
$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
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1427
  • aka "Lontano"
    • www.daviderenda.eu
Re: Error using CPIMAGEGET, problem with thumbnail prefix?
« Reply #2 on: August 26, 2006, 11:41:21 pm »

Quote
That 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

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Error using CPIMAGEGET, problem with thumbnail prefix?
« Reply #3 on: August 27, 2006, 02:54:10 am »

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
Logged
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
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.