View Full Version : "You must have cookies enabled in your browser"in
zhangjin
01-04-05, 06:15 PM
I installed the DP2.0 and when I go to login page,after the login messages,there is a sentence : You must have cookies enabled in your browser
How can I make cookies enable? :?
Cookies are a function of your browser - please refer to the relevant help for that.
The message that you are seeing is an informational message only - it is not implying that cookies are enabled or disabled.
I am having the same problem - Firefox 1.0.2 / OS X 10.3.8. Cookies are enabled and other php apps running on the server (localhost) are successful in setting them.
DotVince
02-04-05, 06:10 AM
Hi,
I installed a fresh version 2.0 today using the standard method. All went fine, and I can log-in using the admin default and password, but as soon as I click on anything I am immediately logged-out again.
When I log-in again, I am taken to the last screen I was on or clicked, but any other action/click loggs me out again.
I have run the dotproject2/docs/check.php and see a fatal error:
session.save_path Fatal: Save path does not exist
and
session.use_cookies DISABLED Try setting to 0 if you are having problems logging in
Prblem is that I don't know what to do to correct these errors, so any pointers will be appreciated.
I have version 1.02 running fine on the same server for many months now.
Thanks.
ajdonnison
02-04-05, 08:32 AM
If session.use_cookies is disabled, nothing is going to work correctly. If you are on a hosted site, complain, as not using cookies for sessions requires the less reliable and less secure method of using URL re-writing. If you have access to the PHP.INI file, edit it and set session.use_cookie on.
DotVince
02-04-05, 08:43 AM
We have a 1and1 managed dedicated server, but never tried accessing php.ini file so not sure if I can, but sure the support will do it for us if asked.
What about the other error which is flagged as fatal, is this also a php.ini setting?
session.save_path Fatal: Save path does not exist
Lastly, since version 1.02 works fine (as well as many other PHP/MySQL applications), is there an absolute requirement to do this differently in version 2.0?
Thanks,
- Vince
DotVince
04-04-05, 06:44 PM
Bump :?
- V
ajdonnison
04-04-05, 07:44 PM
Please don't bump - it just annoys people. Just wait your turn.
The session.save_path could be as a result of the server configuration, we have reports that servers using chroot gaols for their webservers can report this error, when in fact nothing is wrong. It may be this.
As to 1.0.2 vs 2.0, a lot of things have changed, and I am surprised that 1.0.2 worked with the settings you had. If it did it was more by luck. If you can change the settings do so, or set up a .htaccess file (you will need to check the php website for details).
DotVince
05-04-05, 07:59 AM
Update in case any use to others:
The server was setup with PHP running as a cgi.
Changed this to run as a module, nothing else, and all works fine now with v 2.0. Checked also that v. 1.02 was still working, and all is fine.
Server setup:
Linux infong 2.4 #1 SMP Mon Aug 9 10:21:08 CEST 2004
Apache/1.3.29 (Unix)
PHP 4.3.10
MySQL 4.0.20 - standard
Relevant PHP Settings:
Safe Mode: OFF
Open basedir: none
Display Errors: ON
Short Open Tags: ON
File Uploads: ON
Magic Quotes: ON
Register Globals: ON
Output Buffering: OFF
Session save path: /tmp
Session auto start: 0
XML enabled: Yes
Zlib enabled: Yes
Disabled Functions: none
Please don't be anoyed from my 'bump' as I personally have only ever done that only once before (and not on this forum), and just unfortunate that I 'assumed' my issue had been forgotten.
Best wishes,
- Vince
I had similar problem with one of the users, but found that the problem is much simpler then some of you have try to portrait ( no offence to the smart guys ...)
Although the error refers to Cookies – the actual problem is not related with the browser handling the cookies but with the setup of the new user.
Make sure the user you have created is an "Active User" and also make sure you have assigned a role to this user and allow the permissions.
Jagy :D
vBulletin® v3.6.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.