Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2012
    Posts
    33
    Plugin Contributions
    0

    Default An unknown response null: :null: was received while processing an ajax call.

    I am getting a similar error to: https://www.zen-cart.com/showthread....n-Domain-Issue

    I created a test store and upgraded it from 1.5.3 to 1.5.4 using official Zencart upgrade instructions and manually ensuring all customizations were brought along. My test store is configured to work with two domains: store154.essentialjourneys.com and b2b154.essentialjourneys.com. This is done through the use of subdomains provided by my host provider. The store uses the config_sites addon, detects the domain, and then acts appropriately for each domain.

    store154 appears to work fine. I can reach it. I can log in. I can place an order.

    b2b154 however will display a blank screen and the browser will spin away. When I stop the browser, this message appears:

    An unknown response null: :null: :[Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://code.jquery.com/jquery-1.11.1.min.js :: .send :: line 4" data: no] was received while processing an ajax call. The action you requested could not be completed.

    I read the previous post and I'm not using .htaccess to do redirects, so the previous post didn't help me. But it seems it is along the same lines though. I'm just not seeing where the problem is.

    For the sake of comparison, my production store is using Zencart 1.5 3 and can be found at store.essentialjourneys.com and b2b.essentialjourneys.com. Both domains work well with this store.

    Additionally, I am able to log into the Admin area for the 1.5.4 store also.

    Any thoughts on where to look or what the issue might be?

    Thanks!

    Tom
    Last edited by tmt1630; 28 Apr 2016 at 03:18 AM. Reason: New Information

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,688
    Plugin Contributions
    9

    Default Re: Admin Login Not Working - Cross-Origin Domain Issue

    you are having a redirect problem of some sort.

    in you press, f12 to open the developer tools (in chrome or firefox) when navigating to your b2b154, and look at your network tab, you will see that you are getting a 302 response and then a redirect to the login page. once at the login page, you are stuck in a loop as it keeps on redirecting you to the login page.

    so the first question is whether you want to redirect everyone who comes to the b2b154 page to immediately go to a login page? if not, you need to track down that problem.

    your second problem seems to definitely be javascript related. if you have the developer tools open, and press f1 to get to the settings and then disable javascript, you will see that your login page does load and the redirects stop.

    so it does seem like there are 2 separate issues going on; unfortunately i am not familiar with this config_sites addon module. perhaps someone who is can clarify?

    good luck.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: An unknown response null: :null: was received while processing an ajax call.

    It'd be useful too to know what you've added to your site to add the ajax code in the first place.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Aug 2012
    Posts
    33
    Plugin Contributions
    0

    Default Re: An unknown response null: :null: was received while processing an ajax call.

    ***REPLY MESSAGE 1 of 2 ****

    To carlwhat...many thanks for the debugging tips!

    I've spent the past few days digging into this and I managed to come up with a fix, but I'm not sure if its a good way to fix this issue. In fact, I have no idea why this issue even occurs. But first, let me give you some details about the site.

    *********************************

    As I mentioned earlier, there is a modification to the store called config_sites. I inherited the store several years ago and this mod was in place -- I don't know where it came from. But when a user hits the store with the URLs store154.essentialjourneys.com or b2b154.essentialjourneys.com, both of these subdomains kick off the configure.php file.

    Here is a snapshot of the subdomains as set up in Cpanel:
    Name:  EJ subdomains.png
Views: 462
Size:  34.9 KB

    Here is my configure.php file:

    PHP Code:
    <?php
    /**
     * dist-configure.php
     *
     * @package Configuration Settings circa 1.5.2
     * @copyright Copyright 2003-2012 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version GIT: $Id: Author: DrByte  Wed Nov 6 20:54:59 2013 -0500 Modified in v1.5.2 $
     * @private
     */

    // Start TMT 5/26/2013
    include_once('includes/config_sites/sites_switch.php');
    // End TMT 5/26/2013

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.yourdomain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.yourdomain.com
      
    define('HTTP_SERVER''http://www.essentialjourneys.com');
      
    define('HTTPS_SERVER''https://www.essentialjourneys.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL''false');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!

    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG''/store154/');
    define('DIR_WS_HTTPS_CATALOG''/store154/');

    define('DIR_WS_IMAGES''images/');
    define('DIR_WS_INCLUDES''includes/');
    define('DIR_WS_FUNCTIONS'DIR_WS_INCLUDES 'functions/');
    define('DIR_WS_CLASSES'DIR_WS_INCLUDES 'classes/');
    define('DIR_WS_MODULES'DIR_WS_INCLUDES 'modules/');
    define('DIR_WS_LANGUAGES'DIR_WS_INCLUDES 'languages/');
    define('DIR_WS_DOWNLOAD_PUBLIC'DIR_WS_CATALOG 'pub/');
    define('DIR_WS_TEMPLATES'DIR_WS_INCLUDES 'templates/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_CATALOG''/home/essent5/public_html/store154/');
    //the following path is a COMPLETE path to the /logs/ folder  eg: /var/www/vhost/accountname/public_html/store/logs ... and no trailing slash
    define('DIR_FS_LOGS''/home/essent5/public_html/store154/logs');

    define('DIR_FS_DOWNLOAD'DIR_FS_CATALOG 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC'DIR_FS_CATALOG 'pub/');
    define('DIR_WS_UPLOADS'DIR_WS_IMAGES 'uploads/');
    define('DIR_FS_UPLOADS'DIR_FS_CATALOG DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES'DIR_FS_CATALOG 'email/');

    // define our database connection
    define('DB_TYPE''mysql');
    define('DB_PREFIX'''); // prefix for database table names -- preferred to be left empty
    define('DB_CHARSET''utf8');
    define('DB_SERVER''localhost');
    define('DB_SERVER_USERNAME'XXXXXX);
    define('DB_SERVER_PASSWORD'XXXXXX);
    define('DB_DATABASE'XXXXXX);

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from:  none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache   -- leave no trailing slash
    define('SQL_CACHE_METHOD''none');
    define('DIR_FS_SQL_CACHE''/home/essent5/public_html/store154/cache');
    configure.php includes the sites_switch.php file:

    PHP Code:
    <?php
        $default_server_name 
    $_SERVER['HTTP_HOST'];
        
    $default_server_name1 'store154.essentialjourneys.com';
            
    $default_server_name2 'b2b154.essentialjourneys.com';
        
    $config_file $default_server_name.'_config.php';

        if(
    file_exists("includes/config_sites/$config_file")) {
            include(
    "includes/config_sites/$config_file");
        } else {
            echo 
    "the domain $default_server_name does not exist.";
            exit;
        }

        
    //Name of the site that is written in the categories
        
    define('SITE_NAME',$config_file);
        
    //The order for this site will be seen for ORDER_SITE from the admin section
        
    define('ORDER_SITE',SITE_NAME);
          
    define('HTTP_SERVER'"http://$default_server_name");
          
    define('HTTPS_SERVER'"https://$default_server_name");

          
    //Define the parent category as 0 if not defined
        
    define('CATEGORIES_ROOT','0');
    ?>
    sites_switch.php will include of the following two files, depending on which subdomain hit the store:

    store154.essentialjourneys.com_config.php:

    PHP Code:
    <?php
      define
    ('DIR_WS_CATALOG''/');
      
    define('DIR_WS_HTTPS_CATALOG''/');
      
    $template_dir "store.essentialjourneys";
      
    define('SITE_NAME','store.essentialjourneys');

      
    // Start TMT 6/10/2013
      
    define('MODULE_PAYMENT_PAYPAL_STATUS','True'); //Enable PayPal Module
      
    define('MODULE_SHIPPING_UPSXML_RATES_ACCESS_KEY',XXXXXXXXX); //UPS Rates Access Key
      
    define('MODULE_PAYMENT_COD_STATUS','False'); //Enable Cash On Delivery Module
      
    define('CUSTOMERS_APPROVAL','0'); //Customer Shop Status - View Shop and Prices
      
    define('CUSTOMERS_APPROVAL_AUTHORIZATION','0'); //Customer Approval Status - Authorization Pending
      
    define('CUSTOMERS_AUTHORIZATION_PRICES_OFF','false'); //Customer Authorization: Hide Prices
      
    define('ACCOUNT_COMPANY','false'); //Company
      
    define('SHIPPING_BOX_WEIGHT_DISPLAY','0'); //Display Number of Boxes and Weight Status
      
    define('MODULE_SHIPPING_UPSXML_RATES_ZONE','3'); //Shipping Zone
      // End TMT 6/10/2013

    ?>
    b2b154.essentialjourneys.com_config.php:

    PHP Code:
    <?php
      define
    ('DIR_WS_CATALOG''/');
      
    define('DIR_WS_HTTPS_CATALOG''/');
      
    $template_dir "b2b.essentialjourneys";
      
    define('SITE_NAME','b2b.essentialjourneys');
    ?>
    At some point, modules/pages/index/header.php is executed where it runs this piece of code that determines which page is initially displayed, depending on the subdomain:

    PHP Code:
    // include template specific file name defines

    //Start TMT 6/5/2013
    //$define_page = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', FILENAME_DEFINE_MAIN_PAGE, 'false');
    if($_SERVER['HTTP_HOST'] == $default_server_name1 ){

     
    $define_page zen_get_file_directory(DIR_WS_LANGUAGES $_SESSION['language'] . '/html_includes/'FILENAME_DEFINE_MAIN_PAGE'false');

     }elseif(
    $_SERVER['HTTP_HOST'] == $default_server_name2 ){

     
    $define_page zen_get_file_directory(DIR_WS_LANGUAGES $_SESSION['language'] . '/html_includes/'FILENAME_DEFINE_PAGE_2'false');

     }elseif(
    $_SERVER['HTTP_HOST'] == $default_server_name3 ){

     
    $define_page zen_get_file_directory(DIR_WS_LANGUAGES $_SESSION['language'] . '/html_includes/'FILENAME_DEFINE_PAGE_3'false');

     }else{

     
    $define_page zen_get_file_directory(DIR_WS_LANGUAGES $_SESSION['language'] . '/html_includes/'FILENAME_DEFINE_MAIN_PAGE'false');

     }
    // End TMT 6/5/2013

    require(DIR_WS_MODULES zen_get_module_directory('require_languages.php')); 
    **************************************

    I don't believe I have a redirection problem. Here's what I found....this is network log file when coming in with store.essentialjourneys.com...this works completely as expected:

    50.49.142.13 - - [01/May/2016:18:30:37 -0700] "GET / HTTP/1.1" 200 6771 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:38 -0700] "GET /includes/templates/store.essentialjourneys/css/style_imagehover.css HTTP/1.1" 304 - "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:38 -0700] "GET /includes/templates/store.essentialjourneys/css/stylesheet_header_menu.css HTTP/1.1" 304 - "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:38 -0700] "GET /includes/templates/store.essentialjourneys/css/stylesheet_new.css HTTP/1.1" 304 - "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:38 -0700] "GET /includes/templates/store.essentialjourneys/jscript/jscript_imagehover.js HTTP/1.1" 304 - "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:38 -0700] "GET /includes/templates/store.essentialjourneys/css/stylesheet_zen_lightbox.css HTTP/1.1" 304 - "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:38 -0700] "GET /includes/templates/store.essentialjourneys/images/logo.gif HTTP/1.1" 200 11310 "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:38 -0700] "GET /bmz_cache/4/4c171662d3afeaa59adf921fd1343829.image.225x150.jpg HTTP/1.1" 304 - "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:38 -0700] "GET /bmz_cache/6/6c2c9ba1f86b6acc1f90a88f4df22424.image.133x150.jpg HTTP/1.1" 304 - "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:38 -0700] "GET /images/icons/bike-basket30p.gif HTTP/1.1" 200 408 "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:38 -0700] "GET /bmz_cache/7/720537842ded1ae39bedb8bf7a9f2df8.image.106x85.jpg HTTP/1.1" 304 - "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:38 -0700] "GET /bmz_cache/8/81704c7c3870f5c8c2206b1f36d8b9b3.image.104x85.jpeg HTTP/1.1" 304 - "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:38 -0700] "GET /bmz_cache/5/5ff0aed1eabe2d01a44c4083d9a88c08.image.118x85.jpg HTTP/1.1" 304 - "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:38 -0700] "GET /bmz_cache/5/57f46b0534913929b9920bec7d17040d.image.85x85.jpg HTTP/1.1" 304 - "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:38 -0700] "GET /bmz_cache/8/8fb269db409eea720b963b538d68ed5f.image.53x85.jpeg HTTP/1.1" 304 - "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:38 -0700] "GET /bmz_cache/8/8770178322384fc425537c6bd8678098.image.143x85.jpg HTTP/1.1" 304 - "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:38 -0700] "GET /bmz_cache/2/289a1dedae0a50dff74b68932e7c9e8d.image.127x85.jpg HTTP/1.1" 304 - "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:38 -0700] "GET /images/banners/Member-Color-230.jpg HTTP/1.1" 200 22262 "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:39 -0700] "GET /bmz_cache/0/00fdf69717c515d6e5d6a661f5a22191.image.114x85.jpg HTTP/1.1" 304 - "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:39 -0700] "GET /bmz_cache/2/288002d085f6d830ec784b2fc5d67823.image.100x85.jpg HTTP/1.1" 304 - "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:39 -0700] "GET /bmz_cache/2/2b272a9d9f64ed73053a29d337de5720.image.116x85.jpg HTTP/1.1" 304 - "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:39 -0700] "GET /bmz_cache/e/e740c364dc7b0934766ff4bb73e336a2.image.137x85.jpg HTTP/1.1" 304 - "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:39 -0700] "GET /images/fbIcon_32.png HTTP/1.1" 200 970 "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:39 -0700] "GET /images/twitterIcon_32.png HTTP/1.1" 200 1141 "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:39 -0700] "GET /images/static/shopOnline_fall2010.jpg HTTP/1.1" 200 37506 "http://store154.essentialjourneys.com/" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:18:30:38 -0700] "GET /includes/templates/store.essentialjourneys/images/orangeRaysBG_800.png HTTP/1.1" 200 75256 "http://store154.essentialjourneys.com/includes/templates/store.essentialjourneys/css/stylesheet_new.css" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"


    Here's the network log file when I come in from b2b154.essentialjourneys.com:

    50.49.142.13 - - [01/May/2016:13:39:13 -0700] "GET / HTTP/1.1" 302 20 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:13 -0700] "GET /index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866 HTTP/1.1" 200 13354 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:14 -0700] "GET /includes/templates/b2b.essentialjourneys/css/style_imagehover.css HTTP/1.1" 304 - "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:15 -0700] "GET /includes/templates/b2b.essentialjourneys/css/stylesheet_header_menu.css HTTP/1.1" 304 - "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:15 -0700] "GET /includes/templates/b2b.essentialjourneys/css/stylesheet_new.css HTTP/1.1" 304 - "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:15 -0700] "GET /includes/templates/b2b.essentialjourneys/css/stylesheet_zen_lightbox.css HTTP/1.1" 304 - "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:15 -0700] "GET /includes/templates/b2b.essentialjourneys/jscript/jscript_imagehover.js HTTP/1.1" 304 - "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:15 -0700] "POST /ajax.php?act=ajaxPayment&method=setNoscriptCookie HTTP/1.1" 302 20 "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:16 -0700] "GET /index.php?main_page=login HTTP/1.1" 200 13354 "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:16 -0700] "POST /ajax.php?act=ajaxPayment&method=setNoscriptCookie HTTP/1.1" 302 20 "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:17 -0700] "GET /index.php?main_page=login HTTP/1.1" 200 13354 "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:18 -0700] "POST /ajax.php?act=ajaxPayment&method=setNoscriptCookie HTTP/1.1" 302 20 "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:18 -0700] "GET /index.php?main_page=login HTTP/1.1" 200 13354 "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:19 -0700] "POST /ajax.php?act=ajaxPayment&method=setNoscriptCookie HTTP/1.1" 302 20 "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:19 -0700] "GET /index.php?main_page=login HTTP/1.1" 200 13354 "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:20 -0700] "POST /ajax.php?act=ajaxPayment&method=setNoscriptCookie HTTP/1.1" 302 20 "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:21 -0700] "GET /index.php?main_page=login HTTP/1.1" 200 13354 "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:21 -0700] "POST /ajax.php?act=ajaxPayment&method=setNoscriptCookie HTTP/1.1" 302 20 "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:22 -0700] "GET /index.php?main_page=login HTTP/1.1" 200 13354 "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:23 -0700] "POST /ajax.php?act=ajaxPayment&method=setNoscriptCookie HTTP/1.1" 302 20 "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:25 -0700] "GET /index.php?main_page=login HTTP/1.1" 200 13354 "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:26 -0700] "POST /ajax.php?act=ajaxPayment&method=setNoscriptCookie HTTP/1.1" 302 20 "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:27 -0700] "GET /index.php?main_page=login HTTP/1.1" 200 13354 "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:13:39:28 -0700] "POST /ajax.php?act=ajaxPayment&method=setNoscriptCookie HTTP/1.1" 302 20 "http://b2b154.essentialjourneys.com/index.php?main_page=login&zenid=d941f65b96d7098dbaf207e78647e866" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    ....and it just keeps repeating.....
    ****************************

    (Follow up in next response....)

  5. #5
    Join Date
    Aug 2012
    Posts
    33
    Plugin Contributions
    0

    Default Re: An unknown response null: :null: was received while processing an ajax call.

    ****REPLY MESSAGE 2 of 2 ****

    I was finally able to get b2b154 to work by removing template_default/jscript/jscript_framework.php (or otherwise renaming it). With this file gone, the network log file looks like this when coming in with b2b154:

    50.49.142.13 - - [01/May/2016:19:03:19 -0700] "GET / HTTP/1.1" 302 20 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:19:03:20 -0700] "GET /index.php?main_page=login HTTP/1.1" 200 12055 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:19:03:20 -0700] "GET /includes/templates/b2b.essentialjourneys/css/style_imagehover.css HTTP/1.1" 304 - "http://b2b154.essentialjourneys.com/index.php?main_page=login" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:19:03:20 -0700] "GET /includes/templates/b2b.essentialjourneys/css/stylesheet_header_menu.css HTTP/1.1" 304 - "http://b2b154.essentialjourneys.com/index.php?main_page=login" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:19:03:20 -0700] "GET /includes/templates/b2b.essentialjourneys/css/stylesheet_zen_lightbox.css HTTP/1.1" 304 - "http://b2b154.essentialjourneys.com/index.php?main_page=login" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:19:03:20 -0700] "GET /includes/templates/b2b.essentialjourneys/jscript/jscript_imagehover.js HTTP/1.1" 304 - "http://b2b154.essentialjourneys.com/index.php?main_page=login" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:19:03:20 -0700] "GET /includes/templates/b2b.essentialjourneys/css/stylesheet_new.css HTTP/1.1" 304 - "http://b2b154.essentialjourneys.com/index.php?main_page=login" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:19:03:21 -0700] "GET /images/fbIcon_32.png HTTP/1.1" 200 970 "http://b2b154.essentialjourneys.com/index.php?main_page=login" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:19:03:21 -0700] "GET /images/twitterIcon_32.png HTTP/1.1" 200 1141 "http://b2b154.essentialjourneys.com/index.php?main_page=login" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:19:03:21 -0700] "GET /includes/templates/b2b.essentialjourneys/images/logo.gif HTTP/1.1" 200 11310 "http://b2b154.essentialjourneys.com/index.php?main_page=login" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    50.49.142.13 - - [01/May/2016:19:03:21 -0700] "GET /includes/templates/b2b.essentialjourneys/images/orangeRaysBG_800.png HTTP/1.1" 200 75256 "http://b2b154.essentialjourneys.com/includes/templates/b2b.essentialjourneys/css/stylesheet_new.css" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
    *********************************

    It appears that jscript_framework.php is the culprit, although I don't fully understand why. It is a new file that came with Zencart v1.5.4. My questions are:

    1. Can I run the site without the file?
    2. Can I delete the template_default directory altogether and run the site without it?
    3. Or, is there still some underlying problem here that causes the jscript_framework.php file to execute out of the template_default/jscript directory? (I don't use template_default -- I have separate templates set up for store and b2b).


    I apologize for the long winded message...hopefully this information is helpful to you.

    Thanks!

    Tom

  6. #6
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,688
    Plugin Contributions
    9

    Default Re: An unknown response null: :null: was received while processing an ajax call.

    tom,
    i have limited time right now to go through your configs and logs, so i will just attempt to answer your questions.

    - jscript_framework.php is part of the base package and i believe it sets up some of the ajax and or json processing. it is your modifications that are conflicting with that script.
    - that said, i think you can safely remove that file and operate without it. although going forward with newer versions, it "may" represent a problem. frankly, i think ajax and jquery/javascript can really enhance the user experience on zen-cart. unfortunately, for me, i think there are better functions which could make use of ajax than the ones currently utilized in the base package.
    - i would NOT delete the template_default directory.
    - if your site operates the way you would expect without the jscript_framework.php file, i would just remove that file and move on. going forward though, it would behoove you to track down the conflicts and resolve them. IMHO.

    good luck!
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: An unknown response null: :null: was received while processing an ajax call.

    A number of improvements were made to both the ajax.php and jscript_framework.php files in v1.5.5. It's advisable to use those. Preferably also to use v155 instead of v154.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Aug 2012
    Posts
    33
    Plugin Contributions
    0

    Default Re: An unknown response null: :null: was received while processing an ajax call.

    Carlwhat and DrByte...many thanks for your responses. For the time being, I'll simply remove the jscript_framework.php file. Longer term, if I'm adventurous, I'll dig deeper into it....while at the same time I'll plan for the 155 upgrade. I'm hoping the v155 upgrade solves the problem!

    Tom

 

 

Similar Threads

  1. Replies: 6
    Last Post: 17 Aug 2016, 02:19 PM
  2. An unknown response null::text/html ::FORBIDDEN was received
    By roxannepercy in forum General Questions
    Replies: 7
    Last Post: 1 Aug 2016, 05:53 AM
  3. v155 An unknown response null::text/html ::SYNTAXERROR: was received while
    By K_C_Enterprises in forum General Questions
    Replies: 5
    Last Post: 28 May 2016, 09:02 PM
  4. unknown response null: text/html Not Found
    By Golden Synergy in forum Upgrading to 1.5.x
    Replies: 7
    Last Post: 24 May 2016, 10:44 PM
  5. Replies: 16
    Last Post: 20 Feb 2015, 10:27 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR