Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#5050 closed defect (bug) (fixed)

AJAX fails on activity comment/reply

Reported by: newkindofcool's profile NewKindOfCool Owned by:
Milestone: Priority: normal
Severity: normal Version: 1.7
Component: Activity Keywords:
Cc: henrywright

Description

AJAX fails to update the page when commenting on or replying on other users' activity. The page continuously appears to be "loading" and nothing happens. AJAX updates the page as expected when commenting on or replying to messages on a user's own activity.

I tested on the default WP twentytwelve theme and the bp-default theme. All themes experienced the same results.

Reproducable: Always

Steps to reproduce:

  • Install fresh copy of WP 3.5.1 (latest.tar.gz)
  • Use admin panel to install BP 1.7.2
  • Enable permalinks in WP/.htaccess
  • Test comments between multiple users' activity

Software used:
supernova ~ # apache2 -V; apache2 -M; php -v; php -m; mysql -V
Server version: Apache/2.2.24 (Unix)
Server built: Mar 3 2013 18:56:34
Server's Module Magic Number: 20051115:31
Server loaded: APR 1.4.5, APR-Util 1.3.12
Compiled using: APR 1.4.5, APR-Util 1.3.12
Architecture: 32-bit
Server MPM: Prefork

threaded: no

forked: yes (variable process count)

Server compiled with....

-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"

Loaded Modules:

core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_alias_module (shared)
authn_anon_module (shared)
authn_dbm_module (shared)
authn_default_module (shared)
authn_file_module (shared)
authz_dbm_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_owner_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
cgid_module (shared)
deflate_module (shared)
dir_module (shared)
env_module (shared)
expires_module (shared)
ext_filter_module (shared)
filter_module (shared)
headers_module (shared)
include_module (shared)
log_config_module (shared)
logio_module (shared)
mime_module (shared)
mime_magic_module (shared)
negotiation_module (shared)
rewrite_module (shared)
setenvif_module (shared)
speling_module (shared)
unique_id_module (shared)
usertrack_module (shared)
vhost_alias_module (shared)

Syntax OK
PHP 5.4.13--pl0-gentoo (cli) (built: Jun 5 2013 22:59:29)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
[PHP Modules]
apc
bz2
Core
ctype
curl
date
dba
dom
ereg
fileinfo
filter
gd
gettext
hash
iconv
imap
json
libxml
mbstring
mcrypt
mysql
mysqli
openssl
pcre
Phar
posix
readline
Reflection
session
SimpleXML
sockets
SPL
standard
tokenizer
xml
zlib

[Zend Modules]

mysql Ver 14.14 Distrib 5.1.67, for pc-linux-gnu (i686) using readline 5.1

Change History (5)

#1 @NewKindOfCool
11 years ago

  • Summary changed from WP 3.5.1, BP 1.7.2 to AJAX fails on activity comment/reply

#2 @henrywright
11 years ago

  • Cc henrywright added

#3 @newkindofcool
11 years ago

  • Resolution set to fixed
  • Status changed from new to closed

I figured out the problem. It is not a problem with AJAX and I don't believe a problem with BP. With PHP's mail() function unable to send email, WP hangs waiting for the email to send before responding to the request.

I installed an SMTP plugin and it worked as expected once configured.

#4 @mercime
11 years ago

BP Forums additional info. Thanks for updating this ticket newkindofcool.

#5 @johnjamesjacoby
11 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.