|
|

05-14-2012, 05:15 AM
|
|
Senior Member
|
|
Join Date: Mar 2009
Location: Athens, Greece
Posts: 60
|
|
Wordpress will not upload
Hi all,
I've been getting a strange error with every website running Wordpress ever since I recompiled PHP 5.2.17 with the LSAPI present on LSWS 4.1.11. More specifically the asynchronous file upload script will not work (/wp-admin/async-upload.php) and the admin will get an
HTTP Error
error box. Specifications follow:
OS: Centos 5.8 x86_64
PHP: 5.2.17 / LSAPI
LSWS: 4.1.11
On 2-3 test customers I troubleshooted, the error occurred even with all the plugins turn off. Wordpress was at the latest version. The error occurs only sporadically but it is an issue. The error does not occur on an Apache installation.
Any help would be appreciated!
|

05-14-2012, 05:50 AM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,218
|
|
|
any message in error.log and stderr.log ?
|

05-14-2012, 05:57 AM
|
|
Senior Member
|
|
Join Date: Mar 2009
Location: Athens, Greece
Posts: 60
|
|
|
Sadly no, these are the clues I have. Even strace'ing the process running the upload shows nothing (to my not that much trained eye).
|

05-14-2012, 06:17 AM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,218
|
|
|
please try 4.1.12 to see if any difference. it won't hurt anything --- switching between versions is easy.
|

05-14-2012, 06:45 AM
|
|
Senior Member
|
|
Join Date: Mar 2009
Location: Athens, Greece
Posts: 60
|
|
|
Actually, it will. 4.1.12 breaks randomly static file transfers (like images, css or js files) and corrupts them, leaving the client with half-downloaded files.
|

05-14-2012, 06:56 AM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,218
|
|
|
it has been identified and fixed in latest build, quite a few days ago. please force-reinstall 4.1.12.
|

05-14-2012, 11:48 PM
|
|
Senior Member
|
|
Join Date: Mar 2009
Location: Athens, Greece
Posts: 60
|
|
|
Did the force reinstall, the old issue was fixed but the problem with the uploads remains.
|

05-15-2012, 12:49 AM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,218
|
|
|
I tried to reproduce your issue on latest wp-3.3.2 + lsws 4.1.12 + php 5.2.11 at our lab, but failed. using "multi-file uploader".
can you suggest how to reproduce the issue quickly?
|

05-15-2012, 12:58 AM
|
|
Senior Member
|
|
Join Date: Mar 2009
Location: Athens, Greece
Posts: 60
|
|
Here is some more information about my setup:
- lsphp 5.2.17 with configure flags:
Quote:
|
'--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--with-t1lib=/usr' '--without-gdbm' '--with-gettext' '--with-gmp' '--enable-libevent' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--with-kerberos' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--without-mime-magic' '--with-libxml-dir=/usr' '--with-xml' '--with-system-tzdata' '--enable-force-cgi-redirect' '--enable-pcntl' '--with-imap=shared' '--with-imap-ssl' '--enable-mbstring=shared' '--enable-mbregex' '--with-ncurses=shared' '--with-gd=shared' '--enable-bcmath=shared' '--enable-dba=shared' '--with-db4=/usr' '--with-xmlrpc=shared' '--with-ldap=shared' '--with-ldap-sasl' '--with-mysql=shared,/usr' '--with-mysqli=shared,/usr/bin/mysql_config' '--enable-dom=shared' '--with-pgsql=shared' '--enable-wddx=shared' '--with-snmp=shared,/usr' '--enable-soap=shared' '--with-xsl=shared,/usr' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--with-curl=shared,/usr' '--with-curl-wrappers' '--enable-pdo=shared' '--with-sqlite=shared' '--enable-sqlite-utf8' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-mysql=shared,/usr' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/usr' '--enable-json=shared' '--enable-zip=shared' '--with-readline' '--enable-dbase=shared' '--with-pspell=shared' '--with-mcrypt=shared,/usr' '--with-mhash=shared,/usr' '--with-tidy=shared,/usr' '--enable-sysvmsg=shared' '--enable-sysvshm=shared' '--enable-sysvsem=shared' '--enable-posix=shared' '--with-unixODBC=shared,/usr' '--with-litespeed' '--enable-suhosin'
|
- upload dir is /tmp which is mounted on tmpfs
- suexec is on
- server is Plesk 9.5
- mysql is 5.1.62
- the issue will occur randomly but it will occur. So if you try, say 20 or 30 uploads, one of them will eventually fail.
|

05-15-2012, 11:41 AM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,337
|
|
Quote:
Originally Posted by priestjim
... More specifically the asynchronous file upload script will not work (/wp-admin/async-upload.php) and the admin will get an
HTTP Error
error box.
...
Any help would be appreciated!
|
Any specifics regarding which line of async-upload.php it fails on?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 02:34 PM.
|
|