Login problem

0 favourites
  • 5 posts
  • I know that this subject has been discussed a lot. The deal is that, after reading many posts and comments, I still cant make my login system work. Its a very simple system, just two text boxes for username and password, then an AJAX request to my web. No matter what I do or how, the AJAX.LastData its always 0. I know its not a code error because if i change the info directly in the code and i run it through my browser it returns what i need.

    Ive tried changing the " and addin ' on the request url and so on but still nothing.

    Also tried in different browsers... nothing...

    Ive tried just about everything that people here have suggested but wont make it.

    EDIT: Also tried with "header('Access-Control-Allow-Origin: *');" and more... Im starting to believe its a bug... Im running the release 132(64-bit) for Win8... Everything works beautifully but this....

    Here is the code:

    <img src="http://ligatiempoextra.cl/code.png" border="0" />

    Here is the event in C2:

    <img src="http://ligatiempoextra.cl/cons.png" border="0" />

    Ill really appreciate any help, ive been hours trying to figure out the problem.



  • *bump*

    Sry for bumping but this is driving me crazy haha

    Ive been thinking that it can be an issue with the "localhost". Im using phpMyAdmin from my web server. Tried with "MySQL" but it returns error...


  • It seems server side problem, you might find help in stackoverflow

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Output the result in a textbox. If an error occurs on the server, Ajax.LastData() might contain the error report.

  • Are you using WAMP or XAAMP?

    I'm asking, because half of my stuff doesn't work on WAMP.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)