Download & Extend

XML File not found using Drupal directory in field

Project:XBView (Bookmarks Viewer)
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Another weird error - I can access my xbel file using the fully qualified url in the "Path to XBELF bookmark file" field, but if I try and use any of the directories below I get a file not found error ("Bookmark file not found! Check path to your xml file!").

/files/xbel.xml
files/xbel.xml
/drupal5/files/xbel.xml

I was under the impression that the default behaviour for drupal system directory fields was to start from the (fictitious) /drupal-root/ directory and work down the hierarchy, hence this is possibly part of the confusion. In other fields in core, (e.g. www.example.com/admin/settings/file-system) directories are listed starting in that manner (on that pages, the default "File system path" is "files" with no trailing/leading slashes.

Hopefully I'm not missing anything obvious here!

Comments

#1

Status:active» needs review
AttachmentSize
xbview.patch 512 bytes

#2

Status:needs review» fixed

Major update committed to Drupal-5 branch. Marking 'fixed'. Thanks.

#3

Status:fixed» closed (fixed)