undefined properties in db_mysql

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sxdotorg
    New Member
    • Jul 2002
    • 2

    undefined properties in db_mysql

    Trying to install lite (downloaded it yesterday) on a test system, and we get this in the apache error log:

    [error] PHP Warning: Undefined property: in /home/vbulletin/admin/db_mysql.php on line 99

    PHP Version 4.1.1



    System
    FreeBSD esg2dns.ptyesg2.com.au 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11 06:14:12 GMT 2002 [email][email protected][/email]:/usr/src/sys/compile/GENERIC i386


    Build Date
    Jun 18 2002


    Configure Command
    './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-mysql=/usr/local' '--with-openssl'


    Server API
    Apache


    Virtual Directory Support
    disabled


    Configuration File (php.ini) Path
    /usr/local/lib/php.ini


    ZEND_DEBUG
    disabled


    Thread Safety
    disabled



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




    PHP 4.0 Credits


    Configuration

    PHP Core


    Directive
    Local Value
    Master Value


    allow_call_time_pass_reference

    Off
    Off


    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

    Off
    Off


    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

    2047
    2047


    expose_php

    On
    On


    extension_dir

    ./
    ./


    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/local/lib/php
    .:/usr/local/lib/php


    log_errors

    On
    On


    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

    4096
    4096


    output_handler

    no value
    no value


    post_max_size

    8M
    8M


    precision

    14
    14


    register_argc_argv

    Off
    Off


    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][email protected][/email]
    [email][email protected][/email]


    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


    upload_max_filesize

    2M
    2M


    upload_tmp_dir

    no value
    no value


    user_dir

    no value
    no value


    variables_order

    GPCS
    GPCS


    xmlrpc_error_number

    0
    0


    xmlrpc_errors

    Off
    Off


    y2k_compliance

    Off
    Off


    xml


    XML Support
    active


    XML Namespace Support
    active


    EXPAT Version
    1.95.2


    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


    session.use_trans_sid

    1
    1


    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

    no value
    no value


    session.entropy_length

    0
    0


    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


    posix


    Revision
    $Revision: 1.33.2.1 $


    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.6a 5 Apr 2001


    mysql


    MySQL Support
    enabled


    Active Persistent Links
    1


    Active Links
    1


    Client API version
    3.23.49


    MYSQL_MODULE_TYPE
    external


    MYSQL_SOCKET
    /tmp/mysql.sock


    MYSQL_INCLUDE
    -I/usr/local/include/mysql


    MYSQL_LIBS
    -L/usr/local/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


    apache


    APACHE_INCLUDE



    APACHE_TARGET



    Apache Version
    Apache/1.3.22


    Apache Release
    10322100


    Apache API Version
    19990320


    Hostname:Port
    esg2dns.ptyesg2.com.au:80


    User/Group
    www(80)/2000


    Max Requests
    Per Child: 0 - Keep Alive: on - Max Per Connection: 100


    Timeouts
    Connection: 300 - Keep-Alive: 15


    Server Root
    /usr/local/apache


    Loaded Modules
    mod_php4, mod_frontpage, mod_setenvif, mod_so, mod_headers, mod_expires, mod_auth, mod_access, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_log_config, mod_env, 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/www/htdocs


    HTTP_ACCEPT
    text/*, image/jpeg, image/png, image/*, */*


    HTTP_ACCEPT_CHARSET
    ISO-8859-1


    HTTP_ACCEPT_ENCODING
    x-gzip, gzip, identity


    HTTP_ACCEPT_LANGUAGE
    en


    HTTP_CONNECTION
    Keep-Alive


    HTTP_HOST
    157.60.161.54


    HTTP_USER_AGENT
    Mozilla/5.0 (compatible; Konqueror/3.0.0; FreeBSD)


    HTTP_VIA
    1.1 RED-PRXY-27, 1.0 RED-PRXY-29


    PATH
    /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin


    REMOTE_ADDR
    157.54.14.90


    REMOTE_PORT
    40405


    SCRIPT_FILENAME
    /home/vbulletin/admin/test.php


    SERVER_ADDR
    157.60.161.54


    SERVER_ADMIN
    [email][email protected][/email]


    SERVER_NAME
    esg2dns.ptyesg2.com.au


    SERVER_PORT
    80


    SERVER_SIGNATURE
    <ADDRESS>Apache/1.3.26 Server at esg2dns.ptyesg2.com.au Port 80</ADDRESS>



    SERVER_SOFTWARE
    Apache/1.3.26 (Unix) PHP/4.1.1 FrontPage/5.0.2.2510


    GATEWAY_INTERFACE
    CGI/1.1


    SERVER_PROTOCOL
    HTTP/1.0


    REQUEST_METHOD
    GET


    QUERY_STRING



    REQUEST_URI
    /forum/admin/test.php


    SCRIPT_NAME
    /forum/admin/test.php


    HTTP Headers Information


    HTTP Request Headers


    HTTP Request
    GET /forum/admin/test.php HTTP/1.0


    Accept
    text/*, image/jpeg, image/png, image/*, */*


    Accept-Charset
    ISO-8859-1


    Accept-Encoding
    x-gzip, gzip, identity


    Accept-Language
    en


    Connection
    Keep-Alive


    Host
    157.60.161.54


    User-Agent
    Mozilla/5.0 (compatible; Konqueror/3.0.0; FreeBSD)


    Via
    1.1 RED-PRXY-27, 1.0 RED-PRXY-29


    HTTP Response Headers


    X-Powered-By
    PHP/4.1.1


    Connection
    close


    Content-Type
    text/html


    Additional Modules


    Environment


    Variable
    Value


    MACHTYPE
    i386


    USER
    chrismor


    MAIL
    /var/mail/chrismor


    SHLVL
    2


    VENDOR
    intel


    HOME
    /root


    PAGER
    more


    GROUP
    staff


    LOGNAME
    chrismor


    BLOCKSIZE
    K


    TERM
    vt220


    PATH
    /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin


    REMOTEHOST
    157.60.160.121


    HOST
    esg2dns.ptyesg2.com.au


    SHELL
    /bin/csh


    OSTYPE
    FreeBSD


    PWD
    /usr/local/src/apache_1.3.26


    FTP_PASSIVE_MODE
    YES


    HOSTTYPE
    FreeBSD


    EDITOR
    vi


    PHP Variables


    Variable
    Value


    _SERVER["DOCUMENT_ROOT"]
    /home/www/htdocs


    _SERVER["HTTP_ACCEPT"]
    text/*, image/jpeg, image/png, image/*, */*


    _SERVER["HTTP_ACCEPT_CHARSET"]
    ISO-8859-1


    _SERVER["HTTP_ACCEPT_ENCODING"]
    x-gzip, gzip, identity


    _SERVER["HTTP_ACCEPT_LANGUAGE"]
    en


    _SERVER["HTTP_CONNECTION"]
    Keep-Alive


    _SERVER["HTTP_HOST"]
    157.60.161.54


    _SERVER["HTTP_USER_AGENT"]
    Mozilla/5.0 (compatible; Konqueror/3.0.0; FreeBSD)


    _SERVER["HTTP_VIA"]
    1.1 RED-PRXY-27, 1.0 RED-PRXY-29


    _SERVER["PATH"]
    /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin


    _SERVER["REMOTE_ADDR"]
    157.54.14.90


    _SERVER["REMOTE_PORT"]
    40405


    _SERVER["SCRIPT_FILENAME"]
    /home/vbulletin/admin/test.php


    _SERVER["SERVER_ADDR"]
    157.60.161.54


    _SERVER["SERVER_ADMIN"]
    [email][email protected][/email]


    _SERVER["SERVER_NAME"]
    esg2dns.ptyesg2.com.au


    _SERVER["SERVER_PORT"]
    80


    _SERVER["SERVER_SIGNATURE"]
    <ADDRESS>Apache/1.3.26 Server at esg2dns.ptyesg2.com.au Port 80</ADDRESS>



    _SERVER["SERVER_SOFTWARE"]
    Apache/1.3.26 (Unix) PHP/4.1.1 FrontPage/5.0.2.2510


    _SERVER["GATEWAY_INTERFACE"]
    CGI/1.1


    _SERVER["SERVER_PROTOCOL"]
    HTTP/1.0


    _SERVER["REQUEST_METHOD"]
    GET


    _SERVER["QUERY_STRING"]



    _SERVER["REQUEST_URI"]
    /forum/admin/test.php


    _SERVER["SCRIPT_NAME"]
    /forum/admin/test.php


    _SERVER["PATH_TRANSLATED"]
    /home/vbulletin/admin/test.php


    _SERVER["PHP_SELF"]
    /forum/admin/test.php


    PHP License




    This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE

    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact [email][email protected][/email].
  • filburt1
    Senior Member
    • Feb 2002
    • 6606

    #2
    Only modify config.php, nothing else.
    --filburt1, vBulletin.org/vBulletinTemplates.com moderator
    Web Design Forums.net: vB Board of the Month
    vBulletin Mail System (vBMS): webmail for your forum users

    Comment

    • sxdotorg
      New Member
      • Jul 2002
      • 2

      #3
      Tried going back to vanilla code (and turning "Register Globals" On). No difference.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...