Cannot enable robotstxt module if robots.txt file exists in website root
artol - March 11, 2009 - 14:57
| Project: | RobotsTxt |
| Version: | 6.x-1.2 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
When I checked robotstxt in modules page and saved, it remained unchecked. I tried several times. Then I activate it straight in database after which it said in site settings/robotstxt that there are problems with it and asked to see status raport. But nothing was mentioned in status report page related to robotstxt and no errors were visible. I have drupal 6.10 and several extra modules installed. I have PHP version 5.2.6. Is there anything extra I should know to get this installed?

#1
There's almost zero chance robotstxt is the cause of your module enabling/disabling problems.
#2
Only module that does not get activated is robots.txt. This is the only time I have had this kind of problems. If I activate robots.txt and one other module, the other module gets activated, but robots.txt does not. Both sites use same binaries, and are under same /sites/ path.
#3
I tested this with other site and it did activated. It seems, that there are some conflict between robots.txt ond other module?
Can the addition to .htaccess file be done in a way, that I only have to have one robots.txt activated and all sites under my drupal sites directory would use the same xx.yy.zz/robots.txt file.
#4
1. Do yo have clean_url's enabled? Enable it.
2. Do you have a robots.txt in your website root? Remove it.
#5
Changed behaviour in CVS, but there need to be an error message on module installation page.
#6
#7
Was a nobrainer... I will roll this back.
#8
Clean URLs were not enabled. Now works. Thanks.
Arto
#9
So you missed the BIG RED error message on top of the module page...
#10