Knowledgebase
TBIT DESIGN > HELPDESK > Knowledgebase

Ask a question:


How can I install the Script?

Solution

1) Create the MySQL Database and User to Access It
Logged into your Hosting Account Control Panel goto the MySQL Databases and first create the Database you will use, then back on the same page create the user that will have access to the database, then once done simply Grant this new user full¯ access to the database.

2) Enter the MySQL Details on the config.php File
Open the /includes/config.php file with your favorite text editor and enter the MySQL Database & Username access details you have just created in step one. When done save the file and close your text editor.

3) Upload The Files Into the Hosting Account
Using your FTP Client of choice, login and upload all the files (keeping them organized in the way they came compressed) into either the main folder of the site, or onto an empty folder.

4) Make the /banners/ folder Writeable Using CHMOD
Still using your FTP Client change the properties (CHMOD) of the /banners/ folder and set them to 777 so that you do not get an error message every time you upload the banners thru the administrative area.

5) Make the Downloads folder and Make it Writeable Using CHMOD
Still using your FTP Client go to the folder before the /public_html/ folder. The one where you can actually see the /public_html/ folder listed on, and make a new folder for the Downloads that will be available thru the website. Change the properties (CHMOD) of the Downloads folder you make and set them to 777 so that you do not get an error message every time you upload the banners thru the administrative area.

6) Run the /admin/ymws-install.php
In order to create the MySQL Database Tables needed to run this script, you must call the /admin/ymws-install.php file from your Web Browser of choice. When completed, delete this file from your hosting account as you will not need it again.

7) Add the Cron Job for DB Cleanups
Now login to your cPanel area and use the Cronjobs area to add the cron job listed here below: Add this line below as a cronjob to run every 10 or 15 minutes: php /home/cpanel_username/public_html/admin/cron-job.php > /dev/null

Make sure to replace both cpanel_username and admin with the actual names for those two folders. The cpanel_username is your actual cPanel Access Username and the admin should be changed if you renamed the /admin/ folder of your installation. For help with setting up a cronjob see your hosting companys support area.

Article details
Article ID: 5
Category: Your Membership Website Script
Date added: 2011-09-21 01:34:56
Views: 1107

 
<< Go back