Items filtered by date: December 2015

Saturday, 21 January 2017 19:05

Joomla Vs Wordpress

A thought exercise for me to compare Joomla against Wordpress

  • ajax backend
  • easier work flow in backed
  • get wooecommersec for joomla
  • a native application layer to aloow the running of wordpress extensions
  • a native ajax content builder
  • API (is coming)
  • sort the url thing out to remove numbers
  • a lot of CCK appas are dated and dont work properly. wittle down to one
  • a databse CCK that is widley supported and free
  • streamline the low quality extensions on exetensions.joomla.org as there is a lot of junk
  • templates.joomla.org
  • add a templates framework section to either extensions. or tempaltes. (including kunena). list free, paid and template - companies. must have demos
  • Joomla.org should be using kunena, the only native joomla forum
  • inbuilt site map
  • pinogmatic
  • ability to import module and layout configurations (not tempalte dependanet) ie install this and your website will look like that
  • improve frontend editing - customers need to edit everythign on their pages but never need to touchj the backend. the 2 should be completely seperate

Wordpress Better?

  • wordpress has 1 shopping cart
  • more extensions
  • yoast SEO extension
  • divi builder
  • content builders
Published in CMS

Imageshow sometimes will show this error

Error loading images. One or more images were not found.

Error loading images. One or more images were not found.

Cause

When you change an image in a slideshow via ftp, Imageshow's cache will not updated and will still use the old version of the file and there is no way to refresh the cache via joomla or Imageshow.

This issue does not occur if you elect to use the original image or if you upload an imagewith a different name, it only happens when you overwrite an existing image.

It is mainly thumbs that are affected and some types of slider, other wise full image is used.

You have to manually delete the cache

Imageshow does not register it's cache in Joomla's cache manager so is very difficult to clear the cache of imageshow. You have to delete the files manually via ftp so the changes are refelcted and It stores them here:

images/jsn_is_thumbs/images/modules/member-of/test-image.png
images/jsn_is_thumbs/images/modules/main-slider/
images/jsn_is_thumbs/images/pages/building-and-property-maintenance/gallery/

You can remove and then re-add the image which would have the same effect.

Published in JSN Extensions
Saturday, 21 January 2017 17:13

Moving a website with Roksproket installed

I installed Roksproket on my test server and when I had finished I exported the database. I then tried to install the database on my clients live web server and it failed. This is my investigation.

Cause

  • Roksproket database on my test server was installed as ENGINE=Aria
  • On new versions of cPanel and Xampp MariaDB is now the default database engine and Roksproket must just of used the default engine because it does not specify which one to use. This is a common thing.
  • The Client's server was not using an upto date cPanel install that supports MariaDB

Solution

solution is to import into xampp and then export. this seems to cure it. just keep an eye out for ut8mb4 issues

Notes

The application could not be instigate was basically just database issues, in my case xampp (more like Windows) had changed the prefix from uppercase to lowercase.

Published in Printers

This is the code/file locations for using Joomlashine Tempalte Styling within JCE Editor.

Dont forget the commas.

Uses $template instead of the explicit template name

templates/$template/css/template.css,
templates/$template/css/template_pro.css,
templates/$template/css/colors/blue.css,
templates/$template/css/styles/business.css, (or custom.css for those google fonts/ custom font setting)
templates/$template/css/lancastrian.css

Template name explicitly used.

templates/jsn_epic_pro/css/template.css,
templates/jsn_epic_pro/css/template_pro.css,
templates/jsn_epic_pro/css/colors/blue.css,
templates/jsn_epic_pro/css/styles/business.css,  (or custom.css for those google fonts/ custom font setting)
templates/jsn_epic_pro/css/lancastrian.css

This is the default editor file for JCE. This is just incase there are any conflicts you will know where to look.

components/com_jce/editor/tiny_mce/themes/advanced/skins/default/content.css

 

Published in Joomlashine
Saturday, 21 January 2017 17:05

How to make a Joomla Demo Site

The key features required

  • automatic admin login
  • restrict all of the menus
  • automatic mysql refresh
Published in Joomla

I had this odd issue from a client who has an office with 3 or 4 HP Inkjets all the same model. She started having an issue where one printer will intermittently print pages completely blurred.

The client did the following to try and resolve the issue.

  • Tried a known good printer on the PC with the dodgy printouts. The new printer now suffered from intermittently blurred printing.
  • The suspect printer was tried on another computer and there waws no issue.

My Contribution

This completely points to the driver, however her IT Technician refutes this and said she should buy another printer. The points below are my argument that it is not the printer and give possible solutions.

As discussed I believe it to be the PC at fault and not the printer because:

  • The issue only ever occurs on the one PC and this happens with different printers on that same PC
  • The faulty printing does not happen all the time but randomly meaning it cannot be the printer as a printer with such a fault will do it all the time
  • The “dodgy printer” works fine on other members of staff PC with no issue.

Also It is not compatible cartridges that is causing the issue because:

  • Josie does not use them
  • The fault, if caused by a dodgy cartridge would happen all the time

What is like causing the fault is the driver because:

  • Without seeing the printing error it sounds like the print image is not being correctly converted into a bitmap or not being uncompressed at the printer if using a proprietary format. The settings in the printer driver are irrelevant because it works sometimes and then not others and there is not a setting for blurred image printing
  • Stretching it here, that it could be the USB cable not properly handling a USB 2.0 signal and as such the images is not uncompressed at the printer properly because of bandwidth (longshot)
  • Sometimes AV can interfere but with only one PC having the issue I am not convinced about it being the cause here..

How to fix this

  • Uninstall the printer drivers and re-install the printer (with a reboot in between)
  • Uninstall all of the HP printer driver files using the HP printer removal tool (with a reboot in between)
  • Try a new USB cable
  • Also make sure all windows updates are applied.

Solution

I am not sure what the exact fix was because I did not perform it. However the client said he swapped the USB cable and this fixed it. I suspect there was more to this fix or it was the fact that the printer was re-installed

Published in Printers
Saturday, 21 January 2017 16:49

Using IMAP on iPhones

Using IMAP on iPhones is notoriously difficult because each version of iOS has a different way of handling a standard IMAP mailbox. The differences are subtle but enough to cause end users issues. In this article I hope to try and put some of that right.

  1. when deleting an email the user gets an error message that it could not be moved to trash
  2. not emptying trash
  3. when trash is emptied on iphone trash, the emails are not marked for deleteion (i.e. purge) and are not actually deleted.
  4. the iphone might be utilising a local trash store and not the one on the server

Notes

  • Different versions of office and iphone IOS might have different default ways of handling imap email deletion, ie some purge but do not delete. Outlook 2010 when mail is deleted sends it to trash, when deleted from trash actaully deletes it in the IMAP mailbox.
  • iPhones have the option to delete/prune emails from the Deleted messages folder after a set period, it was mentioned somewhere that this could be set to never.
    http://www.fixedbyvonnie.com/2015/02/cant-delete-emails-ios-8-iphone/
  • The purge thing is a stupid thing, an item can be marked for deleteion and as such gets a strike through appearances (not all platforms), these files by definition in the IMAP protocol are not deleted until the deleted emails are purged. However different OS and software handles this differently and can appear not to use the purge feature because they delete the email and then purge it immediately, or that there is a setting to hide emails flagged for deleteion.
  • purging does not usually happen until you navigate to another folder (unless the software is set different or possibly when a sync is done)

Sent to a client

The issues you have been having are related to how different version of outlook and aplle iOS handle IMAP protocol (your email), every setup is slightly different.

Here are some links to help with your iPhones not deleting emails and general information:

Published in Email

When you use Avast Antivirus it installs an invisible proxy SSL Certificate Authority that allows it to scan SSL/TLS traffic with its antivirus engine. The downside to this is that all certificates appear to be signed by avast! Web/Mail Shield Root and can make things confusing at first glance when a SSL certificate is out of date.

When using Outlook you can also see this error:

Outlook Internet Security Warning

Now if you examine the certificate:

This certificate has expired or is not yet valid

Certificate General TabCertificate Details TabCertificate Certification Path Tab

I had this issue with an SSL certificate that I thought was correct at the remote server and that Avast Antivirus had then flagged as out of date. As it happens the certificate at the other end was out of date and Avast mints new certificates on the fly so there is no cache to worry about. The instructions below are what helped me come to that conclusion.

Things I tried:

  • re-installing the mail component does not fix this (including a reboot)
  • i cannot find the certificate for bfhosting.co.uk in my ssl store
  • it is avast issuing a certificate from its system on the fly
  • when you click install it is never installed permanetly (only if it is expired?)
  • is the pm certificate still faulty
  • adding the account and re-adding it in outlook did not work
  • disable the SSL scanning and then recheck the ssl certificate is correct
  • you can also check the certificate details in outlook if it is faulty. you will get the warning message on load up

OpenSSL Commands

If using on windows you will need to get the binary file openssl.exe

openssl s_client -connect host:port -showcerts

or

openssl s_client -connect quantumwarp.com:995 -showcerts
Published in SSL
Saturday, 21 January 2017 15:43

My Wordpress Notes

These are collection of my WordPress notes.

WordPress Platform

Security

  • Block xmlrc.php with htaccess (WordFence will do this for you)
    <Files xmlrpc.php>
      ErrorDocument 403 default 
      order deny,allow
      deny from all
    </Files>
  • Disable all of the search features with a plugin.

Debugging

Performance

Plugins

  • Divi has it's own page at QW.
  • Total Cache  - Control iframe embedding
    • If the 'self' flag is not set, Divi will not work on quantumwarp.com because it uses iframes.
    • I manually set the Header set Content-Security-Policy in the .htaccess file but it kept getting changed (As below) whenever i load this plugin in the admin area, it alters the .htaccess to match it's current configuration. As youo can see the 'self' statement gets removed which can cause issues.
      Header set Content-Security-Policy "frame-ancestors 'self' *.quantumwarp.com"
      
      -->
      
      Header set Content-Security-Policy "frame-ancestors *.quantumwarp.com"
    • The solution is to add this extra statement in Total Cache's configuration but it is hard to find.
      • Performance --> Browser Cache --> Security Headers --> frame-ancestors: 'self' *.quantumwarp.com
  • Wordfence blocking iframes
    • WF Firewall Blocking Header iframe | WordPress.org
      • As for your issue, it sounds like Learning Mode will be your friend here. From the Wordfence Dashboard click on Manage WAF. Then you will see Basic Firewall Options --> Web Application Firewall Status. Change the option to Learning Mode. Now perform the actions that were causing issues, such as visiting the page(s) containing the iframe code. This will help Wordfence learn that these actions are normal and it will allow them in the future. After you have finished performing the actions, switch the WAF from Learning Mode back to Enabled and Protecting. Now test to see if your iframe works correctly.
    • Firewall Learning Mode - Wordfence - "Learning Mode" allows the firewall to be adjusted to your site. is an amazing resource for learning more about the WAF and learning mode.
    • Disabling WordFence will fix this issue, but is not ideal and should only be briefly done to verify WordFence is the issue.
    • Blocking xmlrc.php
      • with htaccess - This is done on the server level.
      • If you use WordFence this will be done at the php level but allows more control rather than a blanket ban.
  • WordFence
    • To make your site as secure as possible, the Wordfence Web Application Firewall is designed to run via a PHP setting called auto_prepend_file, which ensures it runs before any potentially vulnerable code runs. This PHP function add the define file on the beginning of every file that is requested by a browser.
    • Check the WordFence logs and see what URL it is blocking, then you can add an exception.

Articles / Things

A collection of solutions for problems I found while using WordPress. I might move these to their own articles.

...

 

 

Published in Wordpress
Saturday, 21 January 2017 15:15

Manually Upgrade WHMCS

In WHMCS 7 you can use automatic update but in version 6 you till have to do this manually, including v6.x to  v7.x , which is shown below:

  • Backup
  • Rename live folder with pre-fix old-
  • Extract the new package on the desktop
  • Rename the admin directory on the PC version
  • Copy the configuration.php from the live version to the desktop version
  • Upload the desktop version to the /hosting/ folder on the live site
  • Login and run/trigger the upgrade
  • Delete the install directory
  • Check the CRONs are setup properly
  • Configure the update feature (Utilities/Update WHMCS/Configure Update Settings)
  • Select an update channel and set a temporary directory for the update (/tmp)
Published in WHMCS
Page 20 of 96