Jump to content

regenerate miniatures script stopping after few seconds


Recommended Posts

After upgrading from 1.5.4.1 to 1.5.5.0, I cannot regenerate miniatures anymore. Script is stopping after few seconds. (error 500)

 

I didn't had this problem with previous version.

 

Max_execution_time and max_file_size have been increased in php configuration but it doesn't help.

 

It looks like another script is running and stopt execution.

 

Does someone can help ?

Link to comment
Share on other sites

if you've got internal server error (500) you should run store under "error reporting" mode, follow these steps:

 

 
open config/defines.inc.php
 
find this line
define('_PS_MODE_DEV_', false);
change to look like this:
define('_PS_MODE_DEV_', true);
 
 
then try to regenerate images once again, you will see full error code (we will know where the problem occur)
Link to comment
Share on other sites

very curious... now it seems to work... but I get this error messages in Front-end

 

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(../modules/ekomi/mails/fr/) is not within the allowed path(s): (/var/www/vhosts/cadeaufou.com/httpdocs/:/tmp/) in /var/www/vhosts/cadeaufou.com/httpdocs/modules/ekomi/ekomi.php on line 59

Warning: Function display() is deprecated in /var/www/vhosts/cadeaufou.com/httpdocs/classes/controller/Controller.php on line 185
in /var/www/vhosts/cadeaufou.com/httpdocs/classes/Tools.php on line 1953

Edited by FrenchMaster (see edit history)
Link to comment
Share on other sites

it's issue related to the server restrictions (related to the safety) that you've got defined in your local server.

in this case you have to configure your php configuration file. so open the php.ini file and search for:

 



open_basedir =


 

now you have two solutions:

  1. change the open_basedir path (to "/" for example)
  2. add semicolon before open_basedir:


;open_basedir =


 

 

then restart your local server and try again 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...