• Can’t add an image to any of the questions, no matter if I try in preview mode or use img tag in the text mode. I get the following error:

    Forbidden
    You don’t have permission to access this resource.
    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

    However, I can find the id in the database, add the img tag in the database cell and then it all works fine. I can open it, but it doesn’t saves if I make changes.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter leionaaad

    (@leionaaad)

    I must add:
    I have only one plugin, Quiz Tool Lite. There is nothing to deactivate
    The images work fine in wordpress whenever I add them to any post or page
    I checked the file permissions and recreated the .htaccess file

    Plugin Author Alex Furr

    (@alexfurr)

    Hi,
    Sorry to hear you’re having problems.
    Is this using the block editor, or are you using classic editor?

    Best wishes,
    Alex

    Thread Starter leionaaad

    (@leionaaad)

    Both of them have the same problem.
    I am using the block editor I simply hit the “Add Media” button and copy the image link. It adds the image, I can see it, no problem. Once I click on save it gives me the error.

    If I use the text editor I click on IMG button and I paste the link to the image, this adds to the content:
    <img src="directPathToImage" />, when I save…error.
    And then on save it gives the error again. However, if I switch from block to text and in reverse, the image is there. It only fails on save

    • This reply was modified 4 years, 6 months ago by leionaaad.
    Plugin Author Alex Furr

    (@alexfurr)

    Hi – can you confirm you’ve installed and are using the classic editor plugin, NOT the block editor?

    I’ve just tried on a vanilla install using 2020 theme and am able to add images using both with the Gutenberg editor enabled AND the classic editor activated and it worked OK for me.
    Just so I know we’re on the same page, can you paste me the wp-admin URL you are looking at.
    Thanks,
    Alex

    Thread Starter leionaaad

    (@leionaaad)

    Thanks for the reply.
    Looks like we are talking about different things. I have nothing to do with Gutenberg or anything related to WordPress page editing I can add images to any of the pages there. I simply have the question pots, I need to add a new question to the existing list and when I add an image to the question it fails.
    So I am using the editing field provided by the plugin.

    This is the URL when I edit one of the questions:
    wp-admin/admin.php?page=ai-quiz-question-edit&questionID=539

    Here is a screenshot:
    https://ibb.co/tKSm6B1

    Thread Starter leionaaad

    (@leionaaad)

    Thanks for the support, it looks like the issues are not because of the plugin, I became convinced it has to do with my hosting provider. Maybe I will add the solution here for posterity, but you guys you can just ignore this.
    Once again, thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘can’t add an image to questions’ is closed to new replies.