Re: [Flashcoders] amfphp 1.9 issue

2008-04-27 Thread chas warn
I made some progress on this.

When I opened carlosinla.com/amfphp/gateway.phpin Internet Explorer
I got a 500 error.  Googled  "500 error amfphp" and somebody recommended
disabling .htaccess  and so I did.

Now when I load the above url - it says that it is installed correctly.  Go
figure.

Thanks for your assistance now I'll push forward.

Carlos




On Sun, Apr 27, 2008 at 1:33 AM, Cédric Tabin <[EMAIL PROTECTED]>
wrote:

> Hello,
>
> Check that your server use's PHP 5.2.5 ! It's written into the
> documentation
> that amfphp won't work if a lower version is used...
>
> Regards,
> Cedric
>
> On Sat, Apr 26, 2008 at 10:24 PM, chas warn <[EMAIL PROTECTED]>
> wrote:
>
> > Hello ... I'd appreciate any help on this issue.Carlos
> >
> > 1. I can get amfphp1.9 working local but not on my remote webserver.
> (I'm
> > using the HelloWorld sample)
> > 2. have no problems with amfphp 1.2 on remote server
> > 3. I'm using flash 8 with php 5.2.
> > 4. copied over amfphp directory less the fla files in the samples
> > directory.
> >
> > 4. Maybe there is something in the gateway.php that needs modification.
> > (???)
> >
> >
> >
> >
> > *** Below is located in www\amfphp\services directory.
> >
> >  > class HelloWorld
> > {
> >function sayHello()
> >{
> >return "Hello World!";
> >}
> > }
> > ?>
> >
> >
> >
> > *  Below is my fla file located in root directory
> >
> > var gatewayUrl:String = "http://carlosinla.com/amfphp/gateway.php";;
> > import mx.remoting.*;
> > import mx.rpc.*;
> > import mx.remoting.debug.NetDebug;
> >
> > NetDebug.initialize();
> > var oPosts:Object;
> >
> > var _service:Service = new Service(gatewayUrl, null, "HelloWorld", null,
> > null);
> > var pc:PendingCall = _service.sayHello();
> >
> > pc.responder = new RelayResponder(this, "handleResult", "handleError");
> >
> > function handleResult(re:ResultEvent) {
> >oPosts = re.result;
> > trace (oPosts.length);
> > test_txt.text=oPosts.length; //initial text changes to '12'   locally -
> but
> > no change on web server.
> > }
> >
> >
> > *  Below is cross-domain  file in root directory
> > 
> >  >  SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>
> > 
> >  
> >  
> > 
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] amfphp 1.9 issue

2008-04-27 Thread Cédric Tabin
Hello,

Check that your server use's PHP 5.2.5 ! It's written into the documentation
that amfphp won't work if a lower version is used...

Regards,
Cedric

On Sat, Apr 26, 2008 at 10:24 PM, chas warn <[EMAIL PROTECTED]>
wrote:

> Hello ... I'd appreciate any help on this issue.Carlos
>
> 1. I can get amfphp1.9 working local but not on my remote webserver. (I'm
> using the HelloWorld sample)
> 2. have no problems with amfphp 1.2 on remote server
> 3. I'm using flash 8 with php 5.2.
> 4. copied over amfphp directory less the fla files in the samples
> directory.
>
> 4. Maybe there is something in the gateway.php that needs modification.
> (???)
>
>
>
>
> *** Below is located in www\amfphp\services directory.
>
>  class HelloWorld
> {
>function sayHello()
>{
>return "Hello World!";
>}
> }
> ?>
>
>
>
> *  Below is my fla file located in root directory
>
> var gatewayUrl:String = "http://carlosinla.com/amfphp/gateway.php";;
> import mx.remoting.*;
> import mx.rpc.*;
> import mx.remoting.debug.NetDebug;
>
> NetDebug.initialize();
> var oPosts:Object;
>
> var _service:Service = new Service(gatewayUrl, null, "HelloWorld", null,
> null);
> var pc:PendingCall = _service.sayHello();
>
> pc.responder = new RelayResponder(this, "handleResult", "handleError");
>
> function handleResult(re:ResultEvent) {
>oPosts = re.result;
> trace (oPosts.length);
> test_txt.text=oPosts.length; //initial text changes to '12'   locally - but
> no change on web server.
> }
>
>
> *  Below is cross-domain  file in root directory
> 
>   SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>
> 
>  
>  
> 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] amfphp 1.9 issue

2008-04-27 Thread chas warn
Hello...

When I type in carlosinla.com/amfphp/gateway.php  I get a blank screen.

This is my .htaccess file

RewriteEngine On
RewriteCond %{HTTP_HOST} ^carlosinla.com
RewriteRule (.*) http://www.carlosinla.com/$1 [R=301,L]


... gateway.php file


setBaseClassPath("services/");


$gateway->setLooseMode(true);


$gateway->setCharsetHandler( "none", "ISO-8859-1", "ISO-8859-1" );


$gateway->setErrorHandling(E_ALL ^ E_NOTICE);


$gateway->setWebServiceHandler('php5');


$gateway->setAmf3RecordSetFormat("ArrayCollection");


if(PRODUCTION_SERVER)
{

$gateway->disableTrace();


$gateway->disableDebug();


$gateway->disableServiceDescription();
}



if (!isset($HTTP_RAW_POST_DATA)){
$HTTP_RAW_POST_DATA = file_get_contents('php://input');
}




include_once('advancedsettings.php');

include_once("adaptersettings.php");


$gateway->service();

?>






On Sun, Apr 27, 2008 at 12:09 AM, Bernard Visscher <[EMAIL PROTECTED]> wrote:

> I think it's a wrong .htaccess :)
>
> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Namens Cor
> Verzonden: zondag 27 april 2008 8:42
> Aan: 'Flash Coders List'
> Onderwerp: RE: [Flashcoders] amfphp 1.9 issue
>
> Your gateway isn't there ?
>
> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Namens chas warn
> Verzonden: zaterdag 26 april 2008 22:24
> Aan: Flashcoders@chattyfig.figleaf.com
> Onderwerp: [Flashcoders] amfphp 1.9 issue
>
> Hello ... I'd appreciate any help on this issue.Carlos
>
> 1. I can get amfphp1.9 working local but not on my remote webserver. (I'm
> using the HelloWorld sample) 2. have no problems with amfphp 1.2 on remote
> server 3. I'm using flash 8 with php 5.2.
> 4. copied over amfphp directory less the fla files in the samples
> directory.
>
> 4. Maybe there is something in the gateway.php that needs modification.
> (???)
>
>
>
>
> *** Below is located in www\amfphp\services directory.
>
>  class HelloWorld
> {
>function sayHello()
>{
>return "Hello World!";
>}
> }
> ?>
>
>
>
> *  Below is my fla file located in root directory
>
> var gatewayUrl:String = "http://carlosinla.com/amfphp/gateway.php";;
> import mx.remoting.*;
> import mx.rpc.*;
> import mx.remoting.debug.NetDebug;
>
> NetDebug.initialize();
> var oPosts:Object;
>
> var _service:Service = new Service(gatewayUrl, null, "HelloWorld", null,
> null); var pc:PendingCall = _service.sayHello();
>
> pc.responder = new RelayResponder(this, "handleResult", "handleError");
>
> function handleResult(re:ResultEvent) {
>oPosts = re.result;
> trace (oPosts.length);
> test_txt.text=oPosts.length; //initial text changes to '12'   locally -
> but
> no change on web server.
> }
>
>
> *  Below is cross-domain  file in root directory 
>   SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>
> 
>  
>   
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
> --
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 26-4-2008
> 14:17
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 26-4-2008
> 14:17
>
>
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 26-4-2008
> 14:17
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] amfphp 1.9 issue

2008-04-27 Thread Bernard Visscher
I think it's a wrong .htaccess :)

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Cor
Verzonden: zondag 27 april 2008 8:42
Aan: 'Flash Coders List'
Onderwerp: RE: [Flashcoders] amfphp 1.9 issue

Your gateway isn't there ?

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens chas warn
Verzonden: zaterdag 26 april 2008 22:24
Aan: Flashcoders@chattyfig.figleaf.com
Onderwerp: [Flashcoders] amfphp 1.9 issue

Hello ... I'd appreciate any help on this issue.Carlos

1. I can get amfphp1.9 working local but not on my remote webserver. (I'm
using the HelloWorld sample) 2. have no problems with amfphp 1.2 on remote
server 3. I'm using flash 8 with php 5.2.
4. copied over amfphp directory less the fla files in the samples directory.

4. Maybe there is something in the gateway.php that needs modification.
(???)




*** Below is located in www\amfphp\services directory.





*  Below is my fla file located in root directory

var gatewayUrl:String = "http://carlosinla.com/amfphp/gateway.php";;
import mx.remoting.*;
import mx.rpc.*;
import mx.remoting.debug.NetDebug;

NetDebug.initialize();
var oPosts:Object;

var _service:Service = new Service(gatewayUrl, null, "HelloWorld", null,
null); var pc:PendingCall = _service.sayHello();

pc.responder = new RelayResponder(this, "handleResult", "handleError");

function handleResult(re:ResultEvent) {
oPosts = re.result;
trace (oPosts.length);
test_txt.text=oPosts.length; //initial text changes to '12'   locally - but
no change on web server.
}


*  Below is cross-domain  file in root directory 
http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>

  
   
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


--
No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 26-4-2008
14:17

No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 26-4-2008
14:17
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 26-4-2008
14:17
 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] amfphp 1.9 issue

2008-04-26 Thread Cor
Your gateway isn't there ?

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens chas warn
Verzonden: zaterdag 26 april 2008 22:24
Aan: Flashcoders@chattyfig.figleaf.com
Onderwerp: [Flashcoders] amfphp 1.9 issue

Hello ... I'd appreciate any help on this issue.Carlos

1. I can get amfphp1.9 working local but not on my remote webserver. (I'm
using the HelloWorld sample) 2. have no problems with amfphp 1.2 on remote
server 3. I'm using flash 8 with php 5.2.
4. copied over amfphp directory less the fla files in the samples directory.

4. Maybe there is something in the gateway.php that needs modification.
(???)




*** Below is located in www\amfphp\services directory.





*  Below is my fla file located in root directory

var gatewayUrl:String = "http://carlosinla.com/amfphp/gateway.php";;
import mx.remoting.*;
import mx.rpc.*;
import mx.remoting.debug.NetDebug;

NetDebug.initialize();
var oPosts:Object;

var _service:Service = new Service(gatewayUrl, null, "HelloWorld", null,
null); var pc:PendingCall = _service.sayHello();

pc.responder = new RelayResponder(this, "handleResult", "handleError");

function handleResult(re:ResultEvent) {
oPosts = re.result;
trace (oPosts.length);
test_txt.text=oPosts.length; //initial text changes to '12'   locally - but
no change on web server.
}


*  Below is cross-domain  file in root directory 
http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>

  
   
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


--
No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 26-4-2008
14:17

No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 26-4-2008
14:17
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 26-4-2008
14:17
 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders