Everything was working fine, and then.... bam:
Fatal error: Call to undefined function: file_directory_path() in /home/villedem/public_html/modules/contrib/logotool/logotool.module on line 4
?
Everything was working fine, and then.... bam:
Fatal error: Call to undefined function: file_directory_path() in /home/villedem/public_html/modules/contrib/logotool/logotool.module on line 4
?
Comments
Comment #1
igorik commentedthe similar problem, I got blank screen when I put the newest logo tool module into modules directory
Comment #2
pobster commentedWhy is that a similar problem?... File another bug report and PLEASE GIVE ME SOME USEFUL INFORMATION...
Both of you tell me;
The version of Drupal you're running
What version of logotool
What your cache settings are set to
What settings you've set for logotool
Does the logotool/logos page show all your logos correctly?
Do you *only* have logos in your logos directory (no extra directories or anything)
Have you altered the code in *any* way at all (core or module)
Does the logotool/logo screen show a blank page with a logo on it
Have you had any trouble with corruption to your cache (and does emptying it fix the problem?)
file_directory_path() is a perfectly valid function (http://api.drupal.org/api/5/function/file_directory_path) - these sort of problems seem to arise out of certain caching problems and I'd really appreciate detailed answers to the questions above as I'm working on a 'cure' (!) the 4.7 module has already been updated, I've not got round to the 5.x version yet as I'm not actually running a 5.x live site myself so tbh, I'm in no hurry.
Pobster
Comment #3
Anonymous (not verified) commentedI pretty much followed the instruction from the drupal website.
I created a directory "logos" in "files"
I then added 6 0r 7 .jpgs in this folder
I set the rendering to "random"
I did nothing else
The images were running swell, and then - error.
I was using "masquerade" and the error occured after switching users. I'm not sure that that had anything to do with it, but maybe it will shed light?
5.1
1.2
Caching mode: normal
Aggregate and compress CSS files: enabled
I'm not sure. I hade to remove the module so that the website was back up.
Yes, they were
only .jpg
no
no, just the error
no. I did do a ctrl f5 to clear page cache.
Hope this helps.
Thanks for the help - really!
Comment #4
pobster commentedJust for you (seriously!) I updated the logo.php 4.7 version to Drupal 5.x - it *should* resolve caching issues (hopefully!)
http://ftp.osuosl.org/pub/drupal/files/projects/logotool-5.x-2.0.tar.gz
I unfortunately can't test it very well as I don't have a 5.x live site - but I can't see any reason why it won't work?
Let me know!
Thanks,
Pobster
Comment #5
pobster commentedOkay new version (as of 5.x-2.3) should stop these problems.
Thanks,
Pobster
Comment #6
pobster commented