websites problem
#1

hey all,

got problem with websites..almost none of the website posted here works for me..i chnage the settings files to my server info..but still dont work, either with " unexpected "}" somewhere " or sth like that..any suggestions for a good ep1 site?

#2
Most of released here work at me. There is something wrong with ur configuration of them

#3
i fill all config stuff..and not only some website..just all of them >.>

#4

i fill all config stuff..and not only some website..just all of them >.>

Problem is not that its not filled,problem is how its filled 

#5
when it says " fix settings.php to edit the website" and i change exactly how it needs..dont think i fill any wrong >.<

#6

when it says " fix settings.php to edit the website" and i change exactly how it needs..dont think i fill any wrong >.<

Paste here ur settings php in spoiler please

#7
not really sure how to do a spoiler replay xD

#8

ok heres the settings.php

 

 

<?php

 

 

 

$server_ip = 127.0.0.1;

$password = <my password here>;

$user = root;

$database = newproject_db;

$database1 = newproject_site; //site database

$database2 = newproject_db_auth;

$database3 = newproject_data;

$points = 2; //How many points you want given every 5 minutes

$download =

<p>These are all the downloads avaliable.<br />Each option has a different download speed so try each of them for best results.<br/>If you have any problems report it <a href="2">here</a></p>

<p><br /><a href="2"><font color=green>Option 1</font> - Download!</a> (791mb)<br />To unpack the client u will need <a href="2

<p><br /><a href="2"><font color=green>Option 2</font> - Download!</a> (791mb)<br />To unpack the client u will need <a href="2

<p><br /><a href="2"><font color=green>Option 3</font> - Download!</a> (791mb)<br />To unpack the client u will need <a href="2

; //Download info

$features =

This is a new highrate Episode1 LastChaos Private Server.<br />

We have lots of custom content for you waiting to be discovered!<br />

This server includes nightshadow 100% working like no other with all skills and armour.</p>

<p><strong>Our rates are :</strong><br />

Exp : x250<br />

SP : x0 ( All skills are free! )<br />

Gold : x20<br />

Droprate : x35<br />

Upgrade : 99%<br />

Pet Exp : x200<br />

Start level : 90 ( with 150k sp and 50mill! )

;

$about =

 

<p>This is the about page</p>

 

; //About page info

 

 

 

//No more editing below!!!!

 

 

$connect = mysql_connect($server_ip, $user, $password) or die(mysql_error());

mysql_select_db($database1) or die(mysql_error());

$settings = mysql_query("SELECT title, forum, copyright, vote1, vote2, announcement FROM t_settings");

$get_settings = mysql_fetch_array( $settings );

$title = $get_settings[title];

$forum = $get_settings[forum];

$copyright = $get_settings[copyright];

$vote1 = $get_settings[vote1];

$vote2 = $get_settings[vote2];

$announcement = $get_settings[announcement];

 

 

$sql="SELECT a_ip FROM t_ipban";

$result=mysql_query($sql);

while($rows=mysql_fetch_array($result)){

$banned=$rows["a_ip"];

$bad_ip = $banned;

function get_real_ip()

{

 

if (isset($_SERVER["HTTP_CLIENT_IP"]))

return $_SERVER["HTTP_CLIENT_IP"];

 

elseif (isset($_SERVER["HTTP_X_FORWARDED_FOR"]))

return $_SERVER["HTTP_X_FORWARDED_FOR"];

 

elseif (isset($_SERVER["HTTP_X_FORWARDED"]))

return $_SERVER["HTTP_X_FORWARDED"];

 

elseif (isset($_SERVER["HTTP_FORWARDED_FOR"]))

return $_SERVER["HTTP_FORWARDED_FOR"];

 

elseif (isset($_SERVER["HTTP_FORWARDED"]))

return $_SERVER["HTTP_FORWARDED"];

 

else

return $_SERVER["REMOTE_ADDR"];

 

}

 

 

$visitor_ip = get_real_ip();

if($visitor_ip == $bad_ip) header ("location: banned.php");

}

 

 

 

?>

 

 

#9
Are you sure you have created the newproject_site database?

#10

Thats the strangest settings file I have ever seen Oo

Cough up 30GBP an buy a real site >.

 

2

 

Ill even help you set it up.



Forum Jump:


Users browsing this thread: 1 Guest(s)