Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder
    Join Date
    Jul 2011
    Posts
    272
    Thanks
    63
    Thanked 1 Time in 1 Post

    Question The page isn't redirecting properly

    Hello, can anyone tell me how to fix the error i get when i go to my website? 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."

  • #2
    New Coder
    Join Date
    Jun 2011
    Posts
    15
    Thanks
    0
    Thanked 2 Times in 2 Posts
    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.

  • #3
    Regular Coder
    Join Date
    Jul 2011
    Location
    India
    Posts
    496
    Thanks
    3
    Thanked 57 Times in 56 Posts
    Check your connection strings and server side Javascript code

  • #4
    Regular Coder
    Join Date
    Jul 2011
    Posts
    272
    Thanks
    63
    Thanked 1 Time in 1 Post
    Which code are you looking for? index.php?

  • #5
    Regular Coder
    Join Date
    Jul 2011
    Posts
    272
    Thanks
    63
    Thanked 1 Time in 1 Post
    ok, i found the part of the code thats making the error, its my sidebar.php, can someone tell me whats wrong with it?

    Code:
    <div class="menu">
    <span class="menu_txt">Last Credited</span>
    </div>
    
    
             <?
    				$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>
               <? }?>
    Last edited by markman641; 07-29-2011 at 07:47 PM.

  • #6
    Regular Coder
    Join Date
    Jul 2011
    Posts
    272
    Thanks
    63
    Thanked 1 Time in 1 Post
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •