• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Fixed RMS 2.3.6 fresh installation fails on MySQL 8.4 — error 1101

VMgrid

New Member
AMS Premium
IMS Premium
GS Premium
RMS Premium
SC Premium
RMS Version
2.3.6
XenForo Version
2.3.13
PHP Version
8.4
Database & Version
MySQL 8.4
Are there any errors being throw?
Yes
Hi, Bob!

I am trying to install RMS 2.3.6 on a clean XenForo installation and have an error. So, try to understand with AI and get some explanation..

Installation fails during installStep1() when creating the xf_xa_rms_vendor table:

XF\Db\InvalidQueryException:
xf_xa_rms_vendor: MySQL statement prepare error [1101]:
BLOB, TEXT, GEOMETRY or JSON column 'vendor_dashboard_url'
can't have a default value
In src/addons/XenAddons/RMS/Install/Data/MySql.php, both URL columns are defined as:

$table->addColumn('vendor_dashboard_url', 'text')->setDefault('');
$table->addColumn('vendor_website_url', 'text')->setDefault('');

The initial vendor INSERT/REPLACE statement in getData() also omits these two columns, so removing their defaults may require adjusting the seed data as well.

XenForo_test​

XF\Db\InvalidQueryException: xf_xa_rms_vendor: MySQL statement prepare error [1101]: BLOB, TEXT, GEOMETRY or JSON column 'vendor_dashboard_url' can't have a default value in src/XF/Db/AbstractStatement.php at line 225
  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 207
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 43
  3. XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 61
  4. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
  5. XF\Db\AbstractAdapter->query() in src/XF/Db/Schema/AbstractDdl.php at line 158
  6. XF\Db\Schema\AbstractDdl->apply() in src/XF/Db/SchemaManager.php at line 194
  7. XF\Db\SchemaManager->createTable() in src/addons/XenAddons/RMS/Setup.php at line 33
  8. XenAddons\RMS\Setup->installStep1() in src/XF/AddOn/StepRunnerInstallTrait.php at line 62
  9. XenAddons\RMS\Setup->installStepRunner() in src/XF/AddOn/StepRunnerInstallTrait.php at line 29
  10. XenAddons\RMS\Setup->install() in src/XF/Admin/Controller/AddOnController.php at line 431
  11. XF\Admin\Controller\AddOnController->actionInstall() in src/XF/Mvc/Dispatcher.php at line 364
  12. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 266
  13. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
  14. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
  15. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2840
  16. XF\App->run() in src/XF.php at line 850
  17. XF::runApp() in admin.php at line 15

Could you please have look at this.

By the way, AMS, IMS and SC are fine and installed normally.

Thank you.
 
Back
Top