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

hooli’s picture

I 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.

magico’s picture

Any news about this issue?

ninetwenty’s picture

This 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

eaton’s picture

Upload 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?

lilou’s picture

Version: x.y.z » 7.x-dev

This bug is it still valid ?

reb00tz’s picture

+1 to this issue - definitely exists with Drupal 5.10.

reb00tz’s picture

Version: 7.x-dev » 5.x-dev
Priority: Normal » Critical

Changed 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!

StevenPatz’s picture

Version: 5.x-dev » 7.x-dev
Priority: Critical » Normal

Things are generally fixed in the latest development branch and then back ported if needed.

lilou’s picture

Status: Active » Closed (won't fix)

Blog API is removed : #537434: Drop the blog API from core
So this won't be necessary anymore.