www.webdeveloper.com
Results 1 to 3 of 3

Thread: AJAX Problems.

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Posts
    2

    Exclamation AJAX Problems.

    I have created a php page for a website that I am working on. It loads perfectly and fast when I direct my browsers directly to it. However, when I setup AJAX to load into a div I get the

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 30720 bytes)

    message. I have tried the php memory allocation fixes and I have to set it to 1000M for me not to get the error but then I don't get any text back. I am using the prototype framework for the AJAX request.

    new Ajax.Updater('payRollReport',"admin/reportPayRoll.php",{
    onComplete: initPayPeriodReport,
    parameters: 'payPeriodID='+payPeriodHash,
    method: 'get'});

    Can anyone tell me why this is acting the way it is.

  2. #2
    Join Date
    Jun 2003
    Location
    here
    Posts
    4,551
    It's not the javascript that's the problem, it's a PHP error message.
    If you are using PHP please use the [PHP] and [/PHP] forum tags for highlighting...
    The same applies to HTML and the forums [HTML][/HTML] tags.

  3. #3
    Join Date
    Nov 2008
    Posts
    2

    It is not just a PHP problem

    It is not just a php problem because when I run the script directly it work just fine without any problems what so ever. So I believe it is a combination of problems.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles