Hello guys can anyone help me with the issue im having with installation of magento. my problem is that i have downloaded the magento on wamp and during my installation i got the error and the msg it si giving is FATAL ERROR : Maximum execution time of 60 sec exceeded in c:\wamp\www\magento\lib\varien\db\adapter\pdo\mysql.php on line 276. plz provide me with the solution any one coz im stuck on this for long enough thanks in advance
Modify your php.ini with this setting:
max_execution_time = 1800
I also modify the memory limit allocated to php when using Magento
memory_limit = 512M
Alternatively you can edit index.php, if you don't have php.ini access.
ini_set('max_execution_time ', 1800);
If its giving you the same error then it means that you have not changed the settings in php.ini file.
In windows if you install wamp you will have, php.ini in php folder and apache folder.
Make sure that you have modified in both files and restart your server. (I know its strange)
Try 1 Browse wamp's root folder and click on phpmyinfo link under tools section. This will give you the information of your php installation and settings.
look for "Loaded Configuration File", there you will have the location of your exact php.ini file that is used in your wamp installation.
Try to update the Max_execution_time in that file. Hope this will solve your problem.
Usually, you will not get problems like this.
Try 2 May be your antivirus is stopping the request to execute for more than 60 seconds, just trying stopping your anti-virus for a moment and check another time.
I hope this will solve your problems.
I set the timeout to 20mins and fired up Magento installer. Then I waited...
...and waited...
...and waited some more...
...poured a glass of wine...
...and waited some more...
...poured another glass of wine...
...then the same error message appeared.
With a little debugging I found that Magento is falling down on the creation of prepared statements to the DB. I won't use Magento again(If you turn your machine and network speeds down you can quick-catch the exception object vardump output before the redirect!?! Security people!!!). Looking under the hood it's a horror show of uncommented code bloat and general architectural fail. One step installation process. WTF?
Yep, I know. It's free. But, how do they expect to sell the enterprise level solution with such poor code, naked and shivering, in front of the whole world to see?
I am getting this Error... Fatal error: Maximum execution time of 60 seconds exceeded in C:\wamp\www\magento\lib\Varien\Db\Adapter\Pdo\Mysql.php on line 276