Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Users Registration page only reloads and doesn't submit


  • quaelibet
    Participant

    @quaelibet

    Hi,
    I have a problem with getting the registration page to work – the registration page itself is displayed properly, however when I try to submit the registration form (“Complete Sign Up”), all it does is reload the page with fields already filled in (only password fields are blank) and nothing more happens. No php errors are displayed (with WP_DEBUG turned on), no javascript errors as well.
    I tired looking for some possible solutions over internet but I got stuck.
    I have clean WordPress install (4.1.1) with BudyPress 2.2.1 as the only plugin installed (so no plugins conflict possible here). I’m running WordPress locally, on Windows machine with WAMP working on non-default port. WordPress is installed in subdirectory (let’s call it my_wp_directory) and accessed via browser as http://localhost:8080/my_wp_directory/
    I’m using the default Twenty Fifteen theme with no changes made (it’s just pure clean WordPress install).
    I have the Membership option checked in Settings (Anyone can register), all pages are properly assigned in BuddyPress:Pages. Register and Activate pages were not automatically created when I activated BuddyPress – I had to create them manually (just two blank pages) and assign them in BuddyPress Settings. As I mentioned, the register page IS displaying properly, with all it’s required fields visible, it’s just, well, not working properly.
    Any ideas what can I do to make the registration work?
    It’s really important for me to get this to work as soon as possible. I have some serious business decisions to make – which include deciding if I would use BuddyPress or decide against it and look for something else. I have to recommend some solution to choose for my client and I just can’t recommend him something I’m not 100% sure would work..
    Right now I run out of any more ideas how to get this registration to work. I got stuck. Hopefully it’s just some stupid setting I don’t know about or some really trivial problem easily fixed. Really hope someone can point me in the right direction, cause I really do have some high hopes according using BuddyPress!

    Best regards,
    q

Viewing 7 replies - 1 through 7 (of 7 total)

  • Roger Coathup
    Participant

    @rogercoathup

    Have you got pretty permalinks enabled? Do your other pages all load correctly (posts / pages / archives) with the correct permalinks?


    quaelibet
    Participant

    @quaelibet

    Yes, I have permalinks enabled and set to Post name. All other pages and posts are loading just fine, no problems there. BuddyPress Members, Activity Streams and User Groups pages were successfully created and seem to be working just fine as well.
    Just the registration page reloads with form data filled when I try to submit it and no user gets registered.

    I haven’t mentioned it in the previous post but I’ve also checked Apache logs to see if any errors were logged, but logs are all clean, so no help there unfortunately as well (btw I have Apache 2.4.4 and php 5.4.12 on my WAMP server install).


    quaelibet
    Participant

    @quaelibet

    Quick follow-up since I’m still struggling with this problem with registration, but done some more testing in the meantime.
    I’ve installed clean WP with BuddyPress (same versions as above) on my other machine – LAMP server this time (php 5.5.9 & apache 2.4.7 running on Ubuntu 14.04). This time registration process is working properly! However on Windows machine still nothing…
    Can this problem be somehow connected with the non-default port (8080) used on Windows machine? Or maybe BuddyPress requires some specific php modules enabled I’m not aware of? As I mentioned all other pages of my WordPress install are working properly on WAMP server and that’s not the first WordPress install I’m doing on that server and never had any WordPress problems before.
    Anybody has any ideas how to fix this registration issue? Or how to test it additionally to figure out what’s going wrong here?


    danbp
    Moderator

    @danbp

    Can you check that you have correctly setup DNS on your windows machine ?

    Go to C:\Windows\System32\drivers\etc, open HOST file where you should have both:
    127.0.0.1 localhost
    ::1 localhost

    AND

    127.0.0.1 your_site
    ::1 your_site

    If this doesn’t work for you, try a virtual host config.

    http://httpd.apache.org/docs/2.4/vhosts/examples.html


    quaelibet
    Participant

    @quaelibet

    Yay, it’s working now!
    OK, so I had required entries in hosts file for localhost, however I had to add new host name for my site specifically and set up virtual host config for it to get the registration working.
    Just out of curiosity: why was it necessary? I mean – why wasn’t it working with http://localhost:8080/my_wp_directory but is working just fine with http://bp_test.local:8080? I’m asking because basically I like to understand what I’m doing or what I’m doing wrong to not repeat same mistakes twice 😉


    danbp
    Moderator

    @danbp

    Sorry, i have no answer as i’m not a dns or php specialist. Maybe you’ll find your answer in apache’s doc or googling a bit. 😉

    I just know that apache changed his internal configuration since 2.2 and that some php command won’t work correctly due to lack of these settings in some configuration.

    Now you have to declare each local site specifically, like in the above example.

    Don’t forget it if you want to install several sites locally.


    zeesh49
    Participant

    @zeesh49

    @quaelibet and @danbp can you provide details of how you setup a vhost? I googled and have been able to setup a vhost but it only access the xampp page and not the wordpress page.

    My host file contains the following:
    127.0.0.1 buddypress.local
    ::1 buddypress.local

    My httpd-vhosts.conf file contains the following:
    <VirtualHost *:80>
    DocumentRoot c:/xampp/htdocs
    ServerName localhost
    </VirtualHost>
    <VirtualHost *:80>
    DocumentRoot c:/xampp/htdocs
    #DocumentRoot c:/vhosts/buddypress.local
    ServerName buddypress.local
    </VirtualHost>

    when i run the URL: http://buddypress.local, it resolves to http://buddypress.local/xampp/ page
    but when I run the URL http://buddypress.local/wp (my wordpress folder name is ‘WP’) it says page cannot be displayed. this is in internet explorer.

    kindly help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Users Registration page only reloads and doesn't submit’ is closed to new replies.
Skip to toolbar