Closed (duplicate)
Project:
Path redirect
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Aug 2008 at 14:25 UTC
Updated:
30 Aug 2008 at 09:15 UTC
A couple of days ago someone/something was hitting one of my websites with undefined urls. Two of those url's where:
www.example.com/function.require-once and www.example.com/function.require
This fine module issues the following error:
Fatal error: Call to undefined function url() in xxx/html/sites/all/modules/path_redirect/path_redirect.module on line 45
I think this is an error in this module.
Thanks for your great module.
Comments
Comment #1
avpadernoThat is really strange:
url()is a function that is present in the core code of Drupal; it's not even present in a core module, it is present in a file that is included at bootstrap time (I mean when Drupal receive a page request).Are you sure about the function being called, and not being present?
I then don't understand what you mean with the first part. May you give the address of one of the web sites which is giving that problem?
Comment #2
promesI found the message in the "admin/logs/watchdog", but the actual message has been deleted now.
Today I found several new messages with similar "page not found" URL's but without a PHP warning.
The actual site (drupalhandboek.nl) receives some days so many bad requests / page not found errors / page requests with scripts and other shit (hackers/crackers ?) it will give over 20 pages of watchdog-log entries a day. I believe they love to hack or crack my site (as they actually managed to do at least once).
Since you cannot find anything in your module, I propose to close this issue.
Thanks for your attention.
Promes
Comment #3
avpadernoI just meant that the function
url()is always present, and it is defined from Drupal. The only cases you get such a message error is when some Drupal files have been deleted, or PHP is not able to find them anymore.The error messages you talk of, which show URLs ending with function.require-once, and function.require are messages that tell you those PHP commands (
require_once, andrequire) were not able to include a PHP file. I would suggest you to check your Drupal installation because maybe some files have been deleted, or there is a problem in the Drupal configuration.Comment #4
avpadernoComment #5
avpadernoThis is a duplicate of #290221: Call to undefined function url().
Comment #6
avpaderno