Opened 15 years ago
Closed 15 years ago
#821 closed defect (bug) (duplicate)
Bug when adding new friend
Reported by: | geekbay | Owned by: | |
---|---|---|---|
Milestone: | 1.1 | Priority: | major |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: |
Description
Hi, here is the bug when i add friend nothing occure.
It's because the var ajaxurl isn't good
my site is in:
http://10.0.0.3/site.com/html/
but
var ajaxurl = http://10.0.0.3/site.com/html/site.com/html/wp-load.php
as you can see there is two times /site.com/html/ it's because
$_SERVER['SCRIPT_NAME'] = /site.com/html/index.php
so here is my patch
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Patch for bp_core_add_ajax_js()