Adding images not working - drupal on apache

The file you are trying to upload might be too large.

I can't add any images and suspect the issue might be with the apache server permissions to upload files or the h5p drupal module.

[30/Apr/2018:15:55:51 +0100] "POST /h5peditor/d6d2abee1dc9b/0/files HTTP/1.1" 401 867 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"

[30/Apr/2018:15:55:51 +0100] "POST /h5peditor/d6d2abee1dc9b/0/files HTTP/1.1" 200 1026 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36"

 

Is the /admin/config/media/file-system used to store the files? 
I got all permissions set there, even tried 777 temporarily to be sure :)

Any advice you can give where/how else to check?

Using Drupal 7 on Apache with SSL & SSO

icc's picture

Have you tried checking the error log inside Drupal? Alternatively, the error_log file of Apache itself. It may give a clue as to what is wrong.

How do you know the upload fails? Does it just run forever or do you get some sort of error?

Thanks, I already retrieved the above error from apache log and coulnd't find anything else so far.

The strange thing is I discovered now that it works in IE just fine, just not in Chrome which is weird.

I already cleared cache and cookies :) Any known issues perhaps with chrome?

tim's picture

There aren't any known issues with Chrome. Usually it's the most stable compared to the other browsers. I think more error messages would be helpful.