View Single Post
  #5  
Old 21st September 2011, 12:36
laptop_user laptop_user is offline
Member
 
Join Date: Aug 2011
Posts: 78
Thanks: 34
Thanked 7 Times in 7 Posts
Default

Quote:
Originally Posted by till View Post
If your ispconfig is up to date, then download the ispconfig tar.gz manually from ispconfig.org, unpack it and run the update.php script.
I did actually. I search the forum and found the your same advice over here http://www.howtoforge.com/forums/sho...light=ssl+port but I was greeted with error:
Code:
root@server1:~/ispconfig3_install/install# php -q update.php


--------------------------------------------------------------------------------
 _____ ___________   _____              __ _         ____
|_   _/  ___| ___ \ /  __ \            / _(_)       /__  \
  | | \ `--.| |_/ / | /  \/ ___  _ __ | |_ _  __ _    _/ /
  | |  `--. \  __/  | |    / _ \| '_ \|  _| |/ _` |  |_ |
 _| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| | ___\ \
 \___/\____/\_|      \____/\___/|_| |_|_| |_|\__, | \____/
                                              __/ |
                                             |___/
--------------------------------------------------------------------------------


>> Update

Operating System: Debian 6.0 (Squeeze/Sid) or compatible

This application will update ISPConfig 3 on your server.
mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
PHP Warning:  mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) in /root/ispconfig3_install/install/lib/mysql.lib.php on line 78
PHP Notice:  Uninitialized string offset: 0 in /root/ispconfig3_install/install/lib/update.lib.php on line 98
PHP Fatal error:  Cannot use string offset as an array in /root/ispconfig3_install/install/lib/update.lib.php on line 98
This is what in mysql.lib.php in line 78:
Code:
$this->linkId = mysql_connect($this->dbHost, $this->dbUser, $this->dbPass);


I assume the first error is mysql error so I add all new credentials in mysql.lib.php (at the top section):
Code:
class db
{
        var $dbHost = "localhost";                // hostname of the MySQL server
        var $dbName = "dbispconfig";              // logical database name on that server
        var $dbUser = "root";             // database authorized user
        var $dbPass = "mydbpass";                // user's password
        var $dbCharset = "utf8";      // what charset comes and goes to mysql: utf8 / latin1
        var $linkId = 0;                  // last result of mysql_connect()
        var $queryId = 0;                 // last result of mysql_query()
        var $record     = array();        // last record fetched
    var $autoCommit = 1;      // Autocommit Transactions
        var $currentRow;                  // current row number
        var $errorNumber = 0;     // last error number
        var $errorMessage = "";   // last error message
        var $errorLocation = "";  // last error location
        var $show_error_messages = false;

but still got the same error.


Please help Thank you.

Last edited by laptop_user; 21st September 2011 at 12:46.
Reply With Quote