Creating Your Database

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

1.

Creating your database


Before running the installation, a MySQL database will need to be created. You will need to
make up three things when creating your database - the database name, a database username and a
password. Each of these three items can be pretty much anything you like - just remember to write
them down! You will need them later. Now open PHPMyAdmin that is provided by your control panel
and import database.sql (application/data/database.sql)

2. Upload your files
You will need to upload all of the files that are inside the dev-pack-v1 directory (folder), but
not the upload folder itself. You'll need an FTP application in order to complete this process. Some
popular FTP programs are:
SmartFTP (http://www.smartftp.com)
CuteFTP (http://www.cuteftp.com)
FileZilla (http://filezilla.sourceforge.net/)

3. Change database.yml
Open database.yml (config/database.yml ) that is inside config folder . Change database
information that you have created
all:
doctrine:
class: sfDoctrineDatabase
param:
dsn: mysql:host=localhost;dbname= database name
username: database username
password: database password

NOTE: Dont change this file syntax format yml is case sensitive with tab

4. Change your folders permissions 777
Whether you're installing 68 Classifieds on an Apache server or a Windows server, you need
to change the following folders' permissions. Within the server pane of your ftp application,
Highlight the following folders:
application/cache
application/log
uploads ( recursive permission )
In most ftp applications, you can right-click and choose Permissions or Get Info or CHMOD. Your
selection will vary depending on the ftp application you're using. Most hosting services also allow you to
do this in the previously mentioned disk manager or file manager in your control panel.
You should modify all of the folders' permissions to Read, Write, Execute All. Shorthand notation for
the correct permissions on Linux machines is 777.

5. Set Cron Job
Set Cron job every 24 hours , that help to delete posts after 160 days and its make it featured
post to free post after feature post time completed
See the below links that help you how to set up cronjob file thru server control panel
1. Cpanel : http://screencast.com/t/MDc5MTJkMGQ
2. Plesk : http://daipratt.co.uk/crontab-plesk-php/
Url : php path/to/cron.php ( you can find cron.php in main folder )
6. Clear Cache
After you setup all code and database. Must have to clear cache , for that run below url help to
clear cache
Url : www.yourdomain.com/sf_cc.php

7. Map you domain to web
From you hosting control panel you can map your domain thru add-on Domains, In add-on domain
set your-document- root-path/ after set it will take 48 hours for active your domain . after successful
active url
Production/Live mode Urls ( Errors will not display ):
Front : www.yourdomain.com
Back : www.yourdomain.com/cfpanel.php
Username : info@sfclassi.com
Password: sfclassi
Development mode Urls ( Errors will display on page ):
Front : www.yourdomain.com/cfclient_dev.php
Back : www.yourdomain.com/cfpanel_dev.php
Username : info@sfclassi.com
Password: sfclassi


NOTE : If there is any queries or any problem fill free ask and we also
setup free . Please email me on support@sfclassi.com , with you
hosting account details and domain details . we will setup your
project

You might also like