Any help with mine errors?
Any help with mine errors?
Alright. Im having some trouble with the realm status for my Website. here are the errors it shows.Here is my status.phpCode:Northern Lights Fun Realm Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\includes\status.php on line 12 ONLINE: /2000I noticed that whenever I refresh the page something shows up on my logonserver. It says "Server connection from 10.0.1.1:43368 DENIED, not an allowed IP." I'm guessing that has to do with the problem. Also when i try creating an account on the website i get "Mysql Error : Field 'banned' doesn't have a default value" how do i make it so the default value of 'banned' is 0.Code:<!--// Written and coded by Gilles De Mey // Copyrighted by the GNU GENERAL PUBLIC LICENSE (c)--> <?php include('../includes/config.php'); ?> <div class="side-content-realm"><b><?php echo $realm1; ?></b></div> <?php if (test_serv() == "true") { $con = mysql_connect($sqlip, $sqluser, $sqlpass); $db = mysql_select_db($arc_character); $query ="SELECT * from characters where online='1' "; $result = mysql_query($query); $num = mysql_num_rows($result); echo "<div id='player_bar_online'>ONLINE: " . $num . "/".$maxplayers."</div>"; mysql_close($con); } else { echo "<div id='player_bar_offline'><font color='#FFFFFF'>SERVER OFFLINE</font></div>"; mysql_close($con); } function test_serv(){ $errno = 6; $s = @fsockopen('xx.xxx.xxx.xx', 8093, $errno, $errstr, 2); if($s){ fclose($s); return true; } else return false; } ?> </div>
Last edited by singoe; 04-26-2010 at 07:49 AM.
Alright, so i set it up, and everything, and the server status works great on my computer were i edited everything ( the realm is hosted on a dedi also) but i add it to my website, and it doesnt work, it tells me the server is offline, and all i did was transfer the files via filezilla.
hi guys i dont know if this still works but when i try to config it got ti setup it says this error Parse error: syntax error, unexpected T_DNUMBER in C:\Server\Johved's Repack for 3.3.3\Apache\htdocs\includes\config.php on line 4
and i dont see any t_dnumber idk what its talking about
great stuff!! +rep.
also, i get an SQL error when executing the .sql for this site. that normal?
I'm sorry... WHAT?! if(test_serv() == "false") would still evaluate as true :>.if (test_serv() == "true")
How we can get the v2 beta?
yea it would be cool if you could release v1.2
Thx for the release +Rep
Awesome release!
I love it!
Everything works,
except for when you register an account - You cannot login to it.
And If I login to acp and "Add User" that user then can actually post news and such...
How can I change that?
+rep
It's a awesome release.
But you have a bug in your vote.php so let you get x vote points.
You can contact me and i tell how you use the bug.
Are you going to release v2.0 ? And could you make to be working as a guild cms aswell !?
Alrite I'm sorry if I sound like a noob but I tried to log into the ACP with the admin test account and it just reloads the log in page, it doesn't say wrong user name or anything. Please tell me what I'm doing wrong. And its amazing and I love it!
Left
* Panel
* Panel
* Panel
* Panel
* Panel
* Panel
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/exalted/public_html/includes/featured.php on line 11
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/exalted/public_html/includes/featured.php on line 11
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/exalted/public_html/includes/featured.php on line 11
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/exalted/public_html/includes/featured.php on line 11
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/exalted/public_html/includes/featured.php on line 11
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/exalted/public_html/includes/featured.php on line 11
Right
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/exalted/public_html/includes/featured.php on line 27