Problem with Random files and Last uploads not found error Problem with Random files and Last uploads not found error
 

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

Problem with Random files and Last uploads not found error

Started by spinoneuk, August 09, 2017, 09:04:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

spinoneuk

I am having a problem since upgrading to 1.5.46 (from 1.4.x) with the random files and last uploads. when I click on any thumbnail I get a 404 not found error. Any pointers on how to resolve this would be much appreciated. The link to my site is http://www.italianspinone.co.uk/coppermine/index.php.

Linda

ron4mac

It seems to me that your Joomla .htaccess file is doing url rewrites that is affecting your CPG installation

ron4mac

I looked at the failure pattern again and see that it fails only on the home page for random and last upload images. It does not fail when looking at individual categories. It leads me to feel there could be an issue with the amount of server memory allocated for the PHP process execution. You have ~30,000 images and the PHP process may be failing to process them all to sort out what is needed. Look at Information->phpinfo for 'memory_limit'. If the value is something small (like 16M or 32M), it is likely the problem. If so, you'll need to have the configuration changed to allow more memory use.

spinoneuk

Thanks very much for the information. The php server memory is set at 90M so given the number of images I have it's probably best not to use the random or last uploaded.  I will have a look at the Joomla .htaccess too but think the server memory is more likely to be causing the problem.

ΑndrĂ©

Quote from: ron4mac on August 10, 2017, 05:23:44 AM
It does not fail when looking at individual categories.

If you're in a category, there's no url rewrite. So I still think it's related to the rewrite rules added by Joomla. Maybe you should temporarily disable them and try if it works as expected then.