- Issue created by @effortDee
- π¬π§United Kingdom effortDee
Hi @cilefen
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'feafccef_drup863.drcu_media' doesn't exist: SELECT "base_table"."vid" AS "vid", "base_table"."mid" AS "mid" FROM "drcu_media" "base_table" GROUP BY "base_table"."vid", "base_table"."mid" LIMIT 1 OFFSET 0; Array ( ) in Drupal\Core\Entity\Query\Sql\Query->result() (line 272 of /home/feafccef/public_html/dev/website.co/core/lib/Drupal/Core/Entity/Query/Sql/Query.php).
I get this if I go to the uninstall module page and its a white screen wit the following message.
The website encountered an unexpected error. Try again later.
I forgot to add this is a brand new Drupal 10.3 install and no other issues the past few days working on the site.
What does "drcu" mean on that site? That isn't part of Drupal core.
Is every table in the site prefixed with
drcu_
?mid
andvid
are well-known columns in what is normally called themedia
table. That site could be table-prefixing, which should not be a problem on its own. However it points to needing some more steps to reproduce. The table wasn't created as expected obviously.- π¬π§United Kingdom effortDee
So I used Softaculous to install the new Drupal site and it seems that it is adding table prefixes.
These table prefixes have been added like this in previous website builds i've done with no issue for media library or module but here it is....
I have removed and re-installed a fresh D10.3 and installed media module with no issues now.
- Status changed to Closed: cannot reproduce
10 months ago 11:45am 8 July 2024