Home arrow Forum Problem with memory and serialize
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 03, 2008, 02:25:41 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)
| | | |-+  Problem with memory and serialize
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Problem with memory and serialize  (Read 1212 times)
yAnTar
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile WWW
Problem with memory and serialize
« on: August 05, 2008, 09:23:42 AM »

I have installed Joomla 1.0.15, SMF 1.1.4, JSMF 2.0 RC3.
I moved posts and topics from other Forum in SMF, work good, but have Problem with Memory.

Code:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 173478 bytes) in
/home/htdocs/***********/administrator/components/com_smf/includes/Lite.php on line 367

In this line is $data = serialize($data);

Cache - disabled (in forum and in bridge), but $this->_caching = 1.
If write  $this->_caching = 1 then CSS for Forum not work.

And $data have 2 property - search and replace, and this properties have array with 100 values - links to Forum.

This links - jump from link SMF to link Joomla
ini_set("memory_limit", "128M"); - no Result.  Angry

Sorry of my english
Logged
Superdaantje
Joomla Guru
*****

Karma: +266/-23
Offline Offline

Posts: 370


Aka Livebox


View Profile WWW
Re: Problem with memory and serialize
« Reply #1 on: August 05, 2008, 10:39:59 AM »

Search the forums Please, Wink

JSMF 2.0 RC3 this will not work you need 2.0.2.1 of the JSMF bridge ;-)
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
yAnTar
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile WWW
Re: Problem with memory and serialize
« Reply #2 on: August 06, 2008, 03:53:42 AM »

But in 2.0.2.1 of the JSMF bridge also exist code
Code:
        if ($this->_caching) {
            if ($this->_automaticSerialization) {
                $data = serialize($data);
            }
and i think, what Problem remain.
Logged
Superdaantje
Joomla Guru
*****

Karma: +266/-23
Offline Offline

Posts: 370


Aka Livebox


View Profile WWW
Re: Problem with memory and serialize
« Reply #3 on: August 06, 2008, 06:49:34 AM »

Please search the forums first, this question is asked many times and answered many times. You can search on “Allowed memory size”
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
yAnTar
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile WWW
Re: Problem with memory and serialize
« Reply #4 on: August 11, 2008, 10:26:48 AM »

I searched on Forum this solution.
In file components/com_smf/smf.class.php
commment this rows
Code:
array_push($cache_search, $orig);
array_push($cache_replace, $new_link);
Logged
yAnTar
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile WWW
Re: Problem with memory and serialize
« Reply #5 on: August 12, 2008, 04:44:25 AM »

But exist problem with links (when registration across Joomla - must Links in manual mode in themes correct write).
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