Hi there!
I'm freshman in modx. And I got site to repair (Sass issue, nothing deeply related with modx) So I copied database, all the files, set my local server, installed modx, all without trouble, copied files inside, connected with database aaaaaaaand...it's gone.
I mean site is empty and in resources I've got one site - Home.
In files tree anyway there are files that I already copied.
What I did wrong?
Any suggestions?
-
☆ A M B ☆
- 24,524 Posts
Did you import the original database into the newly installed database, or copy it to a different database? Check the top section of the /core/config/config.inc.php file to see what database it's connecting to. Make sure to check the $database_dsn = line as well.
Also, be sure to run Setup in the new location. It should straighten out the paths.
If not, in addition to config.inc.php, check the paths in the 3 config.core.php files in these three directories:
modx root
manager
connectors
Database is right. I did install fresh modx with clean database. Which files/folders should I copy to keep my design?
which version of modx is it?
Quote from: kucharz at Mar 30, 2015, 05:21 AMDatabase is right. I did install fresh modx with clean database. Which files/folders should I copy to keep my design?
If you did a fresh install that would explain why your resources are not showing up.
You'll want to copy all the files from the old site, import the database and then run setup so it can reconfigure all your paths. MODX keeps most things in the database rather than in files by default.