I get this error each time I try to update a node. The node does update though.

This is on a fresh install of 5.7, form.inc patched (with the latest 5.6 patch), and only Views and core modules enabled.

Comments

bsuttis’s picture

Title: Call to undefined function _image_filename() in \editview\editview.module on line 7 » Call to undefined function _image_filename() in \editview\editview.module on line 77

Title typo. =/

bsuttis’s picture

Status: Active » Closed (fixed)

Must've been user error on my end, redid everything and the error is gone. My bad.

boinkster’s picture

I'm getting the same error in the same circumstance. Fresh install of 5.7, patched form.inc with 5.6 patch. Testing with only core and required modules - using Story as default for content type. Returns the error but updates the node.

Did you do anything different when you redid everything?

bsuttis’s picture

Not that I can specifically remember.

I know for a fact that if I redid it all, it meant I dropped the entire table and reinstalled drupal. Probably not the best way to go about it. I'd recommend you try to duplicate it on another install. Maybe it is an issue.

boinkster’s picture

Looking at the comments proceeding line 77 in editview.module, it seemed the missing function was related to the image uploads. I enabled the image module and the error went away. Thus, I would say that Editview (in this version) is dependent on image module.

boinkster’s picture

Whoops, spoke too soon. The image module is not related.

Still trying to figure this out. Here are some clues:

When you edit a node and hit update, it throws the error. If you then hit the back button, you can edit the same node and hit update - no error. You can then update the same node multiple times without an error. If you try to update a different node in the view the error returns.

btopro’s picture

I installed the image.module and it started working around this. Still can't get ajax working though :\

samyak_bhuta’s picture

I faced the same error for the same v5.7. As soon as I installed the Image Module the error is gone. Also, for me the ajax functionality is working ! Now looking to provide autosave/autoupdate feature. Do let me know if anybody have any idea or to refer something.

Samyak

agileware’s picture

Status: Closed (fixed) » Needs work

This is a bug in editview itself. I've fixed the problem in my development environment and I'll put up the patch as soon as possible.

agileware’s picture

Status: Needs work » Fixed

This is now included in the 5.x-1.0 release

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.