Hello,

I am rather new to drupal but I have managed so far. I think it's excellent (I also use SPIP, Plume CMS and GuppY). I have just had a look at the log page. A few PHP lines marked with a red x intrigue me.

One seems to be a reply to one of my own posts (visitors can send comments but these have to be approved (so far I found only one of these visitor's comments in the approval queue):
=======================
Type php
Date Friday, April 28, 2006 - 6:53am
User visiteur
Location /?q=comment/reply/13
Message Duplicate entry 'filter:3:c9dca6492fdd564de171cbfb8cf87b66' for key 1 query: INSERT INTO cache (cid, data, created, expire, headers) VALUES ('filter:3:c9dca6492fdd564de171cbfb8cf87b66', '

Drupal est un excellent CMS (un logiciel qui aide à créer et à tenir un site qui bouge) — voir Les CMS - machines à faire du Web.

\n

Drupal ne donne pas une organisation académique comme le fait SPIP que j\'ai utilisé pour Libre-Fan. Il est bien adapté pour faire participer les membres d\'un site au contenu du dit-site.

\n

En revanche, la mise en page est terriblement raide, à cause des fichus tableaux intégrés à Drupal. C\'est son défaut (qu\'il partage avec d\'autres CMS) mais c\'est ce qui en rend certaines parties très faciles à modifier. Cependant, Drupal à la ligne 66 du fichier /homepages/xx/xxxxx//htdocs/includes/database.mysql.inc.
Severity error
Hostname 202.75.49.131
=====================
I never wrote this of course: "à la ligne 66 du fichier /homepages/x:xxx/htdocs/includes/database.mysql.inc."
(here I changed the actual reference as xxx
The second php thing is more intriguing since this comes from a stupid spam site.

=========================
php
Date Wednesday, May 3, 2006 - 2:19am
User visiteur
Location /?q=comment/reply/5
Message Duplicate entry 'filter:1:464467bce0d7e431c36cdc87239eafbd' for key 1 query: INSERT INTO cache (cid, data, created, expire, headers) VALUES ('filter:1:464467bce0d7e431c36cdc87239eafbd', '

Everybody freeze! NRC! free casino best [url=http://www.neteller-online-casinos.info]free casino best[/url] Red for 5, Green for 25, and Black for 100 minimum tables online casinos [url=http://www.neteller-online-casinos.info]online casinos[/url] A way ticket allows players to group different numbers each group containing the same amount of numbers free casino games [url=http://www.neteller-online-casinos.info]free casino games[/url] Hi Marty play casino games for free [url=http://ww à la ligne 66 du fichier /homepages/xx/xxxx//htdocs/includes/database.mysql.inc.
Severity error
Hostname 202.75.49.131
==================================

Finally someone has been looking for this file, several times : robot.txt
=================
Type page not found
Date Thursday, May 4, 2006 - 12:31am
User visiteur
Location /robots.txt
Message robots.txt non trouvée.
Severity warning
Hostname 65.54.188.141
========================

Could you tell me if these PHP things (error?) mean some visitors have tried to post comments, and couldn't or if my Drupal isn't provided with enough .htaccess files (i have the default one provided by Drupal). And what about the robot.txt stuff (i know what the file is for).

Your help will be much appreciated :-)

Cheers,
eeried

Comments

libre fan’s picture

I can't really believe no one in the Drupal community has had any experience with PHP warnings or errors or alerts.

I did search this site.

Please help!

--
Libres-Ailé(e)s (Association for Linux and free software)

syawillim’s picture

The duplicate entry errors are quite common and generally nothing to worry about. You tend to get them if you have deleated rows directly from a table or have recreated tables.

http://drupal.org/node/20639 will explain the robots.txt question.

www.justapickle.com
blogging community for the socially conscious

www.slickfish.com.au
professional, affordable web site design, production and maintenance for small business

libre fan’s picture

Many thanks for your reply, syawillim. I'll read more about robots.txt -- thanks for the link

Glad to hear the duplicate error isn't uncommon, and not serious.
Sorry for including stupid casino links unwitttingly.

However I still have a query. I displayed the saved content of my db (not very much was saved actually) and it showed that bbit of scribble by a spam site (which we have nothing to with, and never mentioned on our web site). The message didn't appear on the website though. This is only a snippet without the links!

INSERT INTO `cache` VALUES ('filter:1:24b82719303bcdc94472ff6c4dd125a1', 'Why is she gonna get angry with you free casino Dont worry about a thing! (into the walkie-talkie) Theres plenty of online casinos exposed' .

cheers
---
Libres-Ailé(e)s (Association for Linux and free software) (France, Cévennes)

syawillim’s picture

Sorry don't know about that one.

www.justapickle.com
blogging community for the socially conscious

www.slickfish.com.au
professional, affordable web site design, production and maintenance for small business