benbyf Posted March 16, 2013 Share Posted March 16, 2013 Hi Guys, have a site in a sub-domain /blog/ and moved it out to / and the site works but the admin section wont allow me to login, wondering if this is usual and if there would be any reason for this? I've moved the .htaccess file with the site and checked the password is correct in the database. Any help would be awesome, thanks Link to comment Share on other sites More sharing options...
apeisa Posted March 16, 2013 Share Posted March 16, 2013 Check that site/assets/sessions dir is still writable. Those folder permissions can go wrong when moving/copying stuff. Same check for other folders in /assets/ too! Link to comment Share on other sites More sharing options...
benbyf Posted March 16, 2013 Author Share Posted March 16, 2013 cheers! whats the correct permissions as default? Link to comment Share on other sites More sharing options...
benbyf Posted March 16, 2013 Author Share Posted March 16, 2013 ok, so can login now but.... the admin section is empty, not displaying anything. mentals. Link to comment Share on other sites More sharing options...
benbyf Posted March 16, 2013 Author Share Posted March 16, 2013 ok scrap that, still cant login - sessions is at 777 and all files below 755 Link to comment Share on other sites More sharing options...
Joss Posted March 16, 2013 Share Posted March 16, 2013 Try these permissions: Files: 644 Folders: 755 Link to comment Share on other sites More sharing options...
apeisa Posted March 16, 2013 Share Posted March 16, 2013 How did you made the transition? It might help us spot problem. Link to comment Share on other sites More sharing options...
ryan Posted March 18, 2013 Share Posted March 18, 2013 ok, so can login now but.... the admin section is empty, not displaying anything. mentals. What admin theme is that? Since that looks like incomplete output, if I saw that screenshot you are seeing, the first thing I would do is CTRL+A (select all) to see if any error messages were present. If there weren't any, then I'd either look at the error log (/site/assets/logs/errors.txt) or enable $config->debug=true; in /site/config.php. Then I'd try again. When you say you moved it from /blog/ to /, what specifically did you move (files/directories) and how did you move it? If I were to do that here, this is what I would move: cd htdocs mv ./blog/wire ./ mv ./blog/site ./ mv ./blog/index.php ./ mv ./blog/.htaccess ./ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now