|
From: Rick W. <rw...@de...> - 2004-12-19 07:01:10
|
First do the CVS versions of examples/basic work? I've tried
credentials.fla and browse.php and found errors in both. The
question... is it a problem with my install, or something that needs to
be fixed before 1.0 release?
Second, may I suggest adding the following to
flashservices/app/Gateway.php right after you
define("AMFPHP_USERDIR",... (Line 30 in CVS)
--------------------------------------------------------
/**
* Set error reporting so PHP errors are logged and not sent to client
*/
ini_set( 'display_errors', 0 );
ini_set( 'log_errors', 1 );
--------------------------------------------------------
This allows you to monitor all but compile errors from the Apache log
file rather than having to hit the gateway with a web browser. I
believe this location will trap all flash remoting requests.
It might be even better to make the same settings in a <Location> block
in the web server configuration. Doing so will even catch compile
errors, sending them to the log file instead of the client. This might
not be possible for all web servers, or all users so adding the lines to
Gateway.php is probably a good idea.
|