No. But I don't understand it. I have commented out all the roles="admin" for all the functions in blog.cfc but I still get the error. Trying to save an entry causes an error. The last part of the tag context section from the error message is:
The current user was not authorized to invoke this function 5 struct column 28 id CFFUNCTION line 2323 template /home/public_html/org/camden/blog/blog.cfc This specifically refers to the saveEntry function. But I have commented out the roles=admin. I have downloaded the blog.cfc to check it and it is indeed commented out. I don't have complete access to this server but it is like I'm working with an older version from a cache. On Mar 25, 10:49 am, Jordan Michaels <[email protected]> wrote: > Hi Magnus, > > Is the workaround that Pierre-Olivier suggested not working for you? > > Warm regards, > Jordan Michaels > Vivio Technologieshttp://www.viviotech.net/ > Open BlueDragon Steering Committee > Adobe Solution Provider > > Magnus wrote: > > I was just noticing that our setup is pretty much exactly the same as > > Moonpo's. I wonder if that figures somehow in the issues we are > > having. Particuarly the cflogin one. > > > CentOS 4.7 (fully patched as of March 2009) > > Apache: 2.2.11 (built with cPanel's `easyapache` script) > > Tomcat: 6.0.16 > > OpenBD: 1.0.1 (OpenBD+Tomcat installer from http:// > > openbd.viviotech.net/) > > > Magnus > > > On Mar 24, 1:52 am, Pierre-Olivier Chassay <[email protected]> > > wrote: > >> Magnus > > >> for the seconds problem you have with the cflogin the workaround I found > >> for the moment it's > >> to remove for all the function in org/camdem/blog/blog.cfc the > >> roles="admin". > >> I know Matt will look into this problem. > > >> By the way thanks to Jordan to find my problem with the SES see previous > >> post on that. > > >> Pierre-Olivier > > >> Magnus wrote: > >>> First off, does it matter where the < listener-class > is in relation > >>> to the other CF related entries. In the example above, it is just > >>> after the SES entry. In our web.xml file it is well up the file with > >>> some other CF related entries and the SES entry is near the bottom. I > >>> am guessing not but I read of another example of the order of entries > >>> made a difference > >>> Second. we are also having the problem that cflogin appears not to be > >>> working. I can login to the blog admin but get an error when I try > >>> make changes: > >>> [10:23:34] Application Exception in : /home/ncra/public_html/org/ > >>> camden/blog/blog.cfc Line: 271 > >>> The current user was not authorized to invoke this function; Function: > >>> addEntry > >>> It is the same for any other action that actually makes a change or > >>> addition. > >>> See this thread that I have started on the BlogCFC forum: > >>>http://www.coldfusionjedi.com/forums/messages.cfm?threadid=1FC66614-1... > >>> Thanks, > >>> Magnus > >>> On Mar 23, 5:22 pm, Jordan Michaels <[email protected]> wrote: > >>>> It turned out that this was an Apache/mod_jk issue. The mod_jk connector > >>>> was not passing off the request to Tomcat for processing, so it wasn't > >>>> even getting to the parameters outlined below. > >>>> Adding an additional like to the <IfModule mod_jk.c> directive that told > >>>> it to process everything in the "blog" directory did the trick. Once > >>>> request was passed off to tomcat properly, the directives below worked > >>>> perfectly. > >>>> Hopefully this helps anyone else who runs into this issue in the future. > >>>> Warm regards, > >>>> Jordan Michaels > >>>> Vivio Technologieshttp://www.viviotech.net/ > >>>> Open BlueDragon Steering Committee > >>>> Adobe Solution Provider > >>>> Pierre-Olivier Chassay wrote: > >>>>> Hi Jordan, > >>>>> Doesn't work still have page not found. > >>>>> The difference it's this part who isn't there when we use the installer > >>>>> <filter> > >>>>> <filter-name>SearchEngineFriendlyURLFilter</filter-name> > >>>>> <display-name>SearchEngineFriendlyURLFilter</display-name> > >>>>> <description>SearchEngineFriendlyURLFilter</description> > >>>>> <filter-class>com.newatlanta.filters.SearchEngineFriendlyURLFilter</filter-class> > >>>>> <init-param> > >>>>> <param-name>extensions</param-name> > >>>>> <param-value>cfm,cfml</param-value> > >>>>> </init-param> > >>>>> </filter> > >>>>> <filter-mapping> > >>>>> <filter-name>SearchEngineFriendlyURLFilter</filter-name> > >>>>> <url-pattern>/*</url-pattern> > >>>>> </filter-mapping> > >>>>> <listener> > >>>>> <listener-class>com.naryx.tagfusion.cfm.application.cfHttpSessionListener</listener-class> > >>>>> </listener> > >>>>> On Mon, Mar 23, 2009 at 10:55 PM, Jordan Michaels <[email protected] > >>>>> <mailto:[email protected]>> wrote: > >>>>> If it works with a WAR setup there's no reason why it shouldn't work > >>>>> using the default web.xml file. They are essentially the same thing. > >>>>> Warm regards, > >>>>> Jordan Michaels > >>>>> Vivio Technologies > >>>>> http://www.viviotech.net/ > >>>>> Open BlueDragon Steering Committee > >>>>> Adobe Solution Provider > >>>>> Pierre-Olivier Chassay wrote: > >>>>> > Hi Matt, > >>>>> > Exactly only these 2 issues all the rest looks to be working. > >>>>> > For the SES on my dev machine Windows Vista with Tomcat and > >>>>> Apache > >>>>> > modifying the web.xml was the solution like you suggest on > >>>>> earlier post. > >>>>> > On my server Linux CentOS Tomcat Apache using the installer of > >>>>> Jordan > >>>>> > the web.xml files isn't build the same way. So far I didn't find > >>>>> a way > >>>>> > yet to make it working properly. > >>>>> > Thanks for your help > >>>>> > Matthew Woodward wrote: > >>>>> >> Pierre-Olivier Chassay wrote: > >>>>> >>> Hi I still run in the same issue with the last version > >>>>> >> I'll have to look into it again. So leaving SES URLs out of the > >>>>> >> picture for a minute, does BlogCFC just on its own work for you? > >>>>> Just > >>>>> >> making sure I understand that you actually have two issues: 1) > >>>>> SES > >>>>> >> URLs, and 2) the user role issue. > >>>>> >> On the SES stuff, have you read the previous threads on that > >>>>> issue? > >>>>> >> Did those help? > > --~--~---------~--~----~------------~-------~--~----~ Open BlueDragon Public Mailing List http://groups.google.com/group/openbd?hl=en official site @ http://www.openbluedragon.org/ !! save a network - trim replies before posting !! -~----------~----~----~----~------~----~------~--~---
