I had problems printing and scanning from my MacOS laptop to a HP Officejet Pro 8620. I ended up fixing it by turning off IPv6 on the printer and the MacBook. But it appears that you can have IPv6 turned on and it still work. Please see below...
Open Source Apps
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...
Download failed. cURL error 77 – Have you tried switching it off and back on?
I recently updated the PHP version on my Amazon Linux AMI and then a few days later notice I could not download Wordpress updates. I was getting the following error: Download failed. cURL error 77 If you get this error you might try restarting your web server process...
Dealing with Flashes of Unstyled Content in NextJS
So I made a YouTube video of a challenge I had of a FontawesomeIcon React component flashing to massive when loading the page and then back to the right size. This video shows the work-a-rounds. I tried to include the code snippets here but the self hosted wordpress...
Call to undefined function opcache_reset()
Got this error message 2018/03/13 22:12:41 [error] 17149#0: *7057 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function opcache_reset() in /path/to/wordpress/wp-content/plugins/opcache/opcache.php:72 And then created a file...
Just discovered the Elegant Themes — Visual Builder
So I have been using the Divi Template from Elegant Themes and really have paid no attention for a long time. But just today I was looking at the Youtube and discovered the Visual Builder. To describe it I would say it gives you Squarespace style inline editing within...
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...
Search / Replace in Entire Document with Scribus
Scribus is a great piece of software but there seems to be a missing piece of functionality. You can search and replace in a single text frame but you can't seem to search and replace in the whole document. So if your document has multiple text frames then you can't...
Elegant Themes Visual Builder No Worky on NGINX Server
Symptoms: You are running php-fpm and nginx You can enter the visual builder from the home page https://jamesmcdonald.id.au/?et_fb=1 but not from a another url such as https://jamesmcdonald.id.au/contact?et_fb=1 Problem: The Divi Visual Builder uses ?et_b=1 query...
Cry Havoc and Release the Dogs of War — PHP 7.1.5 Upgrade Gotchas
So just doing a Joomla 3.7.1 to PHP7.1.5 upgrade. I have Chronoforms v5 installed (https://www.chronoengine.com/downloads/chronoforms) which works brilliantly btw. However on upgrade to PHP 7.1.5 and trying to save a form I got "0 Cannot use string offset as an array"...
Postbooks Print PDF to Email – Ugly PDF Fix
When printing from Postbooks you can Print to PDF or PostScript file or to a local or network connected printer. I would like to print invoices from Postbooks to my email account so I can then forward the email on to the client which has the benefit of keeping a paper...
Postbooks 4.8.1 GUI Client Print to Cups Printer work-a-round
Still having trouble with printing from Postbooks to a Cups based printer on Fedora 21 http://www.xtuple.org/xtincident/view/bugs/24335 The work-a-round is to change the A4 page size to custom and then it prints... or build the client from source... This has...
Website Content Transfer (Webscraping using jQuery Selectors and Node.js)
I was looking at how to transfer product information from custom shop to WooCommerce in Wordpress. My challenge was to get all the data for a mass product transfer without doing a lot of manual entry. With products online they generally have consistent html divs,...
xTuple 4.5.0 Postbooks Client Unable to Print to Cups Printer
Currently no fix, but a hacky work-a-round listed below: I have posted largely similar content on the xtuple.org/forum hoping they will reply with a fix. Problem: Can print PDF to local file system but cannot print to CUPS printer Error Message: When I start xtuple...
jmits.com.au transferred to Eleganthemes Divi theme over WordPress
So as of June 12 I'm no longer a full-time employee of Atlantic Pacific Foods. I will be doing some consulting work through "James McDonald IT Services". Seeing as http://jmits.com.au was a nice HTML site put together for me by my sister I've kept it as is for years....
Google Algorithm Change Traffic Increase
On May 19 2014 Google made an Algorithm change as can be seen at this Google Algorithm Change History page. Around the same time I moved my website from Rackspace to DigitalOcean Anyway, a day or so later I noticed a marked increase in daily traffic. I thought perhaps...
www.domaincentral.com.au run a mile
Just trying to help a friend get Wordpress running on Domain Central The one click install of Wordpress they provided was many versions behind so I deleted it and attempted to upload 3.9.1 and did the install. And then ran straight into a brick wall: Domain central is...
What is Your Web Server saying to Your Browser Behind Your Back?
If you are wanting information about the interaction between your PHP web application framework (Wordpress, Joomla, CakePHP, Drupal, etc), your web server (Apache, IIS, Nginx) and your browser. You can do the following. Create a file on your PHP enabled web server...