Jump to content

Erik

Members
  • Posts

    45
  • Joined

  • Last visited

Recent Profile Visitors

1,137 profile views

Erik's Achievements

Jr. Member

Jr. Member (3/6)

11

Reputation

  1. Solved: It was a problem with the youtube Iframe wich was on the page i wanted to save. The hostingprovider had to whitelist something in the ModSecurity module on the webserver. This was in the error log on the server after saving a page: [Tue Jun 06 20:58:31.031464 2023] [:error] [pid 6863] [client xx.xx.xx.xx:47758] [client xx.xx.xx.xx] ModSecurity: Access denied with code 403 (phase 2). Pattern match "<i?frame" at ARGS_POST:product_media_1_media_content. [file "/etc/apache2/modsecurity.d/rules/comodo_free/07_XSS_XSS.conf"] [line "44"] [id "212280"] [rev "4"] [msg "COMODO WAF: Cross-site Scripting (XSS) Attack||domain.nl|F|2"] [data "Matched Data: <iframe found within ARGS_POST:product_media_1_media_content: <iframewidth=\\x22100%\\x22height=\\x22315\\x22src=\\x22https://www.youtube.com/embed/cpgrozkuoqu\\x22frameborder=\\x220\\x22gesture=\\x22media\\x22allow=\\x22encrypted-media\\x22allowfullscreen></iframe>"] [severity "CRITICAL"] [tag "CWAF"] [tag "XSS"] [hostname "domain.nl"] [uri "/p90controlpanel/page/edit/"] [unique_id "ZH@B11273YIAABrP7NIAAAAU"], referer: https://domain/controlpanel/page/edit/?id=1047
  2. Thanks for the info. I will ask the hosting provider again. The strange thing is also when I get the 403 page that I can no longer access the website from my ip address for a few minutes.
  3. When I want to save a page on my website with a certain template, I get the message "forbidden" in the web browser. When opening this page in the Processwire Admin I already get an error: Notice: Array to string conversion in /var/www/vhosts/domain.com/httpdocs/site/modules/FieldtypeTable/InputfieldTable.module online 432 I have no idea where to start troubleshooting this error. Can someone help me out?
  4. That was the solution. Thanks.
  5. When I try to install this module i get this error.
  6. @elabx I studied PHP this weekend. As a result, I am starting to understand more and more of your code. I'm not quite there yet.
  7. Thanks for this example @elabx. I made my own version with checkboxes (multiselect). Only then did I come across the following problem. When I check 2 checkboxes in the same group, For example: Color = Red and Color = Green then only the products with the field green are displayed. After submit this what my url looks like: domain.com/?color=red&color=green I think it's too hard for me on a Friday ?
  8. Thanks @elabx, I've used your example and I'm starting to get it. But what does your code look like if there is a second choice next to "color" in the search form? For example: size
  9. I have already made many (simple) Processwire websites, but never with this functionality. I have studied this example for an hour, but I think my knowledge of PHP is now lacking.
  10. Okay, I understand. But how do you filter on the front-end? I installed the skyscraper demo (https://demo.processwire.com/) to see how it works but find it too complex for what I want. Are there any other examples?
  11. That's what I'm looking for. Can you roughly indicate how you have set up this website in Processwire?
  12. I want to build a product catalog where products can be filtered by 5 attributes. It must be possible to filter on multiple attributes. e.g. size, weight. Now I am looking for the simplest way to do this in Processwire. Who will help me on my way?
  13. When I install the module MaintenanceMode then I get this error message: Breaking news… Fatal Error: Uncaught Error: Access to undeclared static property: MaintenanceMode::$fM in site/modules/MaintenanceMode/MaintenanceMode.module:94 #0 [internal function]: MaintenanceMode::getModuleConfigInputfields(Array) #1 wire/core/Modules.php (3903): call_user_func(Array, Array) #2 wire/core/Wire.php (400): Modules->___getModuleConfigInputfields('MaintenanceMode', Object(InputfieldForm)) #3 wire/core/WireHooks.php (823): Wire->_callMethod('___getModuleCon...', Array) #4 wire/core/Wire.php (465): WireHooks->runHooks(Object(Modules), 'getModuleConfig...', Array) #5 wire/modules/Process/ProcessModule/ProcessModule.module (1349): P (line 94 of site/modules/MaintenanceMode/MaintenanceMode.module) What can I do?
  14. When I want to make a link in a template to, for example, the contact form on a bilingual (Dutch and English) website. What does this link look like so that it goes to the currently active language contact form?
×
×
  • Create New...