[solved] ERROR: Invalid cookie settings
Post new topic   This topic is locked: you cannot edit posts or make replies.   Printer Friendly Page     Forum IndexInstallation Issues
Author Message
louisebrinck
Newbie


Joined: Aug 22, 2009
Posts: 3
Location: jylland/denmark

PostPost subject: [solved] ERROR: Invalid cookie settings
Posted: Sat Aug 22, 2009 9:48 pm
Reply with quote

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


Joined: Mar 23, 2006
Posts: 2079

PostPost subject: Re: ERROR: Invalid cookie settings
Posted: Sat Aug 22, 2009 11:20 pm
Reply with quote

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


Joined: Jun 29, 2004
Posts: 3677
Location: Melbourne, AU

PostPost subject: Re: ERROR: Invalid cookie settings
Posted: Sun Aug 23, 2009 7:36 am
Reply with quote

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! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
louisebrinck
Newbie


Joined: Aug 22, 2009
Posts: 3
Location: jylland/denmark

PostPost subject: Re: ERROR: Invalid cookie settings
Posted: Tue Aug 25, 2009 9:31 pm
Reply with quote

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


Joined: Jun 29, 2004
Posts: 3677
Location: Melbourne, AU

PostPost subject: Re: ERROR: Invalid cookie settings
Posted: Wed Aug 26, 2009 3:09 am
Reply with quote

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! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
louisebrinck
Newbie


Joined: Aug 22, 2009
Posts: 3
Location: jylland/denmark

PostPost subject: Re: ERROR: Invalid cookie settings
Posted: Wed Aug 26, 2009 6:02 pm
Reply with quote

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


Joined: Jun 29, 2004
Posts: 3677
Location: Melbourne, AU

PostPost subject: Re: ERROR: Invalid cookie settings
Posted: Thu Aug 27, 2009 7:55 am
Reply with quote

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! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
Gamekeeper
Nice poster


Joined: Mar 19, 2006
Posts: 149

PostPost subject: Re: ERROR: Invalid cookie settings
Posted: Sat Sep 19, 2009 10:23 am
Reply with quote

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


Joined: Jun 29, 2004
Posts: 3677
Location: Melbourne, AU

PostPost subject: Re: ERROR: Invalid cookie settings
Posted: Sun Sep 20, 2009 11:14 am
Reply with quote

@Gamekeeper try the LAN IP
_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
Gamekeeper
Nice poster


Joined: Mar 19, 2006
Posts: 149

PostPost subject: Re: ERROR: Invalid cookie settings
Posted: Sun Sep 20, 2009 4:54 pm
Reply with quote

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


Joined: Jun 29, 2004
Posts: 3677
Location: Melbourne, AU

PostPost subject: Re: ERROR: Invalid cookie settings
Posted: Mon Sep 21, 2009 9:29 am
Reply with quote

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! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3677
Location: Melbourne, AU

PostPost subject: Re: ERROR: Invalid cookie settings
Posted: Mon Sep 21, 2009 9:58 am
Reply with quote

Need to know what your php.ini say about

session.save_handler = ?
session.use_cookies = ?

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

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
macuserau
Nice poster


Joined: May 18, 2006
Posts: 114
Location: South Coast Australia

PostPost subject: Re: ERROR: Invalid cookie settings
Posted: Fri May 21, 2010 8:39 am
Reply with quote

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.90 / PHP 5.3.2/ CMS 9.3.2.0
Back to top
View user's profile Visit poster's website
macuserau
Nice poster


Joined: May 18, 2006
Posts: 114
Location: South Coast Australia

PostPost subject: Re: ERROR: Invalid cookie settings
Posted: Sat May 22, 2010 8:54 am
Reply with quote

fixed Cheers

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


Joined: Sep 07, 2005
Posts: 22
Location: TH-MY-DE-UKR

PostPost subject: Re: ERROR: Invalid cookie settings
Posted: Tue Aug 03, 2010 10:41 pm
Reply with quote

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 IndexInstallation Issues All times are GMT
Go to page 1, 2  Next
Page 1 of 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 can download files in this forum

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
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

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


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
This page generated in 1.6465 seconds with 19 DB Queries in 0.1273 seconds
Memory Usage: 3.04 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy