Drupal 4.7.6
PHP 5.2.1
GD 2.0.28
Modules installed: bueditor, front, imce, inline, menu_per_role, simple_access, systeminfo, upload
Site customization: vbDrupal (only touches user-related tables so far as I know)
I can upload images using the standard upload button successfully, but when I click Preview or Submit on the content, I get this error:
* warning: Attempt to assign property of non-object in /path/path/siteuser/mydomain.com/modules/inline/inline.module on line 231.
Comments
Comment #1
silurius commentedForgot to mention that on the content preview, in lieu of the inline image, there is this string:
NOT FOUND: http://mysite.com/system/files/brain.jpgInterestingly, that path works just fine when I simply open that URL into a browser session.
Comment #2
silurius commentedOf course, not using the full path (as I tried first) also generates an error:
Validation error, please try again. If this error persists, please contact the site administrator.Comment #3
sunAre you using the private file access method?
Comment #4
sunComment #5
sprintstar commentedI get the same but for 5.x-1.1, and on line 333, and only on preview. Submit doesn't cause inline image to appear even though its configured to do so.
Comment #6
sprintstar commentedTurn off auto-inlining and the error goes away.
Comment #7
sunSorry, this issue has been in the queue for too long.
Comment #8
pegmonkey commentedI get the same error. When using auto-inline enabled. Commenting out these lines from whatever case is active for their respective nodes makes the error go away and everything works fine.
// $node->files[$fid]->inline = TRUE;
// else {
// $node->files[$fid]->inline = FALSE;
// }
Public file access is enabled.
Comment #9
pegmonkey commentedupdating to inline-5.x-2.x-dev fixes the issue. My issue has been resolved.
Comment #10
sunHeh... although I do not advise people to upgrade to 5.x-2.x yet, you're welcome to be my alpha/beta tester 8)
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.