Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /home1/oregonwi/public_html/invoice/library/pdf/value.border.edge.class.php on line 23
and this is what line 23 looks like: static $default_color = null;
if (is_null($default_color)) {
$default_color =& new Color(array(0,0,0), true);
};
When trying to email this is what I get?? Help?!!
ameed: create a file with this in it <?php phpinfo(); ?> and then point your browser to this file, look for the error_log line, otherwise find the config line and then change the display_errors line in the config file to On. If all else fails find the web server config and then find in that where the error log is (often /var/log/httpd-error.log /path/to/apache/logs/error-log)
I would love some more information on this error. I completely understand that it could be a memory restriction by the hosting provider, but please give us some actual information on what exactly we need to do to resolve it? What do I need to tell my hosting provider? What memory limit needs to be changed?
Its a setting in php.ini
Read this for more information on fixing.
http://www.teknobites.com/2007/04/27/how-to-edit-phpini-file-to-increase-memory-limit/
You can use a htaccess file to set memory limits if you use a shared host that doesn't allow you to chang ethe php.ini file or if you do then change the php.ini file. Where it says memory_limit = 67M or something like that and make it 80M or 100M to be sure it has enough memory.