Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

can't get to install Vanilla 2.3 because of infinite loop

Hello. I am trying to install 2.3 on my host but there is message from Firefox saying "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. This problem can sometimes be caused by disabling or refusing to accept cookies."

Cookies are enabled so they don't seem to be the problem. I modified the .htaccess file, since I had uploaded the forum files into a subdirectory, but it didn't help. I read here in the community that one should change rewriteurls in the config.php file but there is no such file in the conf folder. Also, all the files and folder have 755 permission so there should be no problem, either.

Any help with this? I really like Vanilla but can't even install it.... maybe it's just some stupid mistake as I am not expert in this...

Comments

  • Options
    kopnakopna Coimbra Portugal ☯

    config.php appears only after installation of Vanilla Try setting the public_html on your hosting.

  • Options

    Thank you, kopna, for your help. I don't know how to set the public_html on my hosting but I have managed to install Vanilla 2.2 without absolutely no problem, so the fault will probably be somewhere else. PHP version on my server is 5.5.

    Any more thoughts on this?

  • Options
    RiverRiver MVP
    edited December 2016

    @jan108 said:
    I have managed to install Vanilla 2.2 without absolutely no problem, so the fault will probably be somewhere else. PHP version on my server is 5.5.

    Any more thoughts on this?

    good control test.

    regarding looping and re-writes and your feedback ....
    the assumption here is that you actually do use .htaccess and your web-server uses it and allows overwrites.
    if your server does not use .htaccess or you use nginx or something else, that could be your issue.
    Otherwise it could be module or extension related or folder permissions (but we assume you are using same folder and file permissions with both installs and one failed and one didn't depending on release number).

    if you do these tests - you might provide useful info for others and help yourself

    Test 1 Does upgrade work?

    If 2.2 works. then does an upgrade over 2.2 to 2.3 fail or work.

    Test 2 new install with different .htaccess file.

    If it doesn't fail and all things being equal, maybe the error and difference between the 2.2 .htaccess and the 2.3 .htaccess causes an edge effect on your server.

    try 2.2 .htaccess with vanilla 2.3 on same server.

    then if you can install vanilla 2.3 as a new install with the old 2.2 .htaccess.

    Test 3 updated .htaccess AFTER install.

    after installation, convert to 2.3 .htaccess (from older 2.2 .htaccess) and see if you have issues.

    Results

    a report back on results of all steps and more about your setup might help other users. os, web-server type, etc.

    also 2.3 requires more php modules and extensions than 2.2! see below. (e.g. php with curl.)

    OTHER INFO

    see this... similar issue.

    https://vanillaforums.org/discussion/comment/244514/#Comment_244514

    also see this https://vanillaforums.org/discussion/comment/244622/#Comment_244622

    and this

    https://vanillaforums.org/discussion/28420/frequently-asked-questions/p1

    and this might have some additional troubleshooting clues for you as well regarding upgrading. you can logically re-assign versioning in your head.

    https://vanillaforums.org/discussion/31153/tutorial-see-the-trouble-shooting steps.

    although the user has more modules than necessary for a minimal install. these can't hurt you.

    https://vanillaforums.org/discussion/comment/244679/#Comment_244679

    Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.

  • Options
    kopnakopna Coimbra Portugal ☯

    jan108

    You do not need to install Vanilla again. Do all the instructions as: https://github.com/vanilla/vanilla#upgrading
    Do not download these files - .htaccess and folder uploads ( leave the existing) from a new Vanilla 2.3

  • Options
    kopnakopna Coimbra Portugal ☯
    edited December 2016

    @jan108 написал:
    Dear River and kopna,

    thank you very much for your help. Here is what I have accomplished after following your advice. By the way, my OS is LinuxMint18 Cinnamon, the hosting server runs on Linux (Apache - so it does use .htaccess, support for PHP, MySQL, PostgreSQL, SQLite, SSL support, WebCron, statistics, http logs), PHP has been set to 5.6 and MySQL is 5.5.17, having just asked my host for 5.6

    TEST 1
    After the upgrade from 2.2 to 2.3 the site looks frozen and clicking on anything clickable does not produce any results.

    TEST 2
    Installing vanilla 2.3 with the 2.2 .htaccess DOES WORK as smoothly as the vanilla 2.2 installation did before

    TEST 3
    after installing vanilla 2.3 with the 2.2 .htaccess and converting then the latter into 2.3 .htaccess produced the same results as in TEST 1

    Conclusion: Vanilla 2.3 can be installed if 2.2 .htaccess is used. Looks like the problem lies in 2.3 .htaccess file.

    Congratulations!

    Conclusion: Vanilla 2.3 can be installed if 2.2 .htaccess is used. Looks like the problem lies in 2.3 .htaccess file.

    Yes, I realized after many attempts to update Vanilla. Now you can edit the file with .htaccess 2.3 but save just in case of original :-)

  • Options

    Hi kopna!

    I just finished upgrading Vanilla 2.2 to 2.3 following your instructions (i.e. keeping the 2.2 .htaccess and 2.2 uploads folder) and all went very well. In the upgrade which I mentioned in TEST 1 in my previous post I did NOT keep those two and the upgrade didn't go well.

    Now when you say I "can edit the file with .htaccess 2.3 but save just in case of original " I don't understand what you mean by editing the file (which file?) but I will definitely keep/save the original 2.2 .htaccess which is THE key to the successful upgrade to or installation of Vanilla 2.3 :)

    Thanks a lot!

  • Options
    kopnakopna Coimbra Portugal ☯

    @jan108 написал:
    Hi kopna!

    I just finished upgrading Vanilla 2.2 to 2.3 following your instructions (i.e. keeping the 2.2 .htaccess and 2.2 uploads folder) and all went very well. In the upgrade which I mentioned in TEST 1 in my previous post I did NOT keep those two and the upgrade didn't go well.

    Now when you say I "can edit the file with .htaccess 2.3 but save just in case of original " I don't understand what you mean by editing the file (which file?) but I will definitely keep/save the original 2.2 .htaccess which is THE key to the successful upgrade to or installation of Vanilla 2.3 :)

    Thanks a lot!

    Sorry,
    you can download the file .htaccess the new version Vanilla 2.3 replacing it with existing. But save your of original .htaccess If you will be necessary to make some changes in it ( .htaccess Vanilla 2.3 )

  • Options

    OK, got it. Thanks!

  • Options

    @jan108 said:
    Thanks!

    EXCELLENT FEEDBACK. Thank you. The forum needs more people like you. providing clear and precise feedback with ability to follow suggestions perfectly.

    Thank you for providing your results to the tests I suggested and providing precise feedback to all the tests.

    https://vanillaforums.org/discussion/comment/244891/#Comment_244891

    if seems to confirm the same issue and results the other other user had.

    https://vanillaforums.org/discussion/comment/244514/#Comment_244514

    Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.

Sign In or Register to comment.