Last questions on ask.SCRiPTMAFiA.ORG
Classified Download free version W2D
Category: Clones
- views: 2559
- date: 16 December 2011
- posted by: Ashwanart
Installation instructions
Unzip the package
Upload folders and files to your server. You may upload it to the root directory or to any subdirectory
Directories: 'languages/', 'users_content/', 'system/cache/' and 'system/view/smarty/templates_c/' directories and all their subdirectories and files must have 777 CHMOD attributes on your server
Create new MySQL database on the server. Usually it may be done via control panel on your hosting.
Open 'system/config/database.php' file with a text editor and set your database settings. For example:
$db['default']['hostname'] = "localhost";
$db['default']['username'] = "user name";
$db['default']['password'] = "your pass here";
$db['default']['database'] = "database name";
Open 'system/config/config.php' file with a text editor and set your paths settings. Typically there are 2 config options you need to change in this file - base domain name and path to subdirectory with trailing slashs. If your site is not in subdirectory - leave it empty. For example:
$config['base_url'] = "http://www.example.com/";
$config['subdirectory'] = "subdirectory/";
Go to 'http://mysite/' – this will run installation. You must get the list of accomplished pre-installation tests and 'Database installed!' final message.
Fill in initial settings on next steps of installation: login, email and password of the root user, site name and site email.
Installation completed.
Read Getting started article of this manual in order to set up you directory script.
Note 1: if you get a blank page on 7th step, try to change this line in database.php from
$db['default']['dbdriver'] = "mysqli";
to
$db['default']['dbdriver'] = "mysql";
Note 2: in the case that you can't upload images in your admin panel (like site logo or listings images) first of all check that 'users_content/' folder and ALL its subfolders have 777 CHMOD attributes, if it didn't help - try to play with this variable in config.php file:
$config['users_content_server_path'] = $_SERVER['DOCUMENT_ROOT'] . '/' . $config['subdirectory'] . 'users_content/';
or
$config['users_content_server_path'] = '/' . $_SERVER['DOCUMENT_ROOT'] . '/' . $config['subdirectory'] . 'users_content/';
or
$config['users_content_server_path'] = '/' . $config['subdirectory'] . '/users_content/';
or
$config['users_content_server_path'] = $config['subdirectory'] . 'users_content/';
Note 3: If you get 404 or 500 error during installation, then in config.php file try to change this line:
$config['index_page'] = "index.php";
Note 4: also you may play with this settings:
in .htaccess file change from
#RewriteRule ^(.*)$ index.php/$1 [L]
RewriteRule ^(.*)$ ./index.php [L]
to
RewriteRule ^(.*)$ index.php/$1 [L]
#RewriteRule ^(.*)$ ./index.php [L]
and in config.php file
$config['uri_protocol'] = "REQUEST_URI";
may be changed to
$config['uri_protocol'] = "AUTO";
Have any difficulties? You are welcome to ask any questions.
‹ License
up
Requirements ›
Unzip the package
Upload folders and files to your server. You may upload it to the root directory or to any subdirectory
Directories: 'languages/', 'users_content/', 'system/cache/' and 'system/view/smarty/templates_c/' directories and all their subdirectories and files must have 777 CHMOD attributes on your server
Create new MySQL database on the server. Usually it may be done via control panel on your hosting.
Open 'system/config/database.php' file with a text editor and set your database settings. For example:
$db['default']['hostname'] = "localhost";
$db['default']['username'] = "user name";
$db['default']['password'] = "your pass here";
$db['default']['database'] = "database name";
Open 'system/config/config.php' file with a text editor and set your paths settings. Typically there are 2 config options you need to change in this file - base domain name and path to subdirectory with trailing slashs. If your site is not in subdirectory - leave it empty. For example:
$config['base_url'] = "http://www.example.com/";
$config['subdirectory'] = "subdirectory/";
Go to 'http://mysite/' – this will run installation. You must get the list of accomplished pre-installation tests and 'Database installed!' final message.
Fill in initial settings on next steps of installation: login, email and password of the root user, site name and site email.
Installation completed.
Read Getting started article of this manual in order to set up you directory script.
Note 1: if you get a blank page on 7th step, try to change this line in database.php from
$db['default']['dbdriver'] = "mysqli";
to
$db['default']['dbdriver'] = "mysql";
Note 2: in the case that you can't upload images in your admin panel (like site logo or listings images) first of all check that 'users_content/' folder and ALL its subfolders have 777 CHMOD attributes, if it didn't help - try to play with this variable in config.php file:
$config['users_content_server_path'] = $_SERVER['DOCUMENT_ROOT'] . '/' . $config['subdirectory'] . 'users_content/';
or
$config['users_content_server_path'] = '/' . $_SERVER['DOCUMENT_ROOT'] . '/' . $config['subdirectory'] . 'users_content/';
or
$config['users_content_server_path'] = '/' . $config['subdirectory'] . '/users_content/';
or
$config['users_content_server_path'] = $config['subdirectory'] . 'users_content/';
Note 3: If you get 404 or 500 error during installation, then in config.php file try to change this line:
$config['index_page'] = "index.php";
Note 4: also you may play with this settings:
in .htaccess file change from
#RewriteRule ^(.*)$ index.php/$1 [L]
RewriteRule ^(.*)$ ./index.php [L]
to
RewriteRule ^(.*)$ index.php/$1 [L]
#RewriteRule ^(.*)$ ./index.php [L]
and in config.php file
$config['uri_protocol'] = "REQUEST_URI";
may be changed to
$config['uri_protocol'] = "AUTO";
Have any difficulties? You are welcome to ask any questions.
‹ License
up
Requirements ›
Related news:
Information |
|||
![]() |
Members of GUESTS cannot leave comments. | ||

