Hi,
I have set up the CVS version of Drupal, and was trying to determine which file setup would work best with Ecto.
It works fine with upload and public file. When the drupal system is switched to private, the files are also
uploaded OK (into the correct private directory), and the correct URL is returned in the XML
(eg http://localhost/drupal/system/files?file=img1.jpg), but the system cannot find the file.
After having a look at the blogapi.module and the upload.module, I presume it is not creating a row
in the files table.
I'm quite new to Drupal, so unsure where it is best to change this in the code, from a compatability point of view.
As an aside, I tried to get filemanager working with attachments, but have not suceeded. It always errors saying
the destination directory cannot be found. Is there a patch for these modules, or should I stick with upload?
What is the future direction for file management in Drupal at the moment?
Many thanks,
Brendan
Comments
Comment #1
hooli CreditAttribution: hooli commentedI have got this to work for images, by installing the image module, and setting the sub-directory to blank, rather than 'images'.
Unfortunately this does not work for other file types, and the file table is never updated. Not idea, but fine to get started with Ecto for the moment.
Comment #2
magico CreditAttribution: magico commentedAny news about this issue?
Comment #3
ninetwenty CreditAttribution: ninetwenty commentedThis problem exists for any blogging tool. The files table is not updated by blogapi and so none of the uploaded files can be accessed. I'm currently using 4.7.3
Comment #4
eaton CreditAttribution: eaton commentedUpload module *should* be able to respond to the 'blogapi new' and 'blogapi edit' nodeapi ops, if sufficient information comes through in the xmlrpc call. Is there someone out there who's familiar enough with the innards of blogapi to take a look at this?
Comment #5
lilou CreditAttribution: lilou commentedThis bug is it still valid ?
Comment #6
reb00tz CreditAttribution: reb00tz commented+1 to this issue - definitely exists with Drupal 5.10.
Comment #7
reb00tz CreditAttribution: reb00tz commentedChanged the version, since it affects 5.x to Dev...
Does anyone with inner knowledge able to fix this? I just hope we're not adding more features when the basics (or at least this one) don't appear to be working!
Comment #8
StevenPatzThings are generally fixed in the latest development branch and then back ported if needed.
Comment #9
lilou CreditAttribution: lilou commentedBlog API is removed : #537434: Drop the blog API from core
So this won't be necessary anymore.