Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Hi! I've checked the forums and increased the memory to 64M using a PHP.INI-file in the same directory as config.php. But then I got stuck with the message below.
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 19456 bytes) in /silverstripehome/cms/code/Newsletter/NewsletterType.php on line 75
I tried to store a PHP.INI in the Newsletter directory, but that just doesn't cut it.
8388608 bytes == 8Mb which means that your memory setting isn't working. The normal way of setting this is in your .htaccess file. Add the following line to the top of the file:
php_value memory_limit 128M
to set it to 128Mb. If that doesn't work you may try to set it in sapphire/main.php but I don't remember the function name to set it using php. Search php.net.