Skip to:
Content
Pages
Categories
Search
Top
Bottom

Dead links in ajax responses from searching, replying, etc for School site

  • I am having this problem on every recent WP/BP install I’ve been working on lately. All responses from ajax with links in it provide the wrong URLs (with extra subdirectories). I set up a basic, default, latest WP 3.3.1 / BP 1.5.3.1. There are no other plugins installed.

    When you do a search on:
    https://pic.fsu.edu/courses/2012/spring/test/members/
    for “admin” the result from ajax gives the following link:
    https://pic.fsu.edu/courses/2012/spring/test/members/members/admin/
    instead of the proper link:
    https://pic.fsu.edu/courses/2012/spring/test/members/admin/
    which is the proper link given during a normal page load of the members page.

    This makes me think this is some kind of server configuration. This is my .htaccess, just the default stuff. Tell me if I can provide any additional information!
    `# BEGIN WordPress

    RewriteEngine On
    RewriteBase /courses/2012/spring/test/
    RewriteRule ^index.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /courses/2012/spring/test/index.php [L]

    # END WordPress`

    Edit: here are the formal specs for help requests:

    1. Which version of WordPress are you running?
    3.3.1
    2. Did you install WordPress as a directory or subdomain install?
    Subdomain
    3. If a directory install, is it in root or in a subdirectory?
    Subdirectory
    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    No, not on this test (https://pic.fsu.edu/courses/2012/spring/test/members/)
    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    Yes.
    6. Which version of BP are you running?
    1.5.3.1
    7. Did you upgraded from a previous version of BP? If so, from which version?
    No
    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    No.
    9. Are you using the standard BuddyPress themes or customized themes?
    The standard default theme for this test.
    10. Have you modified the core files in any way?
    No.
    11. Do you have any custom functions in bp-custom.php?
    No.
    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    Just defaults, whatever is build in.
    13. Please provide a list of any errors in your server’s log files.
    Just 404s for bad requests when it has the wrong URL. I could get server log files if you need them.
    14. Which company provides your hosting?
    This is a server provided by the university.
    15. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Ubuntu 10.04.3 LTS, Apache/2.2.14, PHP Version 5.3.2

Viewing 2 replies - 1 through 2 (of 2 total)
  • I hate to bump-post for attention, but I have also been posting at the WP MUDEV forums for some help with this. http://premium.wpmudev.org/forums/topic/dead-links-when-searching-replying-anything-loaded-by-ajax?replies=9#post-170134

    Phil, who has been helping me debug some, believes this *may* be a bug with BuddyPress being installed in subdirectories. I unfortunately cannot install WP/BP at the root of this server I am working on, but I decided to post this update in case it gives anyone here any more ideas.

    Thank you in advance for any leads or help you can provide.

    Avatar of philipjohn
    philipjohn
    Member

    @philipjohn

    Hi, just thought I’d add my thoughts here.

    I tried setting up a test install in a sub-directory (example.com/sub) and navigating to example.com/sub/members redirected me to example.com/members so I was kinda struggling even to test this.

    I’m sure there’s actually a logical reason why that redirect happens that I’m just not seeing. Of course, I realised that in Georules case the install is in a lower directory.

    So I just created example.com/sub/sub2 and I couldn’t replicate the issue…. Kinda unsure where to go from here. Don’t do an awful lot with BP if I’m honest so at the mercy of BuddyPress brains.

    Thanks!
    Phil

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

You must be logged in to reply to this topic.