BLOG

Technical tips collected over several decades in IT

The REST API encountered an error

The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages. The REST API request failed due to an error.Error: cURL error 28: Operation...

Format validationsErrors

A recursive function that takes a validation error array and return a string with all the different errors concatenated into a formatted string Further to my previous posting https://toggen.com.au/it-tips/cakephp-2-displaying-validation-errors This function will walk...

OPTIONS pre-flight Check CakePHP 2

Before fetch sends a POST request to another domain it will do a CORS pre-flight check. The following website has the HTTP OPTIONS middleware code you can use for CakePHP 3. It mentions for a CakePHP 2 version you need to go to another website which is unavailable now...

I have moved to Amazon Web Services

So tonight I moved my websites to AWS. I logged into AWS and created all my DNS zones and records in Route 53 and then logged into multiple DNS registrars they were registered with and pointed them to Route 53 DNS servers. I chose the default Amazon Linux AMI and then...

Login

Blog History