The Mobiclean Pro Blog 

KEEP UP TO DATE
View the Blog Summary

Block Panel here

Fully Compacting HTML and PHP

Posted by: Admin on 18th March 2020 04:41:09.
Posted in Category: Using Mobiclean Pro


­An issue has been identified when using the fully compact HTML with some 3rd party mail and other scripts (not those from RichoSoft), they place their scripts in the root folder (not good practice). When Mobiclean cleans these, because of code issues, the compacting stops the code executing. This is due to comments in the files and incorrectly terminated if statements.

So I advise not to use the Fully Compact on PHP files whilst I build solution to this issue.

A new version of Mobiclean will be released on the auto-update when it is available, so in the meantime, do not use fully compact on PHP files. Your settings should therefore look like this in the PRO Options page:








The Tidy Only option should work correctly with PHP pages.


However there is one other issue with Witsec's mail.php file, in as much that it has some code that matches the string used to update the HTML tag and text is not enclosed in apostrophes (') but in quotes ("), this causes a conflict when adding language tags via the options on the PRO Options page and as this mail.php file is in the root folder it gets processed with normal pages:











So if using Witsec's mail form I suggest the following workaround whilst I develop a solution for this:
  • Process your clean as usual in Mobiclean.
  • Following the clean, copy the original mail.php in your Mobirise published folder into your Processed folder and then upload your files as normal.
  • The mail form should then work correctly.

Steve

 
No Comments Yet! - Be the first to comment.

Categories
Latest Posts
All Posts

New from RichoSoft - WeMonitorSites.com
Posted on 28th July 2020 02:58:10
by Admin.


Now Available from RichoSoft - HTML5 Audio Player
Posted on 10th July 2020 06:01:03
by Admin.


Having problems seeing Mapped and Network Folders in the Browse for Folder
Posted on 2nd May 2020 01:26:24
by Admin.


V10 Major New Release - Coming Soon
Posted on 7th April 2020 03:33:49
by Admin.


New Feature in New Version 9.2.1
Posted on 29th March 2020 08:43:07
by Admin.


New Version 9.1.8
Posted on 27th March 2020 04:15:01
by Admin.


New Version v9.1.7
Posted on 20th March 2020 11:07:33
by Admin.


Update on RichoSoft Extensions and Mobirise v5 Beta
Posted on 18th March 2020 04:49:21
by Admin.


Fully Compacting HTML and PHP
Posted on 18th March 2020 04:41:09
by Admin.


Adding the UserWay Accessibility Widget with Mobiclean Pro
Posted on 29th February 2020 03:56:56
by Admin.


Back to Main Blog Stream