View Full Version : The page isn't redirecting properly

07-29-2011, 05:45 AM
Hello, can anyone tell me how to fix the error i get when i go to my website? www.money4every1.net (http://www.money4every1.net)

"The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete."

07-29-2011, 11:22 AM
You are making some initial requests that the browser can't handle. Too many redirects (Chrome). Probably some functions you wrote or loaded that conflict.

I'd have to see the code of your page to make a more accurate estimation of your problem.

07-29-2011, 03:44 PM
Check your connection strings and server side Javascript code :)

07-29-2011, 07:31 PM
Which code are you looking for? index.php?

07-29-2011, 07:45 PM
ok, i found the part of the code thats making the error, its my sidebar.php, can someone tell me whats wrong with it?

<div class="menu">
<span class="menu_txt">Last Credited</span>

$get_name = mysql_query("SELECT * FROM `lastcredited` ORDER BY STR_TO_DATE(date, '%m/%d/%y') ASC");
while($namerow = mysql_fetch_array($get_name)) {
$name = $namerow["name"];
$countr = $namerow["country"];
$id = $namerow["id"];
$date = $namerow["id"];
<a href="offer<?=$id?>.php"><?=$name?> (<?=$countr?>)</a><br>
<? }?>

07-29-2011, 07:47 PM
ahaha i figured it out again, i was using the variable $name which was used in my config.php file for the name of mysql database