phpDirectorySource Ver 1.1 Documentation
Index
 
1) We are performing a new installation, please ensure that...
 
A mysql database has been created to hold the phpDirectorySource tables. If you do not know how to create a mysql database, please refer to your server/host documentation.
 
2) Modify the configs/config.php file (this is the config.php file located in the configs folder)
 
In the mysql Database Connection section...
 
Change the connection settings for your mysql table. If you do not know these settings, please refer to your server/host documentation.
 
If you wish, you may change the table names. This is only necessary should the default names conflict with tables already in the database.
 
In the Main Configuration section
 
Set the absolute path to your document root. The variable $_SERVER['DOCUMENT_ROOT'] plus the folder the directory is located in, if any, should work in most instances. If this does not work, you can refer to your host/server documentation to get this setting.
 
Set the main location URL. This is the full web address to the directory.
 
Set the admin e-mail account. This is the email address that all corespondence to the administrator of the site will be sent.
 
If you are going to accept payments through paypal, set your paypal account e-mail address. This is the address paypal has on file for your account, so that you can properly be credited with payments.
 
The other configuration settings are not needed for installation and can be changed after installation. A detailed description of these setting can be found in the Configuration Settings section of this docment.
 
 
3) Modify the install_data.php file, add your desired administrative login and password. The default of admin/admin will be used if you do not change these variables.
 
4) Modify the .htaccess file... line 'RewriteBase /directory'
 
Change the '/directory' to reflect the current folder your directory is located in.
If your directory is in the document root on your server, use 'RewriteBase /'
 
 
5) Upload all directories and files to your server. If you are installing to a folder off of you main location, upload to that folder.
 
6) Change the permisions on the following folders to rwxrwxrwx (777). You can change the permisions using chmod directly on the server or using your ftp client.
 
/configs
/logo
/template_c
 
 
7) Run install_data.php by pointing your browser to that file. This will create and initialize the mysql tables for you. You will see the 'installation complete' notice if the tables installed correctly.
 
8) Run install_lang.php by pointing your browser to that file. This will add the language definitions for you. You will see the 'Language file updated' notice if installed correctly.
 
9) Remove the install_data.php file from your server. This is a security requirement, if you leave the file there you run the risk of remote visitors deleting any listing and changes you have made by initializing your table information.
 
10) Remove the install_lang.php file from your server. This is a security requirement, if you leave the file there you run the risk of remote visitors duplicating information in the language translation table.
 
11) Installation Complete. If everything installed correctly, you should be able to point your browser to your directory and see the default template.
 
Copyright phpDirectorySource 2005-2006, All Rights Reserved