d2kagw
04-22-2005, 01:18 AM
Hi there fellow remoters.
im having this really strange error with a remoting job im doing.
Basically, I have a flash file that [through AMFPHP] talks to PHP [version 5.0.2]
The service/php class is called Login, and there are a series of methods/php functions that operate 100% A-Ok, however, yesterday I added two additional methods, which through a PHP debugging session work fine, no errors, no echo's or output what so ever, it just returns an array [and trust me, theres nothing special in the methods, just get info from the DB, turn it into an array, spit it back to flash]
So, in effect, I have a php class that operates fine when I call it from php, however, when I call it from flash, it will only find some of the methods [in this case, 3 out of 5 functions can be found]
FYI - NC Debugger returns this error:
DebugId: 2
EventType: "Status"
MovieUrl: "file:///X|/job/041124_v4/_Site/_swf/Toolkits.swf"
Protocol: "http"
Source: "Client"
Time: 1114128467625
Date (object #1)
....."Fri Apr 22 10:07:47 GMT+1000 2005"
Status (object #2)
.....code: 256
.....description: "Function getUserAccess does not exist in class Object id #7."
.....details: "E:\job\041124_v4\_Site\_runway\flashservices\app\E xecutive.php"
.....level: "User Error"
.....line: 260
Any Ideas?
I can give you more code if you like !!!
:) Cheers !!!
im having this really strange error with a remoting job im doing.
Basically, I have a flash file that [through AMFPHP] talks to PHP [version 5.0.2]
The service/php class is called Login, and there are a series of methods/php functions that operate 100% A-Ok, however, yesterday I added two additional methods, which through a PHP debugging session work fine, no errors, no echo's or output what so ever, it just returns an array [and trust me, theres nothing special in the methods, just get info from the DB, turn it into an array, spit it back to flash]
So, in effect, I have a php class that operates fine when I call it from php, however, when I call it from flash, it will only find some of the methods [in this case, 3 out of 5 functions can be found]
FYI - NC Debugger returns this error:
DebugId: 2
EventType: "Status"
MovieUrl: "file:///X|/job/041124_v4/_Site/_swf/Toolkits.swf"
Protocol: "http"
Source: "Client"
Time: 1114128467625
Date (object #1)
....."Fri Apr 22 10:07:47 GMT+1000 2005"
Status (object #2)
.....code: 256
.....description: "Function getUserAccess does not exist in class Object id #7."
.....details: "E:\job\041124_v4\_Site\_runway\flashservices\app\E xecutive.php"
.....level: "User Error"
.....line: 260
Any Ideas?
I can give you more code if you like !!!
:) Cheers !!!