Jan 11
Marc Pinnell Help with Define_atbegin and -9961 error
Jan 11, 2008; 14:38
Marc Pinnell
Help with Define_atbegin and -9961 error
Using Mac OSX.4 Client / Lasso 8.5 /Apache 2.2
Playing with and trying to wrap my head around Jonathan Guthrie's
ideas for using Define_atbegin for common code. Seem to be stuck
right off the bat. I have created a "super user" in my default Lasso
Site that has permissions for webroot (///CustomerSites/) and all the
file tags.
Then using this code in the site startup folder ($authInfo_su var is
set in another site startup file):
inline($authInfo_su);
define_atBegin(
{
if(file_exists('/_config/atbegin.lasso'));
include('/_config/atbegin.lasso');
/if;
}
);
/inline;
I get this error:
-9961 ERROR while running startup script "_sitePreprocessor.inc". No
permission at: atbegin with params: \_global_anonymous at: /
_sitePreprocessor.inc on line: 6 at position: 3 at: inline with
params: array: (pair: (-username)=(*****)), (pair: ...
Can anyone shed a little light on the error itself, specfically the
global user thing?
Thanx
Marc
--
Marc Pinnell
1027 Design
PO Box 990872
Redding, CA 96099-0872
530.941.4706
www.1027Design.com
--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/
Jan 11
Bil Corry Re: Help with Define_atbegin and -9961 error
Jan 11, 2008; 14:42
Bil Corry
Re: Help with Define_atbegin and -9961 error
Jan 11
Bil Corry Re: Help with Define_atbegin and -9961 error
Jan 11, 2008; 14:44
Bil Corry
Re: Help with Define_atbegin and -9961 error
Jan 11
Marc Pinnell Re: Help with Define_atbegin and -9961 error
Jan 11, 2008; 17:25
Marc Pinnell
Re: Help with Define_atbegin and -9961 error