the famous "loop"

  • I have a question regarding server configuration. this isn't directly related to vbulletin, I am asking here because the support here is much better :)

    What would cause a php script to "loop" what I mean by that is it just refreshes the current page when clicking links, etc.. I have a few scripts that do this on one server but not another.. I want to find the cause because its obvisouly a config problem.

    I have seen many people with this same problems with scripts yet no one can seem to know what setting would do this.

    the only thing that I can think of is output_buffering and register_global, but neither are the cause as I have tried turning them on/off.

    I know its not easy to guess what the problem is, but I would like to know if anyone has had this problem with script "refreshing" the page and doing nothing and have found a solution.

    again, this happens with many, many php scripts I have tried to use, so I know it's not a problem with the php script, rather the server configuration. if anyone knows a setting that would cause this please let me know.

    thanks in advanced.


  • Im getting this same problem. I installed Apache 2.0.43, PHP 4.3.0 RC2 and MySQL 4.0.5 Beta on my WinXP pro workstation. Since I know this is beta software and I should expect bugs, Im glad to know Im not the only one having this problem.

    When I click on General Options in the vb Admin CP, it will loop like crazy, often showing up as "Page cannot be displayed", and it says it cant find a server or a DNS error. Same for going into the properties of styles. It refuses to expand all templates when I click on show all, it will keep refreshing etc.

    I sent in a TT, and they tell me its due to the problems with Apache 2.x and PHP, although Im still not sure what the exact cause of it is. I just installed PHP 4.3.0 RC2 and it still doesnt fix anything, so Im about to install Apache 1.x and see if that helps.

    -edit

    well, I just installed Apache 1.3 and Im not getting any of those errors at all, however php files wont come up by themselves. I get the root indexes instead. vB and my other php pages will run fine if I click on the .php files etc, just files like index.php wont come up automatically. I downgraded to PHP 4.2.3 stable, but nothing changed. Hmm.

    -edit 2

    ok, well I seemed to have figured out. Through some reading, I had to add this:


    DirectoryIndex index.php index.html index.php.var index.html.var


    in my httpd.conf for it to fix it. So far everything seems to be running fine and dandy finally.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about the famous "loop" , Please add it free.