[RELEASE] buggalo - automatic exception collector
#44
I had this error when I browsed to the submit.php page:

Strict Standards: Non-static method mysql_connection::get_instance() should not be called statically in /home/xxx/public_html/buggalo/config.php on line 9

The problem was the following

This code (in config.php):
Code:
    new mysql_connection('database', 'localhost', 'username', 'password');
    $conn = &mysql_connection::get_instance();
    $conn->open();

has to be changed to:

Code:
    $conn = new mysql_connection('database', 'localhost', 'username', 'password');
    $conn->get_instance();
    $conn->open();
Reply


Messages In This Thread
passing in variables? - by Bstrdsmkr - 2012-02-18, 03:30
[No subject] - by twinther - 2012-02-18, 12:56
[No subject] - by Martijn - 2012-02-18, 13:20
[No subject] - by Bstrdsmkr - 2012-02-19, 06:10
[No subject] - by Martijn - 2012-02-20, 19:09
[No subject] - by bossanova808 - 2012-02-21, 07:09
[No subject] - by twinther - 2012-02-21, 18:09
[No subject] - by twinther - 2012-02-21, 20:55
[No subject] - by twinther - 2012-02-26, 10:14
RE: [RELEASE] buggalo - automatic exception collector - by MisterX - 2013-10-03, 14:39
Logout Mark Read Team Forum Stats Members Help
[RELEASE] buggalo - automatic exception collector3