1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

beta 4 - Upgrade issue : This action is available via POST only.

Discussion in 'Installation, Upgrade, and Import Support' started by Andy.N, Oct 27, 2011.

  1. Andy.N

    Andy.N Well-Known Member

    When I go to /install/ to upgrade, it will show the button to Begin upgrade, when I click on it, it will show a log in box again.
    Enter the info and it will show this error "This action is available via POST only. Please press the back button and try again."
    YouDontKnowO likes this.
  2. Deebs

    Deebs Well-Known Member


    Are you running a cache for variables? I had a similar issue which was due to have APC enabled in the config but disabled in the php config. Wouldn't let me login until either I enabled it in PHP or disabled it in library/config.php as the session was not being stored anywhere.

    Could be something similar for you?
  3. Floris

    Floris Guest

    I fixed this by increasing my APC cache size to 128 and restarting apache, and running install/ again.
  4. ragtek

    ragtek Guest

  5. Mike

    Mike XenForo Developer Staff Member

    If you're running a cache that can't potentially fit more (APC being a good example), then you should increase the size. We've made the next release explicitly opt-in to pulling the sessions from the cache for this reason. (Not to mention with APC, you may see your webserver being restarted for log rotation or similar work, which will wipe out sessions.)
  6. Andy.N

    Andy.N Well-Known Member

    I have APC enabled on my config.
    Disable it and was able to start the upgrade.

    Upgrade done. Case solved. Thanks Deebs
  7. Andy.N

    Andy.N Well-Known Member

    I spoke a bit soon.
    The ACP login does not log me in after I enabled APC again in the config file. I guess I need to increase the size of it?

    I believe I have 128MB. Where do I increase them again?
  8. Floris

    Floris Guest

    On my setup the phpinfo shows me which php.ini I used, whre the config variables usually are. However, on my ubuntu setup for some reason the apc.ini was within conf.d/
  9. TNCclubman

    TNCclubman Well-Known Member

    so we may need to edit or php to run this upgrade or will it work like before? Is this a new issue to this version?
  10. Mike

    Mike XenForo Developer Staff Member

    This is roughly only an issue if you're using APC's user cache (via explicit configuration in config.php) but don't actually have enough space to keep storing user cache entries. In reality, in that situation, you're probably just causing more problems for yourself anyway.

    It won't affect many people.
  11. Andy.N

    Andy.N Well-Known Member

    Where in the ACP which we can view phpinfo again? I know there is a link but it's not exposed anywhere is it?
  12. Deebs

    Deebs Well-Known Member

    You need to load apc.php to see inside the apc cache.
  13. Floris

    Floris Guest

    admin.php?tools&phpmyinfo i think .. don't quite remember.



    locate apc.php

    then cp that/location/apc.php public_html/apc.php

    and you can load it in the browser, set a user/pass within apc.php to load the user cache, upon success it will have prefix_session_garbledstuff
  14. James

    James Well-Known Member

    Floris likes this.
  15. Floris

    Floris Guest


    Daracon and Jake Bunce like this.
  16. Andy.N

    Andy.N Well-Known Member


    look at the phpinfo and apc.shm_size = 30

    I always thought I had it at 128MB.

    You were on my server before. I'm trying to locate apc.php and increase it to 128MB.
  17. Deebs

    Deebs Well-Known Member

    Send me the details again in a PC and I will login and fix.
  18. Andy.N

    Andy.N Well-Known Member

    Thank you and PC sent.
  19. Deebs

    Deebs Well-Known Member

    Urgh, using the default parameters for APC. Sorting now.
    Floris likes this.
  20. Deebs

    Deebs Well-Known Member

    Yowsers! Expect a little performance increase after I fix:

    Mike and Andy.N like this.

Share This Page