Jump to content

Tacolombardi

Members
  • Posts

    3
  • Joined

  • Last visited

Tacolombardi's Achievements

Newbie

Newbie (2/6)

0

Reputation

  1. Hi all, I'm trying to show the field "Telephone" in the footer, which is on the page with id 1035, using the code <?php echo $pages->get(1035)->phonenumber ?> It works, but only for a couple of hours or so. Than it seems to dissapear until I resave the page. Anyone know what the problem can be?
  2. Hi, this is all working fine for me, nice module! I have one question: is it also possible to display the image of the event? I think i should use "Cover" and "Source" but i'm not that good with php so I don't know in what sentence to use it..
  3. 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.
×
×
  • Create New...