Home arrow Forum Joomla Patch error (Fatal error: Allowed memory size...)
  Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 08:33:27 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  Joomla Patch error (Fatal error: Allowed memory size...)
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Joomla Patch error (Fatal error: Allowed memory size...)  (Read 2852 times)
elboby
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5



View Profile
Joomla Patch error (Fatal error: Allowed memory size...)
« on: August 03, 2007, 01:46:40 PM »

I had just installed JSMF 2.0.2. Previusly I had another bridge Orstio's Bridge, but I want it to change to JSMF, so I uninstalled Orstio's bridge and installed JSMF...
All worked fine I installed, patch Joomla and SMF files from the Installation component section...but when I go to see my site I got this error:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 46080 bytes) in /home/webmaya/public_html/includes/frontend.html.php on line 201

But if I revert the joomla patch from JSMF then all works fine.

Can anybody help me to solve this problem?
I really want to use this bridge.

Thank's for your answers and sorry for my english, but my native language is spanish.
« Last Edit: August 03, 2007, 01:49:56 PM by elboby » Logged
Superdaantje
Joomla Guru
*****

Karma: +266/-23
Offline Offline

Posts: 370


Aka Livebox


View Profile WWW
Re: Joomla Patch error (Fatal error: Allowed memory size...)
« Reply #1 on: August 03, 2007, 02:03:37 PM »

there are some other topics with this problem. Please try the search option.... Wink

http://www.joomlahacks.com/component/option,com_smf/Itemid,94/action,search2
Logged

My Projects
Joomlabridge.org JSMF 2.0.2.1 Bridge Support and Downloads
Dutchjoomla.org Dutch Joomla Community (more then 60.000 members)
D.Wagner Webservices
elboby
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5



View Profile
Re: Joomla Patch error (Fatal error: Allowed memory size...)
« Reply #2 on: August 03, 2007, 02:23:39 PM »

I tried to search but there's no topic that match what I look for.

I'm using:

Joomla 1.0.12
SMF 1.1.2
« Last Edit: August 03, 2007, 02:27:09 PM by elboby » Logged
Superdaantje
Joomla Guru
*****

Karma: +266/-23
Offline Offline

Posts: 370


Aka Livebox


View Profile WWW
Re: Joomla Patch error (Fatal error: Allowed memory size...)
« Reply #3 on: August 03, 2007, 02:40:34 PM »

just search on
Allowed memory size of 8388608 bytes exhausted

Logged

My Projects
Joomlabridge.org JSMF 2.0.2.1 Bridge Support and Downloads
Dutchjoomla.org Dutch Joomla Community (more then 60.000 members)
D.Wagner Webservices
elboby
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5



View Profile
Re: Joomla Patch error (Fatal error: Allowed memory size...)
« Reply #4 on: August 03, 2007, 03:03:30 PM »

Sorry but no answers that match my problem...
When I searched I had a lot of answers similiar with mine but different problem with the file... the file I had problem is frontend.html.php on line 201
Logged
Leftfield33
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Re: Joomla Patch error (Fatal error: Allowed memory size...)
« Reply #5 on: August 07, 2007, 06:20:49 AM »

I have the same problem as elboby. Only i have SMF 1.1.3
If i patched the files same error.

I have bridge, i have mod, everything done, but error keep going.

PS: did huge search on this website & net
« Last Edit: August 07, 2007, 06:25:46 AM by Leftfield33 » Logged
exrace
Joomla Newbie
*

Karma: +5/-3
Offline Offline

Posts: 48


View Profile
Re: Joomla Patch error (Fatal error: Allowed memory size...)
« Reply #6 on: August 07, 2007, 07:21:01 AM »

I just started getting this messages this morning.
Mine is hitting with the file com_smf module within pear.php
Code:
[Tue Aug 07 07:10:10 2007] [error] [client 74.70.180.104] PHP Fatal error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 35 bytes) in /var/www/vhosts/myhost.com/httpdocs/administrator/components/com_smf/includes/PEAR.php on line 863
To quick fix you need to bump up the memory allocation in php.ini or .htaccess file for your site.  I have been running this site with 16777216 for quite some time so I am not sure if it has something to do with the size of my smf db or possible php update of some sort.
Logged
exrace
Joomla Newbie
*

Karma: +5/-3
Offline Offline

Posts: 48


View Profile
Re: Joomla Patch error (Fatal error: Allowed memory size...)
« Reply #7 on: August 07, 2007, 11:11:40 AM »

After further discover I have found the issue.
In /components/com_smf/smf.php find this code around lines 41
Code:
// no direct access
defined( '_VALID_MOS' ) or die( 'Restricted access' );

//1.1.4-5 Increase the allowed memory usage
@ini_set('memory_limit', '16M');


Bump this value up a few meg at at time to fix issue.
You don't want to make this a real big number due to memory usage.
Keep in mind your php.ini or .htaccess settings need to be at or above this number.
Logged
kellerkind
Joomla Newbie
*

Karma: +1/-1
Offline Offline

Posts: 20


View Profile
Re: Joomla Patch error (Fatal error: Allowed memory size...)
« Reply #8 on: August 07, 2007, 01:37:51 PM »

hmm. I dont know. Something is wrong.
Until the 2.0.2.1 I'm run with memory_limit = 16M. First I tried 24, now Iīm @ 32M and still:

PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 126895 bytes) in /home/xxx/components/com_smf/smf.class.php on line 339, referer: http://www.example.com/forum/board,1.0/ 

itīs looks like Board Threads/Posts with a lot of bbcode increase the memory usage drastical. bevor 2.0.2 this error never occurs  Embarrassed         

exrace fix brought no improvement for me.                                                     
Logged
exrace
Joomla Newbie
*

Karma: +5/-3
Offline Offline

Posts: 48


View Profile
Re: Joomla Patch error (Fatal error: Allowed memory size...)
« Reply #9 on: August 07, 2007, 02:11:11 PM »

hmm. I dont know. Something is wrong.
Until the 2.0.2.1 I'm run with memory_limit = 16M. First I tried 24, now Iīm @ 32M and still:

PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 126895 bytes) in /home/xxx/components/com_smf/smf.class.php on line 339, referer: http://www.example.com/forum/board,1.0/ 

itīs looks like Board Threads/Posts with a lot of bbcode increase the memory usage drastical. bevor 2.0.2 this error never occurs  Embarrassed         

exrace fix brought no improvement for me.                                                     
Think I might be running into same thing.
Some process is exhausting memory as it will climb to the value I set it to and die.

If I find it I will post but this is a new issue for me.

One thing I did do last night when this all started was tighten down permissions on this site...so permissions to write a file or access to a file might be part of this.
Logged
exrace
Joomla Newbie
*

Karma: +5/-3
Offline Offline

Posts: 48


View Profile
Re: Joomla Patch error (Fatal error: Allowed memory size...)
« Reply #10 on: August 07, 2007, 07:47:27 PM »

My issue has stopped.
Did you update your php.ini or only the smf.php files?
When you say bbcode how much is a lot?

If you have console to your server try this in the dir that you have your website files in:
grep -lir "memory_limit" *
In sms.class.php line 339 looks to be allocating memory for an array.
Would have to study code to see what it is doing but double check your memory seetings for php.ini and smf.php

Logged
kellerkind
Joomla Newbie
*

Karma: +1/-1
Offline Offline

Posts: 20


View Profile
Re: Joomla Patch error (Fatal error: Allowed memory size...)
« Reply #11 on: August 08, 2007, 01:46:16 AM »

My issue has stopped.
Did you update your php.ini or only the smf.php files?
Iīm update the php.ini bevor i read this topic and your post here. With the step 16 > 24 some posts more are available, step 24 > 32 brought some improvement too, but it never disappeared completely. Then I read your hint and chanced the smf.php too, but this has no effect for me.

When you say bbcode how much is a lot?
Uhm. I would post a Link here, but it is not 100% reproducible. Iam afraid the Error only occours if the user is logged in? Would be logical, this are the only chances for 2.0.2.1 as far as i know.

If you have console to your server try this in the dir that you have your website files in:
grep -lir "memory_limit" *
In sms.class.php line 339 looks to be allocating memory for an array.
Would have to study code to see what it is doing but double check your memory seetings for php.ini and smf.php
This Engine is my root Server, I configured it from ground on. Webserver and Php build from Source - I know where I have to search my php.ini  Tongue  Grin
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login