>>> ISTALLATION:


After having gotten a web service with the characteristics described in the page "How do You need", for the istallation of Webmatic it is necessary to follow the followings steps:

A ) First we suppose that our provider (that it furnishes to us the access to the mysql databasel) has furnished to us the followings data:

     - Database server name: "mysql.server";
     - Database user name: "user";
     - Database password: "password";
     - Database name: "name";

and we suppose that the provider give us the follows FTP parameters:

     - FTP server name: "ftp.server";
     - FTP user name: "ftpuser";
     - FTP password: "ftppassword";

B ) Having the data of which above, we need to open the file config.php (this file is inside the directory named file) with a texteditor like notepad, and we need to insert the following value:

$DB_SERVER="mysql.server";
$DB_USER="user";
$DB_PASSWORD="password";
$DB_NAME="name";
$DB_PREFIX="webmatic";

In DB_PREFIX you can leave "webmatic" or you can put your prefix, this field its useful when you want to use more then one copy of webmatic in the same database.

We need also to modify the following lines:

// WEBMATIC SETTINGS
$ADMIN_LOGIN="choosethelogin";
$ADMIN_PASSWORD="choosethepassword";
$START_LANG=1; // 1=English; 2=Italian

when:

in ADMIN_LOGIN you must insert the website administrator login (choose the login that you want);
in ADMIN_PASSWORD you must insert the password what you want, that password are used (with the login) to enter in the Webmatic editor and to enter in the website setup;
in START_LANG you must choose the start language for the website (enter the corresponding number).

If the service provider lets you to use the FTP protocol, you can also det the follows parameters (the ftp port ($FTP_PORT) its always 21, but if the provider give you another number, please change it):

// FTP SETTINGS
$FTP_SERVER="ftp.server";
$FTP_USER="ftpuser";
$FTP_PASSWORD="ftppassword";
$FTP_PORT="21";

by setting the FTP parameters, you can upload yours files in your website simply using the Webmatic editor directly online.

C ) Now, you must transfer all the file and the directory that are in the "file" directory, in your website root (using FTP or with other equivalent system).

D ) After you have transfer all the file, your website is ready to be initialized. You must go in the internet explorer address bar and you must write: www.yoursite.com/setup.php (i suppose that the your website address is www.yoursite.com), in the panel that appear you must write the password previously inserted (the value of ADMIN_PASSWORD) and click on Ok. Now you can see the setup panel (picture 1).


(1)



From this panel you must select the item, Install database and click the button Execute.
So you have created your database (if all its ok a message will appear). If you want to deletre the database (WARNING: you lost all data in the database) you must select Delete database and click on Execute.

E ) Now your website its ready to be built, to enter in the control panel of your website (webmatic editor) you must write the address www.yoursite.com/admin.php, (i suppose that your site are named www.yoursite.com). If you write your website address (www.yoursite.com) will appear the actual structure of your website.

WARNING: To enter in the webmatic editor you need the password (value of ADMIN_PASSWORD) that password is the protection for your website, if you close internet explorer and reenter in your website editor, the password will be asked, only the website administrator is able do going in the webmatic editor with this password.


 >>> UPDATING:


For the updating of Webmatic you must complete 3 main steps (in the order):

1) The file update:
Its simply consists in the overwriting of all files (except the file "config.php"), using FTP or other, from the folder "file" of the new version, with the old file that are located in your website buided with Webmatic.

2) The database update:
its consists in the updating of the database tables from the old version to new version.
To do that you must call the file "setup.php" and select from the "Operation" menu the item "Update". Please make caution when you update Webmatic because if you do not select the right version to update from the menu, you can damage permanently the database (see picture 2). At last you must click on "Execute".

3) The file "config.php" update:
When this update is required, you must update or add some values in the file "config.php" (see the "Istallation" sections for more details).
After that you have modified the file "config.php", you must copy that file in your website using FTP or other.

Please, before update you must verify the version of Webmatic that you have.

WARNING: If you update from an older version to a one or more newer version of Webmatic, you must do ALL! the update. The updates must be done in the order until the last update.



(2)

Since now there are the follow updatings:

- From 2.7 (or 2.7.x) to 2.8 (you must update the files and the database).
- From 2.7 to 2.7.1 (you must update the files only).
- From 2.6 (or 2.6.x) to 2.7 (you must update the files and the database(*) ).
- From 2.6.x to 2.6.2 (you must update the files only).
- From 2.6 to 2.6.1 (you must update the files only).
- From 2.5 to 2.6 (you must update the files and the database).
- From 2.4 to 2.5 (you must update the files and the database).
- From 2.3 to 2.4 (you must update the files and the database).
- From 2.2 to 2.3 (you must update the files and the database).
- From 2.1 to 2.2 (you must update the files and the database).
- From 2.0 to 2.1 (you must update the files and the database).
- From 1.9 to 2.0 (you must update the files and the database).
- From 1.8 to 1.9 (you must update the files, the database and the "config.php" file).
- From 1.7 to 1.8 (you must update the files and the database).
- From 1.6 to 1.7 (you must update the files and the database).
- From 1.5 to 1.6 (you must update the files and the database).
- From 1.4 to 1.5 (you must update the files and the database).
- From 1.3 to 1.4 (you must update the files and the database).
- From 1.2 to 1.3 (you must update the files and the database).
- From 1.1 to 1.2 (you must update the files, the database and the "config.php" file).
- From 1.0 to 1.1 (you must update the files and the database).

(*) From Webmatic version 2.7, the folder for the ecommerce images has been moved from "pic/img" to "pic/ecommerce", is therefore necessary to move all the related images in the new folder.

WARNING: After an update of Webmatic from an old version to a new version, its not possible to back to the old version. Is recommended to do a copy of your old database, to do this you can use a database manager tool (like PHPMyAdmin).