Bug

UNHANDLED ERROR: Call-time pass-by-reference has been deprecated/#8394

Summary

open
Dec 14, 2009
Dec 14, 2009 / guest
Feb 8, 2010 / lcgs13
pixtur
 

Attached files

 
The error says: UNHANDLED ERROR: Call-time pass-by-reference has been deprecated


It's always the same error, so I only give you a pice of the log...

from errors.log.php

Error 20091214185934 UNHANDLED ERROR: db\class_fields.inc.php : 152 Call-time pass-by-reference has been deprecated
Error 20091214185934            db\db_item.inc.php :   5 -> require_once()
Error 20091214185934                     index.php : 112 -> require_once("C:\wamp\www\streber\db\db_item")
Error 20091214185934 
Error 20091214185934      Variables in require_once():
Error 20091214185934                       GLOBALS = Array
Error 20091214185934                         _POST = NULL
Error 20091214185934                          _GET = NULL
Error 20091214185934                       _COOKIE = NULL
Error 20091214185934                        _FILES = NULL
Error 20091214185934                      _REQUEST = NULL
Error 20091214185934                    TIME_START = 1260817174.8367
Error 20091214185934               DB_ITEMS_LOADED = NULL
Error 20091214185934         g_count_db_statements = NULL
Error 20091214185934                       _SERVER = Array
Error 20091214185934                  php_errormsg = Call-time pass-by-reference has been deprecated
Error 20091214185934                g_request_vars = NULL
Error 20091214185934                g_tags_removed = NULL
Error 20091214185934                        g_lang = en
Error 20091214185934                  g_error_list = Array
Error 20091214185934            COMMENTTYPE_VALUES = Array
Error 20091214185934             COMMENTTYPE_NAMES = Array
Error 20091214185934          g_security_questions = Array
Error 20091214185934                  g_time_zones = Array
Error 20091214185934                g_wiki_project = NULL
Error 20091214185934                      g_config = Array
Error 20091214185934                           url = localhost/streber/index.php
Error 20091214185934                      g_themes = Array
Error 20091214185934                 g_theme_names = Array
Error 20091214185934               g_user_profiles = Array
Error 20091214185934                   g_languages = Array
Error 20091214185934              g_language_names = Array
Error 20091214185934                       db_type = mysql
Error 20091214185934                          auth = OBJECT
Error 20091214185934                            PH = NULL
Error 20091214185934    v0.0912, from 127.0.0.1,  uri:/streber/index.php
Error 20091214185934 

Issue report

Minor
Always
Apache/2.2.13 Server, PHP5.3
0.0902
Do a clean install of streber-pm 0.0902 and you will se a nice little red box of errors, down right.
Would be nice having no errors...
 

4 Comments

guest:Wrong version in bug-repport

3 months ago - visible as suggested - Delete

Sorry, version was supposed to say 0.0912...

pixtur:

3 months ago

thanks for reporting. I will try to reproduce it. What's your PHP version. Can you attach you php.ini?

chfr:

3 months ago

My version of php is PHP 5.3.0

php.ini attached

lcgs13:

34 days ago

To remove this from the screen go to streber/conf/conf.inc.php to see what are the possible settings for the displaying of errors:
  • List occured errors in footer to non-admin-users. Details are always written to 'errors.log'
*
  • - NONE - don't output anything
  • - LIST - list messages only (default)
  • - DETAILS - also show file / line-number
*/
    'DISPLAY_ERROR_LIST' =>'LIST',

Now go to the streber/customize.inc.php to change the settings to the value you wish:

confChange('DISPLAY_ERROR_LIST', 'NONE');

That's it!