This is the continuation of the 1st part of AuroraGPT Script Installation.
This part of the tutorial contains the following steps:-
1. Editing php files
2. CHMOD'ing php files
3. Logging into Admin Panel
1. Editing php files
> On your server's public_html folder, find config.new.php.
>Right click on it and click View/Edit. You'll find this:-
> Edit the information as follows:-
> In your public_html folder, browse to includes folder.
> Edit the information as follows:-
2. CHMOD'ing php files
> In your public_html folder, browse to backups folder.
> Right click on .htaccess and click on File permissions..
> Change the Numeric value to 755.
This part of the tutorial contains the following steps:-
1. Editing php files
2. CHMOD'ing php files
3. Logging into Admin Panel
1. Editing php files
> On your server's public_html folder, find config.new.php.
>Right click on it and click View/Edit. You'll find this:-
<?
$DBHost = "localhost";
$DBDatabase = "responso_arroa4";
$DBUser = "responso_";
$DBPassword = "rc0000";
define("SITE_KEY","NDMTIwMyNzozE4Z6Om1hYhZ2Z2lj9uaGlHJ6d0cy5jJ1ZTb200o6dHJHVlO1ZTpjp0cncnU6VlOnRjp0cydWnVlO"); ?>
> Edit the information as follows:-
<? $DBHost = "MySQL Hostname"; $DBDatabase = "MySQL Database Name"; $DBUser = "MySQL Database Username"; $DBPassword = "MySQL Database Password"; define("SITE_KEY","NDMTIwMyNzozE4Z6Om1hYhZ2Z2lj9uaGlHJ6d0cy5jJ1ZTb200o6dHJHVlO1ZTpjp0cncnU6VlOnRjp0cydWnVlO"); ?>> Edit config.php and connect.php in the same way and save it to your server.
> In your public_html folder, browse to includes folder.
> Find and right click on mysql.php and click View/Edit. You'll find this:-
<?
class DB_Sql {
var $Host = ""; // Hostname of our MySQL server.
var $Database = ""; // Logical database name on that server.
var $User = ""; // User und Password for login.
var $Password = "";
> Edit the information as follows:-
<?class DB_Sql { var $Host = "MySQL Hostname"; // Hostname of our MySQL server.
var $Database = "MySQL Database Name"; // Logical database name on that server.
var $User = "MySQL Database Username"; // User und Password for login.
var $Password = "MySQL Database Password";> Save the work.
2. CHMOD'ing php files
> In your public_html folder, browse to backups folder.
> Right click on .htaccess and click on File permissions..
> Change the Numeric value to 755.
> Repeat this step for the .htpasswd and mysql.php in includes folder.
2. Logging into Admin Panel
> Go to your browser and type your domain URL for eg:- mine is auroragptwiki.netau.net
> Login with this information:-
Username - admin
Password - admin
> Click on Admin to the right side of Logout.
Make all the necessary changes to the Site using the Admin Panel. More tutorials briefing the Admin Panel to come up soon. Till then, Ciao!
i get to following error when i try to run this script on local host
ReplyDelete===========
Header:".round($thistime,5).""; } include("./includes/modules.php"); if($dbg == 1) { $mtimetemp = explode(" ",microtime()); $lasttimetemp = $mtimetemp[1] + $mtimetemp[0]; $thistime=$lasttimetemp-$lasttime; $lasttime=$lasttimetemp; $debug.="Modules:".round($thistime,5).""; } if(($LOGGED_IN) && ($settings[footprints] == 1)) { $temp=parse_url($REQUEST_URI); $theurl=$temp[path]."?". iif($view!="","view=$view&"). iif($ac!="","ac=$ac&"). iif($id!="","id=$id&"). iif($user!="","user=$user&"). iif($ref!="","ref=$ref&"). iif($action!="","action=$action&"); if($theurl != "") { $Db1->query("INSERT INTO footprints SET username='$username', dsub='".time()."', url='".$theurl."', uri='".$REQUEST_URI."', title='".$includes[title]."', ip='$vip' "); } } if(is_file("templates/$settings[template]/layout_header.php") == true) include("templates/$settings[template]/layout_header.php"); else include("./includes/layout_header.php"); if($dbg == 1) { $mtimetemp = explode(" ",microtime()); $lasttimetemp = $mtimetemp[1] + $mtimetemp[0]; $thistime=$lasttimetemp-$lasttime; $lasttime=$lasttimetemp; $debug.="Banners:".round($thistime,5).""; } if(($LOGGED_IN == true) && ($thismemberinfo[type]==1)) { $sql=$Db1->query("SELECT * FROM memberships WHERE id='$thismemberinfo[membership]'"); $tempt=$Db1->fetch_array($sql); $thetype=$tempt[title]; } $Db1->sql_close(); include("./templates/$settings[template]/layout.php"); if($dbg == 1) { $mtimetemp = explode(" ",microtime()); $lasttimetemp = $mtimetemp[1] + $mtimetemp[0]; $thistime=$lasttimetemp-$lasttime; $lasttime=$lasttimetemp; $debug.="Template:".round($thistime,5).""; } if($dbg == 1) { $mtime = microtime(); $mtime = explode(" ",$mtime); $mtime = $mtime[1] + $mtime[0]; $endtime = $mtime; $totaltime = ($endtime - $starttime); echo "
".$debug."
Total Time: ".round($totaltime,5)."
"; flush(); } exit; ?>
===========kindly reply