Documentation

Please read the following installation instructions carefully:

• A server running PHP v4.3 or higher. Some of the syntax will NOT work on earlier versions.
• A MySQL database to hold the script tables.
• CURL support enabled for the Paypal IPN system.
• A Paypal business or premier account. If you only have a personal account, you need to upgrade.
• GD Library installed & enabled for captcha display.
[1] - Set up a mysql database to hold the script tables. If you are unsure of this procedure, contact your host.

[2] - Open the 'control/connect.inc.php' file in your text editor and edit it to point to the database you just created. You MUST also specify a cookie name and a secret key. DO NOT use the defaults!!

[3] - Again, in your text editor, open the 'admin/control/defined.inc.php' file and set a username/password for your admin area. It is important that no whitespace exists in this file after editing. Use Notepad if you aren`t sure of your text editor.

[4] - Using FTP software (such as Filezilla), upload all the files/folders to a directory on your server. ie: /music/

[5] - If on a Linux server, Chmod the following directory to 0777 to make it world writeable. If your host accepts 0755, try this first:

log

[6] - Outside of your web root create the following two folders, these folders will hold the full versions of your products. Outside of root means in a directory NOT accessible on the web. ie, they cannot be accessed in a web browser.

mp3
packs-presets

[7] - Access the installation file in your browser and follow the set up instructions:

http://www.yoursite.com/music/install/index.php

[8] - If installation was successful, delete or rename the install folder.

[9] - Access your administration area and update your settings. It is important you set the correct system path before you add content or view the front end.

http://www.yoursite.com/music/admin/

[10] - Thats it, all done. Read the path info below. For script usage, see the link on the menu above and read the rest of these docs thoroughly!!

SECURITY NOTE: For extra security you should rename your 'admin' folder to something unique!!
[1] - Set up a mysql database to hold the script tables and run the 'docs/schematic/tables.sql' file.

[2] - Open the 'control/connect.inc.php' file in your text editor and edit it to point to the database you just created. You MUST also specify a cookie name and a secret key. DO NOT use the defaults!!

[3] - Again, in your text editor, open the 'admin/control/defined.inc.php' file and set a username/password for your admin area. It is important that no whitespace exists in this file after editing. Use Notepad if you aren`t sure of your text editor.

[4] - Using your FTP software, upload all the files/folders to a directory on your server. ie: /music/

[5] - If on a Linux server, Chmod the following directory to 0777 to make it world writeable. If your host accepts 0755, try this first:

log

[6] - Outside of your web root create the following two folders, these folders will hold the full versions of your products. Outside of root means in a directory NOT accessible on the web. ie, they cannot be accessed in a web browser.

mp3
packs-presets

[7] - Access your administration area and update your settings. It is important you set the correct system path before you add content or view the front end.

http://www.yoursite.com/music/admin/

[8] - Thats it, all done. Read the path info below. For script usage, see the link on the menu above and read the rest of these docs thoroughly!!

SECURITY NOTE: For extra security you should rename your 'admin' folder to something unique!!
URL to Installation Folder: This is the url to your installation folder with a slash.

MP3 Folder Server Path: This is your SERVER path (NOT a url) to the 'mp3' folder outside of your root (with slash). If you aren`t sure, contact your host.

Packs Folder Server Path: This is your SERVER path (NOT a url) to the 'packs-presets' folder outside of your root (with slash). If you aren`t sure, contact your host.

Note: Server paths would be something like the following:

/home/yourserver/
/home/yourserver/yoursite.com/
D:\ (Windows)
When adding mp3 files you enter the mp3 path to the file. So, if the file exists directly in the 'mp3' folder, you would enter:

music.mp3

If the file exists in a folder inside the 'mp3' folder (example 'album1'), you yould enter:

album1/music.mp3

ALL preview mp3 files MUST be uploaded into the 'mp3-previews' folder.

Preset packs are easier to add as they don`t assume any additional folders. See the script usage link on the menu above.