Okay, so I've recently had problems trying to upload files to my gallery. I've tested both front-end and FTP.
I've also checked my permissions.
I think I know the problem, although I don't know how to solve:
1. BEFORE I try to upload, this is the debug code. Is any of this problematic?
/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
Runtime Notice line 236: Non-static method Inspekt::getEscaped() should not be called statically, assuming $this from incompatible context
Runtime Notice line 140: Non-static method Inspekt::getAlnum() should not be called statically, assuming $this from incompatible context
/include/functions.inc.php
Deprecated line 183: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
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 6157: Non-static method CPGPluginAPI::filter() should not be called statically
Runtime Notice line 6157: Non-static method CPGPluginAPI::filter() should not be called statically
/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
/include/plugin_api.inc.php
Runtime Notice line 86: Non-static method CPGPluginAPI::action() should not be called statically
Runtime Notice line 86: Non-static method CPGPluginAPI::action() should not be called statically
Runtime Notice line 86: Non-static method CPGPluginAPI::action() should not be called statically
Runtime Notice line 86: Non-static method CPGPluginAPI::action() should not be called statically
Runtime Notice line 86: Non-static method CPGPluginAPI::action() should not be called statically
Runtime Notice line 86: Non-static method CPGPluginAPI::action() should not be called statically
Runtime Notice line 86: Non-static method CPGPluginAPI::action() should not be called statically
Runtime Notice line 86: Non-static method CPGPluginAPI::action() should not be called statically
/bridge/udb_base.inc.php
Notice line 153: Undefined property: cpg_udb::$multigroups
Deprecated line 353: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead.
/include/themes.inc.php
Runtime Notice line 153: Non-static method CPGPluginAPI::filter() should not be called statically
Runtime Notice line 190: Non-static method CPGPluginAPI::filter() should not be called statically
Runtime Notice line 2439: Non-static method CPGPluginAPI::filter() should not be called statically
Runtime Notice line 1699: Non-static method CPGPluginAPI::filter() should not be called statically
Runtime Notice line 1554: Non-static method CPGPluginAPI::filter() should not be called statically
/upload.php
Runtime Notice line 42: Non-static method CPGPluginAPI::filter() should not be called statically
Runtime Notice line 565: Non-static method CPGPluginAPI::action() should not be called statically
2. AFTER I try to upload, I get the following "Critical Error: There was an error while processing a database query."
See screenshot.
While executing query 'INSERT INTO cpg15x_pictures (aid, filepath, filename, filesize, total_filesize, pwidth, pheight, ctime, owner_id, title, caption, keywords, approved, user1, user2, user3, user4, pic_raw_ip, pic_hdr_ip, position, guest_token) VALUES ('164', 'userpics/10001/', '07cbffb5dc37a41ccf809106d709af8e~1.jpg', '180302', '207152', '736', '1274', '1419794406', '1', 'Test', 'lorem ipsum', '', 'YES', '', '', '', '', '66.199.97.115', '66.199.97.115', '0', '')' in include/picmgmt.inc.php on line 173
mySQL error: Incorrect datetime value: '0000-00-00 00:00:00' for column 'mtime' at row 1