|
|

06-24-2010, 07:58 PM
|
|
Member
|
|
Join Date: Aug 2007
Posts: 46
|
|
[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..
|

06-24-2010, 08:02 PM
|
|
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'
|
|

06-24-2010, 08:07 PM
|
|
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.
|

06-24-2010, 08:15 PM
|
|
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
|
|

06-24-2010, 08:50 PM
|
|
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.
|

06-24-2010, 08:59 PM
|
|
LiteSpeed Staff
|
|
Join Date: May 2003
Location: New Jersey
Posts: 7,590
|
|
|
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.
|

06-24-2010, 09:03 PM
|
|
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.
|

06-24-2010, 09:04 PM
|
|
Member
|
|
Join Date: Aug 2007
Posts: 46
|
|
|
Register Long Arrays are both OFF on apache and litespeed.
|

06-24-2010, 09:05 PM
|
|
Member
|
|
Join Date: Aug 2007
Posts: 46
|
|
php core from apache and litespeed are exactly the same:
Code:
allow_call_time_pass_reference Off Off
allow_url_fopen Off Off
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions , dl , escapeshellcmd , passthru , pfsockopen , posix_kill , posix_mkfifo , posix_setuid , proc_close , proc_open , proc_terminate , system , leak , posix_setpgid , posix_setsid , proc_get_status , proc_nice , show_source , dl , escapeshellcmd , passthru , pfsockopen , posix_kill , posix_mkfifo , posix_setuid , proc_close , proc_open , proc_terminate , system , leak , posix_setpgid , posix_setsid , proc_get_status , proc_nice , show_source
display_errors Off Off
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 6143 6143
expose_php Off Off
extension_dir /usr/lib64/php/modules /usr/lib64/php/modules
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .: .:
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 256M 256M
open_basedir /var/www/vhosts/easternuswx.com/httpdocs:/tmp no value
output_buffering 4096 4096
output_handler no value no value
post_max_size 8M 8M
precision 14 14
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv Off Off
register_globals Off Off
register_long_arrays Off Off
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 10M 10M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off
|

06-24-2010, 09:09 PM
|
|
Member
|
|
Join Date: Aug 2007
Posts: 46
|
|
I tried to make an edit about 15 minutes ago. It finally timed out with these two errors in two pop up boxes:
Quote:
|
Exception: SyntaxError: Badly formed JSON string: '<html>\n<head><title> 503 Service Unavailable\r\n</title></head>\n<body><h1> 503 Service Unavailable\r\n</h1>\nThe server is temporarily busy, try again later!<hr />\nPowered By <a href=\'http://www.litespeedtech.com\'>LiteSpeed Web Server</a><br />\n<font face="Verdana, Arial, Helvetica" size=-1>LiteSpeed Technologies is not responsible for administration and contents of this web site!</font></body></html>\n'
|
Quote:
Failure: <html>
<head><title> 503 Service Unavailable
</title></head>
<body><h1> 503 Service Unavailable
</h1>
The server is temporarily busy, try again later!<hr />
Powered By <a href='http://www.litespeedtech.com'>LiteSpeed Web Server</a><br />
<font face="Verdana, Arial, Helvetica" size=-1>LiteSpeed Technologies is not responsible for administration and contents of this web site!</font></body></html>
|
|
| 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 10:20 AM.
|
|