Craft CMS Asked on June 13, 2021
I got given a db dump using Craft 3.5.16. After installing all the dependencies using composer and npm I can login to the admin section.
However, I do not see any entries or any files in the admin section. In the frontend, I can only see the basic skeleton of the website including the footer and the correct CSS but no content. All links in the footer redirect to the live website though they should go to local pages.
The DEFAULT_SITE_URL
is set in .env, pointing to the right local URL. There are no errors in the logs either.
Any clue what could be going on would be much appreciated! 🙂
I might be wrong on this but...
After running composer, did you have to go through an install process? If so, the DB/site you were given might have been configured to use a database table prefix.
If you look in your database, do you see some tables call assets
then a second one called xxx_assets
(xxx_
could be anything)?
If so, in your .env
file, make sure have DB_TABLE_PREFIX=
set to whatever prefix (the xxx_
part) you are seeing on your tables.
Answered by Oli on June 13, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP