WEBalbum - Your photos on the web
P A R T N E R S
How to install?

This install documentation is based on
Total Commander® (http://www.ghisler.com)

1. Unzip file

Select the WEBalbum zip file and unzip it (ALT+F9).




2. FTP configuration and connection

Select the FTP connection's icon.



In the FTP connection's window select "New connection...".



Fill fields:
  • Session
  • Host name *
  • User name *
  • Password *

* - this data you get from your server administrator



Select "Use passive mode for transfers" and press OK.

In the FTP connection's window will be your connection. Select it and press "Connect".



If connection will be failed, check data (host, login and password). Your connection change is possible after you press "Edit..." in the FTP connection's window.




3. Upload files

After connection with server, enter to the web site home directory on the server.

Generally a www directory is "public_html" but sometimes the FTP home directory is the www directory. If you have doubts ask your server's administrator.




In second panel in Total Commander enter to the unziped WEBalbum directory and copy all files and directories to the www directory on the server.

To select files or directories press INSERT





4. Configuration file editing

When all files will be copied enter to the inc directory on the server, select the config.php file and press F4.

Edit essential configuration data:

  • define('DB_TYPE','MySQL'); - database type - now is only MySQL
  • define('DB_HOST','XXX'); - change XXX to host name or IP address for a database server *
  • define('DB_NAME','XXX'); - change XXX to a database name *
  • define('DB_USER','XXX'); - change XXX to a user name *
  • define('DB_PASSWORD','XXX'); - change XXX to a user password *
  • define('DB_PREFIX','webalbum_'); - table name's prefix (default is webalbum_).

* - this data you get from your server administrator



After changes save the file and close the editor and upload it back to the server.



Press overwrite.





5. Changing directory's attributes

WEBalbum requires permission to write to the "photos" directory. You have to change attributes for the 'photos' and the 'import' directory to read and write for all (757).









6. Enter to the install wizard page

In your navigator type an url address to your page. Example, if your domain is www.mypage.com and WEBalbum files are in a www root directory type: http://www.mypage.com/install.php. If your WEBalbum files are in a subdirectory example 'my_album', type http://www.mypage.com/my_album/install.php.

You should see install wizard page. If all of statuses are OK you typed correct data in the config file and on your server are all required libraries.





7. Eventual problems


If you don't see install page:
  • Make sure that you typed correct the url address. If you copied WEBalbum files to a subdirectory make sure that you typed the url address with this subdirectory.
  • Maybe your server doesn't support PHP. Contact with your server's administrator.

If you see GD error:
  • Server hasn't a require GD library. Contact with your server's administrator.

If you see database connection error:
  • Check your configuration data in the inc/config.php file. Go to the point 4. Configuration's file editing, type correct data for the database connection, overwrite the file in the server and refresh the install page. If you have a problem, contact with your server's administrator.

permission denied to write to photos direcories: