Danke, das hat schon mal geklappt, dennoch erhalte ich noch eine Fehlermeldung, wenn ich versuche, ein Bild hochzuladen:
Thu, 10 Aug 2017 12:10:02 +0000
Message: Could not execute statement 'INSERT INTO wcf1_user_banner
(uploadTime,userID,filename,fileExtension,fileType,fileHash,textColor,bgColor,borderColor,linkColor,positionY)
VALUES (?,?,?,?,?,?,?,?,?,?,?)'
PHP version: 7.1.5
WoltLab Suite version: 3.0.8
Request URI: /index.php?ajax-upload/&t=109461b5cdbfee986c197251e2ea42df0bd60d2c
Referrer: http://localhost/index.php?profile-banner/
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
Peak Memory Usage: 3280976/536870912
======
Error Class: wcf\system\database\exception\DatabaseQueryExecutionException
Error Message: Could not execute statement 'INSERT INTO wcf1_user_banner
(uploadTime,userID,filename,fileExtension,fileType,fileHash,textColor,bgColor,borderColor,linkColor,positionY)
VALUES (?,?,?,?,?,?,?,?,?,?,?)'
Error Code: 22001
File: C:\MAMP\htdocs\lib\system\database\statement\PreparedStatement.class.php (105)
Extra Information: YToxMTp7aTowO2E6Mjp7aTowO3M6MTc6IlF1ZXJ5IFBhcmFtZXRlciAxIjtpOjE7aToxNTAyMzY3MDAyO31pOjE7YToyOntpOjA7czoxNzoiUXVlcnkgUGFyYW1ldGVyIDIiO2k6MTtpOjE7fWk6MjthOjI6e2k6MDtzOjE3OiJRdWVyeSBQYXJhbWV0ZXIgMyI7aToxO3M6MTI6IkhOQ0s3Nzk5LmpwZyI7fWk6MzthOjI6e2k6MDtzOjE3OiJRdWVyeSBQYXJhbWV0ZXIgNCI7aToxO3M6MzoianBnIjt9aTo0O2E6Mjp7aTowO3M6MTc6IlF1ZXJ5IFBhcmFtZXRlciA1IjtpOjE7czoyNDoiYXBwbGljYXRpb24vb2N0ZXQtc3RyZWFtIjt9aTo1O2E6Mjp7aTowO3M6MTc6IlF1ZXJ5IFBhcmFtZXRlciA2IjtpOjE7czo0MDoiNzM1NDUwMDcwZDA3NjEyOTU0NzhhMDIwMDE2NDBmMjBhMDY3MjkyMyI7fWk6NjthOjI6e2k6MDtzOjE3OiJRdWVyeSBQYXJhbWV0ZXIgNyI7aToxO3M6MTY6InJnYigyNTUsMjU1LDI1NSkiO31pOjc7YToyOntpOjA7czoxNzoiUXVlcnkgUGFyYW1ldGVyIDgiO2k6MTtzOjEwOiJyZ2IoMCwwLDApIjt9aTo4O2E6Mjp7aTowO3M6MTc6IlF1ZXJ5IFBhcmFtZXRlciA5IjtpOjE7czoxMDoicmdiKDAsMCwwKSI7fWk6OTthOjI6e2k6MDtzOjE4OiJRdWVyeSBQYXJhbWV0ZXIgMTAiO2k6MTtzOjE3OiJyZ2JhKDI1NSwyNTUsMjU1KSI7fWk6MTA7YToyOntpOjA7czoxODoiUXVlcnkgUGFyYW1ldGVyIDExIjtpOjE7czoxOiIwIjt9fQ==
Stack Trace: [{"file":"C:\\MAMP\\htdocs\\lib\\data\\DatabaseObjectEditor.class.php","line":36,"function":"execute","class":"wcf\\system\\database\\statement\\PreparedStatement","type":"->","args":[["[redacted]","[redacted]","[redacted]","[redacted]","[redacted]","[redacted]","[redacted]","[redacted]","[redacted]","[redacted]","[redacted]"]]},{"file":"C:\\MAMP\\htdocs\\lib\\data\\style\\user\\image\\UserBannerEditor.class.php","line":38,"function":"create","class":"wcf\\data\\DatabaseObjectEditor","type":"::","args":[{"uploadTime":"[redacted]","userID":"[redacted]","filename":"[redacted]","fileExtension":"[redacted]","fileType":"[redacted]","fileHash":"[redacted]","textColor":"[redacted]","bgColor":"[redacted]","borderColor":"[redacted]","linkColor":"[redacted]","positionY":"[redacted]"}]},{"file":"C:\\MAMP\\htdocs\\lib\\data\\style\\user\\image\\UserBannerAction.class.php","line":68,"function":"create","class":"wcf\\data\\style\\user\\image\\UserBannerEditor","type":"::","args":[{"uploadTime":"[redacted]","userID":"[redacted]","filename":"[redacted]","fileExtension":"[redacted]","fileType":"[redacted]","fileHash":"[redacted]","textColor":"[redacted]","bgColor":"[redacted]","borderColor":"[redacted]","linkColor":"[redacted]","positionY":"[redacted]"}]},{"function":"upload","class":"wcf\\data\\style\\user\\image\\UserBannerAction","type":"->","args":[],"file":"[internal function]","line":"?"},{"file":"C:\\MAMP\\htdocs\\lib\\data\\AbstractDatabaseObjectAction.class.php","line":204,"function":"call_user_func","args":[["[redacted]","[redacted]"]],"class":"","type":""},{"file":"C:\\MAMP\\htdocs\\lib\\action\\AJAXProxyAction.class.php","line":74,"function":"executeAction","class":"wcf\\data\\AbstractDatabaseObjectAction","type":"->","args":[]},{"file":"C:\\MAMP\\htdocs\\lib\\action\\AJAXInvokeAction.class.php","line":104,"function":"invoke","class":"wcf\\action\\AJAXProxyAction","type":"->","args":[]},{"file":"C:\\MAMP\\htdocs\\lib\\action\\AbstractAction.class.php","line":47,"function":"execute","class":"wcf\\action\\AJAXInvokeAction","type":"->","args":[]},{"file":"C:\\MAMP\\htdocs\\lib\\action\\AJAXInvokeAction.class.php","line":63,"function":"__run","class":"wcf\\action\\AbstractAction","type":"->","args":[]},{"file":"C:\\MAMP\\htdocs\\lib\\system\\request\\Request.class.php","line":83,"function":"__run","class":"wcf\\action\\AJAXInvokeAction","type":"->","args":[]},{"file":"C:\\MAMP\\htdocs\\lib\\system\\request\\RequestHandler.class.php","line":94,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"C:\\MAMP\\htdocs\\index.php","line":9,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wcf"]}]
======
Error Class: PDOException
Error Message: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'fileType' at row 1
Error Code: 22001
File: C:\MAMP\htdocs\lib\system\database\statement\PreparedStatement.class.php (93)
Extra Information: -
Stack Trace: [{"file":"C:\\MAMP\\htdocs\\lib\\system\\database\\statement\\PreparedStatement.class.php","line":93,"function":"execute","class":"PDOStatement","type":"->","args":[["[redacted]","[redacted]","[redacted]","[redacted]","[redacted]","[redacted]","[redacted]","[redacted]","[redacted]","[redacted]","[redacted]"]]},{"file":"C:\\MAMP\\htdocs\\lib\\data\\DatabaseObjectEditor.class.php","line":36,"function":"execute","class":"wcf\\system\\database\\statement\\PreparedStatement","type":"->","args":[["[redacted]","[redacted]","[redacted]","[redacted]","[redacted]","[redacted]","[redacted]","[redacted]","[redacted]","[redacted]","[redacted]"]]},{"file":"C:\\MAMP\\htdocs\\lib\\data\\style\\user\\image\\UserBannerEditor.class.php","line":38,"function":"create","class":"wcf\\data\\DatabaseObjectEditor","type":"::","args":[{"uploadTime":"[redacted]","userID":"[redacted]","filename":"[redacted]","fileExtension":"[redacted]","fileType":"[redacted]","fileHash":"[redacted]","textColor":"[redacted]","bgColor":"[redacted]","borderColor":"[redacted]","linkColor":"[redacted]","positionY":"[redacted]"}]},{"file":"C:\\MAMP\\htdocs\\lib\\data\\style\\user\\image\\UserBannerAction.class.php","line":68,"function":"create","class":"wcf\\data\\style\\user\\image\\UserBannerEditor","type":"::","args":[{"uploadTime":"[redacted]","userID":"[redacted]","filename":"[redacted]","fileExtension":"[redacted]","fileType":"[redacted]","fileHash":"[redacted]","textColor":"[redacted]","bgColor":"[redacted]","borderColor":"[redacted]","linkColor":"[redacted]","positionY":"[redacted]"}]},{"function":"upload","class":"wcf\\data\\style\\user\\image\\UserBannerAction","type":"->","args":[],"file":"[internal function]","line":"?"},{"file":"C:\\MAMP\\htdocs\\lib\\data\\AbstractDatabaseObjectAction.class.php","line":204,"function":"call_user_func","args":[["[redacted]","[redacted]"]],"class":"","type":""},{"file":"C:\\MAMP\\htdocs\\lib\\action\\AJAXProxyAction.class.php","line":74,"function":"executeAction","class":"wcf\\data\\AbstractDatabaseObjectAction","type":"->","args":[]},{"file":"C:\\MAMP\\htdocs\\lib\\action\\AJAXInvokeAction.class.php","line":104,"function":"invoke","class":"wcf\\action\\AJAXProxyAction","type":"->","args":[]},{"file":"C:\\MAMP\\htdocs\\lib\\action\\AbstractAction.class.php","line":47,"function":"execute","class":"wcf\\action\\AJAXInvokeAction","type":"->","args":[]},{"file":"C:\\MAMP\\htdocs\\lib\\action\\AJAXInvokeAction.class.php","line":63,"function":"__run","class":"wcf\\action\\AbstractAction","type":"->","args":[]},{"file":"C:\\MAMP\\htdocs\\lib\\system\\request\\Request.class.php","line":83,"function":"__run","class":"wcf\\action\\AJAXInvokeAction","type":"->","args":[]},{"file":"C:\\MAMP\\htdocs\\lib\\system\\request\\RequestHandler.class.php","line":94,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"C:\\MAMP\\htdocs\\index.php","line":9,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wcf"]}]
Alles anzeigen