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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > Problems uploading file from Textpattern CMS with lLitespeed

Reply
 
Thread Tools Display Modes
  #1  
Old 08-20-2007, 02:59 PM
ninja ninja is offline
New Member
 
Join Date: Aug 2007
Posts: 3
Default Problems uploading file from Textpattern CMS with lLitespeed

Hello,

I installed litespeed with php cms Textpattern.
When i run the diagnostics Textpattern tells me that 'file uploads' are disabled.
When i try to upload a file it seems the file is not ending up in the hash/array and php gives an error. I am not a php expert so I cant isolate the problem further.

My system config:
Linux 2.6.16.29-xen #3 SMP Sun Oct 15 13:15:34 BST 2006 x86_64 GNU/Linux
textpattern CMS 4.0.5.
Litespeed version : 3.2.1-std-i386
PHP Version 4.4.7 and interface of choice: LSAPI
Build Date May 23 2007 06:55:16
Configure Command ./configure --with-litespeed --with-config-file-path=../php --with-mysql=../mysql --with-zlib --with-zlib-dir=.. --with-gd --with-jpeg-dir=.. --with-png-dir=.. --enable-shmop --enable-track-vars --enable-sockets --enable-sysvsem --enable-sysvshm --enable-magic-quotes
Server API LiteSpeed
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/litespeed/php/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20050606
Debug Build no
Zend Memory Manager enabled
Thread Safety disabled
Registered PHP Streams php, http, ftp, compress.zlib

Textpattern gives a notice when uploaden an image to the cms:
Notice: Undefined index: thefile in /var/www/txp/public_html/textpattern/include/txp_image.php on line 339

The problem can be easily reproduced.
- install textpattern by extracting the latest version and follow install instructions of textpattern.
- create vhost in admin of litespeed and point to textpattern php directory
(i used to vhost template- no other changes)
- login into text pattern and try to upload a file.

other observations:
- opening up directories with chmod does not make a difference.
- no special error messages in the errror log (other than the on mentioned above)

Please note that this problem does NOT occur when installing on Apache on the same php version.

I hope this problem van be resolved , i really like litespeed....
Please let me know if more details are needed.
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:44 PM.



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