Closed (duplicate)
Project:
Drupal core
Version:
6.x-dev
Component:
install system
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Sep 2007 at 16:31 UTC
Updated:
28 Oct 2007 at 23:52 UTC
I install drupal-6.0-beta1 using XAMPP Lite 1.6.3a ("unzip and run") on Windows XP.
Drupal tells during install that "Your server has been successfully tested to support this feature". ["clean" URLs]
But it actually doesn't work, after installation all requests with "clean" URLs (instead ?q=) fail.
So the installer should correctly detect if the system is "clean" URL enabled or not.
XAMPP Lite 1.6.3a
Apache HTTPD 2.2.4 + Openssl 0.9.8e
MySQL 5.0.45
PHP 5.2.3
PHP 4.4.7
phpMyAdmin 2.10.3
Zend Optimizer 3.3.0
1.6.3 Patch
http://www.apachefriends.org/de/xampp-windows.html#631
Comments
Comment #1
gábor hojtsyPlease try the latest development snapshot: http://drupal.org/node/97368 We have fixed this issue since beta1 there, so only reopen this issue if you can still reproduce it.
Comment #2
bluepuma commentedNot fixed with drupal-6.x-dev as in the linked post.
dww - November 13, 2006 - 20:58
Nightly development snapshot from CVS branch: HEAD
Download: drupal-6.x-dev.tar.gz
Size: 947.73 KB
md5_file hash: d01a63650794ead66169ca5d86be8ec7
First released: November 13, 2006 - 20:58
Last updated: October 1, 2007 - 13:02
I reopen this issue as I didn't find the original issue for which this should be the duplicate.
Comment #3
bluepuma commentedClean URL testing still not working correctly in 6.0-beta2.
Drupal still tells me during install my configuration is clean URL enabled, but it is actually not and the installation process breaks later on...
Comment #4
JirkaRybka commentedYou probably need to provide information about your setup (Apache, PHP - version, configuration and the like), or any other relevant info. Otherwise no chance to find the problem. (For me, the test works.)
Comment #5
bluepuma commentedIt's still the same setup as described in the first post (top of page).
For the configuration you have to tell me which info/files you exactly need.
Or you test it yourself on a windows machine, just download, unzip and run
XAMPP Lite http://www.apachefriends.org/en/xampp-windows.html#646
Comment #6
webernet commentedTested with XAMPP 1.6.3 and could not reproduce. The installer correctly determined that clean urls were not supported.
Comment #7
bluepuma commentedOkay, here we go, it's easily reproducable, you find my conclusion at the end.
1. Download XAMPP Lite 1.6.4
"XMPP Lite is a very reduced version of XAMPP with Apache 2.2.6 + PHP 5.2.4 + MySQL 5.0.45 + phpMyAdmin 2.11.1 + OpenSSL 0.9.8e + SQLite 2.8.15. For lovers! For the lite versions exist no upgrades or addons. XAMPP Lite is an only "Take-Run-Delete-Forget-it" package."
http://www.apachefriends.org/en/xampp-windows.html#646
2. Downloaded nightly development snapshot from CVS branch: HEAD
http://drupal.org/node/97368
3. Unzpipped XAMPP Lite 1.6.4 and then drupal-6.x-dev.tar.gz to C:\xampplite164\htdocs\drupal
4. Created drupal database in MySQL database
5. Accessed drupal at http://localhost/drupal/ and started "Install Drupal in English"
6. Clean URLs: Your server has been successfully tested to support this feature.
Click "Save"
7. "Congratulations, Drupal has been successfully installed" (with mail error)
"Please review the messages above before continuing on to your new site."
Click continue
8. "Welcome to your new Drupal website!"
"Visit the administration section" http://localhost/drupal/admin
Click Admin
9. I get redirected to the XAMPP homepage, so clean URLs doesn't seem to work.
Situation
Clean URL detection is not 100% reliable, but at the moment you discover it's the wrong setting you are pretty much stuck especially as a beginner. With clean URLs enabled, you can't even access the help page anymore ("For more information, please refer to the help section" http://localhost/drupal/admin/help) and you can't go back and change it ("already installed").
Complication
I fully understand that depending on the components and configuration the detection might be not 100% reliable and that this could be very hard to fix.
Recommendation
Please think about a pure information approach, that for example in "Welcome, Step 1. Configure your website - Visit the admin section" you include a small note (maybe just footnote) that users can switch clean URL mode off at http://localhost/drupal/?q=admin/settings/clean-urls if they experience problems with it.
I think this REALLY helps beginners with drupal if they are just trying to check it out and don't get stuck directly during their first installation...
Comment #8
gábor hojtsySorry guys, I was under the impression that we got this issue resolved in the previous betas already (http://drupal.org/node/175944 was the original issue). Now I got the fix committed, so please wait a few hours (don't know how often Drupal development tarballs are rebuilt), grab a new development version: http://drupal.org/node/97368 I sincerely hope that everything will be fixed properly. The new clean URL check only recognizes success if there was an actual JSON response from the server (ie. not some webserver dependent stuff). Alternatively you can also try to apply the patch in the issue to your beta 2 copy and see what happens.
I agree that if people remain with symptoms of clean URLs being enabled but not working, then we either
- need to find another better solution
- remove the clean URL checker as it is
- and/or add the documentation piece suggested by bluepuma
This issue now marked as duplicate of http://drupal.org/node/175944
Comment #9
bluepuma commentedDrupal HEAD now detects correctly that clean URLs can't be used (using XAMPP) - thanks!