Results 1 to 7 of 7

Thread: ajax not working

  1. #1
    Join Date
    Sep 2005
    Location
    Poland - Warsaw
    Posts
    342

    Default ajax not working

    Because I have a huge amount of categories decided to enable ajax. Unfortunatelly it doesn;t work. After I enabled it I have deleted all cache files with no luck.

    How can I make it operational.

    IU version: 5.4.1
    MYSQL: 5x
    PHP: 5.2.x

    Pawel

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    What's the URL?

  3. #3
    Join Date
    Sep 2005
    Location
    Poland - Warsaw
    Posts
    342

  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    There is a fix in SVN for AJAX, you could apply that fix or simply download the SVN version and upload it over your current installation to get some other small fixes.

    If you are going to upload the entire SVN version do NOT overwrite application.php

  5. #5
    Join Date
    Sep 2005
    Location
    Poland - Warsaw
    Posts
    342

    Default

    After logging to SVN I can only download 5.x.x nightly version and I can see only some fixes.

    Should I download nightly build ? if not please give me the number of the fix for ajax.

  6. #6
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    The entire nightly build wouldn't be a bad idea. You can keep your theme as well by the way, so all you're replacing is pretty much the php files.

  7. #7
    Join Date
    Sep 2005
    Location
    Poland - Warsaw
    Posts
    342

    Default

    okey.

    BTW: ajax is working under SUGGEST NEW CATEGORY but not working under SUBMIT NEW URL...

    funny...

    I will check nightly build then.

    edit://

    the problem was because I have removed the payment gateways. So I have to change the code:

    Code:
    $category     = str_replace("<select name=\"cat\">", "<select name=\"cat\" onchange=\"FetchPricing(); FetchSubCategory(this.options[this.selectedIndex].value, 'cat', 'cat_div'); return false\">",
    and remove "FetchPricing(); " option in ONCHANGE syntax.
    Last edited by linksor.com; 07-23-2008 at 01:54 PM. Reason: fixed

Similar Threads

  1. mod_rewrite,ajax and country language
    By linksor.com in forum v5.x
    Replies: 24
    Last Post: 05-22-2009, 12:16 PM
  2. Customizing Kosmos Theme Ajax Rating
    By FSGDAG in forum Website development, hosting and promotion
    Replies: 7
    Last Post: 02-02-2008, 09:13 AM
  3. Replies: 0
    Last Post: 01-06-2008, 07:19 AM
  4. Mozilla firefox & Category AJAX
    By prowler in forum v5.x
    Replies: 3
    Last Post: 09-20-2007, 03:18 AM

Posting Permissions

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