thumbnails misbehaving after move to new server
pixelmap
Joined: 2007-08-21
Posts: 31 |
Posted: Fri, 2013-09-06 22:05 |
I've just moved my Gallery to a new server, and it's gone fairly well except that the thumbnails are sometimes not appearing. If I reload the page, they sometimes appear, but others disappear! I've tried running 'Build all thumbnails/resizes' but that doesn't help. I've searched the forum, and others have apparently had the same problem, but the fixes didn't work for me. One suggested deinstalling/reinstalling imagemagick, which I did - problem still exists. Any help would be most appreciated. Gallery URL = http://www.pixelmap.ca/gallery2/main.php |
|
Posts: 8339
likely a lack of enough resources on your server
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 31
Not sure what that means - the server is too busy?
Is there anything I can do to change that?
Thanks for replying.
Posts: 8339
Some shared hosting barely gives you enough memory, cpu, bandwidth... to run a site.
you could post a phpinfo link.
FAQ: What information is required when I ask for help in the forums? <- phpinfo instructions
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 31
http://www.pixelmap.ca/gallery2/phpinfo.php
thanks.
Posts: 8339
that actually looks pretty good.
make sure your g2data is 777 recursively
chmod -R 0777 /full/system/path/to/g2data/
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 31
Just set that - problem persists...
Posts: 8339
the good report from phpinfo does not mean your host is not enforcing some other restriction(s)
You should also make sure your gallery passes system checks try:
FAQ: How can I make sure that my installation files are all intact?
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 31
Just ran the system check as specified in that FAQ, and it gave a warning of one missing file: 'images/gulftech.png' (from the theme images folder)
which can't matter,
and one modified file: the 'theme.css' from the carbon theme folder, which is true, I've modified it as my own customization,
but I don't think that can matter either.
I think more likely the host is enforcing some other restriction... but what?
Posts: 8339
it could be a limit to the number of DB connections, or cpu limitations.
Last thing you can check is server error logs for your site specifically php error logs. you may have to ask your host if they are not already available to you.
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 31
Got some of the error logs from the provider:
[Sun Sep 08 02:12:21 2013] [error] [client ] (12)Cannot allocate memory:
couldn't create child process: /opt/suphp/sbin/suphp for
/home/pixel723/public_html/gallery2/main.php, referer:
http://www.pixelmap.ca/gallery2/sailing_2006/
[Sun Sep 08 02:12:21 2013] [error] [client ] (12)Cannot allocate memory:
couldn't create child process: /opt/suphp/sbin/suphp for
/home/pixel723/public_html/gallery2/main.php, referer:
http://www.pixelmap.ca/gallery2/sailing_2006/
[Sun Sep 08 02:12:21 2013] [error] [client ] (12)Cannot allocate memory:
couldn't create child process: /opt/suphp/sbin/suphp for
/home/pixel723/public_html/gallery2/main.php, referer:
http://www.pixelmap.ca/gallery2/sailing_2006/
[Sun Sep 08 02:12:22 2013] [error] [client 2] (12)Cannot allocate memory:
couldn't create child process: /opt/suphp/sbin/suphp for
/home/pixel723/public_html/gallery2/main.php, referer:
http://www.pixelmap.ca/gallery2/sailing_2006/
They are saying that it seems that the application is using more than 128Mb of memory, and they cannot provide any more.
This seems strange: it worked perfectly for years on another server, and now fails on this one. I'd rather not have to move to another server again, but I really do want to get this working.
Posts: 8339
your new host sucks
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 31
So I'm thinking.
Posts: 31
Just for the record, the hosting service is hostpapa.ca, and they are NOT RECOMMENDED, especially if you'd like to install Gallery.
Posts: 31
Hostpapa has suggested that the problems I'm experiencing may be due to the fact that the images are too large, though they are never larger than 1000pixels at their largest dimension, with no single image exceeding 200Kb in size.
I was skeptical that this really is the probelm, but to be sure, I Jjust reinstalled Gallery from scratch on hostpapa, and then put up three albums, one with the images at 1000 pixels, another with the images at 640 pixels, and a third with the images at 240 pixels.
All three experienced the same problem, leading to me to conclude that image size - and memory allocation - is not really the problem.
It's not looking like I'll be able to get this sorted out on Hostpapa - can anybody suggest a better shared hosting service for Gallery?