| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Jul 2003
Posts: 4
|
HI guys,
I've installed PHP and mySQL and PHPMyAdmin, plus the most up-to-date remoting components. I'm trying to follow along with the tutorial provided here but I'm coming up against a problem which I don't think has to do with remoting. If anyone could help I'd really appreciate it : When I test the gateway.php for Flashservices everything seems fine. When I tes the talk.fla I get the calls being made to AMFPHP but nothing gets sent back. Instead of an error in the Netservices debugger I get the following : Code:
DebugId: 2 EventType: "Status" MovieUrl: "file:///C|/Inetpub/wwwroot/php_remoting/talk.swf" Protocol: "http" Source: "Client" Time: 1059391274593 Date (object #1) ....."Mon Jul 28 12:21:14 GMT+0100 2003" Status (object #2) .....code: 8 .....description: "Undefined variable: _SESSION" .....details: "c:\inetpub\wwwroot\flashservices\util\Authenticate.php" .....level: "Notice" .....line: 29 Thanks in advance - great tutorial -, pixelpod |
|
|
|
|
|
#2 |
|
Master of Nothing
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
|
Can you post the PHP code you tried using, seems like maybe a missing $ sign in PHP or something.
|
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Oct 2004
Posts: 4
|
I have the exact same problem, and get the exact same in flash:
DebugId: 2 EventType: "Status" MovieUrl: "file:///C|/Inetpub/wwwroot/php_remoting/talk.swf" Protocol: "http" Source: "Client" Time: 1059391274593 Date (object #1) ....."Mon Jul 28 12:21:14 GMT+0100 2003" Status (object #2) .....code: 8 .....description: "Undefined variable: _SESSION" .....details: "c:\inetpub\wwwroot\flashservices\util\Authenticat e.php" .....level: "Notice" .....line: 29 when using this toturial: http://www.actionscript.org/tutorial...ng/index.shtml Please someone reply, caus i´ve had this problem from the start, and cant get it to work (for a month now). Thanks in advance! |
|
|
|
|
|
#4 |
|
Fried Onions
|
This has been covered a few times : ) Maybe the tutorial should be updated ^_^
When that tutorial was made, AMFPHP did not properly implement roles and so the setCredentials() method wasn't required to work with that entry. If you remove the 'roles' from the methodTable in the php class you should be fine ^_^ |
|
|
|
|
|
#5 |
|
Registered User
Join Date: Oct 2004
Posts: 4
|
what are the precise lines that should be removed, and from what file?
Thanks! |
|
|
|
|
|
#6 |
|
Registered User
Join Date: Jul 2005
Posts: 1
|
Remove any lines that say this:
Code:
"roles" => "role, list", |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|