Why this error?
Posted by: AxeZ (---.tbcn.telia.com)
Date: July 10, 2006 12:52PM

I have installed WAMP and now it should work ?? but i get errors like these..

" . $a["username"] . ""; else $latestuser = $a['username']; */ $registered = number_format(get_row_count("users"winking smiley); //$unverified = number_format(get_row_count("users", "WHERE status='pending'"winking smiley); $torrents = number_format(get_row_count("torrents"winking smiley); //$dead = number_format(get_row_count("torrents", "WHERE visible='no'"winking smiley); $r = mysql_query("SELECT value_u FROM avps WHERE arg='seeders'"winking smiley or sqlerr(__FILE__, __LINE__); $a = mysql_fetch_row($r); $seeders = 0 + $a[0]; $r = mysql_query("SELECT value_u FROM avps WHERE arg='leechers'"winking smiley or sqlerr(__FILE__, __LINE__); $a = mysql_fetch_row($r); $leechers = 0 + $a[0]; if ($leechers == 0) $ratio = 0; else $ratio = round($seeders / $leechers * 100); $peers = number_format($seeders + $leechers); $seeders = number_format($seeders); $leechers = number_format($leechers); /* $dt = gmtime() - 180; $dt = sqlesc(get_date_time($dt)); $res = mysql_query("SELECT id, username, class, donated FROM users WHERE last_access >= $dt ORDER BY username"winking smiley or print(mysql_error()); while ($arr = mysql_fetch_assoc($res)) { if ($activeusers) $activeusers .= ",\n"; switch ($arr["class"]) { case UC_SYSOP: case UC_ADMINISTRATOR: case UC_MODERATOR: $arr["username"] = "" . $arr["username"] . ""; break; case UC_UPLOADER: $arr["username"] = "" . $arr["username"] . ""; break; } $donator = $arr["donated"] > 0; if ($donator) $activeusers .= ""; if ($C........

And i dont know why ?? Have i done something wrong?



-------------------------------------------------------------------------
AxeZ
webmaster@aston9.com
www.aston9.com

Options: ReplyQuote
Re: Why this error?
Posted by: CyberSpatium (67.170.181.---)
Date: July 10, 2006 01:02PM

make sure you put all your website files in your c:\wamp\www folder

open your web browser and surf to:
[localhost]

Options: ReplyQuote
Re: Why this error?
Posted by: AxeZ (---.tbcn.telia.com)
Date: July 10, 2006 01:24PM

I have done all that right.. i think the problem is in the PHP server ??

Here you got an exampel of the error..
[cnsmedia.net]



Post Edited (07-10-06 15:17)

-------------------------------------------------------------------------
AxeZ
webmaster@aston9.com
www.aston9.com

Options: ReplyQuote
Re: Why this error?
Posted by: CyberSpatium (67.170.181.---)
Date: July 11, 2006 03:34AM

edit your php.ini file, and find:
asp_tags = Off

change it to:
asp_tags = On

save the file and restart apache for the new settings to take effect.

Options: ReplyQuote


Sorry, only registered users may post in this forum.