Secure Connection Failed An error occurred during a connection to 172.16.98.XXX. You have received an invalid certificate. Please contact the server administrator or email correspondent and give them the following information: Your certificate contains the same serial...
James McDonald
nginx suddenly can’t proxy to non-standard ports – Boolean SeLinux
I did an upgrade recently and suddenly nginx wasn't forwarding requests to remote hosts on non-standard ports.... this was on a CentOS host which had seLinux enabled. Turn seLinux off temporarily setenforce 0 Does nginx now work proxying to non-standard ports? Turn it...
Fixed: Second Windows App Runing under Wine 1.8.1 on OSX 10.11.4 Won’t Accept Keyboard Input
I have two wine apps I typically use. If I launch both of them then I can't enter anything into the form fields of either. To fix this I have ran winecfg and unchecked the "Allow the window manager to control the windows" option on the Graphics tab of Wine...
IE11 Wonky Bootstrap Rendering
Problem: Internet Explorer 11 on Windows 7 Professional renders a bootstrap website with form controls in the wrong place and the layout is corrupt Cause: Internet Explorer 11 has been configured to display legacy banking website with ancient IE8 settings...
CakePHP 2 Slightly Better Looking than Default Pagination
Just trying to make my pagination in CakePHP 2 better looking. I added the first and last links but still had a radius on my previous and next links which looked odd and my 'last >>' link had a square end too. So a bit ugly really. Following is an example of...
Welcome to the Internet Helpdesk
On one of my client sites they have a Telstra Internet connection. An Exchange server sits on the network and forwards mail out to the Telstra Smarthost smtp.telstrabusiness.com. After an update to a Dansguardian proxy server and the subsequent failure of clamd to...
Gaining Access to A Windows Computer when you don’t know the Password
"The trust relationship with this workstation and the primary domain has failed" This error message isn't a big problem when you still have the local computers administrative usernames and login passwords. You just change your login details from...
Bootstrap CakePHP 3 Bootstrap-ui
In my learnings for make self glorious user of Twitter Bootstrap I have been looking at https://github.com/FriendsOfCake/bootstrap-ui I'm using https://github.com/jmcd73/cakephp3-ajax-samples as a place to stash my code so I don't blow my laptop away and then lose it...
White and Nerdy
Weird Al: Saying it like it is https://youtu.be/N9qYF9DZPdw
Synology Diskstation NAS appearing in Finder as not connected of connection failed
My DS415+ Synology NAS has just been updated to DSM 6.0 In my Mac Book Pro running OS X El Capitan 10.11.4 the NAS was appearing in Finder but when I clicked on it the finder pane showed "Not Connected" or "Connection Failed" and clicking the connect as... button...
CakePHP 3: Ain’t gonna GET if it ain’t gotta GET
Just installed CakePHP3 under nginx and tried to switch between pages of a paginated view and every time it would return the default 1st page. The url for each page was http://example.com/cake3/posts?page=2 Discovered using debug_kit that the GET request QUERY_STRING...
CakePHP 3: _serialize is a View Killer
Note to self: If $this->set('_serialize', [ 'content' ]); then a request for content type of 'application/json' or 'application/xml' will automagically return the correct data without needing a view file. But if $this->set('_serialize', false); isn't set then a...
DebugKit not Loading Toolbar in CakePHP 3
Problem: debug set to true in config/app.php, vendor/cakephp/debug_kit exists but debug kit toolbar not appearing in browser, debug_kit/js/toolbar.js shows a 404 when viewing page load in Developer Tools in browser. Cause: symlink from vendor/cakephp/debug_kit/webroot...
CakePHP 3 AJAX Modelless & Database backed Forms
Standing on the shoulders of giants. I have converted the code from the below mentioned sites to work with CakePHP 3. Normal database backed Form with AJAX JQuery code Inspired by: http://jamnite.blogspot.com.au/2009/05/cakephp-form-validation-with-ajax-using.html...
CakePHP 3 – Modelless Forms replace $useTable = false
Globally Change Date Display in CakePHP 3
By default the Locale for CakePHP 3 is en_US so dates display as m/d/y # config/app.php 'App' => [ 'namespace' => 'App', 'encoding' => env('APP_ENCODING', 'UTF-8'), 'defaultLocale' => env('APP_DEFAULT_LOCALE', 'en_US'), 'base' => false, Which makes...
How to use log() in Model/Entity/Bookmark.php CakePHP 3
In CakePHP 2.x I could insert $this->log() just about anywhere and it worked. Was just trying to do the same in CakePHP 3 from inside the file src/Model/Entity/Bookmark.php I received an error message "Call to undefined method App\Model\Entity\Bookmark::log()" To...
Download Pentaho Reports from Pentaho Community Edition
Sometimes you can't locate the original prpt file that you use to create and upload a report to the Pentaho BI Server. So how do you grab the reports from the BI server and then edit them? Firstly you need to have Pentaho Report Designer Installed. Then you need to...