Register for your free account! | Forgot your password?

You last visited: Today at 13:59

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[HELP]

Discussion on [HELP] within the EO PServer Hosting forum part of the Eudemons Online category.

Reply
 
Old   #1
 
DeadHackerz's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 74
Received Thanks: 47
[HELP]

Hello Guys i really need your helps...

Herre the problems i am using elite4demons website released by him...so my server already on but why at website show offline...
if anyone know how to fix this let me know please
DeadHackerz is offline  
Old 09/22/2010, 09:01   #2
 
elite*gold: 0
Join Date: May 2009
Posts: 408
Received Thanks: 231
make sure the config files for the website have the same User and Password as the server and make sure the "Server Status" script has the correct ports
XxFearReaperXx is offline  
Thanks
1 User
Old 09/22/2010, 09:15   #3
 
DeadHackerz's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 74
Received Thanks: 47
whats the correct ports for status scripts?
DeadHackerz is offline  
Old 09/22/2010, 09:44   #4
 
San-Goku's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 340
Received Thanks: 200
lol..make sure ur MySQL Admin is GREEN LIGHT..if it is red..then go to C:\Window then delete my.ini.after that right click on the MySQL Admin & took ''Run as Administer"..then put ur db ID & PASSWORD..make sure ur MySQL Admin & db ID & PASS is the same
San-Goku is offline  
Old 09/22/2010, 10:30   #5
 
MizTenshi's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 430
Received Thanks: 360
make sure in navicat you created the acc for the web site to access like

example:

username: website
host: %
password whatever
confirmpassword: whatever

then you return and make sure your config file has this information in it so it can work.
MizTenshi is offline  
Thanks
2 Users
Old 09/22/2010, 15:23   #6
 
King_Arthur's Avatar
 
elite*gold: 246
Join Date: Jan 2008
Posts: 1,712
Received Thanks: 895
Quote:
Originally Posted by San-Goku View Post
lol..make sure ur MySQL Admin is GREEN LIGHT..if it is red..then go to C:\Window then delete my.ini.after that right click on the MySQL Admin & took ''Run as Administer"..then put ur db ID & PASSWORD..make sure ur MySQL Admin & db ID & PASS is the same
The problem is the website shows the server is offline, but the server is actually online. No problems with mysql there.

Quote:
Originally Posted by MizTenshi View Post
make sure in navicat you created the acc for the web site to access like

example:

username: website
host: %
password whatever
confirmpassword: whatever

then you return and make sure your config file has this information in it so it can work.
Bad Idea. Using % for host means any IP in existence can use that login information. Better to at least keep it in a range like 192.168.1.% or 10.0.% at worst. This is how most servers probably get "hacked" here.
King_Arthur is offline  
Old 09/22/2010, 17:44   #7
 
Jack Sparrow's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 522
Received Thanks: 626
i had this problem before a week here is the fix itis in the config file
change the serveraddress to 127.0.0.1 (localhost) and it will work fine

it should be like this

Code:
<?php
	require_once './inc/class.captcha.php';
	// Configurations
	$myhost="localhost";
	$mypass="test"; 		//your server login password
	$myuser="root"; 		//your server login username
	$mydbacc="account";		//your server account database
	$mydbdata="my";			//your server my database name
	$serveraddress="127.0.0.1"; 	//your server ip  [COLOR="Red"]<====== this one[/COLOR]
	$serverport=5816;		//your server connection port
	$servername="TEST"; 	//your server name
	$forum="www.google.com"; 	//your server forum
	$mydb="my";			//your server my database

	// Dont Edit after this
	mysql_connect($myhost,$myuser,$mypass);
	mysql_select_db($mydb);
?>
Jack Sparrow is offline  
Old 09/22/2010, 17:48   #8
 
King_Arthur's Avatar
 
elite*gold: 246
Join Date: Jan 2008
Posts: 1,712
Received Thanks: 895
Quote:
Originally Posted by Zero300 View Post
i had this problem before a week here is the fix itis in the config file
change the serveraddress to 127.0.0.1 (localhost) and it will work fine
...
This works only if the website is hosted on the same machine as the server files, which is not always the case.
King_Arthur is offline  
Thanks
1 User
Old 09/22/2010, 17:52   #9
 
Jack Sparrow's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 522
Received Thanks: 626
Quote:
Originally Posted by King_Arthur View Post
This works only if the website is hosted on the same machine as the server files, which is not always the case.
yeah iam hosting the website on the same pc as the server and it worked
Jack Sparrow is offline  
Old 09/22/2010, 20:33   #10
 
Death[PM]'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 49
Received Thanks: 46
Here is the fix for that. Hope it will help you
Code:
<?php
    require_once './inc/class.captcha.php';
    // Configurations
    $myhost="localhost"; // change to the ip of the hosting server
    $mypass="test";         //your server login password, password to connect to the hosting server
    $myuser="root";         //your server login username, user name to connect to the hosting server
    $mydbacc="account";        //your server account database
    $mydbdata="my";            //your server my database name
    $serveraddress="localhost";     //your server ip, if using the ip of another server your router will have to be portforward. In order for them to see this without hamahci.
    $serverport=5816;        //your server connection port
    $mydb="my";            //your server my database
    $servername="Your Server Name!";

$page = basename($_SERVER['SCRIPT_FILENAME']);
$page = str_replace('_',' ',$page);
$page = str_replace('.php','',$page);
$page = ucfirst($page);    

    // Dont Edit after this
    mysql_connect($myhost,$myuser,$mypass);
    mysql_select_db($mydb);
?>
All you have to do is change the $myhost="localhost"; to the servers host. This will put it online. You will need to go in and more inlikely change nay files containing the files that need the user and pass, and ip of the server. So hopefully this should fix your problem.
Death[PM] is offline  
Thanks
1 User
Reply




All times are GMT +1. The time now is 13:59.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.