Thursday, November 21, 2019

WordPress “Another Update in Process”

I recently updated a WordPress site to 5.3 but the update didn’t finish. The instructions were to read the email in admin email. I didn’t get the email. After a Google search I ended up on this page which helped me solve the issue.

https://www.wpbeginner.com/wp-tutorials/how-to-fix-another-update-in-process-error-in-wordpress/

The site was local so i just deleted the entry in the database under the “wp_options” >> ” core_updater.lock “. I was able to run the update without a hitch.

I hope this helps someone else out there…

Akeeba Kickstart Error 1273 – Solved.

I have a Joomla 3.9.x site running on a Windows IIS ver. 10 server that wouldn’t allow me to install Fabrik. I decided to move it to my local XXAMP install it there and if everything goes well I would replace the site on the windows server with this new site that had the Fabrik installed. Running the Akeeba Kickstart the database wouldn’t restore.

I was getting ” ErrNo #1273 Unknown collation: ‘utf8mb4_unicode_ci’ “. This response from Nicolas was the solution I needed.

https://www.akeebabackup.com/support/akeeba-backup-wordpress/Ticket/28015:error-1273-on-angie-restoration.html

I hope this helps someone else out there…

Paying For Google Maps API

Google started charging for using the Maps Javascript API and other APIs. This was a frustrating change when it happened because it was giving a way for free and easy to set up. I eventually got the the free trail set up after adding my credit card. I was doing a job for a company and couldn’t get the finance people of the customer to get me authorized to set up Google account, so I had to use my own money.

Well Google give you a 300.00 credit to get started and once that was set up I was up and running. The problem came in when I needed more than 5 projects and my free trail ran out. It wasn’t obvious to me when my Maps Module in DIVI wasn’t working. I needed to set up a new Billing Account in Google Cloud Platform. I was able to move some of the other accounts in the free account over to the new account. The following videos were a big help for me getting this worked out.

Understanding the Account Management in GCP:
https://www.youtube.com/watch?v=uINleRduCWM

Setting up Maps Module in DIVI:
https://www.elegantthemes.com/blog/tips-tricks/google-maps-api-key

I hope this helps someone else

Contact Form 7 Add ReCaptcha

I have used “Contact Form 7” a slew of times, but never added Captcha to it. I doing some research I see they have added it to their latest release 7.5.1. I installed a new install of WordPress and installed the latest version of Contact Form 7, and followed the instructions from the following page.

It was super easy to do. If you are using Contact Form 7 and haven’t implemented ReCaptcha you will want to check it.

I hope this helps someone else out there…

Cool Way to Display Attachments

While searching for an issue with Photoshop I came across a forum post in Adobe where someone posted a comment with an attachment. The way the attachment was displayed was very cool. Here is a screen clip showing you what I mean.

Can’t wait to get working on this.

I hope this helps someone else out there…

Using NSLookup To Fix Email Bounceback

Needed to find the my Reverse DNS to fix an issue with Craigslist not being able to verify my my IP / Domain Name combination. My co-worker reminded me of “NSLookup”.

  • Open the command prompt
  • Type in “nslookup”
  • You will see your Gateway information.
  • Type in “set type=mx” and hit enter
  • Type in the domain name “somewhere.com” and hit enter.

I hope this helps someone else out there….

Joomla 4 Gantry 5

I have enjoyed using Gantry 5 but Joomla 4 is around the corner…do they work together yet is the question I have. I had Joomla 4 installed lets try it. Well that didn’t go well. I got Gantry installed; however, when I installed the Hydrogen theme I got the following error.

The problem is I can no longer get back into the “Control Panel”. I was able to get the site back by going to “System” on the sidemenu and went to Manage >> Extensions. I was able to remove Hydrogen, but this didn’t fix the Control Panel issue. Once I removed the Gantry 5 the control panel was working fine.

In my opinion is Gantry is not ready to play with Joomla 4 yet. Rocketthemes is hopeful they will get this worked out.

https://rockettheme.com/blog/joomla/277-looking-forward-to-joomla-4-and-beyond

I hope this helps someone else out there….

Updating Joomla 2.5 Site To 3.X

Wanted to take an existing Joomla 2.5.19, update template, and then bring in the new content that is being created as I am updating the site overall. They were using JEvents heavily and made weekly posts to the site. Here are the overall steps I took.

  • Make an Akeeba backup and downloaded it.
  • Created a place to restore the site in my local WAMP.
  • Upgraded the site to Joomla 3.X. First I had to go from 2.5.19 and update to 2.5.28 (3.9 meg download). This was straight forward through the backend. In the Joomla! update screen change the options to “short term support”, and “save and close”. You will now have the option to upgrade to 3.5.1 (9.7 meg download).
  • Update components. I had the JCE, Akeeba, JEvents, Sourcer, and a few others. Only the JCE needed an update after the 3.5.1 upgrade. I was able to upgrade the Joomla! core to 3.6.5 and then 3.9.3 (11.7 meg download). The front end of the site was still working almost perfectly.
  • Build the new template on the local copy.
  • Make a backup of this site and restore it in another directory. I needed to do this because I added a few pages and changed the format on others.
  • Download the old site again, install it locally in another directory and upgrade it to 3.x again.
  • Export the assets table, content, and in my case JEvents.
  • Import the these tables into your upgraded site.
  • You should be very close at this point. This is where I used the restored version of the first site I upgraded and made the new template.

The tables I had to export were the following:

  • j25_assets
  • j25_content – j25_content_types ( _content_types are not in Joomla 3.X )
  • prefix_content – prefix_content_rating

Since this site was using JEvents I exported all the “_jevent_” tables, deleted those tables from fully upgraded new template site’s database, and imported the exported tables.

I hope this helps someone else out there.

Modules Anywhere –> In Joomla

While working a site where I wanted the home page to made of time sensitive information and some permanent, so I wanted to use Modules for each section on the home page. I used Modules Anywhere but the formatting was wacky, and there was a undocumented “–>” on the screen.

I was able to fix this from within the Modules Anywhere Plugin. Go to the plugin and on the “Behaviour” tab turn “Place HTML comments“.

I hope this helps someone else out there…