In the error message, it's got "amfphp" repeated in the path - maybe you need to copy the real path from here rather than using __FILE__ because that may be called from sub-directories, etc.

Try this:

/hsphere/local/home/blurred/blurredistinction.com/amfphp/

if that does not work, try removing "amfphp/"

Dave Mennenoh wrote:
I've started playing with AMFPHP today, and it's pretty darned cool! I have a little service written, that sends back an SQL query to a datagrid - all is good. But I can't get the online service browser to work - it's a path problem I think.

Within the config.inc.php file it has this:

/**
* This is the path to your services folder. It should be fully qualified
 * and must include a trailing /  If you leave the value blank an attempt
 * will be made to search the INCLUDE_PATH for it.
 */

$cfg['AmfphpPath'] = realpath(dirname(dirname(__FILE__))) . '/amfphp/';
$cfg['ServicesPath'] = $cfg['AmfphpPath'] . 'services/';
$cfg['CodePath'] = str_replace('\\', '/', $cfg['AmfphpPath'] . 'src/');

I've tried a few things and the browser just complains. It's in the default amfphp install folder - webroot/amfphp/browser: http://www.blurredistinction.com/amfphp/browser/

But it complains it can't find the ServiceBrowser.php file.




Dave -
Head Developer
www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to