NameSilo

Some Help please

SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
Namecheap AuctionsNamecheap Auctions
Watch

Gandhi

Established Member
Impact
47
Hey, well the servers where my arcade site is hosted was down for a week, I have no idea why. Then now that its back up, when I click a category like shooting, action I get an error http://flashfungames.org/index.php?action=category&id=1&page=0&order2=game_name&sby=ASC

anyone know what that error is, or how I can fix it thanks.


THen I know the site looks messed up, but thats because the site was down, my coder, hasnt gotten a chance to fix the bugs.

Thanks in advance.
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Can you post the line that the error comes from [and some more lines around it; above and below]?
 
0
Close
Thanks, THis is line 127
Code:
$result4 = @mysql_query("SELECT count(*) as count FROM games WHERE gInCategory = $i"0"; }
and those are some lines below and above it



Code:
if (isset($page)) { 

$result4 = @mysql_query("SELECT count(*) as count FROM games WHERE gInCategory = $i"0"; }
if (!isset($page)) { 
if($seo_support == "1"){ echo "<a href=./cat-$id-p1.html>Next Page --></a>";} else { echo "<a href=./index.php?action=category&id=$id&page=1&order2=game_name&sby=ASC>Next Page --></a>"; }
}

if (isset($page)) {
 
0
Close
It looks like some of the code in that line was cut off.
The query doesn't have a ) and I don't know how that scripts categories work.
Try changing line 127 to:
PHP:
$result4 = @mysql_query("SELECT count(*) as count FROM games WHERE gInCategory = $i"); }
If that doesn't work, try:
PHP:
$result4 = @mysql_query("SELECT count(*) as count FROM games WHERE gInCategory = $i0"); }
 
1
Close
The first one worked, thanks a lot Dan, really appreciate it
 
0
Close
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

New: watch any domain
You can now watch domains on NamePros. We check each one and notify you when something changes. Search for a domain and press Watch on...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back