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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > [Resolved] Yet another problem with Litespeed.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-24-2010, 07:58 PM
VortMax VortMax is offline
Member
 
Join Date: Aug 2007
Posts: 46
Default [Resolved] Yet another problem with Litespeed.

Latest version of IPB Forum software 3.1.1.

When saving template bits that are being edited in a php text box the software hangs on saving. Switch over to Apache and it works perfectly.

If I try to click out of the saving routine I get this error:

Exception: TypeError: t.responseJSON is null

Anyone have a fix for this?


1) OS type and Version. If using 64bit OS, please note as such.

CentOS 5.1 64bit


2) LiteSpeed Version (Version Number + Model: Standard/Enterprise)

Any recent version Enterprise

3) If PHP related: PHP version and interface of choice: FCGI, CGI, or LSAPI.

LSAPI I believe.

Last edited by NiteWave; 06-28-2010 at 03:18 AM..
Reply With Quote
  #2  
Old 06-24-2010, 08:02 PM
VortMax VortMax is offline
Member
 
Join Date: Aug 2007
Posts: 46
Here is the config for Litespeed php build:

Quote:
'./configure' '--prefix=/usr' '--with-litespeed' '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--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' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--without-mime-magic' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--with-system-tzdata' '--with-mysql=/usr' '--without-gd' '--without-odbc' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--disable-json' '--without-pspell' '--enable-mbstring'
and Apache

Quote:
'./configure' '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--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' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--without-mime-magic' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--without-odbc' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--disable-json' '--without-pspell'
Reply With Quote
  #3  
Old 06-24-2010, 08:07 PM
VortMax VortMax is offline
Member
 
Join Date: Aug 2007
Posts: 46
Both are showing that php 5.2.9 is running. the above is the build configuration on both and I don't see any significant differences.
Reply With Quote
  #4  
Old 06-24-2010, 08:15 PM
VortMax VortMax is offline
Member
 
Join Date: Aug 2007
Posts: 46
I have about 50 million of these in the error.log file:

Quote:
2010-06-24 22:39:45.395 [ERROR] [[HTAccess]] rewrite: unknown server variable while parsing: MATCHED_VAR
2010-06-24 22:39:45.395 [ERROR] [[HTAccess]] rewrite: unknown server variable while parsing: MATCHED_VAR
2010-06-24 22:39:45.396 [ERROR] [[HTAccess]] rewrite: unknown server variable while parsing: MATCHED_VAR
2010-06-24 22:39:45.396 [ERROR] [[HTAccess]] rewrite: unknown server variable while parsing: MATCHED_VAR
And a number of these:

Quote:
2010-06-24 22:39:44.534 [INFO] Processing config file: /etc/httpd/modsecurity.d/20_asl_useragents.conf
2010-06-24 22:39:44.535 [INFO] Processing config file: /etc/httpd/modsecurity.d/30_asl_antispam.conf
2010-06-24 22:39:44.545 [INFO] Processing config file: /etc/httpd/modsecurity.d/40_asl_apache2-rules.conf
2010-06-24 22:39:44.545 [INFO] Processing config file: /etc/httpd/modsecurity.d/50_asl_rootkits.conf
2010-06-24 22:39:44.545 [ERROR] [config] rewrite: unknown server variable while parsing: ARGS_POST
2010-06-24 22:39:44.545 [ERROR] [config] rewrite: unknown server variable while parsing: ARGS_POST
2010-06-24 22:39:44.545 [ERROR] [config] rewrite: unknown server variable while parsing: RESPONSE_BODY
2010-06-24 22:39:44.545 [ERROR] [config] rewrite: unknown server variable while parsing: RESPONSE_BODY
2010-06-24 22:39:44.545 [ERROR] [config] rewrite: unknown server variable while parsing: RESPONSE_BODY
2010-06-24 22:39:44.546 [ERROR] [config] rewrite: unknown server variable while parsing: RESPONSE_BODY
2010-06-24 22:39:44.546 [ERROR] [config] rewrite: unknown server variable while parsing: RESPONSE_HEADERS:WWW-Authenticate
2010-06-24 22:39:44.546 [INFO] Processing config file: /etc/httpd/modsecurity.d/60_asl_recons.conf
2010-06-24 22:39:44.546 [INFO] Processing config file: /etc/httpd/modsecurity.d/999_asl_user_exclude.conf
2010-06-24 22:39:44.546 [INFO] Processing config file: /etc/httpd/modsecurity.d/99_asl_jitp.conf
2010-06-24 22:39:44.547 [ERROR] [config] rewrite: unknown server variable while parsing: REQUEST_URI_RAW
2010-06-24 22:39:44.551 [ERROR] [config] /lang/lang\.php\" chain: missing closing '"'.
2010-06-24 22:39:44.553 [ERROR] [config] /lib\.php\" chain: missing closing '"'.
2010-06-24 22:39:44.591 [INFO] Processing config file: /etc/httpd/conf.d/10_asl_rules.conf
2010-06-24 22:39:44.591 [ERROR] [config] rewrite: unknown server variable while parsing: XML:/*
2010-06-24 22:39:44.591 [ERROR] [config] rewrite: unknown server variable while parsing: XML:/*
2010-06-24 22:39:44.591 [ERROR] [config] rewrite: unknown server variable while parsing: Transfer-Encoding)/'
2010-06-24 22:39:44.591 [ERROR] [config] rewrite: unknown server variable while parsing: XML:/*
2010-06-24 22:39:44.591 [ERROR] [config] rewrite: unknown server variable while parsing: REQUEST_URI_RAW
2010-06-24 22:39:44.591 [ERROR] [config] rewrite: unknown server variable while parsing: MATCHED_VAR
2010-06-24 22:39:44.592 [ERROR] [config] rewrite: unknown server variable while parsing: MATCHED_VAR
2010-06-24 22:39:44.592 [ERROR] [config] rewrite: unknown server variable while parsing: REQUEST_URI_RAW
Reply With Quote
  #5  
Old 06-24-2010, 08:50 PM
VortMax VortMax is offline
Member
 
Join Date: Aug 2007
Posts: 46
It also appears that while it is trying to save that I cannot get into the LSWS control panel or use any of it's menu choices. It just hangs as well.
Reply With Quote
  #6  
Old 06-24-2010, 08:59 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
check the server from ssh when LSWS web console are affected. It should not be.
Is PHP running as the same mode for Apache and LiteSpeed? PHP suEXEC or PHP running as the same user that httpd run as. they should match.

check if "Register_long_array" affect any thing. Compare phpinfo() output line by line.
Reply With Quote
  #7  
Old 06-24-2010, 09:03 PM
VortMax VortMax is offline
Member
 
Join Date: Aug 2007
Posts: 46
apache and litespeed use the same configurations for php and run under the same conditions I believe.

Are there any specific lines I should be looking at from php info? The output from both is similar in the layout but not exact. It seems that apache and LS are displaying loaded modules in different orders.
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 01:30 PM.



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