How do you need:


To create a website with Webmatic You need to obtain a web service with the follows peculiarities:

- The web service must support the PHP5 language;
- The web service must support the MySQL database manager (at least version 4.1.0 needed);

If you do not have a web service with this peculiarities you can obtain a web service with this peculiarities by click here.

Moreover you need that the PHP language can use the SMTP email server. Webmatic needs also the IMAP and GD extensions loaded to use all the functions of the software. The use of SMTP, IMAP and GD is responsability of the provider that give you the web service.

WARNING: Webmatic use cookies, if you want to browse correctly a website builded with Webmatic you must enable the cookies in your browser.


Installation:


If you have a web service with the characteristics described in "How do You need", for the istallation of Webmatic it is necessary to complete the follow steps (if you have already installed Webmatic and you want to update it see "Updating"):

1) Extract and copy files:
First extract all the file from "webmatic_xxx.zip" archive and using FTP, or other system, to put all extract files in your website root.

2) Execute the setup:
After go with your browser to your website url and a setup will be displayed. You can change the setup language any time by click on a flag. The setup help you to install and configure Webmatic.
The setup will check if your server its good to install webmatic or there are some parameters to fix.
In the first step you must to fix all the errors and you can continue the setup (you can continue also if all the warnings are not fixed, you can fix later the warnings but some functions will not work), see picture 1.


(1)


3) Setup database:

When you fixed all server errors (and warnings) click on "Next" and a database parameters form will be displayed.
Now you can insert the mysql database parameters to configure it. We suppose that our provider give to us the followings parameters to access the mysql database:

Database server name "mysql.server"
Database user name "database_user"
Database password "password"
Database name "database_name"

Choose the database prefix you want (the database prefix its useful when you want to use more then one copy of Webmatic in the same database).

Now insert in the form the required parameters and click on "Next" (see picture 2).

WARNING: Webmatic need at least MySQL version 4.1.0, if you have a version prior to 4.1.0 the setup will not continue.


(2)

4) Setup superuser:
Now you can configure the superuser (main website administrator) filling the field in the superurser setup form (see picture 3) and click "Save" to complete the setup.


(3)

5) Admin your website:
If setup its complete correctly your website home page will appear, from here you can go to administration area and start to manage your website with Webmatic. To go in administrator area you can click in the link "admin" or put in your browser the follow url (we suppose that your site are named www.yoursite.com):

www.yoursite.com/index.php?stage=2

A login form will appear, in it you can enter the superuser login and password (see picture 4), when you click on "Login", if the login and password are correct the administration area will appear (see picture 5).
For more details see control panel section.


(4)


(5)

6) Disable the setup:
Now you have correctly installed and configured Webmatic and you do not need the setup more, so you must disable the setup (you must disable the setup for security reasons and because Webmatic run with more speed if setup its disabled).
To disable the setup you must edit the file "index.php" and changing the line:

$webmatic3 = new webmatic3(WM3_cSETUP_ON,WM3_cWARNING_OFF,WM3_cDEBUG_OFF,'*');

in:

$webmatic3 = new webmatic3(WM3_cSETUP_OFF,WM3_cWARNING_OFF,WM3_cDEBUG_OFF,'*');

then save the edited file in your website folder (overwrite the old "index.php" file).


Updating:


If you have at least Webmatic version 3.0.0 (for prior version see "Updating from older versions") you can update Webmatic to a new version simply following the steps:

1) Overwrite files:
Extract all the files from last Webmatic version archive and simply overwrite the old files in your website with all the new files (using FTP or other system).

2) Updating:
Go with your browser in your website url and follow the updating instruction that appear (if any).
After, if you see your home page, the updating its complete with successfull.

3) Complete updating:
Now you can edit the file "index.php" and set the setup off changing the line:

$webmatic3 = new webmatic3(WM3_cSETUP_ON,WM3_cWARNING_OFF,WM3_cDEBUG_OFF,'*');

in:

$webmatic3 = new webmatic3(WM3_cSETUP_OFF,WM3_cWARNING_OFF,WM3_cDEBUG_OFF,'*');

then save the edited file in your website folder (overwrite the old "index.php" file).

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).


Updating from older versions:

You can also update an old Webmatic version (prior to 3.0.0) to the last Webmatic version.
To update your old Webmatic version to the last version you must complete the following steps (in the order):

1) Update to 2.8:
Before start the real update you must perform all the updates of your old Webmatic version to version 2.8
(to do that you need to download Webmatic version 2.8 from www.valarsoft.com and follow the instructions in the Webmatic 2.8 manual).

2) Copy Webmatic files:
Download the last webmatic version from www.valarsoft.com and overwrite all the files from the archive in your website.

3) Copy folders contents:

Copy the contents of old folders in new correspondents folders as follows:

Copy in
down data/downloads
pic/album data/album
pic/ban data/banners
pic/ecommerce data/ecommerce
pic/img data/images
pic/logo data/logo
special data/special

optionally (if you want to use the old icons and avatars)

Copy in
pic/icon data/icons
pic/photo data/avatars

4) Complete updating:
Go to your website url and complete the setup (see "Installation" for more details).

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).