Posts: 402
Thanks: 31
Thanked 23 Times in 18 Posts
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
Posts: 402
Thanks: 31
Thanked 23 Times in 18 Posts
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
Posts: 31,896
Thanks: 693
Thanked 4,191 Times in 3,207 Posts
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.
Posts: 31,896
Thanks: 693
Thanked 4,191 Times in 3,207 Posts
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.
Recent comments
18 hours 28 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 8 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 15 hours ago
2 days 1 hour ago
2 days 6 hours ago
2 days 7 hours ago