Joomla! Discussion Forums



It is currently Wed Nov 25, 2009 5:33 am (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 9 posts ] 
Author Message
Posted: Tue Dec 13, 2005 3:00 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Dec 13, 2005 2:57 am
Posts: 7
I am seeing this error all over the place.  I have increase my memory_limit to 32M and it keeps saying this.  I also have Mambo 4.5.2 and it doesn't do this.  I have searched this error  in this forum but I don't understand why this is happening all over?  And I am unsure how to fix it.

ben


Top
  E-mail  
 
Posted: Sat Jan 07, 2006 9:00 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Dec 13, 2005 2:57 am
Posts: 7
Alright... I found out the probelm... basically, I had to change the line in the affected page from

$xmlDoc = new DOMIT_Lite_Document();

to

$xmlDoc =& new DOMIT_Lite_Document();

Give it a shot.


Top
  E-mail  
 
Posted: Sat Jan 07, 2006 9:03 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Dec 13, 2005 2:57 am
Posts: 7
I should also mention that I was using PHP5 and that sounds like I had this problem.


Top
  E-mail  
 
Posted: Sat Jan 07, 2006 9:09 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Dec 13, 2005 2:57 am
Posts: 7
I ran a grep and these are the files that would need to be changed:

administrator/components/com_menus/admin.menus.php:725: $xmlDoc =& new DOMIT_Lite_Document();
administrator/components/com_installer/mambot/mambot.php:61:                    $xmlDoc = new DOMIT_Lite_Document();
administrator/components/com_installer/mambot/mambot.class.php:135:                    $this->i_xmldoc = new DOMIT_Lite_Document();
administrator/components/com_installer/component/component.php:66:                      $xmlDoc = new DOMIT_Lite_Document();
administrator/components/com_installer/component/component.class.php:295:                              $xmlDoc = new DOMIT_Lite_Document();
administrator/components/com_installer/language/language.class.php:67:                  $this->i_xmldoc = new DOMIT_Lite_Document();
administrator/components/com_installer/module/module.class.php:166:                    $this->i_xmldoc = new DOMIT_Lite_Document();
administrator/components/com_installer/module/module.php:81:                    $xmlDoc = new DOMIT_Lite_Document();
administrator/components/com_installer/installer.class.php:159:        $xmlDoc = new DOMIT_Lite_Document();
administrator/components/com_installer/installer.class.php:186:        $this->i_xmldoc = new DOMIT_Lite_Document();
administrator/components/com_templates/admin.templates.php:144:                $xmlDoc = new DOMIT_Lite_Document();
administrator/components/com_mambots/admin.mambots.php:262:            $xmlDoc = new DOMIT_Lite_Document();
administrator/components/com_languages/admin.languages.php:90:          $xmlDoc = new DOMIT_Lite_Document();
administrator/components/com_modules/admin.modules.php:420:    $xmlDoc = new DOMIT_Lite_Document();
includes/joomla.xml.php:216:                            $xmlDoc = new DOMIT_Lite_Document();


Last edited by bennysp on Sat Jan 07, 2006 9:11 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Sat Jan 07, 2006 9:17 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 12:38 am
Posts: 11199
Location: Sydney - Australia
Joomla does not support php5

Have you tried using php4 ?

_________________
Brad Baker - Follow me on Twitter @xyzulu @rochenhost
http://www.rochen.com - Joomla! Hosting, the correct way.
http://www.joomlatutorials.com <-- Joomla Help
..somewhere in this hospital the anguished oink of a pig man cries out for help..


Top
  E-mail  
 
Posted: Sun Jan 08, 2006 8:57 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Nov 10, 2005 4:32 pm
Posts: 54
What you need to do is open up globals.php and add the following line:

Code:
ini_set( 'memory_limit', '40M' );


That will fix your problem!!


Top
  E-mail  
 
Posted: Thu Jan 12, 2006 4:08 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Dec 13, 2005 2:57 am
Posts: 7
I don't know what to say... I fixed all my issues with using php5 and just editing the lines I mentioned.  I didn't have to increase my memory limit either.


Top
  E-mail  
 
Posted: Thu Jan 12, 2006 8:11 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Nov 10, 2005 4:32 pm
Posts: 54
bennysp wrote:
I don't know what to say... I fixed all my issues with using php5 and just editing the lines I mentioned.  I didn't have to increase my memory limit either.


Did you get it sorted?

I know when i get hit with that error i added that little bit of code to my globals file and it fixed the problem, but then every server is different. 

Dehaw


Top
  E-mail  
 
Posted: Thu Jan 12, 2006 2:33 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Dec 13, 2005 2:57 am
Posts: 7
Yeah, mine works without the global fix.  I just had to add that "&" sign for the DOMIT_Lite_Document lines that I mentioned.


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

Quick reply

 



Who is online

Users browsing this forum: Google [Bot], zantetzuken and 60 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group