Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 9144 bytes) in /xxxx/local/home/xxxx/includes/common/lib/image/KT_Image.class.php on line 1247 When you receive this error while uploading a file (image or other) you most probably sitting with limitations on your php configuration on your server. Do the following. Create a php page, call it what you want and add this code to it; <?phpphpinfo()?>Upload it to your server and run it look for the following sections
upload_max_filesize = xxMmemory_limit = xxpost_max_size = xxM where xx is the maximum allowed size. Make sure your file you are trying to upload is below these settings. How to fix the limits? Depending on what server configuration (shared, VPS or dedicated server) you have you can edit the php.ini file to increase the settings. If you are on a VPS or dedicated server, update your global php.ini and remember to restart "Apache" for it to take effect. Another possible problem might be a corrupt file. Other issues: Recently I transferred a joomla site to my server. The site worked perfectly on the old server under a dual installation of php 4.xx and 5.29. My server only have php 5.29 installed. I received an out of memory error displaying a menu module... Log-files There are a couple of log-files you can look at.
|
|||||||||||
Although we try to ensure all the articles submitted are valid it is your responsibility to make sure you have backups before you use these suggestions on your pc or websites. |
|||||||||||
|
|||||||||||