Random Insights

Random Insights is an area of this site where we collect tidbits of information that we found useful and that we thought other people may also find useful. Some are more complete than others but they may get your heading in the right direction if you are trying to solve a problem.

Many are related to Joomla but some are general PHP or Web in general. They are broken into several categories to make it easier to find relevant articles. 


Recent Random Insights

  • 02 May 2018
    You can use array_keys to get the keys from an array but how do you get the keys from elements in an object.  Easiest method is to cast the object to an array and use array_keys. $Keys = array_keys(array)$ObjectName);
  • 04 April 2018
    Assuming the Media Manager is already identifying application/pdf as a valid mime type and it's still not working. log into cPanel Choose "select PHP version" under "software" heading Make sure fileinfo is checked
  • 22 January 2018
    If you are trying to hide the author avatar and other related information that appears in a K2 Item, you can do this on an article-by-article basis or you can change the settings for the category that the article belongs to. Edit category > Item View Options > Author options > Display ext...
  • 21 January 2018
    When attempting to use the Gavick News Show Pro GK5 module in conjunction with their News template. I've used the Quickstart package on my internal development server and installed K2 so that I can use its features. If I edit any one of the instances of the News Show Pro GK5 modules and save the s...
  • 04 January 2018
    At some point, my Joomla system running on my local WAMP became incredibly slow. It was taking 30-60 seconds to load a page that only takes a few seconds to load on my cloud server. I discovered that when I had enabled xdebug in my php.ini settings, I had turned on the profiler which was generatin...
  • 17 December 2017
    If this happens, get the SQL commands to alter the tables and precede those commands with the following which temporarily disables strict mode an allows the changes to go through. SET sql_mode = '';
  • 24 October 2017
    For some reason, the default admin user account and password did not appear to exist in the instance of bitnami Joomla that I installed on my AWS through Lightsail. To set your Joomla admin password: Log in using an SSH terminal. You can do this through your Web browser from your AWS ...