Thread: Mango Blog on Railo 2
|New topic Reply||Page: 1|
09/01/07 9:28 AM
Just to let people know, Mango Blog runs on Railo 2.0.0.008.
So far, I have only had to change CFCs access="package" to access="public". Railo said this will be rectified in a release or two - so watch out for 009.
Adding links is not working for me at the moment, but I have not looked into this yet. Adding categories works - but required a restart of Railo. This may be related to caching issues I have seen in the bugs forum.
My (mango) blog -> http://www.webonix.net
Loving Mango Blog - very nice. Well done.
09/05/07 12:44 PM
I tried Railo some time ago and I didn't investigate any further because it was lacking support of Application.cfc, which I use a lot.
It looks like they are getting much closer to Adobe's cfml now, which is great.
I'll download it to see if I can help you with the issues you encounter.
09/05/07 4:37 PM
I haven't got to the bottom of Adding a new link
This is the error I am getting
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1DF9544F-092B-451C-8142E5DD3D0230B5'', ''Railo'', ''http://railo.ch/en''' at line 4
In the form I also added Description and Order.
I was going to compare the code to Category as that works, but the code was totally different - like it was from another application all together.
09/05/07 6:13 PM
The reason they are so different is that the links are implemented as a plugin (a system plugin).
I downloaded and try to run Mango on Railo. I couldn't get it to run easily... still giving me errors.
So going back to your problem, I think it has to do with the quotes. Have you tried unchecking the "Preserve single quote" setting in the Railo admin (under Datasource)?
09/05/07 6:32 PM
That did the trick - thank you.
I have added a link to Mango Blog ;-)
Would it be possible to add an option to make the link open in a new window?
09/05/07 7:21 PM
Thanks for the link.
I don't know, but in my install, Application.cfc doesn't seem to run. But it probably has to do with the fact that I had to copy some files from an earlier version I had because they were missing from the Express version download in their site.
09/05/07 7:24 PM
You can modify the html for the links in the skin templates themselves. For example, you can see line 143 in index.cfm of the nautica skin where the links get generated. You would need to add target="_blank" to the <li> tag.
09/20/07 7:36 AM
I have just updated my web site to Beta 2 - the upgrade script and new mods all work on Railo :-)
The upgrade to the searching is good news for Railo sites as it doesn't support Verity Search Engine - it uses Lucene (uses same cf tags).
So Laura, do you think it is time to put Railo 2 on the system requirements page?
09/20/07 12:28 PM
That's great news.
I think I will add Railo as supported, but I'll have to point to this thread until Mango runs unmodified.
By the way, the setup script should have added the following key: "useFriendlyUrls" to your configuration file (config.cfm). Since you are not using friendly urls, you probably should set that to 0 (it is set to 1 by default)
09/20/07 4:59 PM
Thanks for the tip on Friendly URLs.
I took them out so I could get the site up quickly. I think one of them was working, but was too impatient to work out what was happening. I will investigate this soon as I am keen to have it working on my site.
Maybe wait for Railo 2 009 patch before adding Railo to the system requirements - I will let you know if the resolves the access="package" issue.
12/09/08 9:12 PM
I know this is an old thread, but does anyone know if the access="package" issue in Railo has supposedly been resolved. I ran into a bug when I tried to deactiveate a plugin from the admin and I got this error:
"component [admin.FormHandler] has no function with name [handleActivatePlugin]"
The method DID actually exist in the component but was access="package". When I changed it to access="public", I didn't get the error anymore.
I don't see anything in the Railo talk list about this issue and I'm surprised that it hasn't been fixed in over a year now.
12/18/08 8:03 PM
Actually, it's not a bug. Railo just has a more strict adherence to the CFML specification that allows access="package" methods to be visible only from CFC's (not .cfm files). Apparently ColdFusion is a bit looser with this. Anyway, this is no longer an issue with the latest Mango version.