Welcome to <cfmldeveloper> -reduxA community for ColdFusion developers providing FREE CFML hosting and support. Don't want the hassle of installing, setting up and trouble shooting your own development environment? now you don't have to, just signup here for a FREE developer hosting account.
As some of you will know I have been trying out Blesta for the last few months, which the developer kindly gave me a free copy of. While this solution was certainly better than iCloud 360 system I was using before, it still sadly was not very intuitive or user friendly, and frankly not very pleasant to use. The documentation was patchy at best and getting the software working requires posting endless questions on the forums and you need an understanding of PHP to process the answers. Basically my impression is that Blesta is written by a PHP developer for other PHP developers who run a hosting business.
After some 6+ months I was still having issues with things not working properly and it was taking too much of time trying to fix along with the manual intervention to deal with new user signups as it did not integrate with WebsitePanel. So I have finally had to bite the bullet and switch to WHMCS. This was somehting I was trying to avoid, as it has an associated cost for me, but at the end of the day I know WHMCS really well as we use it over at host partners, and I know it does everything I need, is pretty easy to use and integrates with WebsitePanel. So better the devil you know as they say, and of all the billing/client management systems I have tried thus far, WHMCS while not perfect, is easily the best.
I have already written a blesta to WHMCS migration tool and have moved all those users, and am now in the process of writing a tool to get all the WebsitePanel users and spaces imported, so over the coming weeks you should receive an email with your new account details and account renewal notifications for those of you who have not had one in the last year.
In case you had not heard yet, Railo is no more. Details are sketchy at best, and there has been no official explanation from anyone, but it seems that pretty much everyone that was ever involved with Railo has now left the company. One can only assume that they had some sort of falling out with the owners of "The Railo Company", but since the developers (Igal and Micha) have left as well, this pretty much spells the end for Railo as with no-one to develop it further it is unlikely that there will ever be a new release.
The good news is that Micah and Igal have released a new fork of Railo called Lucee. Being as Railo was an open source project, this means that for all intents and purposes Lucee is simply the last version of Railo with a new name and as such is a drop in repalcement that will function exactly the same. What was to be Railo 4.5 has now been released as Lucee 4.5 instead.
There is already an installer availabe over at Lucee.org, but if you do not wish to do a clean install, then you can find upgrade/migration instructions HERE.
In the coming weeks I will be replacing Railo with Lucee on the CFML Developer hositng server as well as upgrading ColdFusion to Version 11. I will also be making Lucee the default CFML engine rather than ColdFusion, as it is far more convenient for users to be able to manage everything themselves via the Lucee web admin rather than having to open a support ticket to get DSN's etc created.
I can't say I care too much for the new name, but CFML lives on which is great news :-)
After 5-6 months of problems getting CF10 sandboxing to work (even Adobe were baffled), it seems the problem is finally solved (almost), so I have now put ColdFusion 10 online for everyone to try out.
As CF10 works considerably differently to previous versions due to JRUN being replaced by Tomcat, there may be some additional tweaks I need to make in sandboxes to get things working perfectly, so if you find anything not working as expected then just let me know.
The other issue with CF10 running on Tomcat is the requirement for a jakarta virtual directory and ISAPI filters, this meant there was no way to enable CF10 via WebsitePanel and no way for users to even enable it manually via web.config. I certainly did not want to be having to manually enable CF for every user, this is inconvenient for everyone, so I have to find a better solution. So Instead of using the native connectors that come with CF10 I have used the BonCode connector that Railo uses. In my tests so far this is working fine, but it is possible there may be some unexpected behaviour, so let me know if you find anything odd.
How to enable ColdFusion 10 on your site.
firstly backup your web.config file just in case.
If you are currently using ColdFusion 9, I would suggest to disable it first via WebsitePanel to avoid any conflicts.
now download THIS ZIP FILE and upload the contents to your WWWROOT folder.
That’s it, fingers cross you should now be using CF10.
to verify you can do the following.
<cfoutput>cf version: #server.coldfusion.productversion#</cfoutput>
If you made any customisations to your web.config, you can now copy them over from from the file you just backed up.
To revert back CF9
- put the old web.config back, and then re-enable via WebsitePanel
- manually remove (or comment out) all the CF10 stuff from your current web.config, and re-enable CF9 via WebsitePanel
To revert back to Railo
- just restore your original web.config
- comment out or delete the CF10 stuff, and put in the Railo settings as per the instructions on the support page.
I have just recently been playing with mura in the last 2 days which I decided to use for the new CFLIVE website.
One function I need is to have menus/pages which will only be visible to logged in users. While Mura does allow you to restrict access to pages, it still displays the menus/links and allows access to the page but gives a login prompt instead of the page content, I could not find any way to hide the menu links as well.
On the Mura forums even BlueRiver themselves have suggested the only option is to create a hard coded menu instead, which really seems like a terrible work around to me, although that reply was 5 years old, so perhaps there was no better way to do it back then.
Anyway I found a better solution, but please be aware as I said, I have only been using Mura for 2 days, and have no more than a few hours experience with Mura code at this point, so if there is a better way of doing this, feel free to let me know.
Open the file /requirements/mura/content/contentRenderer.cfc
find the "allowlink function, around line 287 and copy this function to your site's contentRenderer.cfm
now simply add the <cfelseif> block below, this will stop restricted pages showing in the menu if the user is not logged in.
<cfif arguments.loggedIn and (arguments.restrict)>
<cfif arguments.restrictgroups eq '' or listFind(session.mura.memberships,'S2IsPrivate;#application.settingsManager.getSite(variables.event.getValue('siteID')).getPrivateUserPoolID()#') or listFind(session.mura.memberships,'S2')>
<cfelseif arguments.restrictgroups neq ''>
<cfloop list="#arguments.restrictgroups#" index="G">
<cfelseif !arguments.loggedin and arguments.restrict>