Weird.
I'd be interested in knowing what was in the session structure of
the logged errors - to see if any of the vars I mentioned were even
there.
Not that I'd know what to do with the knowledge...
Al
On 7/13/2017 2:30 PM, Magnus wrote:
As far as I can tell and without doing a lot of testing, I think
this wan an issue with the nightly build. Sites installed with
the stable release have no issues with the Administrator.
When trying the work with the fisrt install the post is about, I
did restart the J2EE server (Tomcat) serveral times. Initially,
I was shown the log in page and could log in, was shown the
index page but then it errored when I tried to do anything more.
Later is errored whenever I tried to visit the Administrator.
Magnus
On Tuesday, 11 July 2017 10:23:20 UTC-7, Al Holden wrote:
Hey Magnus;
As you probably guessed already, the error is being thrown on
purpose in response to the false value
apparently returned by the isUserLoggedIn() function in
Base.cfc; which is testing session.auth for session.auth.loggedIn
and session.auth.password (and comparing the later
to the result of getPassword() function).
All this implies that the session in use (to establish your
logged-in state) does not contain the needed parameters or
correct values. Have you cleared out any session tokens that
were in place (or restarted the J2EE engine) since you moved
the app to the new location? Were you ever asked to log in
to the Admin app again after all the stuff was moved (or is
it still trying to use the session from the former
location)?
Look at the session provided as part of the error
structure/message for the above values. It's possible that
your new configuration is confusing the relationship between
the session provided by the J2EE engine and the one exposed
to the functions in the administration app. What's the value
of j2eesession in /WEB-INF/bluedragon/ bluedragon.xml
(just curious)?
There seem to be some settings in the admin app (lines 36~67
of Base.cfc for example) which look for specific directory
structures too.
That's all I can think of right off the bat...
Al Holden
On 7/10/2017 11:26 PM, Magnus wrote:
When log in the administrator on a new dev install
I get this error and I am not able to access or change
any of the settings. I have moved the site out of
webapps to another drive and moved over the WEB-INF
and bluedragon folders. Other pages on the site as far
as I can tell. The datasource hasn't been set up yet
but other pages load with the expected error of no
dsn.
Any ideas about what I am missing or got wrong:
Thanks for your help.
| CFML Runtime Error
|
| Login required to perform
this action |
| Request |
/bluedragon/administrator/index.cfm |
| File
Trace |
E:/Websites/dev.local/bluedragon/administrator/index.cfm
|
+-- E:/Websites/dev.local/bluedragon/administrator/Application.cfc
|
+-- E:/Websites/dev.local/bluedragon/adminapi/Administrator.cfc
|
+-- E:/Websites/dev.local/bluedragon/adminapi/Base.cfc |
| Type |
bluedragon.adminapi.security |
| Function(s) |
onRequestStart (E:/Websites/dev.local/bluedragon/administrator/Application.cfc,
Line=62, Column=2)
|
+--setInitialSecurity (E:/Websites/dev.local/bluedragon/adminapi/Administrator.cfc,
Line=30, Column=151)
|
+--setConfig (E:/Websites/dev.local/bluedragon/adminapi/Base.cfc,
Line=106, Column=86)
|
+--checkLoginStatus
(E:/Websites/dev.local/bluedragon/adminapi/Base.cfc,
Line=95, Column=103)
|
| Tag
Context |
CFTHROW
(E:/Websites/dev.local/bluedragon/adminapi/Base.cfc,
Line=97, Column=7)
|
+-- CFIF
(E:/Websites/dev.local/bluedragon/adminapi/Base.cfc,
Line=96, Column=5)
|
+-- CFFUNCTION
(E:/Websites/dev.local/bluedragon/adminapi/Base.cfc,
Line=95, Column=103)
|
+-- CFSET
(E:/Websites/dev.local/bluedragon/adminapi/Base.cfc,
Line=114, Column=5)
|
+-- CFFUNCTION
(E:/Websites/dev.local/bluedragon/adminapi/Base.cfc,
Line=106, Column=86)
|
+-- CFSET
(E:/Websites/dev.local/bluedragon/adminapi/Administrator.cfc,
Line=49, Column=7)
|
+-- CFIF
(E:/Websites/dev.local/bluedragon/adminapi/Administrator.cfc,
Line=44, Column=5)
|
+-- CFFUNCTION
(E:/Websites/dev.local/bluedragon/adminapi/Administrator.cfc,
Line=30, Column=151)
|
+-- CFSET
(E:/Websites/dev.local/bluedragon/administrator/Application.cfc,
Line=65, Column=3)
|
+-- CFFUNCTION
(E:/Websites/dev.local/bluedragon/administrator/Application.cfc,
Line=62, Column=2) |
| Source |
94 : <cffunction name="checkLoginStatus" access="package" output="false" returntype="void"
95 : hint="Checks login status and throws a security exception if there is no valid logged in user">
96 : <cfif !isUserLoggedIn()>
97 : <cfthrow message="#variables.msg.security.notLoggedIn#" type="bluedragon.adminapi.security" />
98 : </cfif>
^ Snippet from underlying CFML source |
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to
the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails
from it, send an email to openbd+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google
Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google Groups "Open BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
|