• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

URGENT: Upgrade to 7.5.3 Errors

P

postman

Guest
Folks,
I stupidly upgraded Plesk to 7.5.3 (i won't be upgrading again!)
Several of my websites do not work after the upgrade.
My Mambo websites won't work at all with the errors below (and I cannot log in to the administration end) and my gallery website from the application vault has an error too (see below).
Please help me out here - my websites are down and this is urgent.
Thanks for any help, j

-----------Mambo Errors ---------
Warning: main(): SAFE MODE Restriction in effect. The script whose uid is 10013 is not allowed to access /home/httpd/vhosts/newryjournal.co.uk/httpdocs/administrator/components/com_mgm/class.mgm.php owned by uid 48 in /home/httpd/vhosts/newryjournal.co.uk/httpdocs/mambots/imggallery.inc on line 5

Warning: main(/home/httpd/vhosts/newryjournal.co.uk/httpdocs/administrator/components/com_mgm/class.mgm.php): failed to open stream: Success in /home/httpd/vhosts/newryjournal.co.uk/httpdocs/mambots/imggallery.inc on line 5

Fatal error: main(): Failed opening required '/home/httpd/vhosts/newryjournal.co.uk/httpdocs/administrator/components/com_mgm/class.mgm.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/newryjournal.co.uk/httpdocs/mambots/imggallery.inc on line 5


--- Gallery Errors -------
Warning: set_time_limit(): Cannot set time limit in safe mode in /home/httpd/vhosts/normanheganphotography.co.uk/httpdocs/gallery/init.php on line 140
Warning: Unknown(): write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
 
Turn off safe mode for now, this will probably get rid of some errors and give you some time to investigate further or fix the owner rights that Plesk broke.

In php.ini, (freebsd: /usr/local/psa/apache/conf/php.ini) set:

safe_mode=off

..and reboot Apache.

I always try to wait with upgrading untill the first patch has been released. Untill then, all Plesk releases are betas to me.
 
Uninstall 7.5.3

This is causing me big headaches - I've wasted half a day on this already with broken websites.

Can I uninstall and revert back to the previous Plesk 7.5.2 ?

I had the Zend Optimizer installed and the upgrade seems to have broken that. I tried re-installing Zend but now I get the following error in Mambo:

Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/mywebsite.co.uk/httpdocs/components/com_content/content.html.php on line 109

I had initially installed Zend to solve the foreach() problem but now I still have it.
I will not be upgrading Plesk ever again even if I do get this solved. I also cannot get the SpamAssasin service started with this 7.5.3 ?
 
Thanks for answering,
I checked the file /var/log/httpd/error_log and it doesn't seem to have logged anything - is this the correct file for php errors? maybe I have got error logging switched off for php?

To summarise my problem further. I am using PHP version 4.3.10 and had difficulty installing web applications such as Mambo as there was a bug with the foreach() command in this version of PHP - so I installed Zend Optimizer to rectify this (as advised in another forum).

this morning I upgraded to Plesk 7.5.3 and I had PHP problems again. There no longer seemed to be an /etc/php.ini file so I put a back up there. and also re-installed the same Zend engine. I have checked phpinfo() and everything seems to be the way I want it - with Zend running - but I still have lots of problems (see list below).
I really need to know how to solve this quick. Is it possible to upgrade the PHP version without affecting Plesk?

Problems list:
- Every time I log in to Plesk I have to agree to the license
- Spam Assassin Service will not start
- Cannot log in to Mambo as Admin
- Warning: Invalid argument supplied for foreach() in ...
- Notice: Undefined Variable: ....

Last 2 errors in two different web applications - Mambo and a home grown one.

Any help is appreciated.
 
Re: Uninstall 7.5.3

Originally posted by postman
Can I uninstall and revert back to the previous Plesk 7.5.2 ?

Yes. Just use your backup of 7.5.2. Oh, you did not make a backup? Geez...
 
Seems so, that you are not an expert about MySQL/PHP. :-(

Look again at
http://www.newryjournal.co.uk/index.php?option=com_contact&Itemid=3

This error

Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/newryjournal.co.uk/httpdocs/components/com_contact/contact.html.php on line 204

tries to connect your MySQL. But it has difficulties, namely with
the line 204 of the contact.html.php-file.

You should strict go from A-Z and also check out the access.log
and the error.logs. Not only the error.logs of your http, check
also out the logs of mysql. If you re strong, you will find the
failure.
 
Back
Top