You are on page 1of 4

1.6.

7
Released: October 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
1. 2. 3.

Setting up the MySQL User and Database


The following MySQL details are required before installing PHP Melody: MySQL server name (usually its: localhost) MySQL username and password MySQL database name

All these can be set from within your hosting control panel (cPanel, Plesk, etc.). If you have any doubts about these details, please ask your host to provide you these details.
Please note: You cannot use an old PHP Melody database with a new install. Contact our team for more details.

Always make sure that the MySQL user has been granted privileges/access to access the MySQL database.

Step 2

Editing config.php
Unzip the PHP Melody archive on your computer. Find and rename config-sample.php to config.php. Open config.php and 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. You can install PHP Melody in any folder or on a 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: video-sitemap-1.xml - CHMOD to 0777 File: video-sitemap-2.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. 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)

phpSugar 2011 www.phpSugar.com

If you see any errors, please follow the on-screen instructions to solve them. You might also see a completely white page .This indicates that error_reporting is turned OFF in your PHP.ini file. Please ask your host to enable error_reporting for a more detailed report on what went wrong. 99% of the times any errors on the installation page is caused by incorrect MySQL details in config.php. Please check them twice, make sure the MySQL user has access to the MySQL database.

If everything is marked as [OK], press the Continue button to start installing PHP Melody. 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, access your Admin Area by pointing the browser to http://yoururl.com/admin/index.php. Your default login details are:
Username: admin Password: admin

Enjoy!

Important links

Thats all. Job well done!


Enjoy PHP Melody.
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

Premium Templates for PHP Melody new


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

Here are some useful links to help you get started with PHP Melody: http://www.phpsugar.com/phpmelody_templates.html

Our Services

Contact our team Customer Area

http://www.phpsugar.com/customer_care.html 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