forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: avery-t on April 12, 2013, 04:56:29 am

Title: Getting Fatal Error when showing intermediate pictures.
Post by: avery-t on April 12, 2013, 04:56:29 am
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
Title: Re: Getting Fatal Error when showing intermediate pictures.
Post by: Αndré on April 12, 2013, 09:24:58 am
Does it work with other themes, like curve (http://annabella-thorne.com/btgallery/?theme=curve)?
Title: Re: Re: Getting Fatal Error when showing intermediate pictures.
Post by: avery-t on April 12, 2013, 03:20:27 pm
Does it work with other themes, like curve (http://annabella-thorne.com/btgallery/?theme=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)

Title: Re: Getting Fatal Error when showing intermediate pictures.
Post by: Α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.
Title: Re: Re: Getting Fatal Error when showing intermediate pictures.
Post by: avery-t on April 12, 2013, 08:44:53 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)
Title: Re: Getting Fatal Error when showing intermediate pictures.
Post by: phill104 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.
Title: Re: Re: Getting Fatal Error when showing intermediate pictures.
Post by: avery-t on April 12, 2013, 09:43:15 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)