Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Help :: Archives ⇒ tried to move webroot :: Archived


tried to move webroot :: Archived
Have you run into a problem, such as receiving an error, blank page, or other similar issue? This forum is not for questions such as "What does this do?" or "Where did this come from?"
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Help

Topic Archived View previous topic :: View next topic  
Author Message
euphoria
Newbie
Newbie

Offline Offline
Joined: Apr 27, 2005
Posts: 29

PostPosted: Fri May 20, 2005 8:11 am
Post subject: tried to move webroot

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.


euphoria's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
freebsd_7.2/2.0/5.0.89/5.2.12/9.2.1
Back to top
View user's profile Visit poster's website
safecracker4hire
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Nov 26, 2004
Posts: 525
Location: Ontario - CANADA
PostPosted: Fri May 20, 2005 12:06 pm
Post subject: Re: tried to move webroot

If you moved your site back to the root directory, your path settings in your settings should be set to /. Your cookie path should also be set to /. If you cannot access your admin settings through the site, you will need to edit these values via phpMyAdmin (or a similar db admin tool). The table is *_config_custom. You should also clear your site cache (login via FTP and delete everything in the cache directory except .htaccess). Clearing your browsers cache is also a good idea.


safecracker4hire's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
RHE Linux / 2.0.52 / 4.0.22 / 4.3.10 / 9.0.6.1-CVS
Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger
euphoria
Newbie
Newbie

Offline Offline
Joined: Apr 27, 2005
Posts: 29

PostPosted: Fri May 20, 2005 4:56 pm
Post subject: Re: tried to move webroot

thanks (again) safecracker4hire!

the db had /newfolder/ still. removed it and site is back up! have some broken images and a few other minor things to fix, but its functional! weeeeeeeeeeeeeeeee

seriously, thanks again


euphoria's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
freebsd_7.2/2.0/5.0.89/5.2.12/9.2.1
Back to top
View user's profile Visit poster's website
safecracker4hire
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Nov 26, 2004
Posts: 525
Location: Ontario - CANADA
PostPosted: Sat May 21, 2005 2:12 am
Post subject: Re: tried to move webroot

NP Smile


safecracker4hire's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
RHE Linux / 2.0.52 / 4.0.22 / 4.3.10 / 9.0.6.1-CVS
Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Help
Page 1 of 1
All times are GMT

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

lesa meira...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy