LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > Wordpress will not upload

Reply
 
Thread Tools Display Modes
  #1  
Old 05-14-2012, 05:15 AM
priestjim priestjim is offline
Senior Member
 
Join Date: Mar 2009
Location: Athens, Greece
Posts: 60
Default 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!
__________________
Web hosting, Domain Names, VPS and Dedicated Servers in one of the most secure, reliable, fast and low-cost web hosting services in the European market.

:: dnHost Interactive Agency :: Supporting and providing Litespeed Web Server in all shared hosting and VPS servers since 2008 ::
Reply With Quote
  #2  
Old 05-14-2012, 05:50 AM
NiteWave NiteWave is online now
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,295
any message in error.log and stderr.log ?
Reply With Quote
  #3  
Old 05-14-2012, 05:57 AM
priestjim priestjim is offline
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).
__________________
Web hosting, Domain Names, VPS and Dedicated Servers in one of the most secure, reliable, fast and low-cost web hosting services in the European market.

:: dnHost Interactive Agency :: Supporting and providing Litespeed Web Server in all shared hosting and VPS servers since 2008 ::
Reply With Quote
  #4  
Old 05-14-2012, 06:17 AM
NiteWave NiteWave is online now
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,295
please try 4.1.12 to see if any difference. it won't hurt anything --- switching between versions is easy.
Reply With Quote
  #5  
Old 05-14-2012, 06:45 AM
priestjim priestjim is offline
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.
__________________
Web hosting, Domain Names, VPS and Dedicated Servers in one of the most secure, reliable, fast and low-cost web hosting services in the European market.

:: dnHost Interactive Agency :: Supporting and providing Litespeed Web Server in all shared hosting and VPS servers since 2008 ::
Reply With Quote
  #6  
Old 05-14-2012, 06:56 AM
NiteWave NiteWave is online now
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,295
it has been identified and fixed in latest build, quite a few days ago. please force-reinstall 4.1.12.
Reply With Quote
  #7  
Old 05-15-2012, 11:41 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
Quote:
Originally Posted by priestjim View Post
... 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?
Reply With Quote
  #8  
Old 05-15-2012, 11:28 PM
priestjim priestjim is offline
Senior Member
 
Join Date: Mar 2009
Location: Athens, Greece
Posts: 60
The script does not produce an error neither in the error_log nor in Litespeed's log. It just fails by return "HTTP Error".
__________________
Web hosting, Domain Names, VPS and Dedicated Servers in one of the most secure, reliable, fast and low-cost web hosting services in the European market.

:: dnHost Interactive Agency :: Supporting and providing Litespeed Web Server in all shared hosting and VPS servers since 2008 ::
Reply With Quote
  #9  
Old 07-31-2012, 02:06 PM
justme justme is offline
Member
 
Join Date: Feb 2008
Posts: 35
Hi,
any progress on this issue?
lsws standart 4.1.13 on ubuntu 11.10 64bit, wordpress 3.4.1
Client Ka M R In/Total Out/Total VHost Handler P Request
89.92.x 0 PR 222.6 119961/119961 0/0 x.fr php-fpm 223 POST /wp-admin/media-upload.php?inline=&upload-pag ..."
89.92.x 0 PR 201.4 120128/120128 0/0 x.fr php-fpm 202 POST /wp-admin/async-upload.php HTTP/1.1

uploadprogress.so has been added, php.ini mem is over 200MB allocated, ditto for max body size. Sometimes it works but most of the time it doesn't (result == stall). It got broken since 4.1.x (was OK in 4.0.x).
Thanks for your help!
Reply With Quote
  #10  
Old 07-31-2012, 04:11 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
make sure memory limit (soft/hard) in lsphp5 external app is big enough (larger than memory_limit in php.ini).
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:51 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.