PDA

View Full Version : Getting a lot of wierd errors on every page... but everything still works!


ivj
14th March 2007, 04:13
I installed MyDNSConfig a while ago and it worked just fine for a couple of weeks, and I enjoyed it very much. But now all of a sudden I get a ton of errors like these:



Notice: Undefined property: app::$tpl in /usr/local/tomcat5/webapps/localhost/ROOT/myDnsConfig/lib/app.inc.php on line 61

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/local/tomcat5/webapps/localhost/ROOT/myDnsConfig/lib/classes/tpl.inc.php on line 451

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/local/tomcat5/webapps/localhost/ROOT/myDnsConfig/lib/classes/tpl.inc.php on line 461

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/local/tomcat5/webapps/localhost/ROOT/myDnsConfig/lib/classes/tpl.inc.php on line 471

Notice: Undefined index: template in /usr/local/tomcat5/webapps/localhost/ROOT/myDnsConfig/lib/classes/tpl_ini.inc.php on line 89

Notice: Undefined index: template in /usr/local/tomcat5/webapps/localhost/ROOT/myDnsConfig/lib/classes/tpl_ini.inc.php on line 89


On every single page (including the inside frame).

All functionality still works fine, but these errors are extremely annoying, I think they're theme-related. Any ideas?

till
14th March 2007, 09:21
Either you updated your PHP version or you set your PHP to a lower warning level.

Please set the warning level in PHP e.g. to error or error and warnings only and not to notice or enable call time pass references in your php.ini as described in the error messages.