Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Installation Issues ⇒ [solved] ERROR: Invalid cookie settings


[solved] ERROR: Invalid cookie settings
Post your DragonflyCMS installation questions and problems here.
Note that we have "Switch from X" forums for other CMS/forum conversions.
DO NOT post those or module installation issues here!

Go to page 1, 2  Next
Post new topic    This topic is locked: you cannot edit posts or make replies.    Printer Friendly Page     Forum Index ⇒  Installation Issues

View previous topic :: View next topic  
Author Message
louisebrinck
Newbie
Newbie

Offline Offline
Joined: Aug 22, 2009
Posts: 3
Location: jylland/denmark
PostPosted: Sat Aug 22, 2009 9:48 pm
Post subject: [solved] ERROR: Invalid cookie settings

Hello there,

I am new to try dragonfly Cms and i have some Issues.



In step 4 its says: ERROR: Invalid cookie settings

And i have seach for cookie issues in this forum,but
no one of the posted helped me.


Site Name: Louise Zaar
Domain Name: Louisezaar.dk
Path: /
Administrator Email: lullu @ email.dk
Cookie Domain louisezaar.dk
Cookie Path: /
Admin cookie name: cms_admin
Member cookie name: my_login
Photo Gallery cookie: cpg
Enable Update Service: Yes


This is what stand in the box but it says ERROR: Invalid cookie settings


then i have try to fill the path with /html/Adminstrator
and cookie path with : /home/myname/tmp/sessiondata



bit nothing of this worked.... can somebody help me please?


louisebrinck's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
DragonflyCMS , PHP , Mysql
Back to top
View user's profile Visit poster's website
Dizfunkshunal
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: Mar 23, 2006
Posts: 2064

PostPosted: Sat Aug 22, 2009 11:20 pm
Post subject: Re: ERROR: Invalid cookie settings

please search the forums then issue has been covered several times. You will find several threads for this issue.

_________________
Diz Web Design Status: Open (Use of resources requires registration.)

Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Multiple Setups
Back to top
View user's profile Send e-mail Visit poster's website Yahoo Messenger
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Sun Aug 23, 2009 7:36 am
Post subject: Re: ERROR: Invalid cookie settings

louisebrinck, you misunderstood the settings

cookie and path are related to the domain name

domain name: bla.com
path: /html/administrator
cookie path: /home/myname/tmp/sessiondata

means your website is located in: bla.com/html/administrator
and the cookie will be valid for bla.com/home/myname/tmp/sessiondata

this is not what you want.

At this stage you need to remove includes/config.php and start over again using "/" for both

Just explain to me what /html/Administrator is for.

As Dizfunkshunal say issue has been covered many times but solution may be different, a little debugging will help me addressing you to the correct solution.

_________________
.:: 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
Back to top
View user's profile Visit poster's website Photo Gallery
louisebrinck
Newbie
Newbie

Offline Offline
Joined: Aug 22, 2009
Posts: 3
Location: jylland/denmark
PostPosted: Tue Aug 25, 2009 9:31 pm
Post subject: Re: ERROR: Invalid cookie settings

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/mysite.dk/includes/cmsinit.inc on line 189

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/mysite.dk/includes/cmsinit.inc on line 203

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/mysite.dk/includes/cmsinit.inc on line 245

Deprecated: Function ereg() is deprecated in /home/www/mysite.dk/includes/cmsinit.inc on line 28

Warning: date_default_timezone_get() [function.date-default-timezone-get]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /home/www/mysite.dk/includes/cmsinit.inc on line 56

Warning: Cannot modify header information - headers already sent by (output started at /home/www/mysite.dk/includes/cmsinit.inc:189) in /home/www/mysite.dk/includes/cmsinit.inc on line 63

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/www/mysite/includes/cmsinit.inc on line 68

Warning: ini_set() [ref.outcontrol]: Cannot change zlib.output_compression - headers already sent in /home/www/mysite.dk/includes/cmsinit.inc on line 74

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/mysite.dk/includes/classes/cpg_debugger.php on line 121






It all the time said ERROR: Invalid cookie settings...

Dont know what to do anymore. Im stuck..

somebody please help?

From Louise
/ sorry for my english im not so good at it !

_________________
Thanks for help!
tjek this: www.brinckfansite.dk

louisebrinck's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
DragonflyCMS , PHP , Mysql
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: Wed Aug 26, 2009 3:09 am
Post subject: Re: ERROR: Invalid cookie settings

NOTE if you are obfuscating your username from the above paths
you MUST change all "/home/www/phpsess" you will found below with "/home/your_uname/phpsess"

Lets start:

Create /home/www/phpsess and, for now, make sure to chmod 777 (world write permission)

Delete /home/www/mysite.dk/includes/config.php

Hit myste.dk/install.php

When you get the error you should be prompted by DF to enter a "php session path" as well; and for this use /home/www/phpsess

Submit again, if it works its all done otherwise keep the window open
ftp to /home/www/mysite.dk/includes/config.php, scroll down till last line
comment out the php session path line and modify the existing path with /home/phpsess

Go back to your browser, make sure you still have /home/www/phpsess on the input field, if not enter it again and hit submit.

Let us know

_________________
.:: 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
Back to top
View user's profile Visit poster's website Photo Gallery
louisebrinck
Newbie
Newbie

Offline Offline
Joined: Aug 22, 2009
Posts: 3
Location: jylland/denmark
PostPosted: Wed Aug 26, 2009 6:02 pm
Post subject: Re: ERROR: Invalid cookie settings

Create /home/www/phpsess and, for now, make sure to chmod 777 (world write permission) where could i create that?

chmod 777 (world write permission)

dont know what u mean with that?
could i delete the map config.php from ftp?

_________________
Thanks for help!
tjek this: www.brinckfansite.dk

louisebrinck's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
DragonflyCMS , PHP , Mysql
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: Thu Aug 27, 2009 7:55 am
Post subject: Re: ERROR: Invalid cookie settings

Ask your system administrator to setup a different, and working, php session path for you, easy way.

When done, delete config.php and try again.

_________________
.:: 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
Back to top
View user's profile Visit poster's website Photo Gallery
Gamekeeper
Heavy poster
Heavy poster

Offline Offline
Joined: Mar 19, 2006
Posts: 150

PostPosted: Sat Sep 19, 2009 10:23 am
Post subject: Re: ERROR: Invalid cookie settings

I am having similar problems and yes I have used search on the forums, there are numerous threads covering this but none give me the clear complete answer I seek.

I am trying to setup a test server.
I have used wampserver, my dragonfly install is at c:\testserver\public_html

I have got as far as step 4 and am now stumped by the ERROR: Invalid cookie settings problem.

Site Name My Dragonfly Site
Domain Name localhost
Path /
Administrator Email admin @ test.com
Cookie Domain /
Cookie Path /
Admin cookie name cms_admin
Member cookie name my_login
Photo Gallery cookie name

I have tried using localhost as domain name, cookie domain, path in numerous combinations but still no progress.


Gamekeeper's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux, Apache 2.0, SQL 5.0.86-log (client: 4.1.22), PHP 5.2.11 DF 9.2.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: Sun Sep 20, 2009 11:14 am
Post subject: Re: ERROR: Invalid cookie settings

@Gamekeeper try the LAN IP

_________________
.:: 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
Back to top
View user's profile Visit poster's website Photo Gallery
Gamekeeper
Heavy poster
Heavy poster

Offline Offline
Joined: Mar 19, 2006
Posts: 150

PostPosted: Sun Sep 20, 2009 4:54 pm
Post subject: Re: ERROR: Invalid cookie settings

Thanks for reply, I have tried the LAN IP as Domain name and cookie domain, no luck


Gamekeeper's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux, Apache 2.0, SQL 5.0.86-log (client: 4.1.22), PHP 5.2.11 DF 9.2.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: Mon Sep 21, 2009 9:29 am
Post subject: Re: ERROR: Invalid cookie settings

All this remind me to change few things inside install.php ...

Before when you try different settings make sure you delete cache/config_MAIN_CFG.php each time, sorry.

_________________
.:: 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
Back to top
View user's profile Visit poster's website Photo Gallery
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Mon Sep 21, 2009 9:58 am
Post subject: Re: ERROR: Invalid cookie settings

Need to know what your php.ini say about

session.save_handler = ?
session.use_cookies = ?

_________________
.:: 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
Back to top
View user's profile Visit poster's website Photo Gallery
macuserau
Nice poster
Nice poster

Offline Offline
Joined: May 18, 2006
Posts: 124
Location: South Coast Australia
PostPosted: Fri May 21, 2010 8:39 am
Post subject: Re: ERROR: Invalid cookie settings

I to am having trouble getting past the cookie error.
I also have this code at the top of the page:

Deprecated: Assigning the return value of new by reference is deprecated in /home/warillas/public_html/includes/cmsinit.inc on line 189

Deprecated: Assigning the return value of new by reference is deprecated in /home/warillas/public_html/includes/cmsinit.inc on line 203

Deprecated: Assigning the return value of new by reference is deprecated in /home/warillas/public_html/includes/cmsinit.inc on line 245

Deprecated: Function ereg() is deprecated in /home/warillas/public_html/includes/cmsinit.inc on line 28

Warning: Cannot modify header information - headers already sent by (output started at /home/warillas/public_html/includes/cmsinit.inc:189) in /home/warillas/public_html/includes/cmsinit.inc on line 63

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/warillas/public_html/includes/cmsinit.inc on line 68

Warning: ini_set() [ref.outcontrol]: Cannot change zlib.output_compression - headers already sent in /home/warillas/public_html/includes/cmsinit.inc on line 74

Deprecated: Assigning the return value of new by reference is deprecated in /home/warillas/public_html/includes/classes/cpg_debugger.php on line 121

I have follow NanoCaiordo instructions and have read the other forums and the wikki article and i am still stuck. I have session data but have a cookie error at the necessary info step.

Can i move pass this or manually edit a file to apply these setting?


macuserau's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
unix / Apache 2.2.15 / MySQL 5.0.92 / PHP 5.3.8/ CMS 9.3.3.0
Back to top
View user's profile Visit poster's website
macuserau
Nice poster
Nice poster

Offline Offline
Joined: May 18, 2006
Posts: 124
Location: South Coast Australia
PostPosted: Sat May 22, 2010 8:54 am
Post subject: Re: ERROR: Invalid cookie settings

fixed Cheers


macuserau's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
unix / Apache 2.2.15 / MySQL 5.0.92 / PHP 5.3.8/ CMS 9.3.3.0
Back to top
View user's profile Visit poster's website
RECON
Newbie
Newbie

Offline Offline
Joined: Sep 07, 2005
Posts: 22
Location: TH-MY-DE-UKR
PostPosted: Tue Aug 03, 2010 10:41 pm
Post subject: Re: ERROR: Invalid cookie settings

same problem.
tried all possible changing browser... erase config, database again and again. Can i somehow skip the cookie check?
I got it installed in 2005 but now a new install failed.

_________________


RECON's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.7 i686 - Apache/2.0.54 (Unix) - 4.1.11-Debian_4sarge1 - PHP 4.4.0 [ZE 1.3.0] - 9.0.6.1 - eAccelerator 0.9.3 - (IE 7B1, Firefox 1.61 Alpha2)
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger Yahoo Messenger
Display posts from previous:   
Post new topic    This topic is locked: you cannot edit posts or make replies.    Printer Friendly Page    Forum Index ⇒  Installation Issues
Page 1 of 2
All times are GMT
Go to page 1, 2  Next



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 can 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.

read more...

   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