photo resize error 500

followed instruction and got error 500 after this

"Click here to resize images from Photos module to the new dimentions"

 

this the error from php log

[Mon Sep 21 12:57:29 2015] [error] [client 127.8.121.1] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 20736 bytes) in /var/lib/openshift/55e0555b2d52712ed200012a/app-root/runtime/repo/plugins/intervention-image/Intervention/Image/Gd/Decoder.php on line 115, referer: http://a3-avren.rhcloud.com/upgrade/?folder=7.1.6-7.2.0

109.64.30.57 - - [21/Sep/2015:12:57:29 -0400] "GET /upgrade/files/7.1.6-7.2.0/photos_resize.php HTTP/1.1" 500 20 "http://a3-avren.rhcloud.com/upgrade/?folder=7.1.6-7.2.0" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.33 Safari/537.36"

Always remember that the future comes one day at a time.
Quote · 21 Sep 2015

You hit PHP's memory_limit. Try increasing it to 256M or higher.

 

You also might want to restore from backup and redo the upgrade.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 21 Sep 2015

how can i increase it?

by the way in the host tools-Software requirements everything green (ok)

Always remember that the future comes one day at a time.
Quote · 21 Sep 2015

 

how can i increase it?

Create a php.ini file in Dolphin's main directory with:

 

memory_limit = 256M

 

Then check Admin Panel => Tools => Host Tools => phpinfo and see if the value has changed for memory_limit. On some servers, the php.ini file may need to be renamed to .user.ini (note the initial dot).

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 21 Sep 2015

thanks nathan i did and it don't work, but the i added to the top of the file this line

ini_set('memory_limit', '256M');
and it works. 

thanks anyway

Always remember that the future comes one day at a time.
Quote · 21 Sep 2015

I'm getting this error on a site upgrading from 7.1.6 and the step, photo re-sizer.

500 error with the logs, 

mod_fcgid: read data timeout in 31 seconds, referer: http://site.org/upgrade/files/7.1.6-7.2.0/photos_resize.php?_t=1445362327
[Tue Oct 20 13:36:31.076989 2015] [core:error] [pid 12801] [client 50.159.144.178:51089] End of script output before headers: photos_resize.php, referer: http://site.org/upgrade/files/7.1.6-7.2.0/photos_resize.php?_t=1445362327

Although the site did this three times, each time I refreshed I got another 500 with it.

The re-size finally finished and all the images were done.

 Mistake, the timeline photos didn't get re-sized, they are huge!

 

php memory is at 1024MB

 

Not sure what happened, any help is appreciated.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 20 Oct 2015

 

I'm getting this error on a site upgrading from 7.1.6 and the step, photo re-sizer.

500 error with the logs, 

mod_fcgid: read data timeout in 31 seconds, referer: http://site.org/upgrade/files/7.1.6-7.2.0/photos_resize.php?_t=1445362327
[Tue Oct 20 13:36:31.076989 2015] [core:error] [pid 12801] [client 50.159.144.178:51089] End of script output before headers: photos_resize.php, referer: http://site.org/upgrade/files/7.1.6-7.2.0/photos_resize.php?_t=1445362327

Although the site did this three times, each time I refreshed I got another 500 with it.

The re-size finally finished and all the images were done.

 Mistake, the timeline photos didn't get re-sized, they are huge!

 

php memory is at 1024MB

 

Not sure what happened, any help is appreciated.

Script tries to resize 30 photos per run, try to change it to 10 in upgrade/files/7.1.6-7.2.0/photos_resize.php file: 

function PageCompPageMainCode()
{   
    $iLimit = 10;
    $aNewSizes = array(
        '_t.jpg' => array('w' => 240, 'h' => 240, 'square' => true),
        '_t_2x.jpg' => array('w' => 480, 'h' => 480, 'square' => true, 'new_file' => true),
    );
Rules → http://www.boonex.com/terms
Quote · 22 Oct 2015

To add, increase FastCGI's FcgidIOTimeout value to something higher (e.g., 300 or 600).

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 23 Oct 2015

 

 

how can i increase it?

Create a php.ini file in Dolphin's main directory with:

 

memory_limit = 256M

 

Then check Admin Panel => Tools => Host Tools => phpinfo and see if the value has changed for memory_limit. On some servers, the php.ini file may need to be renamed to .user.ini (note the initial dot).

If anyone still has problems with this one.

adding

memory_limit = 256M;

to new file

.user.ini

did it for me.

All the main blocks on the homepage were removed though, so I guess I need to check that everything else is as it should be.

~~~~~~~~~~~~~~~~~~~~~~
MichelMeta-Travel.com
~~~~~~~~~~~~~~~~~~~~~~

TravelNotes.org - The Online Guide to Travel
Quote · 12 Jun 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.