forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: Vorms on June 21, 2013, 11:35:58 pm
-
Hello,
After a correct install ans correct setup (write is possible to everywhere) I receive a lot of errors (many times the same) when I batch upload:
/include/inspekt/cage.php
Runtime Notice line 253: Non-static method Inspekt::getMatched() should not be called statically, assuming $this from incompatible context
Runtime Notice line 529: Non-static method Inspekt::isIp() should not be called statically, assuming $this from incompatible context
Runtime Notice line 236: Non-static method Inspekt::getEscaped() should not be called statically, assuming $this from incompatible context
/include/init.inc.php
Runtime Notice line 230: Non-static method CPGPluginAPI::load() should not be called statically
Runtime Notice line 435: Non-static method CPGPluginAPI::action() should not be called statically
/bridge/coppermine.inc.php
Runtime Notice line 36: Non-static method Inspekt::makeSuperCage() should not be called statically, assuming $this from incompatible context
Runtime Notice line 228: Non-static method Inspekt::makeSuperCage() should not be called statically, assuming $this from incompatible context
/include/functions.inc.php
Runtime Notice line 110: Non-static method Inspekt::makeSuperCage() should not be called statically
Runtime Notice line 773: Non-static method CPGPluginAPI::filter() should not be called statically
Runtime Notice line 816: Non-static method CPGPluginAPI::filter() should not be called statically
Runtime Notice line 821: Non-static method CPGPluginAPI::filter() should not be called statically
Runtime Notice line 822: Non-static method CPGPluginAPI::filter() should not be called statically
Runtime Notice line 6144: Non-static method Inspekt::makeSuperCage() should not be called statically
Runtime Notice line 6156: Non-static method CPGPluginAPI::filter() should not be called statically
Notice line 4314: Undefined variable: result
Runtime Notice line 4732: Non-static method CPGPluginAPI::filter() should not be called statically
/bridge/udb_base.inc.php
Deprecated line 353: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead.
/themes/curve/theme.php
Runtime Notice line 201: Non-static method CPGPluginAPI::filter() should not be called statically
Runtime Notice line 244: Non-static method CPGPluginAPI::filter() should not be called statically
/include/themes.inc.php
Runtime Notice line 177: Non-static method CPGPluginAPI::filter() should not be called statically
Runtime Notice line 214: Non-static method CPGPluginAPI::filter() should not be called statically
Runtime Notice line 2463: Non-static method CPGPluginAPI::filter() should not be called statically
Runtime Notice line 1723: Non-static method CPGPluginAPI::filter() should not be called statically
Runtime Notice line 2486: Non-static method Inspekt::makeSuperCage() should not be called statically
Runtime Notice line 1578: Non-static method CPGPluginAPI::filter() should not be called statically
I already edited the php.ini for errors handling and activate of corse error reporting in Coppermine config.
Many thanks for your help, it's a funny software !
Best regards
Thierry Vorms
-
Actually those are warnings, no errors. However, to fix it please read at least one of the following posts:
- http://forum.coppermine-gallery.net/index.php/topic,69667.msg343844.html#msg343844
- http://forum.coppermine-gallery.net/index.php/topic,75836.msg365730.html#msg365730
- http://forum.coppermine-gallery.net/index.php/topic,69667.msg369078.html#msg369078
Depending on your PHP version either solution 1 or 2 will work. Solution 3 should always work.