Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Cyrillic in news/pages #193

Open
Nostrum opened this issue Jan 23, 2020 · 1 comment
Open

[BUG] Cyrillic in news/pages #193

Nostrum opened this issue Jan 23, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@Nostrum
Copy link

Nostrum commented Jan 23, 2020

When I try to create an article or page with Cyrillic characters in title I get an error and the article is not created. Logs is down here

2020-01-23 15:24:20 Error: [PDOException] SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\xD0\xA2\xD0\xB5\xD1\x81...' for column db.news.titleat row 1 Request URL: /admin/news/add_ajax Stack Trace: #0 /home/l/linux/localhost/public_html/lib/Cake/Model/Datasource/DboSource.php(458): PDOStatement->execute(Array) #1 /home/l/linux/localhost/public_html/lib/Cake/Model/Datasource/DboSource.php(424): DboSource->_execute('INSERT INTOs1...', Array)
#2 /home/l/linux/localhost/public_html/lib/Cake/Model/Datasource/DboSource.php(1012): DboSource->execute('INSERT INTO s1...') #3 /home/l/linux/localhost/public_html/lib/Cake/Model/Model.php(1851): DboSource->create(Object(News), Array, Array) #4 /home/l/linux/localhost/public_html/app/Controller/NewsController.php(264): Model->save() #5 [internal function]: NewsController->admin_add_ajax() #6 /home/l/linux/localhost/public_html/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(NewsController), Array) #7 /home/l/linux/localhost/public_html/lib/Cake/Routing/Dispatcher.php(191): Controller->invokeAction(Object(CakeRequest)) #8 /home/l/linux/localhost/public_html/lib/Cake/Routing/Dispatcher.php(165): Dispatcher->_invoke(Object(NewsController), Object(CakeRequest)) #9 /home/l/linux/localhost/public_html/app/webroot/index.php(114): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse)) #10 {main}

@Nostrum Nostrum added the bug Something isn't working label Jan 23, 2020
@Nostrum
Copy link
Author

Nostrum commented Jan 23, 2020

Same thing i got in comments to news

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant