Manual v1.2

 << Prev  Content  Next >> 

Installing
To install and run the script you will need:
  • Web server (host)
  • PHP4
  • mySQL
Installing your WAP portal is contained within a few simple steps.

1. Make changes in configuration file
Unpack the archive. Open the file called config.php in a plain text editor (like Notepad).
There are few, self explanatory changes you have to make in the config.php file: mySQL database information (database name, host, user and password), absolute path to your server (you should have received this information from your host) and language file settings. Note that absolute path is path to where this distribution will be installed and not just to web root.
The language file is used for WAP dialogs that are not changed often. There are several language files (besides English) already available. Take a look into the "lang" directory. If your language is not there you will have to translate dialogs in "english.php" and name your file i.e. spanish.php which then needs to be included in config.php.

2. Upload the package
Create a directory called i.e. wap on your web server and upload the distribution package. Upload all files in ASCII besides images (gif and wbmp) which are uploaded in binary mode. Preserve the directory structure.
CHMOD directory images/logo to 777 (UNIX only).

3. Create database tables
You can create a new mySQL database called i.e. wap to be used by this script. You can also use an existing database as tables have unique names.
Now insert database tables from wps.sql file. Installation script is included for this purpose. Just go to following address: http://www.yoursite.com/wap/resources/install.php with your web browser and follow the instructions. The script will automatically insert WPS database tables and direct you to administration area.
If you, by some reason, want to insert tables manually you can do it with telnet/SSH going to "resources" directory and typing:
mysql -u<user> -p<password> wap < wps.sql
where wap is the database name.
You can also insert database tables with phpMyAdmin or some other database handling script if you don't have shell access.

4. Done with installing
You are now done installing the script. You can go to http://www.yoursite.com/wap/admin/ and you should see a login form.
Login with admin/admin and continue setting up the portal from here.
If something is wrong go back to step 1. 2. and 3. and check those steps again.

 << Prev  Content  Next >> 

Copyright © 2002 Wap Portal Server