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 » Sun Feb 08, 2009 4:03 am

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

User avatar
DavidIQ
Site Admin
Posts: 581
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: Fatal error

Post by DavidIQ » Sun Feb 08, 2009 8:51 pm

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 » Mon Feb 09, 2009 3:41 am

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 » Wed Feb 25, 2009 10:02 am

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

User avatar
DavidIQ
Site Admin
Posts: 581
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: Fatal error

Post by DavidIQ » Wed Feb 25, 2009 10:18 am

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 » Wed Feb 25, 2009 12:26 pm

Hi David

Did as you suggested, still getting the same error?

Graham

User avatar
DavidIQ
Site Admin
Posts: 581
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: Fatal error

Post by DavidIQ » Wed Feb 25, 2009 1:23 pm

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 » Wed Feb 25, 2009 3:58 pm

Local Value 8M
Master Value 8M

Thanks
Graham

User avatar
DavidIQ
Site Admin
Posts: 581
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: Fatal error

Post by DavidIQ » Sun Mar 01, 2009 8:00 pm

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 » Mon Mar 02, 2009 3:58 am

Thanks David ;)

Post Reply