Sadiq6210
Licensed
Licensed
User Moods Manager
Required Custom Fields On Upgrade
Change Type Resource
- Joined
- Aug 26, 2019
- Messages
- 68
- Reaction score
- 29
Hello,
1. I tried to install the addon in our offline forum (for testing purposes), and I was unable to install it due to this error:

It says cannot find table xf_User, however, I entered the database and I can see the table !

2. Will XF1 mood disappeared from the legacy list after I install XF2 addon successfully? and what will happen to XF1 mood values/data in the database?

1. I tried to install the addon in our offline forum (for testing purposes), and I was unable to install it due to this error:

Code:
Server error log
XF\Db\Exception: Batch install error: MySQL statement prepare error [1146]: Table 'DB_NAME.xf_User' doesn't exist src/XF/Db/AbstractStatement.php:217
Generated by: 26 Sep 2019 at 7:43 AM
Stack trace
SELECT user_id,
username,
mood_id
FROM xf_User
------------
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL statement...', 1146, '42S02')
#1 src/XF/Db/Mysqli/Statement.php(39): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1146, '42S02')
#2 src/XF/Db/Mysqli/Statement.php(54): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(155): XF\Db\AbstractAdapter->query('
SE...', Array)
#5 src/addons/XenSoluce/UserMoodsManager/Setup.php(69): XF\Db\AbstractAdapter->fetchAll('
SE...')
#6 src/XF/AddOn/StepRunnerInstallTrait.php(60): XenSoluce\UserMoodsManager\Setup->installStep3(Array)
#7 src/XF/AddOn/StepRunnerInstallTrait.php(27): XenSoluce\UserMoodsManager\Setup->installStepRunner(3, Array)
#8 src/XF/Job/AddOnInstallBatch.php(289): XenSoluce\UserMoodsManager\Setup->install(Array)
#9 src/XF/Job/AddOnInstallBatch.php(86): XF\Job\AddOnInstallBatch->stepAction(Object(XF\Timer))
#10 src/XF/Job/Manager.php(253): XF\Job\AddOnInstallBatch->run(G)
#11 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#12 src/XF/Job/Manager.php(111): XF\Job\Manager->runJobEntry(Array, G)
#13 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
#14 src/XF/Mvc/Dispatcher.php(321): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#15 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#16 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#17 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#18 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#19 src/XF.php(390): XF\App->run()
#20 admin.php(13): XF::runApp('XF\\Admin\\App')
#21 {main}
Request state
array(4) {
["url"] => string(30) "/forum/admin.php?tools/run-job"
["referrer"] => string(52) "/forum/admin.php?tools/run-job"
["_GET"] => array(1) {
["tools/run-job"] => string(0) ""
}
It says cannot find table xf_User, however, I entered the database and I can see the table !

2. Will XF1 mood disappeared from the legacy list after I install XF2 addon successfully? and what will happen to XF1 mood values/data in the database?
