You are on page 1of 4

1.6.

6
Released: January 2011

PHP Melody Installation Manual

www.phpSugar.com

Hello!
Thank you once again for choosing PHP Melody as your Video and Content Manager! This manual is intended to guide you through the 4 steps required for installing PHP Melody. If you encounter any problems, please contact our team. We are always happy to help!

Installing PHP Melody


Step 1
Setting up the MySQL User and Database
The following MySQL details are required before installing PHP Melody: 1. 2. 3. MySQL server name (most of the time it is localhost) MySQL username and password MySQL database name

All these can be set from within your hosting control panel. If you have any doubts about these details, please ask your host to provide these details. Always make sure that the MySQL user has been given the required privileges to access the MySQL database.
Please note: You cannot use an old PHP Melody database with a new install. Contact our team for more details.

Step 2
Editing config.php
Unzip the PHP Melody archive on your computer. Find and rename config-sample.php to config.php. Then, replace the highlighted content with your own details from Step 1: $db_name = 'mysql-database'; // MySQL database name $db_user = 'username'; // MySQL username $db_pass = 'password'; // MySQL password $db_host ='localhost'; define('_SITENAME', "PHP Melody"); // Site Name/Title (e.g My Music Video Site) define('_URL', 'http://www.site.com"); // Insert full URL WITHOUT any trailing slash (e.g http://www.example.com) define('_CUSTOMER_ID', 'YOUR_CUSTOMER_ID');

phpSugar 2011 www.phpSugar.com

Step 3
Upload Files and Set Permissions

Using your favorite FTP client, upload the PHP Melody files and folders to your hosting account into the desired installation folder. You can install PHP Melody in any folder or sub-domain. Please note that the phpmelody_sql.sql file must be uploaded in ASCII mode, while the rest of the files should be uploaded in BINARY mode. Once everything has been successfully uploaded, please use your FTP client to set the required permissions for the following files and folders:

File: blacklist.txt - CHMOD to 0777 File: censor_words.txt - CHMOD to 0777 File: sitemap.xml - CHMOD to 0777 File: jwembed.xml - CHMOD to 0777 File: admin/tmp.pm - CHMOD to 0777 File: admin/temp/embedparams.xml - CHMOD to 0777 Folder: admin/temp - CHMOD to 0777 Folder: uploads/ - CHMOD to 0777 Folder: uploads/avatars - CHMOD to 0777 Folder: uploads/articles - CHMOD to 0777 Folder: uploads/thumbs - CHMOD to 0777 Folder: uploads/videos - CHMOD to 0777 Folder: Smarty/templates_c - CHMOD to 0777

Important note for Mac users


Mac OSX does not see the .htaccess file because its starts with a dot. Please make sure this file is uploaded to your installation folder as well.

Step 4
Access install.php
Point your browser to install.php (e.g. http://www.yoursite.com/install.php) If you see any errors please follow the given instructions to solve them. You might also see a completely white page. This indicates that error_reporting is turned OFF in your PHP installation. Please ask your host to enable error_reporting for a more detailed report on what went wrong.

phpSugar 2011 www.phpSugar.com

Most of the times, any errors that appear on the installation page are caused by incorrect MySQL details in config.php. Please check them twice if you experience any such problems. If everything is marked as [OK], press the Continue button to start installing the MySQL database. At this point, you must wait for the confirmation message. If you do not see the Continue button then it is very likely that your MySQL details are wrong/incomplete. In this case, review Step 1. Once successfully installed, you can then access the Admin Area by pointing the browser to http://yoururl.com/admin/index.php. Your default login details are:
Username: admin Password: admin

Thats all. Job well done!


Enjoy PHP Melody.

Important links
Here are some useful links to help you get started with PHP Melody:

Premium Templates for PHP Melody new


http://www.phpsugar.com/phpmelody_templates.html

Our Services
http://www.phpsugar.com/services.html

Did you know?


You can download a PREMIUM template for as low as $14 USD. For more details, please visit our website www.phpsugar.com/phpmelody_templates.html

Contact our team


http://www.phpsugar.com/customer_care.html

Customer Area
http://www.phpsugar.com/customer/

Join the Forums for loads of useful information


http://www.phpsugar.com/forum/
phpSugar 2011 www.phpSugar.com

You might also like