Home Security Codex * Patches * PDF documents Feature request / bug report Webtemplates Credits Language Contact Tutorials Tips & Tricks
Password Recovery Installation of Horizon QCMS Upgrade Change login screen Adjust Navigation Mastering your website with Horizon QCMS Mastering your website with Horizon QCMS part 1 Mastering your website with Horizon QCMS part 2 Mastering your website with Horizon QCMS part 3 Mastering your website with Horizon QCMS part 4 Mastering your website with Horizon QCMS part 5

How to upgrade from a previous version of Horizon?

* Important *

If you're using an older version than Horizon QCMS 4.1 then we strongly recommend that you'll upgrade ASAP, because Horizon 4.1 has all the security patches, loads faster and offers CAPTHCHA protection for your web forms.

The CAPTHCHA protection is only available in the Full Product or in the Full upgrade.

Click here to download the full product

Click here to download the full upgrade

* How to upgrade to Horizon QCMS 4.1? *

Step 1:
adjust config.php and delete the existing db_conect lines with this one:

---// add this to config.php if it isn't there already //----

$mysql = "mysqli";

// it's important that you don't touch this!    
if($mysql =="mysql"){
    $db = mysql_connect ($host, $user, $password) or die ("I can't make a connection with the database");
    mysql_select_db ($dbname, $db);
} elseif ($mysql =="mysqli"){
    $db = new mysqli($host, $user, $password, $dbname) or die("I can't make a connection with the database");
    mysqli_select_db($db,$dbname);
} else{
    echo "unknown database";
}

// You can also add the folowing lines:


# Extra configuration options

# Enable URL rewrite, set to false if you
# don't want to use the URL rewrite function, or
# if your webserver doesn't support apache URL rewrite function....
#
# Note:  Always disable this function if you're going to install horizon on IIS, unless
# ISS supports URL rewrite....

$url_rewrite=true;
#$url_rewrite=false;


# Login configuration.
# Set to false if you want to login with your username instead
# of your email address.

#$login_email = true;
$login_email = false;

---// add this to config.php if it isn't there already //----

Step 2:
upload all the files to your server.


Step 3:
go to your website and then type:  upgrade/upgrade.php

The script will now adjust all the mysql tables, and then you're up-to-date ;-)
It won't affect your existing articles.