From: JesterXL <jes...@je...> - 2005-03-26 18:15:12
|
No dice: include(realpath(dirname(__FILE__)) . "app/Gateway.php"); $gateway->setBaseClasPath(realpath(dirname(__FILE__)) . '/services/'); Additionally, I'm running on PHP5, but just tried on another server that has PHP4, no go. BTW, if I deploy on a PHP4 server, will that PHP5 webservice line not work? //choices are php5 (SoapClient), nusoap and pear $gateway->setWebServiceHandler('php5'); ??? ----- Original Message ----- From: "Patrick Mineault" <li...@5e...> To: <amf...@li...> Sent: Saturday, March 26, 2005 12:56 PM Subject: Re: [amfphp] Beta Test Results Sorry my parentheses didn't balance, it should be: $gateway->setBaseClasPath(realpath(dirname(__FILE__)) . '/services/'); Patrick JesterXL wrote: > Darn... BadVersion... I tried changing the include to: > > include(realpath(dirname(__FILE__) . "app/Gateway.php"); > > But still no dice. It's gotta be the gateway, yo.... > > Any ideas? > > ----- Original Message ----- > From: "Patrick Mineault" <li...@5e...> > To: <amf...@li...> > Sent: Saturday, March 26, 2005 12:37 PM > Subject: Re: [amfphp] Beta Test Results > > > You should really use an absolute path, if you want a > realtive path because you want to be able to migrate more > easily then use: > > $gateway->setBaseClasPath(realpath(dirname(__FILE__) . > '/services/'); > > Patrick > > JesterXL wrote: > >>Ok, I've given a good 5 minutes, no go. First off, my gateway.php isn't >>hardcoded; it's relative, but the comments specifically state I'm supposed >>to put a absolute filepath... how do I do that? Maybe that's my problem? >>She's worked in the past with relative paths. >> >>Second, here's my Flash output: >> >>Status (object #2) >>.....description: "The class {Test} could not be constructed, check the >>stack trace for the root cause" >>.....details: >>"w:\users\jwarden\jessewarden\jessewarden_com\amfphpbeta\actions\ClassLoaderAction.php" >>.....level: "User Error" >>.....line: 58 >>.....exceptionStack (object #3) >>..........[0] (object #4) >>...............[0] (object #5) >>....................code: 256 >>....................description: "The class {Test} could not be >>constructed, >>check the stack trace for the root cause" >>....................details: >>"w:\users\jwarden\jessewarden\jessewarden_com\amfphpbeta\actions\ClassLoaderAction.php" >>....................level: "User Error" >>....................line: 58 >>..........[1] (object #6) >>...............[0] (object #7) >>....................code: 256 >>....................description: "The class {Test} can not be subclassed >>check the stack trace for the root cause" >>....................details: >>"w:\users\jwarden\jessewarden\jessewarden_com\amfphpbeta\actions\ClassLoaderAction.php" >>....................level: "User Error" >>....................line: 119 >>..........[2] (object #8) >>...............[0] (object #9) >>....................code: 256 >>....................description: "The class {Test} could not be found >>under >>the class path {./flashservices/services/Test.php}" >>....................details: >>"w:\users\jwarden\jessewarden\jessewarden_com\amfphpbeta\actions\ClassLoaderAction.php" >>....................level: "User Error" >>....................line: 92 >> >> >> >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide >>Read honest & candid reviews on hundreds of IT Products from real users. >>Discover which products truly live up to the hype. Start reading now. >>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>_______________________________________________ >>amfphp-general mailing list >>amf...@li... >>https://lists.sourceforge.net/lists/listinfo/amfphp-general >> > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > amfphp-general mailing list > amf...@li... > https://lists.sourceforge.net/lists/listinfo/amfphp-general > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > amfphp-general mailing list > amf...@li... > https://lists.sourceforge.net/lists/listinfo/amfphp-general > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ amfphp-general mailing list amf...@li... https://lists.sourceforge.net/lists/listinfo/amfphp-general |