Results 1 to 10 of 19

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: An unknown response null: :text/html; charset=utf-8: :Bad Request was received

    Quote Originally Posted by e-standard View Post
    I have found the problem,i am using a westminster_new template,there is a jscript_framework.php in jscript folder
    Yes, that's your problem.
    If you want to use that template on v1.5.5 you will need the v1.5.5 version of the jscript_framework.php file.
    .

    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.

  2. #2
    Join Date
    Dec 2016
    Location
    Washington
    Posts
    106
    Plugin Contributions
    0

    Default Re: An unknown response null: :text/html; charset=utf-8: :Bad Request was received

    Quote Originally Posted by DrByte View Post
    Yes, that's your problem.
    If you want to use that template on v1.5.5 you will need the v1.5.5 version of the jscript_framework.php file.
    Due to PayPal “deleting the comma issue”, I had to upgrade from PayPal Standard to PayPal Express. After the upgrade, I received the (35) handshake failure error, which required an upgrade of Zen cart to fix.
    I upgraded Zen cart from v1.5.1 to v1.5.5d and this caused “An unknown response null: :text/html; charset=utf-8: :Bad Request was received while processing an ajax call. The action you requested could not be completed” error.
    Following your advice, I changed /includes/templates/MY_TEMPLATE/jscript/jscript_framework.php file by copying the one from /includes/template_default/jscript/jscript_framework.php in v155, it worked perfectly and I no longer get the pop up, Thank You.
    Is that the only error that you know of from upgrading?
    I am using Winchester responsive template and I still need to install Ceon Advanced Shipper 5.0.2 and Ceon URI Map 4.5.1

  3. #3
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: An unknown response null: :text/html; charset=utf-8: :Bad Request was received

    Quote Originally Posted by answer=42 View Post
    Due to PayPal “deleting the comma issue”, I had to upgrade from PayPal Standard to PayPal Express. After the upgrade, I received the (35) handshake failure error, which required an upgrade of Zen cart to fix.
    I upgraded Zen cart from v1.5.1 to v1.5.5d and this caused “An unknown response null: :text/html; charset=utf-8: :Bad Request was received while processing an ajax call. The action you requested could not be completed” error.
    Following your advice, I changed /includes/templates/MY_TEMPLATE/jscript/jscript_framework.php file by copying the one from /includes/template_default/jscript/jscript_framework.php in v155, it worked perfectly and I no longer get the pop up, Thank You.
    Is that the only error that you know of from upgrading?
    I am using Winchester responsive template and I still need to install Ceon Advanced Shipper 5.0.2 and Ceon URI Map 4.5.1
    Check your logs folder for any additional errors generated and actually, the error was generated "by upgrading", but by not maintaining the involved software compatible with the current in use version of ZC. There are likely/possibly other actions necessary to further make the responsive template compatible, but that is an issue to address/discover within the thread for the particular software.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Dec 2016
    Location
    Washington
    Posts
    106
    Plugin Contributions
    0

    Default Re: An unknown response null: :text/html; charset=utf-8: :Bad Request was received

    Quote Originally Posted by mc12345678 View Post
    Check your logs folder for any additional errors generated and actually, the error was generated "by upgrading", but by not maintaining the involved software compatible with the current in use version of ZC. There are likely/possibly other actions necessary to further make the responsive template compatible, but that is an issue to address/discover within the thread for the particular software.
    Thank you.
    After checking logs there was an error; PHP Warning: constant(): Couldn't find constant includes/functions/admin_access.php on line 38
    time for some research.

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,701
    Plugin Contributions
    11

    Default Re: An unknown response null: :text/html; charset=utf-8: :Bad Request was received

    Quote Originally Posted by answer=42 View Post
    Thank you.
    After checking logs there was an error; PHP Warning: constant(): Couldn't find constant includes/functions/admin_access.php on line 38
    time for some research.
    That should have been fixed in 1.5.3. Might want to check the files and make sure you've got the current version AND take a look at this thread.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  6. #6
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: An unknown response null: :text/html; charset=utf-8: :Bad Request was received

    Considering that were performing an upgrade from 1.5.1 to 1.5.5, it would appear that the error occurred before the equivalent/applicable 1.5.5 file(s) were in place as the line containing the constant() function moved from 38 (zc 1.5.1) to 39 (as found in 1.5.5). If the error is not recent or reproducible in some consistent way, then it may have been involved with/related to the upgrade process.

    All that said, if there are still issues and then are not related to the original topic of this thread, perhaps a new thread should be begun.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Dec 2016
    Location
    Washington
    Posts
    106
    Plugin Contributions
    0

    Default Re: An unknown response null: :text/html; charset=utf-8: :Bad Request was received

    Quote Originally Posted by mc12345678 View Post
    Considering that were performing an upgrade from 1.5.1 to 1.5.5, it would appear that the error occurred before the equivalent/applicable 1.5.5 file(s) were in place as the line containing the constant() function moved from 38 (zc 1.5.1) to 39 (as found in 1.5.5). If the error is not recent or reproducible in some consistent way, then it may have been involved with/related to the upgrade process.

    All that said, if there are still issues and then are not related to the original topic of this thread, perhaps a new thread should be begun.
    I apologize that I didn't see your post, you are correct. The topic of the thread was solved.

  8. #8
    Join Date
    Dec 2016
    Location
    Washington
    Posts
    106
    Plugin Contributions
    0

    Default Re: An unknown response null: :text/html; charset=utf-8: :Bad Request was received

    Quote Originally Posted by dbltoe View Post
    That should have been fixed in 1.5.3. Might want to check the files and make sure you've got the current version AND take a look at this thread.
    There is nothing in the logs past the time when I did the upgrade, any idea what I can do to try to trigger it again?

  9. #9
    Join Date
    Jun 2012
    Posts
    1
    Plugin Contributions
    0

    Default Re: An unknown response null: :text/html; charset=utf-8: :Bad Request was received

    el problema esta resuelto
    uso el tema Winchester Black y en /includes/templates/winchester_black/jscript/jscript_framework.php solo se debe eliminar lo siguiente: yo lo encontre en las lineas 71 a 73 solo en la linea 71 se deja el corchete de cierre
    else {
    alert('An unknown response '+response+': :'+contentType+': :'+errorThrown+' was received while processing an ajax call. The action you requested could not be completed.');
    }

    se guarda el docimento y listo se termina con ese error tan desagradable
    espero sea de apoyo
    *** no se escribir en ingles sorry

 

 

Similar Threads

  1. 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
  2. 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
  3. Replies: 7
    Last Post: 4 May 2016, 01:59 AM
  4. v154 An unknown response null::text/html; charset=iso-8859-1::
    By bearlymakinit in forum Basic Configuration
    Replies: 7
    Last Post: 28 Aug 2015, 05:33 PM
  5. Replies: 16
    Last Post: 20 Feb 2015, 10:27 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
  •  
disjunctive-egg