Jump to content

Back-end upload not working


Tacolombardi
 Share

Recommended Posts

Hi all,

I recently started using PW and it looks very, very good, that is if I get it to work properly om my domains. Like many others before me I have the same problem with image upload in the back-end.

But I'm at a total loss at this moment. I have tried every solution i could find on the forums to no success. I tried to disable mod_security in the htaccess but as i'm on a shared host I don't think I am able to do that and the Host will probably override those settings. I tried some changes in the php.ini and also tried to get the oldskool upload trough editing the javascript but that also didn't work. GD2 is running and I also tried always_populate_raw_post_data  Now I don't know what to do anymore...

My error log says this:

 

ModSecurity: Access denied with code 501 (phase 2). Match of "rx (?:^(?:application\\\\/x-www-form-urlencoded(?:;(?:\\\\s?charset\\\\s?=\\\\s?[\\\\w\\\\d\\\\-]{1,18})?)??$|multipart/form-data;)|text/xml)" against "REQUEST_HEADERS:Content-Type" required. [file "/etc/httpd/modsecurity.d/modsecurity_crs_30_http_policy.conf"] [line "69"] [id "960010"] [msg "Request content type is not allowed by policy"] [severity "WARNING"] [tag "POLICY/ENCODING_NOT_ALLOWED"] [hostname "*********"] [uri "/*******/page/edit/"] [unique_id "WQr10lTxsYkAAIPEJEYAAAAC"]
[error] [client *********] PHP Notice:  Trying to get property of non-object in /var/www/******/data/www/*********.*********.com/site/templates/news.php on line 50, referer: http://*********.*********.com/*********/page/edit/?id=1019

 

Like I said i'm on a shared host so it's not my own server and I don't have that much knowledge about servers but I do want to try PW and in the future use it on several other domains as wel.

 

Thanks in advance, 

Taco. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...