|
View previous topic :: View next topic |
| Author |
Message |
whitta Newbie


Offline Joined: Jun 25, 2007 Posts: 10
|
Posted: Tue Jul 10, 2007 8:43 pm Post subject: Need to Enable cookies |
|
OK, I installed Draginfly CMS..for the most part w/no problems..had my own theme set up and was working on installing modules. I had to take a week off and when i came back the theme was gone and when I go to log into Admin.php I get this 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
I'm not sure what i need to do here to get this issue resolved. Please help
whitta's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) php
|
|
| Back to top |
|
 |
whitta Newbie


Offline Joined: Jun 25, 2007 Posts: 10
|
Posted: Tue Jul 10, 2007 9:03 pm Post subject: Re: Need to Enable cookies |
|
Never mind..I got it to work. I went into the cache/config_MAIN_CFG.php file and made sure I had the correct domain path. It worked and brought everything back
whitta's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) php
|
|
| Back to top |
|
 |
Cigaras Newbie


Offline Joined: Jul 03, 2007 Posts: 11
|
Posted: Thu Jul 26, 2007 9:50 am Post subject: Re: Need to Enable cookies |
|
I have the same problem, i checked the 'cache/config_MAIN_CFG.php' file and my domain path is set to '/'
| PHP: |
'server' => array( 'path' => '/', 'domain' => 'apocalipse.hyperphp.com', ),
|
before my week off server path (and coockies path) were the same as I remember, so I do not know what to change there.
Please help me because I do not even know what to do to get this issue resolved (I only managed to find this topic by forums search)
Cigaras's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) ? / ? / 5.0.45 / 5.2.3 / 9.1.2.1
|
|
| Back to top |
|
 |
Cigaras Newbie


Offline Joined: Jul 03, 2007 Posts: 11
|
Posted: Thu Aug 02, 2007 8:47 am Post subject: Re: Need to Enable cookies |
|
I checked the admin.php?op=info&general and found there
| PHP: |
Session save_path tcp://10.1.1.20:11211
|
, I'm not shure, but I guess I shoud change tcp link to something local (like path to folder on my server) and then, after clearing cashe folder, I guess all session info should be stored at my directory, not tcp, or am I wrong?
Cigaras's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) ? / ? / 5.0.45 / 5.2.3 / 9.1.2.1
|
|
| Back to top |
|
 |
Cyrell2005 Nice poster


Offline Joined: May 30, 2005 Posts: 58 Location: California
|
Posted: Sun Oct 28, 2007 11:12 pm Post subject: Re: Need to Enable cookies |
|
| whitta wrote: |
| Never mind..I got it to work. I went into the cache/config_MAIN_CFG.php file and made sure I had the correct domain path. It worked and brought everything back |
I have the same problem, however now I can't login under Admin.. when I click 'login' it takes me to the same page (almost like if you refresh a page)
Cyrell2005's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/ MySQL: 5.0.45. DF version: 9.1.2.1
|
|
| Back to top |
|
 |
SkunkcapFreddie Newbie


Offline Joined: Apr 24, 2006 Posts: 43
|
Posted: Fri Nov 02, 2007 6:09 pm Post subject: Re: Need to Enable cookies |
|
Are you trying to set the site up without having the domain name pointing over to the correct nameservers ?
SkunkcapFreddie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) (OS)Linux (Apache) 1.3.34 (Unix) (Mysql)4.0.27-standard (PHP)4.3.11 (CPGNUKE)9.1.2.1
|
|
| Back to top |
|
 |
Eestlane I18N / L10N Lead Dev


Offline Joined: Apr 06, 2005 Posts: 1404 Location: Estonia
|
Posted: Sat Nov 03, 2007 6:58 am Post subject: Re: Need to Enable cookies |
|
First of, do NOT edit the config_MAIN_CFG.php file
It actually triggers info from admin->config(or settings or whatever the name was)
You might have to delete config_MAIN_CFG.php after changing the configuration under administration, however, it's not usually needed to delete config_MAIN_CFG.php, as it's usually updated itself when settings are changed.
Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.0.63/5.0.67/5.2.8/9.2.1
|
|
| Back to top |
|
 |
Jeruvy Security Team


Offline Joined: Apr 23, 2004 Posts: 1432 Location: Canada
|
Posted: Tue Nov 06, 2007 4:07 pm Post subject: Re: Need to Enable cookies |
|
Normally I'd just say 'what eestlane said' but really this needs to be repeated obviously.
DO NOT EDIT CACHE FILES. DELETE THEM.
Hmm, still doesn't stand out enough.
DO NOT EDIT CACHE FILES. DELETE THEM.
Much better.
_________________ J.
j e r u v y a t y a h o o d o t c o m
Need help? Look here: www.dragonflycms.org/W...d=112.html
Need to chat? Look for me on irc.freenode.net
Jeruvy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Ubuntu7.10/Debian3.1 - 2.2.3/1.3.37 - 5.0.38/4.0.27 - 5.2.1/4.4.7 - CVS/9.1.2}
|
|
| Back to top |
|
 |
ferrin Newbie


Offline Joined: Jan 17, 2008 Posts: 8 Location: Phoenix
|
Posted: Mon Jan 21, 2008 4:46 am Post subject: Re: Need to Enable cookies |
|
Ok guys I know this is an old post and i hate to necro posts...
But, I recently changed my primary domain.
When this happened i changed the db for cookies domain ans server domain, as I had the issue of "please enable cookies" when trying to login as admin.
Now understand that Nothing has changed here, Except the Domain.
unfortunately i did not catch the (Do not edit the cache_config), so i edited it. lol
Since i found this thread i deleted the main cache cfg file but It's giving me a "Too many failed attempts" when I try to log in as admin.
So at this point im kind of at a loss.
Is there anything else in the cache i should delete?
ferrin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.37 (Unix)/4.1.21-standard-log/4.4.2/PHPNuke 7.8 > Dragonfly (9.1.2.1)
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Mon Jan 21, 2008 7:51 am Post subject: Re: Need to Enable cookies |
|
delete cache/a_login.php
_________________ .:: 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 |
|
 |
ferrin Newbie


Offline Joined: Jan 17, 2008 Posts: 8 Location: Phoenix
|
Posted: Mon Jan 21, 2008 8:06 am Post subject: Re: Need to Enable cookies |
|
Ok i did that.
It doesn't give me the too many failed attempts error anymore,
but it's still acting like a refreshed page.
I'm seriously confused. This is on the same host.
All files are in the same directories.
The only thing that has changed is the domain.
I've set all the new domain/cookie info in the db table under *_Config_custom.
I deleted the config_MAIN_cfg.php
and i deleted a_Login.php.
(and yes i cleared the browser  )
ferrin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.37 (Unix)/4.1.21-standard-log/4.4.2/PHPNuke 7.8 > Dragonfly (9.1.2.1)
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Mon Jan 21, 2008 2:44 pm Post subject: Re: Need to Enable cookies |
|
"acting like a refreshed page"? so when you try to login as admin and submit you get redirected to the same page again? once? or over and over.
_________________ .:: 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 |
|
 |
ferrin Newbie


Offline Joined: Jan 17, 2008 Posts: 8 Location: Phoenix
|
Posted: Mon Jan 21, 2008 7:58 pm Post subject: Re: Need to Enable cookies |
|
Yes sir, I attempt to login as admin and submit and it just goes back tot he same page as if all i did was hit refresh.
ferrin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.37 (Unix)/4.1.21-standard-log/4.4.2/PHPNuke 7.8 > Dragonfly (9.1.2.1)
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Mon Jan 21, 2008 10:36 pm Post subject: Re: Need to Enable cookies |
|
It happened to me once, a while ago. All i had to do was to clear my 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 |
|
 |
ferrin Newbie


Offline Joined: Jan 17, 2008 Posts: 8 Location: Phoenix
|
Posted: Mon Jan 21, 2008 10:44 pm Post subject: Re: Need to Enable cookies |
|
Yeah i did that too 
I have no idea what's wrong
ferrin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.37 (Unix)/4.1.21-standard-log/4.4.2/PHPNuke 7.8 > Dragonfly (9.1.2.1)
|
|
| Back to top |
|
 |
|
|