Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 06-15-2004, 05:12 PM   #1
jedrichards
Registered User
 
Join Date: Jun 2004
Posts: 10
Default user roles error with AMFPHP

hi again,

anyone had the following error from the NetConnection Debugger, and know how to deal with it?

EventType: "Status"
MovieUrl: "file:///C|/Program Files/Apache Group/Apache2/htdocs/test_remoting/talk.swf"
Source: "Client"
Time: 1087337154177
Date (object #1)
....."Tue Jun 15 23:05:54 GMT+0100 2004"
Status (object #2)
.....code: 256
.....description: "This user is not does not have access to returnString"
.....details: "C:\Program Files\Apache Group\Apache2\htdocs\flashservices\app\Executive.p hp"
.....level: "User Error"
.....line: 295


any help appreciated!!

jed

Last edited by jedrichards; 06-16-2004 at 04:58 AM. Reason: minor change
jedrichards is offline   Reply With Quote
Old 06-18-2004, 07:35 PM   #2
Mattarm
Registered User
 
Join Date: Feb 2001
Location: Melbourne
Posts: 47
Default

Hi Jed,

Sounds like a problem with multiple calls. try testing each function seperately then having a named responder from each call triger the next function.

There is a discussion over at Flash DB on this subject;
http://www.flash-db.com/Board/index....;threadid=8810
Mattarm is offline   Reply With Quote
Old 06-20-2004, 07:34 AM   #3
Curly Brace
Rock is alive!
 
Curly Brace's Avatar
 
Join Date: Jun 2004
Location: Russia
Posts: 603
Send a message via ICQ to Curly Brace
Default

Have you tried to install the earlier version of AMFPHP (0.5.0)?
Curly Brace is offline   Reply With Quote
Old 06-20-2004, 07:49 AM   #4
petefs
Fried Onions
 
petefs's Avatar
 
Join Date: Apr 2004
Location: Chicago, IL
Posts: 1,328
Send a message via AIM to petefs Send a message via MSN to petefs Send a message via Yahoo to petefs
Default

I suggest not reverting to the old version of AMFPHP. Solve the problem instad of ignoring it -- AMFPHP 0.5.0 simply ignores the role feature.

If you comment out the roles line from your method in the method table no authentication will be required. If you choose to keep it you'll need to write an _authenticate method. Do a search on this forum for it, I've posted two _authenticate examples.

If it's not a role problem, read this:

http://www.sephiroth.it/phpwiki/inde...all.BadVersion

The latest AMFPHP version addresses the problem with the Executive.php trying to switch gateway paths, therefore fixing the multiple call problem. If you're still stumped, try the AMFPHP tutorials on sephiroth.it -- if done properly it works no matter what with the current version of AMFPHP and will help you understand better most likely.
petefs is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:53 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.