Category : error-handling

I am using the php Slim framework V4. I try to send a http header and an http error code. With http status 200 it is working fine. When specifiek 304, the response error code is fine, but the headers are missing in this case. return $response->withHeader(‘Content-Type’, ‘text/plain’) ->withHeader(‘X-Error-Message’, $message) ->withHeader("Access-Control-Allow-Origin", $_SERVER[‘HTTP_ORIGIN’]) ->withStatus(200); this works, ..

Read more

This is my json in postman: [ [ { "amount_refunded": 1, "base_amount_refunded": 1, "base_discount_amount": 0, "base_discount_invoiced": 0, "base_discount_refunded": 0, "base_discount_tax_compensation_amount": 0, "base_discount_tax_compensation_invoiced": 0, "base_discount_tax_compensation_refunded": 0, "base_original_price": 1, "base_price": 1, "base_price_incl_tax": 1, "base_row_invoiced": 1, "base_row_total": 1, "base_row_total_incl_tax": 1, "base_tax_amount": 0, "base_tax_invoiced": 0, "base_tax_refunded": 0, "created_at": "2021-10-04 13:02:36", "discount_amount": 0, "discount_invoiced": 0, "discount_percent": 0, "discount_refunded": 0, "free_shipping": ..

Read more

I have finally almost figured out my coding project after many rewrites, but now I can’t get the errors to appear although I had them working before adding the submit-button IF statements to solve another problem. Now I can’t figure out how to get them to populate without causing both the form and the thank ..

Read more

I need your help. I am trying to install openbiblio 0.7.1 I am doing everything right. When I open the page it says: https://gimnaziapansioni.ge/obiblio/home/index.php This page isn’t workinggimnaziapansioni.ge is currently unable to handle this request. HTTP ERROR 500. If you have had a similar case and how do I fix it? Error Log: [Tue Oct ..

Read more

I know this isn’t the most efficient PHP code, but I have gone the rounds and have gotten the furthest with this. However, I am struggling to get the results that I need for this project. Result Needed: Before the submit button is clicked: I need the t-shirt option drop-downs and customer contact form information ..

Read more