Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
316 views
in Q2A Core by

When I edit a question containing images I get a lot of warnings.

First of all, here is an example of a question containing a gif:

http://lektiesos.dk/301/hvordan-forl%C3%A6nges-br%C3%B8kerne-s%C3%A5-de-f%C3%A5r-f%C3%A6llesn%C3%A6vner?state=edit-301

Logging in as Admin, and choosing to edit this question I get:

Warning: file_get_contents() [function.file-get-contents]: Unable to access fileAttachments/000/ . in/var/www/lektiesos.dk/public_html/qa-include/qa-app-blobs.php on line 140

Warning: file_get_contents(fileAttachments/000/ .) [function.file-get-contents]: failed to open stream: No such file or directory in /var/www/lektiesos.dk/public_html/qa-include/qa-app-blobs.php on line 140

Notice: Undefined index: format in /var/www/lektiesos.dk/public_html/qa-include/qa-base.php(510) : eval()'d code on line 94

Notice: Undefined index: filename in /var/www/lektiesos.dk/public_html/qa-include/qa-base.php(510) : eval()'d code on line 97

In qa-config.php I have set images to be saved to disk using

define('QA_BLOBS_DIRECTORY', 'fileAttachments');

Thanks for your help!

Q2A version: Latest
by
Obviously the folder "fileAttachments/000/" is missing. Have you deleted it manually? Or have you had saving to database enabled beforehand?

If not, please report the bug at https://github.com/q2a/question2answer/issues

Please log in or register to answer this question.

...