The options page and composing a new mail triggers JavaScript errors
when navigating on a fresh SquirrelMail 1.4.2 install.
"Line 135: ) expected."

Comparing browser output and php source it seems to me that there is
some sort of output modification going on, since the php source seems to
correctly double escape the quotation signs, but the backslashes are
then missing in the output. magic_quotes_gpc, magic_quotes_runtime, and
magic_quotes_sybase are turned OFF

Guesses?

Here are the error causing lines of compose.php:

-----
line 135
         <SCRIPT LANGUAGE=JavaScript><!--
 document.write("            <input type="button" value="\""Adressen\"
onclick='javascript:open_abook();'>");            //
--></SCRIPT><NOSCRIPT>
----
line 142
<script language=Javascript>
<!--
document.write("<input type="\""button\" name=\"QScancel\"
value=\"Cancel\"
onClick=\"QuickSave_cancel_button('right_main.php?use_mailbox_cache=0&so
rt=6&startMessage=1&mailbox=INBOX');\">");
//-->
</script>
----


And a cut from the dump of phpinfo():

PHP Version 4.2.2 

System Linux E180 2.4.19 #1 Fri Jul 11 20:16:51 UTC 2003 i686 unknown 
Build Date Sep 16 2003 14:50:33 
Configure Command './configure' '--prefix=/usr/share'
'--datadir=/usr/share/php' '--bindir=/usr/bin' '--libdir=/usr/share'
'--includedir=/usr/include' '--with-_lib=lib'
'--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin'
'--disable-debug' '--enable-bcmath' '--enable-calendar' '--enable-ctype'
'--enable-dbase' '--enable-discard-path' '--enable-exif'
'--enable-filepro' '--enable-force-cgi-redirect' '--enable-ftp'
'--enable-gd-imgstrttf' '--enable-gd-native-ttf'
'--enable-inline-optimization' '--enable-magic-quotes'
'--enable-mbstr-enc-trans' '--enable-mbstring' '--enable-memory-limit'
'--enable-safe-mode' '--enable-shmop' '--enable-sigchild'
'--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars'
'--enable-trans-sid' '--enable-versioning' '--enable-wddx' '--enable-yp'
'--with-bz2' '--with-dom=/usr/include/libxml2' '--with-ftp'
'--with-gdbm' '--with-gettext' '--with-gmp' '--with-imap=yes'
'--with-iodbc' '--with-jpeg-dir=/usr' '--with-ldap=yes'
'--with-mcal=/usr' '--with-mcrypt' '--with-mysql=/usr' '--with-ndbm'
'--with-pgsql=/usr' '--with-png-dir=/usr' '--with-qtdom=/usr/lib/qt2'
'--with-snmp' '--with-t1lib' '--with-tiff-dir=/usr' '--with-ttf'
'--with-freetype-dir=yes' '--with-xml' '--with-xpm-dir=/usr/X11R6'
'--with-zlib=yes' '--with-gd=shared' '--with-openssl' '--with-curl'
'--with-swf=./dist/' '--with-imap-ssl' '--enable-xslt'
'--with-xslt-sablot' '--with-mm' '--with-apxs=/usr/sbin/apxs'
'i586-suse-linux' 
Server API Apache 
Virtual Directory Support disabled 
Configuration File (php.ini) Path /etc/php.ini 
Debug Build no 
Thread Safety disabled 

 This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies
 


------------------------------------------------------------------------
--------

PHP 4 Credits

------------------------------------------------------------------------
--------

Configuration
PHP Core 
Directive Local Value Master Value 
allow_call_time_pass_reference
 On On 
allow_url_fopen
 1 1 
always_populate_raw_post_data
 0 0 
arg_separator.input
 & & 
arg_separator.output
 & & 
asp_tags
 Off Off 
auto_append_file
 no value no value 
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_functions
 no value no value 
display_errors
 On On 
display_startup_errors
 Off Off 
doc_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
 2039 2039 
expose_php
 On On 
extension_dir
 /usr/share/extensions/no-debug-non-zts-20020429
/usr/share/extensions/no-debug-non-zts-20020429 
file_uploads
 1 1 
gpc_order
 GPC GPC 
highlight.bg
 #FFFFFF #FFFFFF 
highlight.comment
 #FF9900 #FF9900 
highlight.default
 #0000CC #0000CC 
highlight.html
 #000000 #000000 
highlight.keyword
 #006600 #006600 
highlight.string
 #CC0000 #CC0000 
html_errors
 On On 
ignore_user_abort
 Off Off 
implicit_flush
 Off Off 
include_path
 .:/usr/share/php .:/usr/share/php 
log_errors
 Off Off 
magic_quotes_gpc
 Off Off 
magic_quotes_runtime
 Off Off 
magic_quotes_sybase
 Off Off 
max_execution_time
 1200 1200 
memory_limit
 25M 25M 
open_basedir
 no value no value 
output_buffering
 no value no value 
output_handler
 no value no value 
post_max_size
 8M 8M 
precision
 12 12 
register_argc_argv
 On On 
register_globals
 Off Off 
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
 [EMAIL PROTECTED] [EMAIL PROTECTED] 
sendmail_path
 /zip-local/bin/sendmail_mime -t -i /zip-local/bin/sendmail_mime -t -i 
short_open_tag
 On On 
SMTP
 localhost localhost 
sql.safe_mode
 Off Off 
track_errors
 Off Off 
unserialize_callback_func
 no value no value 
upload_max_filesize
 25M 25M 
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
 Off Off

------

Hope someone can help me.


tia
Szomraky Stefan


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to