<p>I might be wrong on this but...</p>
<p>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.</p>
<p>If you look in your database, do you see some tables call <code>assets</code> then a second one called <code>xxx_assets</code> (<code>xxx_</code> could be anything)?</p>
<p>If so, in your <code>.env</code> file, make sure have <code>DB_TABLE_PREFIX=</code> set to whatever prefix (the <code>xxx_</code> part) you are seeing on your tables.</p>

CC BY-SA 4.0
2020-12-08T16:56:59.497Z
yeah they use a prefix and i've set it in .env so this is not the problem :(
nerdess
CC BY-SA 4.0
2020-12-09T04:43:02.837Z
Argh... Worth a shot :) Do you see rows in your `entries` or `assets` table?
Oli
CC BY-SA 4.0
2020-12-09T07:08:24.817Z
jup, plenty of stuff in both of them :(
nerdess
CC BY-SA 4.0
2020-12-09T07:25:07.863Z
Do you know if the account you are login in with an admin account?
Oli
CC BY-SA 4.0
2020-12-09T10:43:13.207Z
yeah it is an admin account
nerdess
CC BY-SA 4.0
2020-12-09T12:23:40.350Z
Send your `composer.json`, `composer.lock` and a database backup to support@craftcms.com and we'll help you from there
Oli
CC BY-SA 4.0
2020-12-08T13:59:33.067Z
2020-12-08T13:59:33.067Z
Oli
<p>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.</p>
<p>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.</p>
<p>The <code>DEFAULT_SITE_URL</code> is set in .env, pointing to the right local URL. There are no errors in the logs either.</p>
<p>Any clue what could be going on would be much appreciated! :)</p>

CC BY-SA 4.0
2020-12-08T16:17:45.420Z
Stupid question: I assume they also gave you the credentials to log into the CP and have administrator access? If you can log into the live site, that would be helpful to compare. You're also going to need the site's ``templates`` folder to replicate the live site.
RitterKnight
CC BY-SA 4.0
2020-12-08T16:59:45.627Z
yeah i can log into the live site and can compare stuff but i got no idea anymore where to look. locally, i can also log into the admin section but i see none of the content. when i browse the database the content is there though.
nerdess
<craft3><entries><redirect>
no entries or files visible
# no entries or files visible

(Asked by: username_0 on 2020-12-08)

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! :)

**Tags:** craft3, entries, redirect
> **Comments:**
> **username_1**: Stupid question: I assume they also gave you the credentials to log into the CP and have administrator access? If you can log into the live site, that would be helpful to compare. You're also going to need the site's ``templates`` folder to replicate the live site.  
> **username_0**: yeah i can log into the live site and can compare stuff but i got no idea anymore where to look. locally, i can also log into the admin section but i see none of the content. when i browse the database the content is there though.  

---

## 1 answers

### Answer by username_2 on 2020-12-08. Score: 1

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.

> **Comments:**
> **username_0**: yeah they use a prefix and i've set it in .env so this is not the problem :(  
> **username_2**: Argh... Worth a shot :) Do you see rows in your `entries` or `assets` table?  
> **username_0**: jup, plenty of stuff in both of them :(  
> **username_2**: Do you know if the account you are login in with an admin account?  
> **username_0**: yeah it is an admin account  
> **username_2**: Send your `composer.json`, `composer.lock` and a database backup to support@craftcms.com and we'll help you from there  

---

