Jump to content

FlowJow

Members
  • Posts

    3
  • Joined

  • Last visited

FlowJow's Achievements

Newbie

Newbie (2/6)

2

Reputation

  1. Actually with debugging active now I get the following warning shown: +When I install the process wire fresh with the basic empty template I can see the 404 error without any problem.
  2. Hello to everybody, I have inherited the website of our dance association. It works fine and I was able to update it to the latest Process Wire version. Our webserver runs PHP8.3. Strangely, I do no get the 404 error placeholder-page for undefined pages to run. I use the newest .htaccess and the page exists in principle. However, without debugging mode, the site does not arrive in my browser. I only get: https://i.ibb.co/0n16KpV/404-error-pw.png When I set debugging mode active, then I am able to receive the pre-defined 404 error page in the following way: Open the website that not exists like /unknown => I get the abovementioned "Webpage not available - ERR_FAILED" form Google chrome Press CTRL+F4 => I get the 404 error page from process wire If I then refresh normally with "F5" => I get again the abovementioned "Webpage not available - ERR_FAILED" form Google chrome I seem to only be able to get the page when I press "CTRL+F5". Realy weird. Do you have any idea what I can do or how I could debug it? I do not get any warning or log that helps me find the root cause of the problem. Thanks in advance and Best Regards Florian
  3. Hi everybody, I have inherited the website of our dance association. We also use Process Wire with Recurme. I encountered a fatal error when updating from PHP7.4 to PHP8.3. I could fix it by fixing this function. I added the check "is numeric". Maybe it can be helpful for somebody else. public function ___formatDate($date = '', $format = 'U'){ // default to time() if($date === '' || $date === null){ $date = time(); } // date is integer set_error_handler(function() { /* ignoring e_warning on date fail */ }); if(is_numeric($date)){ $date = $date; } else if(strtotime($date)){ $date = strtotime($date); } else{ restore_error_handler(); return false; } return date($format, $date); } Best Regards Florian
×
×
  • Create New...