Fatal error

Need help with your forum? Ask away. Remember though that there's always http://www.phpbb.com/community

Moderator: Experts

Post Reply
Graham
Posts: 76
Joined: Mon Oct 20, 2008 3:31 am
Location: UK
Contact:

Fatal error

Post 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
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: Fatal error

Post 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
Graham
Posts: 76
Joined: Mon Oct 20, 2008 3:31 am
Location: UK
Contact:

Re: Fatal error

Post 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
Graham
Posts: 76
Joined: Mon Oct 20, 2008 3:31 am
Location: UK
Contact:

Re: Fatal error

Post 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
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: Fatal error

Post 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.
Graham
Posts: 76
Joined: Mon Oct 20, 2008 3:31 am
Location: UK
Contact:

Re: Fatal error

Post by Graham »

Hi David

Did as you suggested, still getting the same error?

Graham
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: Fatal error

Post by DavidIQ »

Go to your System tab and into php info. What does memory_limit say there?
Graham
Posts: 76
Joined: Mon Oct 20, 2008 3:31 am
Location: UK
Contact:

Re: Fatal error

Post by Graham »

Local Value 8M
Master Value 8M

Thanks
Graham
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: Fatal error

Post 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... :?
Graham
Posts: 76
Joined: Mon Oct 20, 2008 3:31 am
Location: UK
Contact:

Re: Fatal error

Post by Graham »

Thanks David ;)
Post Reply