VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: blotind on April 16, 2012, 20:37:29 PM

Title: max execution time reached
Post by: blotind on April 16, 2012, 20:37:29 PM
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 :)
Title: Re: max execution time reached
Post by: fonshaneveer@hotmail.com on April 25, 2012, 14:57:59 PM
Same problem with me!
Joomla 2.4
VM 2.06
Max. execution time keeps on turning with every update...
Title: Re: max execution time reached
Post by: archos on April 26, 2012, 18:36:43 PM
Increase time or open the tar.gz and re-compress it to zip.
Solution already given...
Title: Re: max execution time reached
Post by: lipes on May 02, 2012, 23:36:27 PM
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!


Title: Re: max execution time reached
Post by: Milbo on May 03, 2012, 01:55:53 AM
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.
Title: Re: max execution time reached
Post by: Milbo on May 07, 2012, 00:33:46 AM
Imho I just found the problem. Only appeared, when you have really a lot of files to synchronise
Title: Re: max execution time reached
Post by: lipes on May 07, 2012, 01:12:11 AM
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...
Title: Re: max execution time reached
Post by: Milbo on May 07, 2012, 12:26:30 PM
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.