Ajax request to php never complete

Get help using Construct 2

Post » Thu May 23, 2013 3:49 pm

Hi all,
I have made a simple Ajax request, which just get date and time from php, but never seems to complete.
I read the manual entry for ajax but I just don't understand what's wrong here.

The request can be tried here : http://80.166.130.62/ajax/
Here is how it looks in construct.




And here are the content of http://80.166.130.62/php/ajaxexampleGET.php

<?php
header('Access-Control-Allow-Origin: *');
echo date("d/m/y : H:i:s", time());
?>


.Capx can be found here: http://80.166.130.62/ajax/ajax.capx

If you have any ideas what i'm doing wrong, please let me know.
so I can get my high score table stable in my little test game: http://80.166.130.62/spaceshooter/
It's most likely something simple, since I'm a newbee :)

Thanks in Advance
Hansi
B
16
S
2
Posts: 3
Reputation: 1,147

Post » Thu May 23, 2013 6:52 pm

Did you fix it? It works for me.
B
54
S
28
G
18
Posts: 1,520
Reputation: 24,990

Post » Thu May 23, 2013 7:45 pm

Strange when I using my own examples above it works.

The last things I did was to change the URL's to match my external IP instead of the local LAN IP of my Apache server. I just tried again on the Local LAN IP, and now it keeps running forever without completing again.. Something tells me that it's time to inspect LAN and Apache configuration on my server, this must be a some kind of local issue..

Thanks for posting ramones, I'll be back :)
B
16
S
2
Posts: 3
Reputation: 1,147


Return to How do I....?

Who is online

Users browsing this forum: christina and 6 guests