forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: stex on July 27, 2015, 11:30:47 am

Title: Admin Tools not working, blank page
Post by: stex on July 27, 2015, 11:30:47 am
Hello,

I searched the board for two days trying to find someone who had a similar problem, but I couldn't find anything interesting. Here's the issue: I have pictures which have a very big resolution, sort of like 5000 x 5000 pixel. I do know that usually it's better to resize them, but I don't want to. So I used to use the typical method with admin tools. First I upload the resized pictures and add them. Then I upload the original pictures replacing the older ones and I run the admin tool to update them (thumbs only).

HOWEVER now when I run the admin tool it gives me a blank page. I tried limiting the pictures to 1, unchecking the auto-refresh option... still nothing. I checked the error log, nothing. I enabled debug info... nothing again. Just a blank page.

Any idea on how to solve this?
Title: Re: Admin Tools not working, blank page
Post by: phill104 on July 27, 2015, 11:44:05 am
If you have access to do this on your cpanel please enable "display all errors" so we can see what is behind the white screen. I am guessing there is a PHP limit that you are running into causing the server to crash. If error reporting is set to not show all you will see is a blank page. If you cannot enable the display of errors then you will need to check the servers logs for more information as to what is causing your problem.
Title: Re: Admin Tools not working, blank page
Post by: stex on July 27, 2015, 02:50:01 pm
Right after using admin tools (and failing to update the pictures) I logged into my cpanel and saw two things:

1. The CPU usage was 80%.
2. This error: Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp

I noticed this error earlier and contacted my host. They are currently (and hopefully) taking care of it. And yes, I believe it's a memory limit at this point. I'll keep y'all posted.
Title: Re: Admin Tools not working, blank page
Post by: allvip on July 27, 2015, 04:38:50 pm
Trick to upload directly the big images:

http://forum.coppermine-gallery.net/index.php/topic,76445.0.html (http://forum.coppermine-gallery.net/index.php/topic,76445.0.html)

http://forum.coppermine-gallery.net/index.php/topic,77929.0.html (http://forum.coppermine-gallery.net/index.php/topic,77929.0.html)
http://forum.coppermine-gallery.net/index.php/topic,77929.msg376673.html#msg376673 (http://forum.coppermine-gallery.net/index.php/topic,77929.msg376673.html#msg376673)

This is only if you can not edit your php.ini.

If you can edit your php.ini then edit it. Change the memory_limit.
Title: Re: Admin Tools not working, blank page
Post by: stex on July 30, 2015, 01:58:22 am
Thanks to allvip's thread (http://forum.coppermine-gallery.net/index.php/topic,77929.0.html) I got to fix this. Now I can directly add the pictures to my gallery without using the admin tool. Thank you guys.