Solved:

this.addTest('Loading Client', function() {
                                var req = new Request({
                                'url': '../../Clients/MooTools.js',
 
'method': 'get',
                                'evalResponse': true,
                                'onComplete': function(resp) {
                                if (window.APE) this.fireEvent('testComplete', 
{'sucess': true});
                                else this.fireEvent('testComplete', {'error': 
"Can't load client,
check the file " + window.location.href.replace('/Tools/Check/', '') +
"/Clients/MooTools.js is available"});
                                                        }.bind(this)
                                                }).send();
                                }.bind(this));



To avoid a cross site attempt and then a 405 error (Method not
Allowed), ensure the method "GET".

'url': '../../Clients/MooTools.js',
'method': 'get',
...





On 25 mar, 15:22, MrFlag <[email protected]> wrote:
> Hello folks,
>
> I've successfully installed the APE on Ubuntu 10.10. I've configured
> to run on port 80. When I point my browser to the server, the server
> answers perfect:
>
> APE Server
> No command given.http://www.ape-project.org/- Server 1.00 (Build Dec 10 2009 
> 20:26:31)
>
> Nice.
>
> So I've created a New Project using Visual Web Developer and copy all
> the APE_JSF files to this project.
>
> When I try to run the tools check, it can't load the client:
> "Can't load client, check the 
> filehttp://localhost:51180/ape-jsfindex.html/Clients/MooTools.js
> is available"
>
> When I put some breakpoints on the code the window.APE is undefined on
> this line:
>
> if (window.APE) this.fireEvent('testComplete', {'sucess': true});
> else this.fireEvent('testComplete', {'error': "Can't load client,
> check the file " + window.location.href.replace('/Tools/Check/', '') +
> "/Clients/MooTools.js is available"});
>
> I put the systemWebserver lines on my web config that tutorials
> suggests me to do.
>
> My webconfig:
> <configuration>
>     <system.web>
>         <compilation debug="true" targetFramework="4.0" />
>     </system.web>
>     <system.webServer>
>         <handlers>
>             <add name="js" path="*.js" verb="*" modules="IsapiModule"
> scriptProcessor="C:\Windows\System32\inetsrv\asp.dll"
> resourceType="Unspecified" preCondition="bitness64" />
>         </handlers>
>     </system.webServer>
> </configuration>
>
> My machine is: Windows 7 64Bits Intel Core2 duo 4gb ram.
>
> The server is a Ubuntu one on the same configuration (just for test)
>
> Could someone please help me?

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to