Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. chapkom

    Need help with AJAX polling session

    Turns out I had a circular reference in my PHP code. User.class.php was calling alert.func.php which was calling... User.class.php. I think I might have just found my problem.
  2. chapkom

    Need help with AJAX polling session

    Additional testing: Disabled the ajax code that checks user permissions to generate the TPM in mrp.ajax.php. Polling works as intended. Re-enabled the PHP include for the user class. Polling problem returned. Looks like I just caught a break.
  3. chapkom

    Need help with AJAX polling session

    Further testing: Commented out the parts of the PHP code that write to the progress log file. No change in polling behavior. Set mrp.ajax.php to run a function that loops from 1 to 1000000000 and doesn't do anything else. No change in polling behavior. Disabled the ajax call to mrp.ajax.php...
  4. chapkom

    Need help with AJAX polling session

    I just tested this with an old version of the function that generates the TPM (let's hear it for redundant backups and SVN) and the problem persists. This is starting to look like it's not code related. The old version was very slow, which is the primary reason I rewrote it, so I killed the...
  5. chapkom

    Need help with AJAX polling session

    I had made a change to the PHP function that generates the TPM. The function still writes to the progress log file and' does not generate any errors in the error log. I don't have access to the source code at this time, but that does give me a good place to start looking. I'll take a look...
  6. chapkom

    Need help with AJAX polling session

    The problem exists in all four major browsers (Firefox, Chrome, IE, Safari)
  7. chapkom

    Need help with AJAX polling session

    Platform: PHP 5.3.9 with jQuery 1.7.1 I'm at wit's end with this one. I'm firing off two asynchronous AJAX calls at the same time, generateTPM() and updateProgress(). generateTPM() initiates a process that takes 50 seconds and updateProgress() polls a text file containing a JSON object...

Part and Inventory Search

Back
Top