Problems uploading file from Textpattern CMS with lLitespeed

Discussion in 'Bug Reports' started by ninja, Aug 20, 2007.

  1. ninja

    ninja New Member


    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 #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.

Share This Page