Cakeday

Cakeday 3.6.14

No permission to download
Im getting this on XF 2.0.3 (firsttime install)

install_error.webp

After i did a second try, it passes :) So it was a onetime issue i guess.
 
Last edited:
Cakeday vr 3.6.14

First attempt to install this I got this error
Code:
CozWorld Gaming Community
XF\Db\Exception: MySQL query error [1366]: Incorrect string value: '\xF0\x9F\x8E\x82 \xF0...' for column 'phrase_text' at row 1 in src\XF\Db\AbstractStatement.php at line 212
XF\Db\AbstractStatement->getException() in src\XF\Db\Mysqli\Statement.php at line 196
XF\Db\Mysqli\Statement->getException() in src\XF\Db\Mysqli\Statement.php at line 77
XF\Db\Mysqli\Statement->execute() in src\XF\Db\AbstractAdapter.php at line 79
XF\Db\AbstractAdapter->query() in src\XF\Db\AbstractAdapter.php at line 160
XF\Db\AbstractAdapter->insert() in src\XF\Mvc\Entity\Entity.php at line 1389
XF\Mvc\Entity\Entity->_saveToSource() in src\XF\Mvc\Entity\Entity.php at line 1121
XF\Mvc\Entity\Entity->save() in src\XF\AddOn\DataType\Phrase.php at line 78
XF\AddOn\DataType\Phrase->importAddOnData() in src\XF\Job\AddOnData.php at line 108
XF\Job\AddOnData->run() in src\XF\Job\Manager.php at line 241
XF\Job\Manager->runJobInternal() in src\XF\Job\Manager.php at line 187
XF\Job\Manager->runJobEntry() in src\XF\Job\Manager.php at line 103
XF\Job\Manager->runByIds() in src\XF\Admin\Controller\Tools.php at line 120
XF\Admin\Controller\Tools->actionRunJob() in src\XF\Mvc\Dispatcher.php at line 249
XF\Mvc\Dispatcher->dispatchClass() in src\XF\Mvc\Dispatcher.php at line 88
XF\Mvc\Dispatcher->dispatchLoop() in src\XF\Mvc\Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src\XF\App.php at line 1891
XF\App->run() in src\XF.php at line 328
XF::runApp() in admin.php at line 13
 
@CoZmicShReddeR My first guess if that your xenforo database doesn't use a unicode character set.

Can you try creating a post on your installation with emoji characters and let me know if it manages to get saved and renders correctly afterwards?
An example input can be: 🎂🎂🎂🎂🎂🎂🎂🎂🎂🎂

More info.
 
Last edited:
I have the exact same issue on install as @Pur3x
Same here and I updated the config.php file as requested beforehand. I can't get it working.

I get this error:

XF\Db\Exception: MySQL query error [1366]: Incorrect string value: '\xF0\x9F\x8E\x82 \xF0...' for column 'phrase_text' at row 1 in src/XF/Db/AbstractStatement.php at line 212
  1. XF\Db\AbstractStatement->getException() insrc/XF/Db/Mysqli/Statement.php at line 196
  2. XF\Db\Mysqli\Statement->getException() insrc/XF/Db/Mysqli/Statement.php at line 78
  3. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.phpat line 79
  4. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 161
  5. XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line1389
  6. XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.phpat line 1121
  7. XF\Mvc\Entity\Entity->save() in src/XF/AddOn/DataType/Phrase.php at line 78
  8. XF\AddOn\DataType\Phrase->importAddOnData() insrc/XF/Job/AddOnData.php at line 108
  9. XF\Job\AddOnData->run() in src/XF/Job/Manager.php at line 241
  10. XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line187
  11. XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 103
  12. XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 120
  13. XF\Admin\Controller\Tools->actionRunJob() insrc/XF/Mvc/Dispatcher.php at line 249
  14. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line89
  15. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line41
  16. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1891
  17. XF\App->run() in src/XF.php at line 328
  18. XF::runApp() in admin.php at line 13
 
XF\Db\Exception: MySQL query error [1366]: Incorrect string value: '\xF0\x9F\x8E\x82 \xF0...' for column 'phrase_text' at row 1 in src/XF/Db/AbstractStatement.php at line 212
  1. XF\Db\AbstractStatement->getException() insrc/XF/Db/Mysqli/Statement.php at line 196
  2. XF\Db\Mysqli\Statement->getException() insrc/XF/Db/Mysqli/Statement.php at line 78
  3. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.phpat line 79
  4. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 161
  5. XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line1389
  6. XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.phpat line 1121
  7. XF\Mvc\Entity\Entity->save() in src/XF/AddOn/DataType/Phrase.php at line 78
  8. XF\AddOn\DataType\Phrase->importAddOnData() insrc/XF/Job/AddOnData.php at line 108
  9. XF\Job\AddOnData->run() in src/XF/Job/Manager.php at line 241
  10. XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line187
  11. XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 103
  12. XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 120
  13. XF\Admin\Controller\Tools->actionRunJob() insrc/XF/Mvc/Dispatcher.php at line 249
  14. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line89
  15. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line41
  16. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931
  17. XF\App->run() in src/XF.php at line 328
  18. XF::runApp() in admin.php at line 13

I get this, after adding
$config['fullUnicode'] = true;
 
somewhere in the files or database
I would prefer not to relax the emoji requirement in the upstream repository as I consider utfmb4 to be pretty standard nowadays, but I certainly appreciate anyone who would like to hack this open-source add-on for their own needs! Releasing derivatives is also explicitly permitted (but not required).

The important lines can be found highlighted in the 2 files below (there might be more):
./_data/phrases.xml (line 12) (remove the 🎂 🍰 🍫 🌮 🍦 🍬 🍭 🍾 string from the phrase)
./_data/options.xml (line 4) (do the same with \ud83c\udf70 which acts as the default value - you will need to manually define a Font Awesome icon in the add-on options afterwards through the admin panel, e.g. set it to fa-birthday-cake).

Screenshot from 2018-07-06 23-56-53.webp
 
How do i fix this or how to remove it
XF\Db\Exception: MySQL query error [1366]: Incorrect string value: '\xF0\x9F\x8E\x82 \xF0...' for column 'phrase_text' at row 1 in src/XF/Db/AbstractStatement.php at line 212
  1. XF\Db\AbstractStatement->getException() insrc/XF/Db/Mysqli/Statement.php at line 196
  2. XF\Db\Mysqli\Statement->getException() insrc/XF/Db/Mysqli/Statement.php at line 78
  3. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.phpat line 79
  4. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 161
  5. XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line1403
  6. XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.phpat line 1135
  7. XF\Mvc\Entity\Entity->save() in src/XF/AddOn/DataType/Phrase.php at line 78
  8. XF\AddOn\DataType\Phrase->importAddOnData() insrc/XF/Job/AddOnData.php at line 108
  9. XF\Job\AddOnData->run() in src/XF/Job/Manager.php at line 241
  10. XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line187
  11. XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 103
  12. XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 120
  13. XF\Admin\Controller\Tools->actionRunJob() insrc/XF/Mvc/Dispatcher.php at line 249
  14. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line89
  15. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line41
  16. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931
  17. XF\App->run() in src/XF.php at line 329
  18. XF::runApp() in admin.php at line 13
 
Last edited:
Back
Top Bottom