Sounds as if you are on a dedicated or vps server and have access to your main conf files. If so; Open your servers main php.ini file and adjust the following variables to something more suiting to your needs. Don't go overboard with these settings because it could make your server more vulnerable to a DOS attack.
max_execution_time =
max_input_time =
memory_limit =
post_max_size =
After adjusting those restart Apache
It would also help to raise MySQL's max_allowed_packet as well
Open my.ini or my.cnf (whichever your server has) and find
max_allowed_packet =
If it is there then raise the limit to 32M (A high limit is safer here)
If the setting is not listed then add this after [mysqld]
max_allowed_packet=32M
Restart Mysql server.
Now open config.php and go to near the bottom
Find
@ini_set('memory_limit', '12M');
Comment it out like below
//@ini_set('memory_limit', '12M');
-------------------------------------------
If your do NOT have access to the servers main conf files then try this below
-------------------------------------------
Open config.php
Find
@ini_set('memory_limit', '12M');
Change to
@ini_set('memory_limit', '32M');
This sounds like a very easy fix either way if it works but, it is not good to have this setting hard coded in the script for multiple reasons.
1) It will not work on all servers
2) It will actually reduce your abilities with more professional hosting services that already allow for more than a 12MB limit.
3) It can get you kicked off of some budget hosting services for manipulating services that increase the servers resource usage.
You can also manipulate some of the other PHP variables listed above with either the .htaccess file or a php.ini file in the root of your account (depending on PHP type Module/CGI) but I will not promote that practice.