Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By jsbthree on
What?? This is showing up in several places.... uh... any ideas... I've been able to deduce that db_escape_string was the replacment for a query string but it seems to not have been defined or something... I'm a bit confused...
db_escape_string
Fatal error: Call to undefined function: db_escape_string() in /home/nashrad/public_html/drup45/modules/fscache.module on line 7
Comments
don't mix versions
You've not detailed the versions you are using, but from the path above, I think you are using Drupal 4.5 with fscache CVS. It won't work, it is not even meant to work.
--
Drupal development: making the world better, one patch at a time. | A bedroom without a teddy is like a face without a smile.
You are correct
Sorry.. I looked at the module till I was turning blue and then saw the mistake. I didn't think I had mixed the cvs modules with the 4.5 but in fact I had. On another note but still on the subject.. is there a way to dowonload the modules for a version -- i.e. 4.5 -- all at once in a tarball or something. Otherwise one has to to download each one at a time and this seems a bit like busy work. The plain reality is that we who do this for a living must sometimes work from various locations and need to be be able to get things done quickly. If one has root access to a server it is much simpler to grab a tarball and drop it in a directory than copy over the mod as needed. Otherwise one is downloading and then re-uploading one at a time .. Its tedious...
actually I was wrong I'm using 4.51... and no CVS mods
Ii've double checked and now triple checked and still get the above only with other modules.. Im using 4.51 so that may be the problem..
It's a problem with CVS
db_escape_string is the replacement for check_query function.
probably you're using CVS version, which introduces this change.
using 4.5 version should work.
Matteo
I was using 4.5
Only I was using that module from CVS.. and some other too.. This is my mistake but one I would usually be safe in making. Downloading cvs or updateing cvs contributions (all at once) then making a tarball on my own server for download is a way to save 15 hours on an installation. The problem is that it takes so long otherwise.. -- ie. downloading one at at time.. If you use alot of the mods its beyond tedious... I don't know.. I'm sure there is a better way.. Any suggestions.
this post from last year asks the same question to which the answer was that it is not a good idea becasue new users will get confused or make mistakes..... hmmmm.. first I don't think making them dowonload each mod and theme one at a time and tediously re-upload is going to cut down on minstakes. There is nothing about the idea of a tarball that forces one to install all the mods at once.. in fact it does not in any way facilitate mass module installation. All it would do is cut down on download time tedium. This would be good for Drupal and its a small thing..
http://drupal.org/node/2877
Call to undefined function: drupal_set_html_head() in overtext
Call to undefined function: drupal_set_html_head() in /home/nashrad/public_html/drup45/modules/over_text/over_text.module on line 53
using 4.51 and no cvs mods..