Just decided it was time to go in and move local copy of EE to my clients server.
Everything took its time as this was my first but a few people and this forum gave me a hand, everything is fine and working in the control panel.
But the site is not working on the url.
“Fatal error: Maximum execution time of 90 seconds exceeded in /home/rogermby/public_html/styl/new-design/system/core/core.template.php on line 960”
And also in the CP when i try to view the site I get the url from the old database added to the current url.
Had a look around the forums. I have made a support test in the templates and it shows the text.
http://styl.eti.me/new-design/index.php/support/index.html
but when I try to get to my other templates it times out http://styl.eti.me/new-design/index.php/site/index.html
”
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2845 bytes) in /home/rogermby/public_html/styl/new-design/system/core/core.template.php on line 744”
If your host allows, you can increase PHP memory by editing php.ini file. If your host does not allow editing php.ini file, then you can find another one which allows editing it.
Make a file called php.ini. Do a quick google search on the syntax for setting a memory limit in php.ini. You can check to see if it takes by going to Admin -> Utilities -> PHP Info, and looking for the memory limit.
Thanks but none of these worked. I created a php.ini file with the code
memory_limit=128M;
and still getting the same error. I started a fresh install on the server and it was all working right until it seemed to be getting there the error came up again.
The error message remains the same? If so, you’re still running out of memory. It’s not certain that your host will let your override this limit, though, so you’d have to talk to them about it.
You get this error message not because of the lack of PHP memory, but because of the in-built EE feature - limiting execution of scripts to 90 seconds.
Here is the line from 1.6.5 version changelog:
Modified the script time limit override from infinite to five minutes for the CP, and 90 seconds for front-end requests, to be a good neighbor if something goes awry.
If you need to allow for the scripts to run longer than 90 seconds, you should hack some line in some of EE core files.