I'm trying to get API token in Account page but there is an error.
Database query failed. Error received from database was #1146: Table 'exampledb.mantis_api_token_table' doesn't exist for the query: SELECT * FROM mantis_api_token_table WHERE user_id=? ORDER BY date_used DESC, date_created ASC.
What could be the issue?
Table 'exampledb.mantis_api_token_table' doesn't exist
Moderators: Developer, Contributor
-
- Posts: 3
- Joined: 14 Jun 2019, 06:39
-
- Posts: 3
- Joined: 14 Jun 2019, 06:39
Re: Table 'exampledb.mantis_api_token_table' doesn't exist
Version is 2.13.0. It was upgraded from version 1.2.
Re: Table 'exampledb.mantis_api_token_table' doesn't exist
There is hardly anything more to say than what the error message is telling.
The database mantis_api_token_table does not exist.
This table should have been generated when running the upgrade script.
It seems you did not run the upgrade script, or you got errors when running the script, but ignored the errors.
The database mantis_api_token_table does not exist.
This table should have been generated when running the upgrade script.
It seems you did not run the upgrade script, or you got errors when running the script, but ignored the errors.
-
- Posts: 3
- Joined: 14 Jun 2019, 06:39
Re: Table 'exampledb.mantis_api_token_table' doesn't exist
Is there any way we can fix this?
Re: Table 'exampledb.mantis_api_token_table' doesn't exist
What's the result of this database select?
Code: Select all
SELECT value FROM mantis_config_table WHERE config_id = 'database_version';