Projects ⇒ Bugs ⇒ #630: install/step2.php setcookie() return false ⇒ CPG Dragonfly™ CMS
Bug #630 install/step2.php setcookie() return false
Project: Dragonfly 9.0.3 -> 9.3 Category: Cookie / Session
Submitted: Monday, September 12, 2005 (11:22:02) Modified: Friday, September 30, 2005 (02:50:21)
Status: Closed Assigned to:
PHP Version: Irrelevant HTTPD Server: Apache 2.0
Votes: 8
Vote results:
Avg. Score: 4.5 ± 0.9 Reproduced: 8 of 8 (100.0%)
Same PHP Version: 5 (62.5%) Same HTTPD Server: 6 (75.0%)

View/Vote Add Comment

by: NanoCaiordo
During a fresh install step.php setcookie() return false.

$Source: install/step2.php
$Revision: 9.12

Tests has been run using Firefox 1.0.x, Firefox 1.1.X and IE
and cookies are accepted by all browsers.

#Win XP#
PHP 5.0.4 and 4.4.0
Apache 2.0.54

PHP 4.3.10
Apache 2.0.53
by: RedGerry
I build new sites weekly and this prob arose yesterday for the first time. All settings are correct and existing CVS sites have had no issues off same apache/php server.

After failing to test the cookies during install I exited and visited admin.php where I created the first super-user and logged in with no problem. The cookie domains, etc were set to those that had failed the install test and continue to work with no revision.
I had the same problem. But if you install dragonfly in a subdirectory, you can't get away so easily.
Once you go to the admin page (after the cookie test failed) no graphic is displayed and it looses the working directory. which means that when you click on submit, it takes you back to the root of your website and, obviously, it can't find the page anymore.
My only solution was to move everything to the root.
Same bug with PhP 5.0.5 and Apache 2.0.54.
by: NanoCaiordo
Bug has been fixed.
User Info

Welcome Anonymous


Support for DragonflyCMS in a other languages: