Fatal Error Call To Undefined Function File_directory_path
that make connections all over the world. Join today Download & Extend Drupal Core Distributions Modules Themes XML sitemapIssues Fatal error: Call to undefined function file_directory_path() in ...sites/all/modules/xmlsitemap/xmlsitemap.module on line 975 Closed (duplicate)Project:XML sitemapVersion:7.x-2.x-devComponent:xmlsitemap.modulePriority:NormalCategory:Bug reportAssigned:UnassignedIssue tags:fatal errorxmlsitemapReporter:sp_keyCreated:January 6, 2011 - 13:45Updated:July 13, 2012 - 10:59 Log in or register to update this issue 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.frobieter CreditAttribution: thomas.frobieter commented January 7, 2011 at 8:40pm Issue tags: +fatal error, +xml, +sitemap I 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.. Log in or register to post comments Comment #2 jennifermontes CreditAttribution: jennifermontes commented January 8, 2011 at 2:55am I'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. Log in or register to post comments Comment #3 jennifermontes CreditAttribution: jennifermontes commented January 8, 2011 at 3:01am This 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 Log in or register to post comments Comment #4 Dave Reid CreditAttribution: Dave Reid commented January 8, 2011 at 6:41am Status: Active » Closed (duplicate) This has already been fixed. Use 7.x-2.x-dev. Log in or register to post comments Comment #5 almaceria CreditAttribution: almaceria commented January 26, 2011 at 12:56pm Dave, 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. Log in or register to post c
that make connections all over the world. Join today Download & Extend Drupal Core Distributions Modules Themes SweaverIssues Fatal error: Call to undefined function file_directory_path() Closed (fixed)Project:SweaverVersion:7.x-1.x-devComponent:CodePriority:CriticalCategory:Bug reportAssigned:UnassignedReporter:rfayCreated:September 17, 2010 - 16:30Updated:October 2, 2010 - 21:20 Log in or register to update this issue Jump to:Most recent attachment Fatal error: Call to undefined function file_directory_path() in .../sites/all/modules/sweaver/sweaver.install on line 18 This is caused by the removal of file_directory_path() in #895308: Remove file_directory_path(). The probable fix is just https://www.drupal.org/node/1017188 to use the URL public:// to access files. More information is athttp://drupal.org/node/877214 andhttp://randyfay.com/node/73 (And I apologize we did this. It wasn't my fault. Really.)Files: CommentFileSizeAuthor #2 914912.patch7.24 KBswentel Comments Comment #1 BenK CreditAttribution: BenK commented September 18, 2010 at 5:37pm Subscribing... Log in or register to post comments Comment #2 swentel CreditAttribution: swentel commented September 18, https://www.drupal.org/node/914912 2010 at 6:51pm Status: Active » Fixed FileSize 914912.patch7.24 KB Wow, thanks for the link to that issue, that would have cause me a few major WTF's :) Anyway, committed a fix to CVS, patch is also attached, install now works again. Marking as fixed anyway, need todo a lot of merging to D7 once the first beta is out for D6 (normally on monday). Log in or register to post comments Comment #3 rfay CreditAttribution: rfay commented September 18, 2010 at 9:14pm And thanks for a truly amazing module. Wow, I'm blown away. Log in or register to post comments Comment #4 October 2, 2010 at 9:20pm Status: Fixed » Closed (fixed) Automatically closed -- issue fixed for 2 weeks with no activity. Log in or register to post comments Add child issue, clone issue News itemsDrupal news Planet Drupal Association news Social media directory Security announcements Jobs Our communityCommunity Getting involved Services, Training & Hosting Groups & Meetups DrupalCon Code of conduct DocumentationDocumentation Drupal
that make connections all over the world. Join today Download & Extend Drupal Core Distributions Modules Themes Secure Code ReviewIssues Fatal error: Call to undefined function https://www.drupal.org/node/1268170 file_directory_path() in secure_code_review/includes/utility.inc on line 24 Closed (fixed)Project:Secure Code ReviewVersion:7.x-1.x-devComponent:CodePriority:NormalCategory:Bug reportAssigned:solotandemReporter:gregglesCreated:September 2, 2011 https://www.drupal.org/node/1105354 - 20:16Updated:April 22, 2016 - 13:54 Log in or register to update this issue Jump to:Most recent comment Most recent attachment I get this error when trying to enable the latest version of the module.Files: CommentFileSizeAuthor #6 secure_code_review-file_stream_path-1268170-6.patch1010 bytesmarkpavlitski Comments Comment #1 solotandem CreditAttribution: solotandem commented September 3, 2011 fatal error at 6:11pm Assigned: Unassigned » solotandem Status: Active » Fixed This error occurs if enabling this module at same time as coder_upgrade. If the latter is previously enabled, then it does not occur. With this commit, enabling from drush and the modules page succeeds without errors. Thanks for finding the bug. Log in or register to post comments Comment #2 greggles fatal error call CreditAttribution: greggles commented September 4, 2011 at 12:13am Ah, great. It seemed quite weird since I knew the same code had been working previously. Thanks, Jim. Log in or register to post comments Comment #3 September 18, 2011 at 12:23am Status: Fixed » Closed (fixed) Automatically closed -- issue fixed for 2 weeks with no activity. Log in or register to post comments Comment #4 netw3rker CreditAttribution: netw3rker commented November 29, 2012 at 9:21pm Status: Closed (fixed) » Active I'm not sure that fixes the problem. it still makes the call to 'secure_code_review_directory_path()' and that still assumes no stream format ($stream_format=false) and that then attempts to call a function that doesn't exist in any modules or drupal api called "file_directory_path()". the underlying problem that "file_directory_path()" doesn't exist needs to be remedied. it appears that in other modules that use this function, They all do an if(function_exists('file_directory_path')) first. this implies that that function is available from a contrib module somewhere. @solotandem, can you check your code base to see where that function is? Thanks! -Chris Log in or register to post comments Comment
that make connections all over the world. Join today Download & Extend Drupal Core Distributions Modules Themes TransliterationIssues Call undefined function file_directory_path Closed (duplicate)Project:TransliterationVersion:7.x-3.0-alpha1Component:CodePriority:MajorCategory:Bug reportAssigned:UnassignedReporter:yvmarquesCreated:March 25, 2011 - 15:10Updated:March 27, 2011 - 16:18 Log in or register to update this issue Hi, I installed the module from drush and active it. When I go in admin/config/media/file-system/transliteration I've this PHP error : Fatal error: Call to undefined function file_directory_path() in /httpdocs/sites/all/modules/transliteration/transliteration.admin.inc on line 48 If you need more informations, tell me. Regards, -- Yvan Comments Comment #1 smk-ka CreditAttribution: smk-ka commented March 25, 2011 at 4:09pm Status: Active » Closed (duplicate) Please use 3.x-dev for now, as it already contains a fix for this issue. Thanks! Log in or register to post comments Comment #2 yvmarques CreditAttribution: yvmarques commented March 27, 2011 at 4:18pm OK, thanks. Can you tell when you plan to release a stable version ? Regards, -- Yvan Log in or register to post comments Add child issue, clone issue News itemsDrupal news Planet Drupal Association news Social media directory Security announcements Jobs Our communityCommunity Getting involved Services, Training & Hosting Groups & Meetups DrupalCon Code of conduct DocumentationDocumentation Drupal 8 docs Drupal 7 docs Developer docs api.drupal.org Drupal code baseDownload & Extend Drupal core Modules Themes Distributions Governance of communityAbout Web accessibility The Drupal Association About Drupal.org Terms of service Privacy policy Drupal is a registered trademark of Dries Buytaert.