From: Michael K. <th...@ph...> - 2004-10-22 16:32:02
|
Sam, I've never been able to get amfphp working without the gateway.php file placed in the root directory and the include path set to: include "flashservices/app/Gateway.php"; as long as the gateway.php file and the flashservices folder are sitting on the same level, everything works great for me. -Michael > > --__--__-- > > Message: 1 > Date: Thu, 21 Oct 2004 14:28:23 -0400 > From: Sam Chalfen <sch...@sa...> > To: amfphp <amf...@li...> > Subject: [amfphp] up and running errors from amphp, Mac OS 10.3.5. > Reply-To: amf...@li... > > Hi all, > > I've been enjoying the conversations on this list a lot. Can anyone help > me understand the "Syntax error. import mx.remoting.Connection" error > message I'm continuously getting despite all tweaking attempts? (All > eleven errors are listed in their entirety below). > > I know that I need to have the libraries in place and modify the path > in the php include statement *or* in the php code in gateway.php. The > output from the action window suggests I haven't. I've read multiple > posts on this subject and documentation, but haven't quite assimilated it. > > I can't tell if the problem is that I can't tell my Bash shell to get > the path right, whether the class(like) libraries are correctly > installed or not or whether PHP's include_file reluctance is the issue. > > So here's where I am: > > ------------ > Following directions at http://www.amfphp.org/?g=documentation and in > basic/gateway.php > (include("/path/to/your/flashservices/app/Gateway.php"), I changed the > include path to the following and various permutations with no > resulting change. > > include "../../../../flashservices/app/Gateway.php"; > (phpinfo shows the php include path to be: > .:/usr/local/php/lib/php) > I also tried > /Library/Webserver/Documents/flashservices/app/Gateway.php > > |