News:

Support the VirtueMart project and become a member

Main Menu

max execution time reached

Started by blotind, April 16, 2012, 20:37:29 PM

Previous topic - Next topic

blotind

After installing virtuemart on my joomla site (hosted locally -> xampp) then i uploaded the aio file tried to update and i got this error


Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\administrator\components\com_virtuemart_allinone\classes\download.php on line 194

obviously it's taking too long and timing out but how do i fix this?

Thanks guys :)

fonshaneveer@hotmail.com

Same problem with me!
Joomla 2.4
VM 2.06
Max. execution time keeps on turning with every update...

archos

Increase time or open the tar.gz and re-compress it to zip.
Solution already given...

lipes

#3
I've changed my localhost (ampps) in execution time from 30 to 60

I try to synchronize the Media Files in 2.0.6
Fatal error: Maximum execution time of 30 seconds exceeded in D:\Ampps\www\mp5\administrator\components\com_virtuemart\helpers\migrator.php on line 357

trying to install the com_virtuemart.2.0.7.tar.gz , give me a blank page no error and no Text ... no buttons.. we cant do nothing!
http://localhost/mp5/administrator/index.php?option=com_installer&view=install

If we uncompress tar.gz to a folder and compress to zip we can do the installation!


VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

Milbo

The reason is maybe that your localhost does not support tar.gz.

There is a check for the max execution time in the media synchroniser, so I wonder that this happens.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

Imho I just found the problem. Only appeared, when you have really a lot of files to synchronise
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lipes

hummm.. ok! :)
I will be aware of that situation. I've got 7858 products pictures + manufacturers + category.
If we delete something (like a folder) and then add new files it's better dont do "synchronise" again, correct?
There is a maximum range of files to synchronise in VM? or do that synch with "small steps" of "2000 files" each time we click ..
but dont know what solutions could be done for this .. just wondering...
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

Milbo

I just found out, that the system reads 10000 files, but is  then maybe only storing 50. So I decreased the valid time to read files, so that there is more time left to store it. We also found out that a wrong set path or url can lead to a deadlock.
So in short, yes, when you have 10k files synchronised and you add 100, they should be synchronized in the first try within 30 seconds.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/