|
Home > Archive > Macromedia Flash Server > April 2005 > "_global not defined" in SS Remoting
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
"_global not defined" in SS Remoting
|
|
| Andrew Adamson 2005-04-16, 5:45 pm |
| I've just started to dig into server-side remoting (AMFPHP) and I've
found I am stuck when I try to load("NetServices.asc"). The mere
mention of _global (used throughout the server script) tosses an error
with:
***** running NetServices
***** running recordset
***** running RsDataProviderClass
/opt/macromedia/fcs/scriptlib/RsDataProviderClass.as: line 14: _global
is not defined
No other code is needed to get this error. Just 'load("NetServices.asc");'
There is _one_ mention of the '_global is not defined' error on Google
that points to the scripts being executed from the flashcom_help
directory, but this is clearly not the case here as I have made minor
changes to these files since getting this error to see if I can get
around the problem and the scripts are certainly being executed from
the scriptslib folder.
I've actually _never_ been able to use '_global' in my SSAS, so I was
surprised to see the references to it in the Macromedia code. I even
downloaded the latest Linux server code again to confirm I had the
right code and it appears I do. I was also surprised to see only _one_
reference on Google, since I seem to recall most strongly getting this
error heaps of times before.
Any idea what am I doing wrong?
Andrew
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Stefan Richter 2005-04-16, 5:45 pm |
| Try
load("netservices.asc");
instead of
load("NetServices.asc");
Does that male a difference?
Stefan
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Andrew Adamson
> Sent: 16 April 2005 16:49
> To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> Subject: [FlashComm] "_global not defined" in SS Remoting
>
> I've just started to dig into server-side remoting (AMFPHP)
> and I've found I am stuck when I try to
> load("NetServices.asc"). The mere mention of _global (used
> throughout the server script) tosses an error
> with:
>
> ***** running NetServices
> ***** running recordset
> ***** running RsDataProviderClass
> /opt/macromedia/fcs/scriptlib/RsDataProviderClass.as: line
> 14: _global is not defined
>
> No other code is needed to get this error. Just
> 'load("NetServices.asc");'
>
> There is _one_ mention of the '_global is not defined' error
> on Google that points to the scripts being executed from the
> flashcom_help directory, but this is clearly not the case
> here as I have made minor changes to these files since
> getting this error to see if I can get around the problem and
> the scripts are certainly being executed from the scriptslib folder.
>
> I've actually _never_ been able to use '_global' in my SSAS,
> so I was surprised to see the references to it in the
> Macromedia code. I even downloaded the latest Linux server
> code again to confirm I had the right code and it appears I
> do. I was also surprised to see only _one_ reference on
> Google, since I seem to recall most strongly getting this
> error heaps of times before.
>
> Any idea what am I doing wrong?
>
> Andrew
>
> =---------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =---------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Stefan Richter 2005-04-17, 5:45 pm |
| Just for the record and future archive searches:
Andrew emailed me and confirmed that the suggestion below solved his
problem.
Stefan
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Stefan Richter
> Sent: 16 April 2005 19:23
> To: 'Andrew Adamson'; 'FlashComm Mailing List'
> Subject: RE: [FlashComm] "_global not defined" in SS Remoting
>
> Try
> load("netservices.asc");
> instead of
> load("NetServices.asc");
>
> Does that male a difference?
>
> Stefan
>
>
>
> Of Andrew
> and I've
> tosses an error
> error on Google
> made minor
> executed from
> SSAS, so I was
> code. I even
> only _one_
> getting this
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|
|
|
|
|