Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Problems AFTER Install/Upgrade ⇒ Need to Enable cookies


Need to Enable cookies
Issues that happen after DragonflyCMS upgrade/install.
DO NOT post module installation issues here!

Go to page Previous  1, 2
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Problems AFTER Install/Upgrade

View previous topic :: View next topic  
Author Message
whatrevolution
Nice poster
Nice poster

Offline Offline
Joined: Aug 22, 2007
Posts: 77

PostPosted: Tue Jan 22, 2008 9:38 am
Post subject: Re: Need to Enable cookies

admin.php wrote:

ERROR
Please enable cookies to post on this site. If you feel that you have reached this message in error please go back to the preceding page and post again

This occurs in 9.2.0RC2, during first browser session login. It's asking for the cookie too quickly, perhaps. The login will succeed, and "Go Back" will land you in admin, logged in. The error won't occur again until next browser session, or (as I did for test case) after browser cookie cache is cleared.

_________________


whatrevolution's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Debian/etch Apache/2.2.3 MySQL/5.0.32-Debian_7etch1-log PHP/5.2.0-8+etch7 Dragonfly CMS/9.1.2.1
Back to top
View user's profile
whatrevolution
Nice poster
Nice poster

Offline Offline
Joined: Aug 22, 2007
Posts: 77

PostPosted: Tue Jan 22, 2008 9:54 am
Post subject: Re: Need to Enable cookies

I dug in with Cookie Safe, to watch the activity.

This actually occured because the CMSSESSID cookie was missing. Technically, it occured because this was a Firefox restored session, with Firefox configured to destroy the cookie cache on close. The session was restored without the cookie, which is normal.

I'll repost if it actually occurs otherwise~

_________________


whatrevolution's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Debian/etch Apache/2.2.3 MySQL/5.0.32-Debian_7etch1-log PHP/5.2.0-8+etch7 Dragonfly CMS/9.1.2.1
Back to top
View user's profile
JonMcMullin2008
Newbie
Newbie

Offline Offline
Joined: Apr 20, 2008
Posts: 5
Location: Rocky Mountain House Alberta
PostPosted: Sun Apr 20, 2008 8:51 pm
Post subject: Re: Need to Enable cookies

I had this please enable cookies problem too, and after much snooping around and changing settings, messing things up, and re changing them, I finally figured out what I changed to make all this happen in the first place.

In the admin section under Web Site Configuration / System, There is a field, Site Domain

In the admin section under Web Site Configuration / Cookies, there is also a domain field, else cookie domain which will ONLY be used if the flag at the top SERVER_NAME as Cookie Domain is set to NO

If you are using shared hosting, then your server domain name is actually a sub domain of you main one, and your main one is a sub domain of the hosting companies domain.....so you CANNOT change this flag to yes as you as tempted to like I was.

If you can't log in, or get your admin changes to stick, go to your subdomain address to log in.

If your main domain (1st one you signed up with is
myfirstdomain.com

and the domain you are having problems on is
problemchild.com

...try logging in at

problemchild.myfirstdomain.com


You'll be able to go in and change that flag to NO and use your www.problemchild.com in the "else cookie domain" field.

Hope this helps! It sure drove me nuts for a couple of days!

Cool


JonMcMullin2008's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.41/5.0.45/5.2.5/9.2.1
Back to top
View user's profile MSN Messenger
mixy
Heavy poster
Heavy poster

Offline Offline
Joined: Aug 29, 2009
Posts: 173

PostPosted: Fri Sep 11, 2009 5:57 am
Post subject: Re: Need to Enable cookies

I have been following this thread because i have the same error message
Please enable cookies to post on this site. If you feel that you have reached this message in error please go back to the preceding page and post again
And i have tried everything you all have said but i still can't get in.This is frustrating.
Jon i don't have a clue of what you are saying about how to tackle this.Is there any other easier way to resolve this?I expect our developers or admins to come to our rescue here.Or else i would be forced to think that the security level is way too much and there's no way to resolve this issue.
So anybody who can walk me thru clearing this error msg so that i can have full control of my site again.
Thanks.


mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Fri Sep 11, 2009 11:58 am
Post subject: Re: Need to Enable cookies

mixy Security level its not the issue here, instead manually entered settings at install time OR changes to server configuration its what gives you trouble.

Need to know more about your error
- did you always had this problem
- when and where it happens
- admin or user or both
- cookie and server settings found in cache/MAIN_CFG
- cookie and server settings you found in admin.php?op=settings ...
- your real web address (facebook a DragonflyCMS powered website?)

At this point we might be able to have an idea why you have this problem.
We my get the same error code but it may be caused by different reasons.

[edit]typos[/edit]

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10


NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mixed


Last edited by NanoCaiordo on Fri Sep 11, 2009 5:42 pm; edited 1 time in total
Back to top
View user's profile Visit poster's website Photo Gallery
mixy
Heavy poster
Heavy poster

Offline Offline
Joined: Aug 29, 2009
Posts: 173

PostPosted: Fri Sep 11, 2009 3:25 pm
Post subject: Re: Need to Enable cookies

Thanks for coming to my rescue,but i went ahead to re install the whole cms.Thank you again.


mixy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/Mysql 5.0+/Dragonfly cms-9.3.1,
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ⇒  Problems AFTER Install/Upgrade
Page 2 of 2
All times are GMT
Go to page Previous  1, 2



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


 
   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.

Läs mer...

   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