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: Getting Fatal Error when showing intermediate pictures.  (Read 4191 times)

0 Members and 1 Guest are viewing this topic.

avery-t

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Getting Fatal Error when showing intermediate pictures.
« 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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Getting Fatal Error when showing intermediate pictures.
« Reply #1 on: April 12, 2013, 09:24:58 am »

Does it work with other themes, like curve?
Logged

avery-t

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Re: Getting Fatal Error when showing intermediate pictures.
« Reply #2 on: April 12, 2013, 03:20:27 pm »

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)

Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Getting Fatal Error when showing intermediate pictures.
« Reply #3 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.
Logged

avery-t

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Re: Getting Fatal Error when showing intermediate pictures.
« Reply #4 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)
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Getting Fatal Error when showing intermediate pictures.
« Reply #5 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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

avery-t

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Re: Getting Fatal Error when showing intermediate pictures.
« Reply #6 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)
Logged
Pages: [1]   Go Up
 

Page created in 0.037 seconds with 19 queries.