Joomla Site Clean Up Tools

Here is a list of “Tools of the Trade” according to Ben Martin at Sucuri Security.

  • Filezilla (FTP Client)
  • NoScript (Script Blocker)
  • VirtualBox (Virtualization Tool)
  • ublock Origin (Ad Blocker)
  • PHPMyAdmin or Adminer (Database Management)
  • User Agent Switcher
  • Support Forums (ie: https://forum.joomla.org)
  • OSSEC HIDS (Server Monitoring)
  • SSH / BASH connection

I hope this helps someone else out there…

 

Posted in Filezilla, Joomla, MySQL, Security, Web Hosting | Leave a comment

DIVI Blurb and Button Not Matching Width

Working with a blurb and button below it I was getting the mismatched width at full screen or over 1900 pixels.

The CSS for the button was:

.et_pb_button_alignment_center {
width: 92%;
background: #FFF;
margin: auto !important;
}

I needed to get rid of the margin:auto !important;

The width was set with this CSS.

.et_pb_button_alignment_center {
width: 95%;
background: #FFF;
}

The blurb container was set;

.et_pb_blurb.et_pb_text_align_left .et_pb_blurb_content .et_pb_blurb_container {
text-align: left;
width: 100%;
height: 300px;
background: #FFF;
margin: auto;
}

 

The blurb content was this:

.et_pb_blurb_content {
position: relative;
max-width: 550px;
margin: 0 auto;
text-align: center;
}

Part of the issue is I had the “Advanced tab” and “Main Element” set with a width, but the child-theme stylesheet had different width. I also had the “Additional CSS” in the theme customerize setting the blurb to another width.

DIVI has a lot of options and perhaps too many.  When your working with DIVI try to not set the styles in more than one place.

I hope this helps someone else out there…

 

 

 

 

Posted in Divi, Divi, WordPress | Leave a comment

Using An Image For Joomla Search Button

This should be a really simple thing, but does seem to be. I wanted to use an icon for my search button. In the module I set “Use an Image” to yes, but this did nothing. My first search lead me to this page.

https://forum.joomla.org/viewtopic.php?t=282140

This did not work for me.

This page finally got me closer to what I needed; however, I really don’t like using a .gif file. The format is not as smooth as other formats.

https://forum.joomla.org/viewtopic.php?t=728841

I am using Gantry 5 Hydrogen theme and simply adding the “searchButton.gif” to the “/g5_hydrogen/images” folder got things working quickly.

I hope this helps someone else out there….

 

Posted in Gantry, Joomla | Leave a comment

Joomla – Fabrik – 0 Unable to connect to the Database:

I had a Fabrik project that I wanted so show someone and when I got there I saw this message.

0 Unable to connect to the Database: This driver is unsupported in PHP 7, please use the MySQLi or PDO MySQL driver instead.

My Joomla was version Joomla! 3.8.6. I had recently upgraded the server to PHP 7, so I found what broke it. I found this article to get me started.

http://fabrikar.com/forums/index.php?threads/if-in-joomla-3-5-you-get-this-driver-is-unsupported-in-php-7-try.43721/

I needed my Joomla! version and I found in the backend >>  System >> System information.

The solution was to change the SQL driver in Administrator side to “MySQLI(PDO)”. You get there by going to Global Configuration >> Server, and it will be in the upper right.

I hope this helps someone else out there…

 

Posted in Fabrik, Joomla, Joomla Extension, Joomla Update, MySQL | Leave a comment

Screen Ruler In Firefox

I often need to know the viewport or screen size when developing the style sheet for a site. It took a little bit to understand where to find the built in screen ruler in Firefox. Here are steps.

  1. Hit f12 to bring up the developer tools.
  2. Click on the gear to bring up the settings
  3. Scroll down till you find “Toggle rulers for the page”.
  4. Once that is checked you will see the ruler icon at the top of the toolbar.

  5. Clicking on the ruler icon will display the ruler on the page.

 

I hope this helps someone else out there…

 

Posted in browser, Firefox | Leave a comment

Joomla Kickstart Restore – Blank White Page

Moved site from Localhost to Godaddy hosting and after I restored the site I got a completely blank screen in both the front end and backend. The source was completely blank.

I found this on OSTraining.com that let me see the errors by editing the “configuration.php” file in the CPanel. I changed “public $error_reporting = ‘development’;”.

https://www.ostraining.com/blog/joomla/white-screen-of-death/

I was now getting an error.

Error:
/home/myaccount/public_html/plugins/system/chronoengine_gcore2/chronoengine_gcore2.php on line 65

I recently upgraded the Chronoforms from version 5 to 6 while keeping 5 around. Their website said this was okay to do.

The site was working fine and this error seem to happen because of the restore. The restore was done through Akeeba Kickstart.

https://www.akeebabackup.com/support/akeeba-backup-3x/Ticket/27368-fatal-error-when-restoring-website.html

The end results was file permissions. My hosting account wouldn’t let me select a different PHP version. I had to contact tech support and they were surprised and had to go up to teir 3 to get it resolved. They determined it my CPanel account that was having permission issues to allow me to change the PHP version.

Once that was changed I was still unable to access the sites. I could put a HTML file there but couldn’t run any PHP. The folder permissions on the public folder needed to be reset to “750”. My sub-domain directories needed to be set to “755”. Godaddy said if I right-click on the folder I could change the permissions myself.

 

I hope this helps someone else out there….

 

Posted in Chronoforms, Godaddy, Hosting, Joomla, Joomla Extension, Uncategorized | Leave a comment

Theme cannot be used Gantry Hydrogen WordPress Site

I love blogging in WordPress, but often like Joomla to build sites. I have been playing around with Gantry’s Hydrogen template in Joomla and have been using it to build a new site for myself. My blog is in WordPress and would like the two site to look a like.  Gantry’s Hydrogen is totally free and works for both systems.

I installed it on my new test WordPress site that I had already installed Divi and got some administration error, so I uninstalled it and tried it on a  fresh copy and got the same “Theme cannot be used. For more information, please see the notice in administration.” I knew it wasn’t just Divi being installed on the other site.

If I would have read the install directions on the following page I would have installed the theme properly. Instead I watched the video on the page and it was installing in a Joomla site so I blew it off.  There was a button for “wordpress”.

http://docs.gantry.org/gantry5/basics/installation

  • First install the plugin from the WordPress dashboard plug-ins by searching for “Gantry”. I installed Gantry 5.
  • Then move the theme into the themes folder and activate it.

I hope this helps someone else out there….

 

Posted in Gantry, WordPress | Leave a comment

CSS :not selector – who know…

I never knew this existed. I am pretty sure I could have used it once or twice.

Here is what Mozilla has to say about it.

https://developer.mozilla.org/en-US/docs/Web/CSS/:not

I hope this helps someone else out there…

 

Posted in CSS, Uncategorized | Leave a comment

Joomla Extension For Pop Ups

Some websites do a great job of getting your attention for a product but gives the user the power to get rid of the popup at their leisure.

I stumble upon this site where the developer has created an awesome “engage” box extension. Click below to see what I mean.

https://www.tassos.gr/joomla-extensions/engagebox

In the “Demos” box use the drop-down to see all the different types of popups there are.

I hope this helps someone else out there….

 

Posted in Joomla Extension | Leave a comment

Install Joomla Akeeba Pro – Automated Backups

I have done this before; however, some times you need a re-fresher. I started with Localhost version. My Local Environment is Windows 7 running WAMP.

I used “Task Scheduler” to be my local Cron service.  I start by right-clicking on the Task Scheduler and “run as administrator“.

  1. Create a task

  2. On the General tab give the job a name so you can identify the task. I checked to “Run whether user is logged on or not“. Do not check “hidden“.
  3. On the Triggers tab click “new“, and set the time you want this to run. I checked to “Stop task” if it is taking longer than an  hour.

  4. In the Actions tab click “new”, and for the Action select “start a program“.  Browse to your WAMP and locate the PHP.exe. For the arguments add the full path to your sites “cli” folder. Mine is “C:\wamp\www\mywebsite\cli\akeeba-backup.php”
  5. The next tabs Conditions and Settings are self explanatory.

Live Site

  • Shared hosting with Godaddy
  • Joomla 3.8.6 site
  • Akeeba 5.5 pro

I needed to get my path to my PHP.exe with the Godaddy shared hosting and the configuration wizard totally figured this out.

/home/mycpanelusername/public_html/cli/akeeba-backup.php

For the PHP path I used

/home/mycpanelusername/php

The path I used for the PHP was no good. I found the next article on Godaddy’s site.

https://www.godaddy.com/help/create-cron-jobs-16086

/usr/local/bin/php -q /home/[user name]/[path to the file]

https://uk.godaddy.com/help/what-is-a-cron-job-3483

I used the following video from Akeeba to get it right.

https://www.akeebabackup.com/videos/1213-akeeba-backup-for-joomla-pro/1623-abtp02-automating-backup.html

My Final path was:

 /usr/local/bin/php /home/myaccount/public_html/cli/akeeba-backup.php

When I ran the configuration I was given the correct path to the Akeeba-backup.php file.

In the CPanel hosting I went to “cron job”, and created a job.

I hope this helps someone else out there.

Posted in Akeeba, cron job, Joomla, Joomla Extension | Leave a comment