The selected album/file does not exist! And Issues With Admin Rezize Thumbnails The selected album/file does not exist! And Issues With Admin Rezize Thumbnails
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

The selected album/file does not exist! And Issues With Admin Rezize Thumbnails

Started by nowordneeded, October 26, 2019, 01:07:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nowordneeded

Hello:

I've just upgraded my gallery to the current stable version of 1.6.07 and it is located here: http://garylockwood.samskara.org/gallery

The two issues I'm having is with first, when I went to resize the thumbnails and ran the Admin Tools. I get this error:

Fatal error: Cannot redeclare theme_cpg_die() (previously declared in.

In this case the error is on line 1765, but it's only a curly bracket.

The second issue I'm having is, after the update of the database and all, everything looks good. The issue is that when I click on the intermediate picture, it gives me an error with this page:

The selected album/file does not exist!

Not sure what happened this time around, but this is what I'm getting. If RonMac replies, I've uploaded your tool for checking files to expedite.

Thanks.
Sometimes my musings are too confusing for someone not inside my head.

nowordneeded

So I was able to fix the image issue by replacing the theme file in my themes. However, the issue is still persisting with the Admin Tools isue. I get this:

A valid form token could not be found. Critical error

Screencap attached.

NWN
Sometimes my musings are too confusing for someone not inside my head.

ron4mac


nowordneeded

Sometimes my musings are too confusing for someone not inside my head.

ron4mac

If this is happening after it runs for a while, you need to increase the Form Token Lifetime in the config.

nowordneeded

Ron:

Is it the config in the files, or from the config screen in the Coppermine itself?

NWN
Sometimes my musings are too confusing for someone not inside my head.

nowordneeded

Ron:

I increased it to 1800 and ran the command again and got this:


Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) Critical error

NWN
Sometimes my musings are too confusing for someone not inside my head.

ron4mac

You need to increase the amount of memory that PHP allows for processes from 128M to 256M. (php.ini or .user.ini)

nowordneeded

Ron:

I created a php.ini file and inserted the following code:

ini_set('memory_limit','268M');

I ran the admin tools again to resize thumbnails, and received the following:


A valid form token could not be found. Critical error

I have never had this happen before. I've done this many times in my other galleries, but this one for some reason is just not cooperating.

NWN
Sometimes my musings are too confusing for someone not inside my head.

nowordneeded

Well I managed to get all the thumbnails fixed, however, I had to do it one album at a time. Thankfully the gallery has very little in it and is one of my least updated sites. There was only one album that kept giving me the error. Fortunately it was already fixed before it timed out and created the error. I don't know what more can be done as I did "solve" the issue. I thought of closing the ticket but I'll leave it open in case someone wants to add something. If no replies forthcoming, I'll close it as "solved".

NWN
Sometimes my musings are too confusing for someone not inside my head.