Prolly should of left well enuff alone, but I know enuff to be dangerous to myself and I like to explore, so....
I had a good working install @ mydomain.tld/newfolder/index.php. Had some redirects @ mydomain.tld/index.html pointing to newfolder/index.php. I noticed that "Last Referers" wasnt updating (wasnt picking up referers to index.html). So I had this great idea to move my webroot from /usr/www/users/path/to/webhome/ to /usr/www/users/path/to/webhome/newfolder/.
1. backed up database twice
2. set website to maintenance
3. Made the change in pair.com control panel to point to new webroot (server takes 15 min for it to become effective)
4. before change went thru, i modified the path in admin main settings (simply removed /newfolder/) and clicked save. (it immediatly gave error page as expeected)
After 15 minutes, it came back. However, now I cannot access admin settings. I log into admin and I was getting the "ERROR Please enable cookies to post on this site. If you feel you have reached this message in error please refresh the preceding page once and post again"
I followed advise here:
dragonflycms.org/FAQ/cat=13.html#66 It seemed that "A) There's a wrong cookie domain and
path setup
" was my issue, but there wasnt any resolution, so I followed the advice under B) and used the script in a test.php page which gave back "This page is accessed: 1 time(s)". That seemed to have done something, because I now have the ability to log into the admin. But when I click on Main Settings (or any other link) it throws me back to the admin login. I cannot access Main Settings to pull the site back out of maintenance mode. I can't access ANY link off the admin.php page, they all throw me back to the login screen, unless its a link off index.php, which of course throws me to the maintainence mode page. (i also modified config.php with session_save_path('/home/SOMETHING/tmp'); and chmod to 777
phpMyAdmin seems to think everything is fine with the database, which is good cuz i wouldn't have the foggiest on how to restore it. Also, under community info it says Admin Logout, so it initially appears as if I am logged in properly.
I really appreciate any help at all with this issue. Please let me know if more information is needed.