Beim erstellen einer News nach dem Absenden steht im Feld "Einleitungstext" O (null) Zeichen erlaubt. Die Vorschau im ACP steht auf 100
Habe im ACP dann 250 Zeichen eingestellt und versucht den News zu erstellen. Beim Absenden kam das:
Code
System Information
PHP Version: 7.0.15
WoltLab Suite Core: 3.0.3
Peak Memory Usage: 6.08/256 MiB
Request URI: /news/news-edit/10/
Referrer: https://www.rc-freaks.eu/news/news-edit/10-gens-ace-2200mah-22-2v-45c-6s1p-lipo-battery-pack/
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0
Final Error
Error Type: wcf\system\database\exception\DatabaseQueryExecutionException
Error Message: Could not execute statement 'INSERT INTO news1_news_source(newsID, sourceSubject, sourceUrl) VALUES(?,?,?)'
Error Code: 22001
File: */lib/system/database/statement/PreparedStatement.class.php (105)
Query Parameter 1: 10
Query Parameter 2: Gens Ace
Query Parameter 3: http://www.gensace.de/gens-ace-2200mah-22-2v-25c-6s1p-lipo-battery-pack-1265.html?utm_source=Genspow+Customer&utm_campaign=be0c1f2d27-March_New_Product_Recomendation_2017_03_06&utm_medium=email&utm_term=0_df85023baf-be0c1f2d27-60846723&ct=t(March_New_Product_Recomendation3_6_2017)&mc_cid=be0c1f2d27&mc_eid=384ba25d89
Stack Trace:
#0 */news/lib/data/news/NewsAction.class.php (573):
wcf\system\database\statement\PreparedStatement->execute([ 0 => , 1 => , 2 => ])
#1 */news/lib/data/news/NewsAction.class.php (428):
news\data\news\NewsAction->addSources(10, [ 0 => ])
#2 */../../../../../../[internal function] (?):
news\data\news\NewsAction->update()
#3 */lib/data/AbstractDatabaseObjectAction.class.php (204):
call_user_func([ 0 => , 1 => ])
#4 */news/lib/form/NewsEditForm.class.php (249):
wcf\data\AbstractDatabaseObjectAction->executeAction()
#5 */lib/form/AbstractForm.class.php (61):
news\form\NewsEditForm->save()
#6 */lib/form/AbstractForm.class.php (112):
wcf\form\AbstractForm->submit()
#7 */lib/form/AbstractCaptchaForm.class.php (67):
wcf\form\AbstractForm->readData()
#8 */news/lib/form/NewsEditForm.class.php (91):
wcf\form\AbstractCaptchaForm->readData()
#9 */lib/page/AbstractPage.class.php (274):
news\form\NewsEditForm->readData()
#10 */lib/page/AbstractPage.class.php (103):
wcf\page\AbstractPage->show()
#11 */lib/system/request/Request.class.php (83):
wcf\page\AbstractPage->__run()
#12 */lib/system/request/RequestHandler.class.php (94):
wcf\system\request\Request->execute()
#13 */news/index.php (10):
wcf\system\request\RequestHandler->handle('news')
Original Error
Error Type: PDOException
Error Message: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'sourceUrl' at row 1
Error Code: 22001
File: */lib/system/database/statement/PreparedStatement.class.php (93)
Stack Trace:
#0 */lib/system/database/statement/PreparedStatement.class.php (93):
PDOStatement->execute([ 0 => , 1 => , 2 => ])
#1 */news/lib/data/news/NewsAction.class.php (573):
wcf\system\database\statement\PreparedStatement->execute([ 0 => , 1 => , 2 => ])
#2 */news/lib/data/news/NewsAction.class.php (428):
news\data\news\NewsAction->addSources(10, [ 0 => ])
#3 */../../../../../../[internal function] (?):
news\data\news\NewsAction->update()
#4 */lib/data/AbstractDatabaseObjectAction.class.php (204):
call_user_func([ 0 => , 1 => ])
#5 */news/lib/form/NewsEditForm.class.php (249):
wcf\data\AbstractDatabaseObjectAction->executeAction()
#6 */lib/form/AbstractForm.class.php (61):
news\form\NewsEditForm->save()
#7 */lib/form/AbstractForm.class.php (112):
wcf\form\AbstractForm->submit()
#8 */lib/form/AbstractCaptchaForm.class.php (67):
wcf\form\AbstractForm->readData()
#9 */news/lib/form/NewsEditForm.class.php (91):
wcf\form\AbstractCaptchaForm->readData()
#10 */lib/page/AbstractPage.class.php (274):
news\form\NewsEditForm->readData()
#11 */lib/page/AbstractPage.class.php (103):
wcf\page\AbstractPage->show()
#12 */lib/system/request/Request.class.php (83):
wcf\page\AbstractPage->__run()
#13 */lib/system/request/RequestHandler.class.php (94):
wcf\system\request\Request->execute()
#14 */news/index.php (10):
wcf\system\request\RequestHandler->handle('news')
Alles anzeigen
Der News wurde aber erstellt.