Jump to content

1-click Upgrade Give me an error


Recommended Posts

Hi

I have a clean install 1.6.0.14

and in one click upgrade i get an error:

 

PHP's max_execution_time setting has a high value or is disabled entirely (current value: 600 seconds)

 

Any Advice is welcome

 

follow the link to see picture: https://www.dropbox.com/s/2d37mkhw1whmub1/Error.PNG?dl=0

post-723807-0-99899800-1426720458_thumb.png

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

Hi

No Is not that i play around with a lot of values same result, I think is a bug.. the reason that i say that is because i have to installations identical one on line, one locally with WAMP and both same error.

Locally  i fix it, on line they still tray from the hosting company and from beginning they told me that this is bug because the 600s that 1 click reports is not the real value of the setings they have so if anybody knows what is happening please let me know...

Also if anyone is interesting how I fix it locally he can ask i didn't post it because i don't believe is a real fix

Regards

Link to comment
Share on other sites

Hi again

 

I use WAMP 2.5 win 8.1 64 bit Both (This Is Important)

 

When i was playing with values in the php.ini the server was reporting the values through php info but presta not (was Stack on 600)

The only way that prestashop locally stop to report the error  it was to go and change the values in....

C:\wamp\alias\m_n_m.conf

the code:

 

Alias /m_n_m "c:/wamp/www/m_n_m/" 
 
<Directory "c:/wamp/www/m_n_m/">
    Options Indexes FollowSymLinks
    AllowOverride all
  <IfDefine APACHE24>
    Require local
  </IfDefine>
  <IfDefine !APACHE24>
    Order Deny,Allow
 Deny from all
 Allow from localhost ::1 127.0.0.1
</IfDefine>
php_admin_value upload_max_filesize 750M
php_admin_value post_max_size 750M
php_admin_value max_execution_time 0
php_admin_value max_input_time 1000
</Directory>
 
The 0 Value did the job ( As i wrote i dont know if this is a real Fix)
 
Regards
Edited by Yan Studio (see edit history)
Link to comment
Share on other sites

Your screen shot from the original post says the current value is unlimited, and it has a green check mark.  This means your PHP software is configured to allow a PHP script to run infinitely, which could be a good thing for the upgrade process. 

 

So I am confused about 2 things

1) You say you have a clean install of Prestashop v1.6.0.14.  Since this is the latest version, why do you even care about the autoupgrade module right now?

2) What exactly is your issue?

Link to comment
Share on other sites

Hello my friend

In your first question the picture in the post is wrong the linked is the correct.

about upgrade you are correct is clean 1 .6.14 but always i am thinking the future what will happened when the update will come?

will be ok? or i will run like crazy to fix things???

but i will say again that the online version reports the same problem and the hosting people told me that this  is a bug because they set 120s and still reporting 600 same like my local before the crazy fix that it worked

Regards

Link to comment
Share on other sites

Good Morning People

I discovered what was the problem and i want to share the solution.

The issue occurs with the Theme that i install after the Presta installation...

So No Is not Presta Bug But a module Bug that came with the the theme so here is the solution in case that you have the same issue

 

To solve the max_execution_time issue, please, go to:
 
Root-> Modules-> sampledatainstall and uninstall this module.
 
This module creates an override for php settings to allow template sample data importing via admin panel. The majority of servers have the lower value  than 600, that is why it was decided to make such modification. However, when you uninstall that module, overriding will store working and you will get the real server configuration value.
 
My regards
  • Like 1
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...