Page 1 of 1

Fatal error

Posted: Sun Feb 08, 2009 4:03 am
by Graham
Hi David,

I'm trying to send a PM but when I click send I get this message

Code: Select all

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 5 bytes) in /home/sites/poem-n-verse.co.uk/public_html/includes/utf/data/utf_compatibility_decomp.php on line 2
I downloded utf_compatibility_decomp.php in to Notepad++ but all I see is one long line like this, only copied and pasted the first bit.

Code: Select all

<?php
$GLOBALS['utf_compatibility_decomp']=array(' '=>' ','¨'=>' ̈','ª'=>'a','¯'=>' ̄','²'=>'2','³'=>


What does it mean and how do I overcome the problem?

Thanks
Graham

Re: Fatal error

Posted: Sun Feb 08, 2009 8:51 pm
by DavidIQ
That's a server setting that's causing the error. I had a similar problem on one of my forums. The way I resolved it was by placing this in a .htaccess file locted in the forum's root:

Code: Select all

php_value memory_limit 16M

Re: Fatal error

Posted: Mon Feb 09, 2009 3:41 am
by Graham
Hi David,

Thanks for that, it's all working again now, must have been a glitch.
If it does it again I'll follow your advice and place an .htaccess file.

Thanks
Graham

Re: Fatal error

Posted: Wed Feb 25, 2009 10:02 am
by Graham
Hi David

It's started again, where is the .htaccess file located I've turned on show hidden files but still can not find it.
Do I need to create one? and if I do where do I put it and is it just a txt file?

Thanks
Graham

Re: Fatal error

Posted: Wed Feb 25, 2009 10:18 am
by DavidIQ
If you don't see one in your forum's root folder then just create one in notepad. Simply add the code I posted above and save as .htaccess (note that you may need to remove .txt from the file name). Then upload to your forum's root and that should take care of it.

Re: Fatal error

Posted: Wed Feb 25, 2009 12:26 pm
by Graham
Hi David

Did as you suggested, still getting the same error?

Graham

Re: Fatal error

Posted: Wed Feb 25, 2009 1:23 pm
by DavidIQ
Go to your System tab and into php info. What does memory_limit say there?

Re: Fatal error

Posted: Wed Feb 25, 2009 3:58 pm
by Graham
Local Value 8M
Master Value 8M

Thanks
Graham

Re: Fatal error

Posted: Sun Mar 01, 2009 8:00 pm
by DavidIQ
Doesn't look like they allow you to override that value... your host is going to be the one to allow it then... :?

Re: Fatal error

Posted: Mon Mar 02, 2009 3:58 am
by Graham
Thanks David ;)