problem installation H5P in wordpress Forbidden (403)

Hello,

When I want to create an activity in H5P for wordpress, I always get this error: (on all activities)

Forbidden (403)

Impossible d'interpréter la réponse.

Merci de vérifier le journal des erreurs.

 thank

Christophe

 

Attachments: 
BV52's picture

Hi Christophe,

In order to give your bug report the best chance of getting answered, please include the following information:

  1. Detailed steps to reproduce the bug (exactly how and when did it happen)
  2. Platform and version number. E.g. Drupal, Wordpress, Moodle.
  3. Mobile or Desktop
  4. Browser: Chrome, Firefox, Safari etc
  5. H5P plugin version
  6. H5P content type and version (if a content type was used), and a sample URL or attached H5P.
  7. Any browser console errors
  8. Any PHP errors
  9. Screenshots if it's a visual problem
  10. Any recent changes to the environment (new plugins/modules, updates, configuration changes etc.)
  11. Any recent changes to the browser you're using (new extensions, updates etc.)

The more information you provide, the quicker the community will be able to fix it and the quicker you'll have a working solution!

-BV52

Hi BV52,

1) Detailed steps  :

When I click on GET to install an activity, I get the 403 error message (in attachment)

By cons, if I send it from my MACBOOK, it works

2) Platform 

WORDPRESS 5.1.1 Hosted by OVH

3) Desktop

4) Browser: Chrome, Firefox and Safari on MACOS

5) H5P plugin version : Version 1.13.1 

6) on attachment

7)  on attachment

8) Any PHP errors : i don't know where i find it

9) Screenshots if it's a visual problem : on attachment

10) and 11) : no recent change

Thank you

icc's picture

If you click the request URL in the inspector, is there any content in the request?

The 403 is not actually created by the H5P plugin so it's most likely some sort of WordPress permission issue, misconfigured web server (.htaccess) or some sort of header preventing the browser from doing AJAX. Most likely I think it may be some other WordPress plugin treating the request as theirs.

The next step to figure this out would be to check your web server's access log for the request and your web server's error_log file to see if anything is failing. Also, try disabling other 3rdparty WordPress plugins temporarily to see if the issue is resolved.

hi,

in attachment the contents of the URL

I did a test without plugin, same result

I can not find the apache log on this hosting

Thank

BV52's picture

Hi Christophe,

You could also try removing/renaming the .htaccess which is in most cases the cause of an error 403.

-BV52