AJAX don't work in xampp

Problems with the Windows version of XAMPP, questions, comments, and anything related.

AJAX don't work in xampp

Postby EnCesc » 01. October 2013 00:34

Hi!,I am an experienced web designer, I recently renewed my work machine, I installed the xampp and surprise, running AJAX firbugs says nothing, I have tried everything all versions down to the 1.7.4versio I have on my laptop and it works perfectly well eh disconnected antivirus and firwall .. good month. I installed WAMP and a finely surprise it works, I have also done the same with IIS7 and also working. the question is not why does xampp? that can happen to a simple script so it displays correctly? The script testing and used is jcart. Tnaks
EnCesc
 
Posts: 2
Joined: 01. October 2013 00:17
Operating System: Windows 7

Re: AJAX don't work in xampp

Postby Altrea » 01. October 2013 16:27

Hi EnCesc,

EnCesc wrote:Hi!,I am an experienced web designer

Maybe experienced but not professional working.
Jcart seems to be very sloppy scripted (suppressed error outputs, PHP warnings, multiple session starts, insufficient ressource paths, etc). And JCart doesn't seem to be under constantly development (last version was released in January 2011) or support (last Support board post from April 2013).

EnCesc wrote:I installed WAMP and a finely surprise it works, I have also done the same with IIS7 and also working.

The fact that it runs in WAMP and IIS is just purely by accident.

At the end
  • It is purely a problem of jcart not XAMPP
  • we can't provide any support for third party scripts like Jcart
  • the problem doesn't have anything to do with AJAX
  • don't use scripts that are not updated since 2 3/4 years

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: AJAX don't work in xampp

Postby EnCesc » 01. October 2013 18:50

I shall not appreciate the professionalism of others.
I have a script easy to use, and test, not only the jcart, not run, if not others, which I developed in PHP and AJAX with jQuery.
conclusion do not know, no idea why it does certain actions not run. Since a server with exactly the same features dl xampp package works, as I said, IIS7, WAMP, usbwebserver all absolutely all work and not by chance.
It would be desirable that learn or simply say, I don't know! or giveme more information please than they wanted to teach someone who does not know me and 6 development machines we use iis.
Anyway thanks to all goood baggage of Xampp for all years functionality of the package.
EnCesc
 
Posts: 2
Joined: 01. October 2013 00:17
Operating System: Windows 7

Re: AJAX don't work in xampp

Postby Altrea » 01. October 2013 21:25

EnCesc wrote:Since a server with exactly the same features dl xampp package works, as I said, IIS7, WAMP, usbwebserver all absolutely all work and not by chance.

Then you are simply lucky.

EnCesc wrote:It would be desirable that learn or simply say, I don't know! or giveme more information please than they wanted to teach someone who does not know me and 6 development machines we use iis.

I give you a hint:
  • create a completely new empty folder inside your XAMPP 1.8.3 htdocs folder.
  • place in it just one index.php file with the following syntax:
    Code: Select all
    <?php require_once 'config.php'; ?>
  • save the file
  • request it in your browser. What response would you expect? An error of type E_COMPILE_ERROR, correct?
You can check this too on all the other Stacks like WAMP, IIS, usbwebserver where your script is working and you will see, there is a difference to XAMPP.

Now the billion dollar question: If this is not a XAMPP Bug, what can it be?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 131 guests