Today I went to update Adsense Ads on my website through Google’s Publisher Plugin and received a 404 error response when trying to “Save & Activate” my ads. The error read “Sorry we were unable to save your configuration.The request to your server failed with error code 404.”.
After a bit of searching through both the support forum on WordPress.org, and the Adsense support forum at Google, I had no viable solution to my problem. Of course, this leaves me to not being able to change any of the ad settings for my site.
Long story short, I was able to successfully save and activate the configuration after temporarily disabling the Wordfence Plugin on my site.
I see quite a few reports of 404 errors when trying to save and can assume not everyone is running Wordfence, but if you are getting this error, I’d check to see if you have any caching, firewall or other security related plugins installed and try disabling them while you save your Google Publisher settings. Just don’t forget to enable them when you’re done!
Hope this saves you some time!
Today I got the chance to play around with the Adafruit Huzzah ESP8266 Breakout Board I got with my last order.
Getting things connected and functional is always the first step, so I tend to choose the easiest method available to me, whether I will ever choose to use that method or not. This post is an example of that, and the reasoning behind it.
I’m not going to go over the ESP8266 as it’s already been done numerous times. Here’s Adafruit’s Learn module for the Huzzah ESP8266. It’ll walk you through what the module is, to assembling it, to getting it connected.
So, easiest method available for testing this module is a direct connection to a PC via an FTDI Serial TTL-232 USB Cable (pictured below).
Here is is connected to the breakout. No other connections are required. It’s in the breadboard simply to hold it in place. Keep in mind the corresponding pins will be live… meaning, USB is supplying power, ground and TX / RX signals that are broken out to other pins. If you set the pins on something conductive, you could damage the board. Hence why I put it in a breadboard. Besides, we’ll need it in a breadboard for testing it out later!
Continue reading Adafruit Huzzah ESP8266 Breakout
I ordered in a 5″ TFT LCD with resistive touch screen, along with Adafuit’s RA8875 Driver Board for 40-pin TFT Touch Displays. These are just some notes and comments of my experience in getting it all working.
Making the connections.
First thing to make clear is that the driver board from Adafruit DOES have level shifting on it, and can be connected to both 3.3V and 5V systems. Let me also be clear that although it will work with a mixture of voltage signals (as I found out), you should PICK ONE.
- Vin: +3.3V (** OR +5V)
- GND: GND
- 3Vo: NC (** 3.3V out from the on-board regulator)
- Lite: NC (** Can be used to turn backlight off)
- SCK: SPI SCK
- MISO: SPI MISO (** MISO is NOT tri-stated and cannot be used with other SPI devices without 74HC125 or similar)
- MOSI: SPI MOSI
- CS: SPI CS
- RST: Active Low – connect to any available MCU pin
- WAIT: Active Low – connect to any available MCU pin
- INT: Active Low – connect to any available MCU pin (** or INT pin if you want to use interrupts)
- Y+: NC (** Optional, external touch screen controller)
- Y-:NC (** Optional, external touch screen controller)
- X+:NC (** Optional, external touch screen controller)
- Y-:NC (** Optional, external touch screen controller)
Here are the basic connections made for my setup, which includes the RA8875 driver board, a PIC18F46J11 (3.3V) (44-pin TQFP breakout from Adafruit) and an SD/MMC card breakout from Sparkfun. Top right is voltage regulation. 9VDC in, 3.3V out on the left and 5V out on the right. One thing to note here is I had to use a 10K pullup on the MISO of the SD card to get it to work.
Continue reading Adafruit RA8875 TFT Driver Board
Last night I finished up some final touches on a plugin that I have been working on for my WordPress website. Working on my local development server, everything looked and worked great! So, I fired up FileZilla and uploaded the plugin to my production server. I ran it through a test and found it didn’t work the way I expected it to. Hmmmm.
The portion of the plugin in question was using Ajax to get a text file and display it’s contents in a jQuery DataTables. On my production server, using Chrome’s debug console, I could see my code was producing the following error;
Uncaught TypeError: Cannot use ‘in’ operator to search for ‘length’ in
A few minutes of Google searching led me to this post on StackOverflow, which ultimately helped me solve the issue. The issue presents itself when using jQuery version 1.11.3 and the DataTables extension version 1.10.6. With a little digging, it was easy to find out why this issue presented itself on one site and not another. My development site is on WordPress 4.2 and my production site is on WordPress 4.3. The difference is the jQuery version loaded by the WordPress core (versions 1.11.2 and 1.11.3 respectively).
Now, the decision is to downgrade jQuery to 1.11.2 in the WordPress core (which is NEVER a good idea), or look at changing versions of DataTables. According to the SO post linked above, DataTables versions 1.10.7 and 1.10.8-dev did not fix the issue for one commenter using jQuery 1.11.3, while the 1.10.7 update resolved the issue for another commenter who was using jQuery 2.1.4. Luckily, DataTables version 1.10.9 has been out since September 2015, which resolved the issue for me, using jQuery version 1.11.3 (WordPress 4.3 core).
This tip comes from a recent job I did for a new client. Well, the tip is not so much from the job, but what transpired while acquiring the job. Hence the title of this post – Too much information. The short story is this;
An email came in from a prospective client, through my website, asking me to give them a call to discuss a problem they were having with their safe.
Upon calling the client and discussing their problem, it was determined that I could help them with their problem. We then discussed fees, I was given the clients address and a time was setup to meet them at their premises.
The job ended up being pretty simple — the client had caught an object (in this case a coin tube) behind the safe door locking bolt causing a jam — so, the job went smoothly, I were paid and all ended well for everyone.
I bet you’re scratching your head, thinking this sounds pretty routine. Well, you’d be right (which is the reason for this post), but what I’m referring to is when too much information is given out by the client.
All too often do I talk to someone who offers too much information, and they may not even be aware they’re doing it.
Continue reading Too much information
Locksmith scams are out there – preying on those in need. Being aware of them is your first step in not becoming their next victim.
So, what exactly am I talking about — what is a locksmith scam? The tips below will help you spot and avoid them! Continue reading Locksmith scams: don’t be a victim!
You’ve probably heard of the SafeLogic Series from SecuRam Systems Inc., which is their standard electronic locking system for safes.
You may have even heard about the SafeLogic Xtreme, which is their standard electronic locking system, paired with a mechanical 3 number combination lock (referred to as “SpinDial” by SecuRam), producing what is known as a “redundant mechanical safe lock”.
What you may not have heard yet is that SecuRam has now introduced the ProLogic Xtreme, the same redundant mechanical lock offered by their SafeLogic Xtreme, with the advanced features of the ProLogic Series!
Continue reading SecuRam ProLogic Xtreme Safe Lock
301 Redirect Drupal to WordPress
Just having converted my website over to WordPress from Drupal,
the one thing I wanted to do was to keep my rankings for some of my old posts by making sure I redirected my old Drupal links to my new WordPress links. This is how I was able to accomplish this with 301 Redirect.
Continue reading 301 Redirect Drupal to WordPress
Hello, and welcome back to KyleStubbins.com! Reading the last posts I put up here, I have a lot of updating to do! It’s been a while since I’ve posted here, so let’s get the ball rolling.
I put this site up originally because it always makes me happy when I can help someone learn through my experiences. I learn a lot from those who post on the internet – I’m just trying to pay if forward.
What can you expect to find here in the near future? All kinds of interesting things, such as cars, computers, electronics, programming, Android, WordPress and anything else that flows through my head.
So, I think I’ll make this post short and sweet, instead of trying to update you here, with the last four years. I’ll be making a few posts over the next few days to update you on some of my past posts and projects. Then, we’ll get into the current stuff.
I have just converted my site over to WordPress, from Drupal, so please bear with me while I learn a new system and spend a little time setting it up properly. I’ve got a few issues to deal with, mostly in redirecting old URLs to new ones. If you have any tips on setting up WordPress, or have found issues with the new site, your comments are welcome and appreciated!
Seeing as I haven’t posted much here in a while, I’ll start things off again with a repair that I did to my 2007 Dodge Nitro today…
About a month ago I noticed that my steering wheel was starting to have up and down “play” in it, which seems to have gotten worse this past week. So, today, I decided I’d Google it in case it had already been discussed elsewhere.
Well, that payed off with this thread on nitroforumz.com. What was also noted there was a clicking sound coming from the steering wheel / column — something I had noticed since driving my Nitro off the lot in April 2007. Something that I simply wrote off because it sounded like a spring clicking inside the column, which could have been normal.
Anyway, to make a long story short, here’s some images of how the repair was done (click on any image for a larger view);
Continue reading Dodge Nitro Steering Column Repair