Getting Fatal Error when showing intermediate pictures. Getting Fatal Error when showing intermediate pictures.
 

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

Getting Fatal Error when showing intermediate pictures.

Started by avery-t, April 12, 2013, 04:56:29 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

avery-t

Gallery Configuration - Coppermine Photo Gallery 1.5.22 (stable)
My gallery at http://www.annabella-thorne.com has been working just fine since October of 2012.
Today, I uploaded a new theme called curve_lucid_yellow. Everything appeared to be working fine.
Later in the day I had new pictures to upload, when I went to do the batch add to an album,
instead of the green check mark I received a green radar screen (unknown.png) and the following error:

Fatal error: Call to undefined function cpg_picture_dimension_exceeds_intermediate_limit() in ... btgallery/include/themes.inc.php on line 3275

Now, when accessing any album, I get the same error when trying to go to the filmstrip by clicking a thumbnail.
If I turn off "Create intermediate pictures" and click a thumbnail, I get the fullsize picture.

I certainly would appreciate any help in correcting this problem. I must have meddled in some of the wrong files.

Avery-T

Αndré


avery-t

Quote from: Αndré on April 12, 2013, 09:24:58 AM
Does it work with other themes, like curve?

No, I have tried unmodified themes and none are working. Later today I will do a "Check Versions" and see if any files are out of date or red-flagged.

Gallery Configuration - Coppermine Photo Gallery 1.5.22 (stable)


Αndré

The function cpg_picture_dimension_exceeds_intermediate_limit is defined in include/functions.inc.php, so you should have a closer look especially at that file.

avery-t

Quote from: Αndré on April 12, 2013, 03:34:52 PM
The function cpg_picture_dimension_exceeds_intermediate_limit is defined in include/functions.inc.php, so you should have a closer look especially at that file.

Replacing the include/functions.inc.php corrected the fatal error problem. Thank you!

Now the one album that I created, while having that problem, has no intermediate files. How do I create them.
1. tick all the files again and retry
or
2. delete album and re-up the files.

Gallery Configuration - Coppermine Photo Gallery 1.5.22 (stable)

phill104

Take a look at the admin tools. There are options in there to re-create intermediate and/or thumbs.
It is a mistake to think you can solve any major problems just with potatoes.

avery-t

Quote from: Phill Luckhurst on April 12, 2013, 09:04:56 PM
Take a look at the admin tools. There are options in there to re-create intermediate and/or thumbs.

I'd vote for you anyday, Αndré and Phill, you guys got it all correct.


Thanks a lot.
Gallery Configuration - Coppermine Photo Gallery 1.5.22 (stable)