1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

URGENT: Upgrade to 7.5.3 Errors

Discussion in 'Plesk for Linux - 8.x and Older' started by postman, May 14, 2005.

  1. postman

    postman Guest

    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
  2. tieten

    tieten Guest

    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:


    ..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.
  3. postman

    postman Guest

    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 ?
  4. editor

    editor Guest

  5. postman

    postman Guest

    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.
  6. editor

    editor Guest

    Re: Uninstall 7.5.3

    Yes. Just use your backup of 7.5.2. Oh, you did not make a backup? Geez...
  7. editor

    editor Guest

    Seems so, that you are not an expert about MySQL/PHP. :-(

    Look again at

    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