[Help] Cant see the website
Hi,
Here i am again.
Now i have a problem with my website. Im tying to make spora website:
http://img92.imageshack.us/img92/4753/sporakz8.png
I upload all in my xampp's htdocs but it show me a white page...
Config:
<?php
/*
SPORA (Simple Page Of Registration of Accounts) for Ascent V1.5
Simple Account Signup and Status Page
Original creation by mirage666 for MaNGOS
Modified by Kandyman for Ascent
Modified again by ravenger
*/
$lang="en"; // Select your language, this is the map in the "language" folder
$title="WoW Server"; // This is the title for your site, displayed in the browser
$img_base = "images/"; // Directory were your images are
$bg = "wotlk.jpg"; // Insert here your background image, must located in "backgrounds" folder
Quote:
$host="localhost"; // Insert your host for the character database
$user="root"; // Insert your username for the character database
$password="[mypass]"; // Insert your password for the character database
$db="ascent"; // Insert your name for the character database
$hostr="localhost"; // Insert your host for the logonserver database
$userr="root"; // Insert your username for the logonserver database
$passwordr="[mypass]"; // Insert your passeword for the logonserver database
$dbr="ascent"; // Insert your name for the logonserver database
$database_encoding = 'CP1251'; // Set database encoding
$server = "gunkan.no-ip.biz"; // Server used by your ascent server
$port = "8129"; // Port used by your ascent server
$lock_acc=0; // This will lock the created account to the IP address (1 - on, 0 - off)
$lock_reg=0; // This allowes to create 1 or more account from 1 IP addres, 0=unlimited, 1=one acc, 2=two etc...
?>
Help please. And sorry for my bad english...
Re: [Help] Cant see the website
Quote:
Originally Posted by
xagus
$host="localhost"; // Insert your host for the character database
$user="root"; // Insert your username for the character database
$password="[mypass]"; // Insert your password for the character database
$db="ascent"; // Insert your name for the character database
$hostr="localhost"; // Insert your host for the logonserver database
$userr="root"; // Insert your username for the logonserver database
$passwordr="[mypass]"; // Insert your passeword for the logonserver database
$dbr="ascent"; // Insert your name for the logonserver database
$database_encoding = 'CP1251'; // Set database encoding
$server = "gunkan.no-ip.biz"; // Server used by your ascent server
$port = "8129"; // Port used by your ascent server
$lock_acc=0; // This will lock the created account to the IP address (1 - on, 0 - off)
$lock_reg=0; // This allowes to create 1 or more account from 1 IP addres, 0=unlimited, 1=one acc, 2=two etc...
?>
Why isn't your " $server = "gunkan.no-ip.biz"; // Server used by your ascent server" localhost? This is php and it is going to pull from server side. You don't need to put your external Ip address.
Re: [Help] Cant see the website
Can you post the error msg that the browser show u?
I dont think just change this will fix the problem $server = "gunkan.no-ip.biz"; // Server used by your ascent server. I think it only help to detect whether server is on or off.
This part is ok for me since ur website will make db connect and insert a new account in.
$host="localhost"; // Insert your host for the character database
$user="root"; // Insert your username for the character database
$password="[mypass]"; // Insert your password for the character database
$db="ascent"; // Insert your name for the character database
$hostr="localhost"; // Insert your host for the logonserver database
$userr="root"; // Insert your username for the logonserver database
$passwordr="[mypass]"; // Insert your passeword for the logonserver database
$dbr="ascent"; // Insert your name for the logonserver database
$database_encoding = 'CP1251'; // Set database encoding
Try to browse on ur host computer by typing in address https://localhost. Make sure apache port is port 80 by default or u need to type localhost:[your port]. And show us the error msg ur browser output.
Re: [Help] Cant see the website
Hi, thanks for ur reply.
When i try to go to localhost by browser it shows me a white page.
I cant see the error msg cause its a white page with nothing in...
How can i fix this?
Re: [Help] Cant see the website
sorry for doble post but... i have more:
in localhost it works but when i put ip or no-ip, it doesent work.
I make with the version 1.4
Re: [Help] Cant see the website
ok if u localhost work then ur website config is ok. The problem may come from ur router and firewall. Try to turn off the firewall or do port forwarding on router.
BTW i dont understand what u mean no-ip. My English is still bad ^^. So I will explain to u everything in plain english.
First u did try to browse localhost. And the problem happen if u didnt edit config file correctly will display message on ur browser. This is website connection problem.
Or some code in the website is wrong which cause browser cant finish to load page ( you will see the loading bar keep running, showing nothing and no error output and ppl will try to refresh page). Sometimes pages also show up because ur browser can catch some error code in page. This is website coding problem.
If localhost work fine. And you try on ur ip. Remember if u use 1 router u will have 2 ip. The first ip is ur ip that isp give u ( u can try to google myip). The second ip is ur router give u.
There are certain things could happen when u browser with ur ip.
U browser on the computer host the website:
U use the ip router give u. And u cant access website. Do u have firewall that block inbound port 80?
U use the ip1 isp give u. And u cant access website. Do u have port forwarding to u ur local pc ip?
U browser on the different computer in LAN
U use ip router give u (like above)...
U use the ip1 isp give u (like above)...
Ubrowser on the different computer on the different network
U must use the ip1 that isp give u. U cant use new ip from new pc. If u cant see the page, mean ur isp block port 80. Try to switch different port.
Re: [Help] Cant see the website
Thank you very much.
Already working now ^^