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
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

David Strauss - March 11, 2009 - 15:19
Status:active» postponed (maintainer needs more info)

There's almost zero chance robotstxt is the cause of your module enabling/disabling problems.

#2

artol - March 18, 2009 - 12:28

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

artol - March 18, 2009 - 12:25

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

hass - March 19, 2009 - 08:14

1. Do yo have clean_url's enabled? Enable it.
2. Do you have a robots.txt in your website root? Remove it.

#5

hass - March 19, 2009 - 08:22
Status:postponed (maintainer needs more info)» fixed

Changed behaviour in CVS, but there need to be an error message on module installation page.

#6

hass - March 19, 2009 - 08:23
Title:I installed robotstsxt, but nothing happened» Cannot enable robotstxt module if robots.txt file exists in website root

#7

hass - March 19, 2009 - 19:39

Was a nobrainer... I will roll this back.

#8

artol - March 25, 2009 - 12:34
Status:fixed» closed

Clean URLs were not enabled. Now works. Thanks.

Arto

#9

hass - March 25, 2009 - 12:38

So you missed the BIG RED error message on top of the module page...

#10

kiamlaluno - April 14, 2009 - 06:00
Category:bug report» support request
 
 

Drupal is a registered trademark of Dries Buytaert.