-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import time period(secs) issue #50
Comments
It looks as though the ini set call Provisioner uses to set the backend execution time doesn't work in your environment, PHP doesn't guarantee this. You could try upping the max execution time in your php.ini, it would be interesting to see what value you end up with if this is possible. |
shamblett: Thanks! I've changed the php.ini settings and the Import time period, but always get the fatal error at 120 seconds,no matter the values, the httpd-default.conf has this value: Timeout 300. I think that there's an issue with the set_time_limit setting, but i dont know where to change it. |
Shambet: I make it work!! its a PROVISONER PROBLEM, not the server. I don't even need to make any changes to the php.ini file. In: \core\components\provisioner\processors\evoimport\evoimport.php set timeout from 120 to 0: /* Timeout, default to 2 mins */
} else {
} In: \core\components\provisioner\model\provisioner\provisioner.class.php replace: /* Set the time limit, or try to */ Replace with:
In Provisioner's Import time period(secs): I can change values freely without the 120 seconds limit. I think you should add this in a future Provisioner release. |
Yes, good catch, this has been bugging people for a while, I'll incorporate this soon as. |
Hi,
I'm trying to migrate Evo 1.0.5 to Revo 2.0.8 with provisioner 1.0.0, but I have around 5000 resources and provisioner doesnt complete the migration.
I've tried to increase the max_execution_time in my php.ini and Import time period(secs): in the provisioner settings and no luck. Any suggestions?
Apache error log (Wamp): [error] [client ::1] PHP Fatal error: Maximum execution time of 120 seconds exceeded in C:\wamp\www\revolution\core\xpdo\xpdo.class.php on line 424, referer:
The text was updated successfully, but these errors were encountered: