Thursday, September 28, 2023

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….

 

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.

Facebook Apps / Joomla Modules No Longer Working

We use a couple of Modules in Joomla that tap into Facebook events. This week these broke.

Facebook put out an official statement about cracking down on abuse.

https://newsroom.fb.com/news/2018/03/cracking-down-on-platform-abuse/

Facebook is reviewing all their apps. They are turning off apps that haven’t been used in last three months.

I hope this helps someone else out there…

 

Responsive IFrame In Joomla 3

This is an issue that I have come across many times and I really liked this last solution I found from this site.

http://howtosurvivejoomla.altervista.org/tutorial/5-responsive-articles-iframe

I use the JCE pro and had a little trouble following the article, but the author did a great job putting the article together. Here is where the “Styles” area is in the Pro version.

Components >> JCE >> Profiles.

In the Profiles section click on “Default“.  Then go to the “Plugin Parameters” tab, and scroll down to the “Styles” section. Click on the “Styles” tab and the right side of the screen will bring up settings.

I was localhost and I just added the new CSS to my “custom” style sheet. I went back to the article and set the style of the IFrame I had already inserted through the JCE Pro and added the new style to it.

I hope this helps someone else out there…

 

Joomla 2.5 Upgrade To 3.X – Use XXAMP Over WAMP

I started a straight forward upgrade of a Joomla 2.5 site to 3.x.

You start with with downloading Joomla 3.5.1 first. Click here to download that package.

I used Akeeba Kickstart to restore a copy of the site locally in a WAMP environment. Restored the site and it need to be upgraded from 2.5.19 to 2.5.28.

First I needed to turn off Akeeba’s “backup system update” plug-in. Go to Plugins >> Sort by “ID” and it will probably one of the last ones. Of course you can always search.

After that the install went fine.

Next we need to set the Joomla Core Updater to be more risky and allow for “Short Term Support” by clicking on the “Options” button.

Select “Short Term Support”.

Click “Save and Close”. Then go back to Joomla Update in the Control Panel.

Extensions

  • Akeeba
  • Sourcer
  • JCE
  • JEvents

I got this error:

1093 – An error has occurred.

You can’t specify target table ‘#__template_styles’ for update in FROM clause SQL=UPDATE `#__template_styles` SET home = (CASE WHEN (SELECT count FROM (SELECT count(`id`) AS count FROM `#__template_styles` WHERE home = ‘1’ AND client_id = 1) as c) = 0 THEN ‘1’ ELSE ‘0’ END) WHERE template = ‘isis’ AND home != ‘1’;

That lead me to this article in the Joomla Forums.

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

So I uninstalled all plugins hoping the JEvents tables would match up if the upgrade to 3.4 goes well and I reinstall JEvents. I removed Akeeba Plugins, but some didn’t want to go away. I removed the JEvents component and the JCE; although, the JCE didn’t want to uninstall either. I then proceeded with a 3.5.1 migration through the Joomla update manager. I got the same error.

Out of fustration I tried the process in XXAMP and the upgrade happened just like it should .

I hope this helps someone else out there….

Joomla 3.8 – Error You are not authorised to view this resource.

I got this error because the menu item was set to guest and after a user logged in the error would show.

The reason the menu item was set to guest is because I was using it for a login button. The other menu item was “logout”. When the user logged in it showed and the “login” was unpublished .

I set the user to “Publisher” and “Public” and I redirected the login on the menu item to a “How to update your site” page.

I hope this helps someone else out there…

 

ChronoForms – 1146 Table ‘XXXXXXXXX.#__chronoengine_forms6_blocks’ doesn’t exist

I moved a Joomla 3.8 site with Chronoforms 6 and I got this error:

 1146 Table 'XXXXXXXXX.#__chronoengine_forms6_blocks' doesn't exist

I quickly found this post.

https://www.chronoengine.com/forums/posts/t104239/1146-table-xxxxxxxxx-chronoengine-forms6-blocks-doesnt-exist

I backed up the form. Uninstalled the Chronoforms6 component and plugin. Downloaded the latest versions and restored the form. After that everything worked fine.

I hope this helps someone else out there…

 

pdffactory an error occurred in windows (MAPISendMail failed).

This error looked like this.

This error was fixed by going to the following path and renaming “MSMAPI32.DLL” to “MSMAPI32.old”. After that the program worked normally. The path the DLL on Windows 10 is “C:\Program Files (x86)\Common Files\system\MSMAPI\1033”.

UPDATE: 6-13-2019

Had a similar issue with the same customer here were getting the no default mail program. The issue started when Office 2019 was installed while Office 2010 was still installed. When 2010 got removed is when we got this issue. Going into the Control Panel >> Programs and Features. Select the Office install and hit “change”, but select “Repair”. We did the quick repair and this didn’t seem to fix the issue; however, after a restart everything was working the way it should.

The next computer got the “MSMAPI” error again. I went into the control panel and ran a quick repair on the Office install, but this didn’t fix the issue. What fixed the issue was making sure Outlook was the default program and the .eml extension was set to Outlook.

I hope this helps someone else out there….