php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62869 Having big issues with AJAX with php on Apache or IIS
Submitted: 2012-08-20 06:09 UTC Modified: 2012-08-20 07:32 UTC
From: akshay dot srin at gmail dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 5.4.6 OS: Windows 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: akshay dot srin at gmail dot com
New email:
PHP Version: OS:

 

 [2012-08-20 06:09 UTC] akshay dot srin at gmail dot com
Description:
------------
I am having weird issues with AJAX returns postbacks using PHP on Apache and IIS 
same javascript with same data returned works fine on IIS.
The source code is downloadable from 
https://github.com/akshaysrin/CanvasControlLibrary look at the formsbased.php in 
phpexample1 folder.
I have wasted hours getting it to work on php whereas it tooks minutes in ASP.Net 
no idea what to do please help need to support PHP.
Debugging the javascript in Google Chrome sometimes it never comes back from AJAX 
calls sometimes with internal error 500 status sometimes with DOM Exception in 
status of AJAX xmlhttp response.  Same code like I said works with the same data 
sent back on IIS ASP.NET when served from an aspx page if you happen to have a 
windows machine with IIS the example is there also.
Using the Zend Server PHP server installed from their package.  The IIS PHP is 
from your site download and installed all latest.

Test script:
---------------
URL to code is given freely downloadable open source.

Expected result:
----------------
Page should work like it does from IIS and ASPX/ASP.NET page.

Actual result:
--------------
Page works differently when served from PHP zend server.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-08-20 07:32 UTC] aharvey@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

We don't track issues in Zend Server, and it sounds like you need to find out where the 500s are coming from in the first place — a support channel will be able to help you there.
 [2012-08-20 07:32 UTC] aharvey@php.net
-Status: Open +Status: Not a bug
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 16:01:29 2024 UTC