In Guide To Install Skyitech Download Site Script !!!Full Guide To Install Skyitech Download Site Script!! [First Time On Net]
—————-
1. Have skyitech download site script but dont know how to install?
2. Having skyitech download site and want to move it on another site and cant do that?
3. Have you brought skyitech script from sone one and he asking extra charges for installation?
—————-
But today i am here with its installation guide along with the video tutorial!!!
First you need to unzip the Skyitech script on server,
And have to import the database backup.
Now note down the database information in a separate place. We’ll need it later.
Now see the file list below and open them one by one.
—————-
File list: (Edit Them One by One With Your Database And Site Details)
‘skyitech/dbconnect.php’,
‘skyitech/config/databases.yml’,
‘skyitech/config/propel.ini’,
‘skyitech/apps/backend/config/app.yml’,
‘skyitech/apps/backend/config/settings.yml’,
‘skyitech/apps/backend/config/view.yml’,
‘skyitech/apps/frontend/modules/default/actions/actions.class.php’,
‘skyitech/apps/frontend/config/app.yml’,
‘skyitech/apps/frontend/config/settings.yml’,
‘skyitech/apps/frontend/config/view.yml’,
‘skyitech/apps/backend/modules/category/actions/actions.class.php’,
‘index.php’,
‘backend/index.php’
‘stylesheet/domain.css’
—————–
And change the database information and site information there,
You can also use find And replace option to do it.
After editing all above file just open browser and type your site URL and see if it works.
And I also made a simple PHP to do the replacement job of it:
Or For Direct Install, Create a File In File manager With This Code:
Code:
<?php
skyinstall(
'newsite.tld',
'database_user',
'database_name',
'database_password'
);
echo 'ok';
function skyinstall($site, $dbuser,$dbname,$dbpass){
$sitename= pathinfo($site, PATHINFO_FILENAME);
$filearray=array(
'skyitech/dbconnect.php',
'skyitech/config/databases.yml',
'skyitech/config/propel.ini',
'skyitech/apps/backend/config/app.yml',
'skyitech/apps/backend/config/settings.yml',
'skyitech/apps/backend/config/view.yml',
'skyitech/apps/frontend/modules/default/actions/actions.class.php',
'skyitech/apps/frontend/config/app.yml',
'skyitech/apps/frontend/config/settings.yml',
'skyitech/apps/frontend/config/view.yml',
'skyitech/apps/backend/modules/category/actions/actions.class.php',
'index.php',
'backend/index.php');
$replace=array(
'old_site'=>$sitename,
'old_db_user'=>$dbuser,
'old_db_name'=>$dbname,
'old_db_pass'=>'$dbpass',
'oldsite tld'=>$site,
'oldsite.sky'=>$sitename.'.sky');
foreach($filearray as $file){
$str=file_get_contents($file);
$str=strtr($str,$replace);
file_put_contents($file, $str);
}
}
Thank U.
Online SkyiTech Script Generator
ReplyDelete