Skip to:
Content
Pages
Categories
Search
Top
Bottom

No activation page after registering


  • buffos
    Participant

    @buffos

    After troubleshooting a lot, deleted everything and start with just a wordpress 4.0.1 and the latest (2.1.1)

    * The site is on localhost:8080/sitename/…..
    * using xampp on windows

    I click on register. The register form is shown. I Fill in the form. Press sumbit. Nothing happens

    * Settings->buddypress->activate has a corresponding page
    * Active theme -> Twenty fourteen
    * no other plugins activated
    * clean database.
    * all components (buddypress) checked
    * permalinks set to Post name

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

  • danbp
    Participant

    @danbp

    hi @buffos,

    despite your details, i have to ask:

    • did also activate the Register page ?
    • can you register from the back-end ?
    • do the other component page show up ?
    • is RewriteEngine On in htaccess and is that module enabled on your local apache server ?
    • have you checked the error logs of php, apache, mysql ?

    Configure BuddyPress


    buffos
    Participant

    @buffos

    * yes , register page is activated
    * yes, i can register
    * yes, members, activity.. etc.. show fine

    ==htaccess==

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /testbuddy/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /testbuddy/index.php [L]
    </IfModule>

    # END WordPress

    ==logs==
    no errors

    * does buddypress support non :80 ports?


    danbp
    Participant

    @danbp

    if you’re using latest xampp, you have respect the new way to declare DNS. One for the server itself, and one for the site.
    :80 virtual host port is a server rule and has nothing to do with buddypress.

    127.0.0.1 localhost
    ::1 localhost

    AND (this is a bit new), you have to set the same for each site running locally

    127.0.0.1 buddylocal
    ::1 buddylocal

    This is how it works for wampp. Check the xampp help or documentation if you use linux to get sure.


    danbp
    Participant

    @danbp

    Sorry i just realized i forgot a point….

    If your install is at the site root, aka www folder
    /xampp/www/testbuddy/
    /xampp/www/testbuddy/wp-content/
    /xampp/www/testbuddy/wp-content/plugins/buddypress/
    …..

    the htaccess rules should look like this

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    Just in case of


    buffos
    Participant

    @buffos

    No. These latest rules do not work (they break permanlinks)

    i am under /xampp/htdocs/testbuddy/wp-content

    but making RewriteBase / and RewriteRule . /index.php break permalinks which work fine with
    RewriteBase /testbuddy adn RewriteRule . /testbuddy/index.php [L]


    buffos
    Participant

    @buffos

    looking at the access.log of xampp (apache) i see

    ::1 – – [17/Dec/2014:23:01:39 +0200] “GET /testbuddy/register/ HTTP/1.1” 200 16168 “http://localhost:8080/testbuddy/&#8221; “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2243.0 Safari/537.36”

    ::1 – – [17/Dec/2014:23:01:55 +0200] “POST /testbuddy/register/ HTTP/1.1” 200 16202 “http://localhost:8080/testbuddy/register/&#8221; “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2243.0 Safari/537.36”

    Anyway, i really cannot understand how buddypress cannot work out of the box in a very simple and standard situation 🙁


    buffos
    Participant

    @buffos

    I solved it as follows

    * first buddypress probably does not support sites in non-root folders.
    That means that if you have a site in localhost/somesite/wp-contents… etc it will not work

    * the problem was not the alternate port :8080 in my case…

    * solution was creating a virtual host (by reading http://foundationphp.com/tutorials/apache_vhosts.php , just adding rules for 8080 in my case instead of just just 80)

    * after that, i went to .htaccess and changed the RewriteBase from /somesite/ to /
    and the last RewriteRule . /index.php [L] from . /somesite/index.php [L]

    Now it works fine as a top-level site (i used somesite.dev as the host name and use somesite.dev:8080 to access it). Registration and activation now work fine


    danbp
    Participant

    @danbp

    FYI, about the first point

    buddypress probably does not support sites in non-root folders.

    It’s not probably, but sure ! 😉

    This is indicated on the requirement codex page

    Anyway, glad you got it and thank you for sharing the solution. 😉

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘No activation page after registering’ is closed to new replies.
Skip to toolbar