Fatal error when quoting or using tags

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Suggested Hosts
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
User avatar
newsbee
Registered User
Posts: 279
Joined: Sat Mar 29, 2003 1:07 pm
Location: Moscow
Contact:

Fatal error when quoting or using tags

Post by newsbee » Thu Apr 11, 2013 8:46 pm

Hi,

I've moved the board to a new disk on the same server, updated Apache and PHP, and now whenever users try to quote a post or use any tag, like underline or bold, the following error jumps on the screen.

Code: Select all

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 1966080 bytes) in /home/xxxxxx/public_html/forum/includes/utf/data/utf_compatibility_decomp.php on line 2
Always the same digits are shown as above.

The memory limit is set to 128M.
No changes have been made to any files.
The languages of the board are Russian and English.

What could be the problem? I've checked and applied all the suggestions found on this board, and none is working. Please help!

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51726
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Fatal error when quoting or using tags

Post by Brf » Thu Apr 11, 2013 11:01 pm

The error message says your PHP memory limit is 16M.

User avatar
newsbee
Registered User
Posts: 279
Joined: Sat Mar 29, 2003 1:07 pm
Location: Moscow
Contact:

Re: Fatal error when quoting or using tags

Post by newsbee » Fri Apr 12, 2013 5:38 am

I understand, but the php.ini says the memory_limit is 128M. And I personally changed it in WHM from 64M to 128M...

User avatar
Mick
Support Team Member
Support Team Member
Posts: 21156
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket - definitely

Re: Fatal error when quoting or using tags

Post by Mick » Fri Apr 12, 2013 6:38 am

If you're not self hosted your host may well have locked the limit, you should speak to them.
"The more connected we get the more alone we become" - Kyle Broflovski

User avatar
newsbee
Registered User
Posts: 279
Joined: Sat Mar 29, 2003 1:07 pm
Location: Moscow
Contact:

Re: Fatal error when quoting or using tags

Post by newsbee » Fri Apr 12, 2013 8:02 am

I've talked with the host provider - first, they raised the memory limit to 64M and then I increased it to 128M. Still the error shows 16M.

What's strange is that the error appears when there are tags [ or ]. Tagged images are displayed on the other hand, when there is no accompanying text in the post. Weird.

Dedicated server.

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: Fatal error when quoting or using tags

Post by Oyabun1 » Fri Apr 12, 2013 8:36 am

How many banned IPs do you have in your banlist table?
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

User avatar
newsbee
Registered User
Posts: 279
Joined: Sat Mar 29, 2003 1:07 pm
Location: Moscow
Contact:

Re: Fatal error when quoting or using tags

Post by newsbee » Fri Apr 12, 2013 7:06 pm

Oyabun1 wrote:How many banned IPs do you have in your banlist table?
Probably you are right - I had too many.

But I've resolved the problem by reinstalling the board - still reeling from the ordeal: its huge. I think some files got corrupted, or incompatible, or whatever. One of the mysteries never to be resolved.

Thanks for your help anyway!

User avatar
newsbee
Registered User
Posts: 279
Joined: Sat Mar 29, 2003 1:07 pm
Location: Moscow
Contact:

Re: Fatal error when quoting or using tags

Post by newsbee » Sun Apr 14, 2013 12:41 pm

The most likely cause of the problem with Fatal Error is the corruption of files during the transfer from one server (disk) to another. It is possible to find corrupted files, I guess, but the quickest way is to reinstall the board, while keeping the database, of course.

User avatar
Lumpy Burgertushie
Registered User
Posts: 66339
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Fatal error when quoting or using tags

Post by Lumpy Burgertushie » Sun Apr 14, 2013 4:32 pm

if you used any method other than downloading and uploading the files with a real ftp program then that is probably how the files got corrupted.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: Fatal error when quoting or using tags

Post by Oyabun1 » Sun Apr 14, 2013 9:50 pm

I've seen the problem occur before on boards with many thousands of banned IPs. Remove the banned IPs and see if the problem goes away. (There are better anti-spam measures than banning IPs or if you want to ban IPs don't do it in phpBB use an external method, such as a .htaccess file.)
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

Locked

Return to “[3.0.x] Support Forum”