I was given a task to edit a site however the client does not know the administrator password or anything plus I didn't want to work on it on production. Hence I tarred the site, compressed the database - through ssh, moved it to development, however now when I go to the site, I can't get anything. All it lets me do is open an index.php which is cornered to modx.
Not sure what's going on or what I'm missing.
I updated the .htaccess and the config.inc.php however I can't get anything.
If anyone could help me out, that would be great.
Thanks
Riz
What do you get if you goto the manager eg:
yoursite.com/manger
edit:
Also what you php version
-
☆ A M B ☆
- 24,524 Posts
1. When moving a site you have to edit the config.inc.php file (manager/includes/cofig.inc.php) to reflect the proper database information.
2. To recover a manager login manually edit the password field for the user in the manager_users table. Use the md5 function on the password.
3. Once you can log in to the Manager, you'll need to edit the Configuration settings for file access. It's been too long since I worked with that version, so I'm not sure where these are, but there are two of them, one for the Rich Text editor's file access and one for the Manager's file manager file access.
Make sure you clear the site cache as soon as you can get into the Manager. You may also have to empty the file at assets/cache/siteCache.idx.php.
PHP Version is 5.2.6
site.com/manager gives me the same index.php file.
I recovered the manager on production and am now transferring the site to development manually. Tarring it didn't work. I will also try clearing the siteCache.idx.php file as well.
Thanks for your help.
If you're still having issues, some times I find it better to run a fresh install and import the database and overwrite the assets folder.
You'll still need to do point 3 that Susan mentions.
Also I'd recommend while messing around with the instal getting it upgraded to Evo, it should be pretty straight forward most stuff normally works for me with out to much configuration.