Skip to:
Content
Pages
Categories
Search
Top
Bottom

Ajax works well on localhost but not on hosted server

  • @vunye

    Participant

    WHAT AM USING
    -Wordpress 3.5.1
    -buddypress 1.6.4
    – Tiga BuddyPress theme (child theme for BP-default)

    my website http://campuswolokoso.com/

    hello all, Everything worked well when i was testing my site on my localhost computer
    but when i moved the site to the hosting server i got lots of issues and these are:-

    1.Post button got lost
    2.can not create a FORUM
    3.can not comment

    IN GENERAL AJAX STOPPED WORKING

    but works well when am using localhost

    What could be the problem

    Thanx

Viewing 5 replies - 1 through 5 (of 5 total)
  • @hnla

    Participant

    If it works locally but not on a remote host then first thing to check is whether the file  is being correctly located, is it? Also drop back to default BP theme does Ajax now work on the remote host?

    tbh it took me seconds to see that nearly all WP library scripts were 404’s  you  need to establish  what’s going on with your script includes, it’s not an Ajax issue it’s more fundamental than that, essentially JS isn’t running on your site.

    @vunye

    Participant

    Thanx Hugo am going to contact my webhoster to check whether JS is enabled.

    i was also wondering why it works well on localhost and doest work well on a remote server..

    Thank you, will get back to u incase it works.

    @hnla

    Participant

    JS isn’t a server side process it’s client side, so not a question of whether it’s working, all the server does is send the js file on request the browser parses the instructions within the file. You want to be checking your paths carefully and general install.

    @vunye

    Participant

    Thanx Hugo, i think the problem is with my general install. am going to make a fresh install and see how it goes, thanx for you time, i will get back to u if all goes well.

    @vunye

    Participant

    wowowo am so happy now it worked after installing buddy press from a remote server…wowowo Thanx alot @Hugo

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Ajax works well on localhost but not on hosted server’ is closed to new replies.
Skip to toolbar