I get a JS error (Runtime error referencing line 25) each time an admin module page displays. This APPEARS to be harmless -- functionality is unimpaired -- but it is consistent for every page in the admin ui that I have seen.
I have seen other posts on this but no responses that I have been able to locate. Probably too obvious to warrant comment, but I am still scratching my head after poking around for quite a while.
Environment/debug info follows.
Specfic error message:
Error: A Runtime Error has occurred. Do you wish to debug?
Line: 25
Error: Object required
Line: 26
Char: 3
Error: Object required
Code: 0
URL:
http://<mysite>/modules/system/admin.php?fct=tplsetsClient: MS Win XP Pro
MSIE Version 6.00.2800.1106.xpsp2.021108-1929
From a View Source of the rendered HTML page exhibiting the problem:
17: <script type='text/javascript'>
18: <!--
19: function popUpL1() {
20: shutdown();
21: popUp("L1",true);
22: }
23: function popUpL16() {
24: shutdown();
25: popUp("L16",true);
26: }
phpinfo() output (embedded in modules/system/admin.php)
PHP Version 4.2.3
System Linux php 2.4.19 #13 SMP Wed Sep 18 16:31:32 EDT 2002 i686 unknown
Build Date Jan 8 2003 14:13:15
Configure Command './configure' '--prefix=/usr/local/' '--with-apache=../../new_apache/apache_1.3.27' '--with-openssl=/usr/local/ssl' '--enable-shared' '--enable-versioning' '--enable-pic' '--disable-posix-threads' '--with-openssl=/usr/local/ssl' '--disable-debug' '--enable-magic-quotes' '--disable-rpath' '--with-zlib' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-exif' '--with-curl=/usr' '--with-cybercash=/usr/local/cybercash/mck-3.2.0.6-i586-pc-linux-gnulibc2.1' '--with-gdbm=/usr' '--enable-dbase' '--with-gd=/usr/local' '--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-freetype-dir=/usr' '--with-gmp' '--with-imap=/usr/local' '--with-imap-ssl=/usr/local/ssl' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt=/usr' '--with-mhash=/usr' '--with-mysql=/usr/local/mysql' '--enable-sockets' '--with-regex=system' '--enable-wddx' '--with-expat-dir=/usr' '--enable-xslt' '--with-xslt-sablot=/usr' '--enable-inline-optimization'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/Zend/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
with Zend Extension Manager v1.0.0, Copyright (c) 2003, by Zend Technologies
with Zend Optimizer v2.1.0, Copyright (c) 1998-2003, by 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/local/lib/php/extensions /usr/local/lib/php/extensions
file_uploads
1 1
gpc_order
GPC GPC
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_user_abort
Off Off
implicit_flush
Off Off
include_path
./:/usr/local/lib/php ./:/usr/local/lib/php
log_errors
Off Off
magic_quotes_gpc
Off Off
magic_quotes_runtime
Off Off
magic_quotes_sybase
Off Off
max_execution_time
30 30
open_basedir
no value no value
output_buffering
no value no value
output_handler
no value no value
post_max_size
8M 8M
precision
14 14
register_argc_argv
On On
register_globals
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
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
2097152 2097152
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
xslt
XSLT support enabled
xml
XML Support active
XML Namespace Support active
EXPAT Version expat_1.95.2
wddx
WDDX Support enabled
WDDX Session Serializer enabled
standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i
Directive Local Value Master Value
assert.active
1 1
assert.bail
0 0
assert.callback
no value no value
assert.quiet_eval
0 0
assert.warning
1 1
safe_mode_allowed_env_vars
PHP_ PHP_
safe_mode_protected_env_vars
LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags
a=href,area=href,frame=src,form=fakeentry a=href,area=href,frame=src,form=fakeentry
sockets
Sockets Support enabled
session
Session Support enabled
Directive Local Value Master Value
session.auto_start
Off Off
session.cache_expire
180 180
session.cache_limiter
nocache nocache
session.cookie_domain
no value no value
session.cookie_lifetime
0 0
session.cookie_path
/ /
session.cookie_secure
Off Off
session.entropy_file
/dev/urandom /dev/urandom
session.entropy_length
16 16
session.gc_maxlifetime
1440 1440
session.gc_probability
1 1
session.name
PHPSESSID PHPSESSID
session.referer_check
no value no value
session.save_handler
files files
session.save_path
/tmp /tmp
session.serialize_handler
php php
session.use_cookies
On On
session.use_trans_sid
1 1
posix
Revision $Revision: 1.42.2.3 $
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 3.4 22-Aug-2000
openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.6g 9 Aug 2002
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.51
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/mysql/include/mysql
MYSQL_LIBS -L/usr/local/mysql/lib/mysql -lmysqlclient
Directive Local Value Master Value
mysql.allow_persistent
On On
mysql.default_host
no value no value
mysql.default_password
no value no value
mysql.default_port
no value no value
mysql.default_socket
no value no value
mysql.default_user
no value no value
mysql.max_links
Unlimited Unlimited
mysql.max_persistent
Unlimited Unlimited
mcrypt
mcrypt support enabled
version >= 2.4.x
Supported ciphers arcfour blowfish-compat blowfish cast-128 cast-256 des enigma gost loki97 panama rc2 rijndael-128 rijndael-192 rijndael-256 safer-sk128 safer-sk64 saferplus serpent threeway tripledes twofish wake xtea
Supported modes cbc cfb ecb ncfb nofb ofb stream
Directive Local Value Master Value
mcrypt.algorithms_dir
no value no value
mcrypt.modes_dir
no value no value
mbstring
Multibyte (Japanese) Support enabled
http input encoding translation enabled
multibyte regex support enabled
Directive Local Value Master Value
mbstring.detect_order
no value no value
mbstring.func_overload
0 0
mbstring.http_input
no value no value
mbstring.http_output
no value no value
mbstring.internal_encoding
no value no value
mbstring.substitute_character
no value no value
imap
IMAP c-Client Version 2001
SSL Support enabled
gmp
gmp support enabled
gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled
ftp
FTP support enabled
exif
EXIF Support enabled
EXIF Version 1.2
Supported EXIF Version 0210
Supported filetypes JPEG,TIFF
dba
DBA support enabled
Supported handlers gdbm
cybercash
Cybercash Support enabled
curl
CURL support enabled
CURL Information libcurl/7.10.2 OpenSSL/0.9.6g zlib/1.1.3
ctype
ctype functions enabled (experimental)
calendar
Calendar support enabled
bcmath
BCMath support enabled
zlib
ZLib Support enabled
'zlib:' fopen wrapper enabled
Compiled Version 1.1.3
Linked Version 1.1.3
Directive Local Value Master Value
zlib.output_compression
Off Off
gettext
GetText Support enabled
Zend Optimizer
Optimization Pass 1 enabled
Optimization Pass 2 enabled
Optimization Pass 3 enabled
Optimization Pass 9 disabled
Optimization Pass 10 disabled
Zend Loader enabled
License Path
apache
APACHE_INCLUDE
APACHE_TARGET
Apache Version Apache/1.3.27
Apache Release 10327100
Apache API Version 19990320
Hostname:Port mysite.com:80
User/Group www(503)/503
Max Requests Per Child: 100 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 60 - Keep-Alive: 15
Server Root /etc/httpd
Loaded Modules mod_casp2, mod_php4, mod_setenvif, mod_imap, mod_auth, mod_access, mod_actions, mod_asis, mod_dir, mod_autoindex, mod_include, mod_status, mod_negotiation, mod_cgi, mod_mime, mod_log_config, mod_env, mod_frontpage, mod_rewrit, mod_so, mod_proxy, mod_alias, mod_userdir, http_core
Directive Local Value Master Value
child_terminate
0 0
engine
1 1
last_modified
0 0
xbithack
0 0
Apache Environment
Variable Value
DOCUMENT_ROOT /home/dhansen/mysite-www
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE en-us
HTTP_CONNECTION Keep-Alive
HTTP_COOKIE PHPSESSID=6f15253310005f8fc774d5b0397e03fc; PHPSESSID=6f15253310005f8fc774d5b0397e03fc; stals_session=6f15253310005f8fc774d5b0397e03fc
HTTP_HOST
http://www.mysite.com HTTP_IF_MODIFIED_SINCE Fri, 12 Dec 2003 14:36:33 GMT
HTTP_REFERER
http://www.mysite.com/demosite/modules/newbb/admin/index.php HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
PATH /usr/bin:/bin
REMOTE_ADDR 63.189.96.78
REMOTE_HOST sdn-ap-010ilchicp0078.dialsprint.net
REMOTE_PORT 1484
SCRIPT_FILENAME /home/dhansen/mysite-www/demosite/modules/system/admin.php
SERVER_ADDR 65.108.244.161
SERVER_ADMIN
webmaster@mysite.com SERVER_NAME mysite.com
SERVER_PORT 80
SERVER_SIGNATURE
SERVER_SOFTWARE Apache/1.3.27 (Unix) PHP/4.2.3 FrontPage/5.0.2.2510 Rewrit/1.1a
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /demosite/modules/system/admin.php
SCRIPT_NAME /demosite/modules/system/admin.php
HTTP Headers Information
HTTP Request Headers
HTTP Request GET /demosite/modules/system/admin.php HTTP/1.1
Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Encoding gzip, deflate
Accept-Language en-us
Connection Keep-Alive
Cookie PHPSESSID=6f15253310005f8fc774d5b0397e03fc; PHPSESSID=6f15253310005f8fc774d5b0397e03fc; stals_session=6f15253310005f8fc774d5b0397e03fc
Host
http://www.mysite.com If-Modified-Since Fri, 12 Dec 2003 14:36:33 GMT
Referer
http://www.mysite.com/demosite/modules/newbb/admin/index.php User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
HTTP Response Headers
X-Powered-By PHP/4.2.3
Keep-Alive timeout=15, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html
Additional Modules
mhash
dbase
Environment
Variable Value
PWD /home/root
HOSTNAME host13.avidhosting.com
MACHTYPE i386-redhat-linux-gnu
LOGNAME root
SHLVL 2
SHELL /bin/sh
HOSTTYPE i386
OSTYPE linux-gnu
HOME /root
TERM dumb
PATH /usr/bin:/bin
_ /etc/httpd/bin/httpd
PHP Variables
Variable Value
PHP_SELF /demosite/modules/system/admin.php
_COOKIE["PHPSESSID"] 6f15253310005f8fc774d5b0397e03fc
_COOKIE["stals_session"] 6f15253310005f8fc774d5b0397e03fc
_SERVER["DOCUMENT_ROOT"] /home/dhansen/mysite-www
_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["HTTP_COOKIE"] PHPSESSID=6f15253310005f8fc774d5b0397e03fc; PHPSESSID=6f15253310005f8fc774d5b0397e03fc; stals_session=6f15253310005f8fc774d5b0397e03fc
_SERVER["HTTP_HOST"]
http://www.mysite.com _SERVER["HTTP_IF_MODIFIED_SINCE"] Fri, 12 Dec 2003 14:36:33 GMT
_SERVER["HTTP_REFERER"]
http://www.mysite.com/demosite/modules/newbb/admin/index.php _SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
_SERVER["PATH"] /usr/bin:/bin
_SERVER["REMOTE_ADDR"] 63.189.96.78
_SERVER["REMOTE_HOST"] sdn-ap-010ilchicp0078.dialsprint.net
_SERVER["REMOTE_PORT"] 1484
_SERVER["SCRIPT_FILENAME"] /home/dhansen/mysite-www/demosite/modules/system/admin.php
_SERVER["SERVER_ADDR"] 65.108.244.161
_SERVER["SERVER_ADMIN"]
webmaster@mysite.com _SERVER["SERVER_NAME"] mysite.com
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_SIGNATURE"]
_SERVER["SERVER_SOFTWARE"] Apache/1.3.27 (Unix) PHP/4.2.3 FrontPage/5.0.2.2510 Rewrit/1.1a
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"]
_SERVER["REQUEST_URI"] /demosite/modules/system/admin.php
_SERVER["SCRIPT_NAME"] /demosite/modules/system/admin.php
_SERVER["PATH_TRANSLATED"] /home/dhansen/mysite-www/demosite/modules/system/admin.php
_SERVER["PHP_SELF"] /demosite/modules/system/admin.php
_SERVER["argv"] Array
(
)
_SERVER["argc"] 0
_ENV["PWD"] /home/root
_ENV["HOSTNAME"] host13.avidhosting.com
_ENV["MACHTYPE"] i386-redhat-linux-gnu
_ENV["LOGNAME"] root
_ENV["SHLVL"] 2
_ENV["SHELL"] /bin/sh
_ENV["HOSTTYPE"] i386
_ENV["OSTYPE"] linux-gnu
_ENV["HOME"] /root
_ENV["TERM"] dumb
_ENV["PATH"] /usr/bin:/bin
_ENV["_"] /etc/httpd/bin/httpd