Closed (duplicate)
Project:
XML sitemap
Version:
7.x-2.x-dev
Component:
xmlsitemap.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Jan 2011 at 13:45 UTC
Updated:
13 Jul 2012 at 10:59 UTC
Not sure what the problem is.
It happened after I re-indexed my site, as soon as I clicked on Configuration which is the only link from within Admin that generates the above error.
Comments
Comment #1
thomas.frobieterI agree, when i call the configuration page "/admin/config":
"Fatal error: Call to undefined function file_directory_path() in .../html/blog/sites/all/modules/xmlsitemap/xmlsitema"
I had only the xml sitemap module enabled.. no sitemap custom or the others..
Comment #2
jennifermontes commentedI've been getting this error as well. I didn't have any previous versions of this module installed and visiting /admin/config will generate a WSOD and display the "Fatal error".
I'm running Drupal 7.0 and PHP 5.2.14.
Comment #3
jennifermontes commentedThis seems to be a simple porting issue. The porting guide (found here: http://drupal.org/update/modules/6/7#file_directory_path) says that
should be used instead of file_directory_path().
If I knew how to create a patch I would fix this myself. :s
Comment #4
dave reidThis has already been fixed. Use 7.x-2.x-dev.
Comment #5
almaceria commentedDave, I think you should remove the Download link to the 7.x-2.0-beta1 version. It's a bit confusing that the beta version is less stable than the one in development.
Comment #6
lagerassassin commented@almaceria
your lucky you can get any of them to work mate!
dev = no
beta= no
same old error every time on each one:
Fatal error: Call to undefined function file_directory_path() in /home/*****/public_html/*****/modules/xmlsitemap/xmlsitemap.module on line 975
Comment #7
lagerassassin commentedok can someone tell me how #4 (7.x-2.x-dev) works? because it isn't for me:
modules/xmlsitemap/xmlsitemap.module on line 975
edit...
after retrying the dev I'm now getting this error when trying to access "configuration"
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'max_filesize' in 'field list': SELECT MAX(max_filesize) FROM {xmlsitemap_sitemap}; Array ( ) in xmlsitemap_requirements() (line 81 of /home/*****/public_html/*****/modules/xmlsitemap/xmlsitemap.install).
Comment #8
sp_key commentedAre you guys working on a fresh d7 installation?
Mine was an alpha-to-beta-to-7 and apparently this wasn't supported.
Once I reinstalled a fresh d7 version and tried the dev version of xml sitemap it worked.
Having said that I agree that the beta link should be removed.
It is frustrating to go through all these trial and errors and wasting so much energy, especially when it is known that we shouldn't use that version!
Comment #9
wavesailor commentedHi Dave,
When will the RC release be updated with all the DEV changes? The last release was in Dec 2011.
Thx,
JJ