Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st June 2011, 11:53
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 420
Thanks: 33
Thanked 24 Times in 19 Posts
Send a message via ICQ to radim_h
Default problem migrating joomla sites from ISPC2 to ISPC3 - Allowed memory exhausted

Hello,
maybe somebody can help
i'm triying to migrate sites from mod-php ISPC2 to fast-cgi+suexec ISPC3

when i move sites then i see just blank page and in error .log are lines
[Tue Jun 21 11:34:08 2011] [warn] [client xxx.xxx.xxx.xxx] mod_fcgid: stderr: PHP Warning: ini_set() has been disabled for security reasons in /var/www/clients/client68/web104/web/libraries/joomla/session/session.php on line 102
[Tue Jun 21 11:34:08 2011] [warn] [client xxx.xxx.xxx.xxx] mod_fcgid: stderr: PHP Warning: ini_set() has been disabled for security reasons in /var/www/clients/client68/web104/web/libraries/joomla/session/session.php on line 105
[Tue Jun 21 11:34:08 2011] [warn] [client xxx.xxx.xxx.xxx] mod_fcgid: stderr: PHP Warning: ini_set() has been disabled for security reasons in /var/www/clients/client68/web104/web/libraries/joomla/session/session.php on line 682
[Tue Jun 21 11:34:08 2011] [warn] [client xxx.xxx.xxx.xxx] mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 76 bytes) in /var/www/clients/client68/web104/web/libraries/joomla/error/exception.php on line 117

memory limit is set to 128MB, when i set memory limit to 256MB, all memory is exhausted again
this error appears also when i switch site to mod_php

has anyony idea what is causing this ?

Last edited by radim_h; 21st June 2011 at 12:24.
Reply With Quote
Sponsored Links
  #2  
Old 21st June 2011, 12:17
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 420
Thanks: 33
Thanked 24 Times in 19 Posts
Send a message via ICQ to radim_h
Default

about first error
when i edit
/etc/php5/apache2/php.ini
/etc/php5/cgi/php.ini
line
disable_functions = exec,passthru,popen,ini_set,system,show_source,she ll_exec,proc_open
to line
disable_functions = exec,passthru,popen,ini_set,system,show_source,she ll_exec,proc_open
(isnt it security risk?)
and restart apache, error message PHP Warning: ini_set goes out, but there is still memory exhaustion error
Reply With Quote
  #3  
Old 21st June 2011, 13:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,422 Times in 4,264 Posts
Default

Set a higher php memory limit in the php.ini file and restart apache. Check if the database ahs been migrated correctly and that the logins to the new database are working and if any paths in the config files have to changed etc.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 21st June 2011, 13:39
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 420
Thanks: 33
Thanked 24 Times in 19 Posts
Send a message via ICQ to radim_h
Default

there was same problem with 256MB of memory..
i have saved configuration and it started to work 8-|

i have upgraded joomla instalation, sites are working, but there is errror message in the log

Trying to get property of non-object in /var/www/clients/client68/web104/web/plugins/system/redirect_failed_login.php

don't understand it :|||
Reply With Quote
  #5  
Old 21st June 2011, 13:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,422 Times in 4,264 Posts
Default

Quote:
Trying to get property of non-object in /var/www/clients/client68/web104/web/plugins/system/redirect_failed_login.php
This might be related to a wrong path e.g. if one of the plugins has saved the old website path somewhere and is now unable to load a file or the PHP version on the old and new server differs and this plugin is not 100% compatible with the new PHP version.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 21st June 2011, 14:12
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 420
Thanks: 33
Thanked 24 Times in 19 Posts
Send a message via ICQ to radim_h
 
Default

just for info, memory exhaustion problem was caused by wrong permission on files, must be at least 750

still cannot find cause of non-property object message, but sites seems workig correct
Reply With Quote
Reply

Bookmarks

Tags
joomla, memory exhausted

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
Email problem 'Cannot set my user or group id.' (using ISPConfig 3 + OpenSuSE 11.2) urosm Installation/Configuration 5 19th June 2010 22:41
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 13:58
Problem with ISPconfig / joomla tremor General 4 31st May 2009 23:35
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 26377 shackdie General 1 5th August 2008 08:26


All times are GMT +2. The time now is 18:44.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.