Hi all,
I can't get quiz images working. This problem drove me so crazy I completely uninstalled Moodle from the server and started over, but it's still happening.
Here's a screenshot. The image on top was inserted with an <img> tag. The broken link on the bottom is the one I tried inserting with the button in the text editor.
I'm seeing this behavior in other places on the site too. In some contexts (user profile image, course description files) the uploaded image works just fine, but in most others (quizzes, labels, activities) it doesn't work.
I noticed the image addresses always invoke "draftfile.php" when it fails, and if I copy and follow that image address, I get the error message "You are already logged in as ___, you need to log out before logging in as different user." Could it be some sort of permission problem?
If I write a forum post, I can't upload an image and insert it into the text of the post, but interestingly enough, I can upload it as an attachment and then it works fine. Is there a difference between the "Attachment" field and the text editor file picker? Why would one work but not the other? Could it be a server setting? I'm on Bluehost running Moodle 3.0. Is it a PHP problem?
Please help...school starts in one week, and I've tried (and failed) for countless hours to fix this on my own. Thanks in advance.