View Single Post
  #20  
Old 03-16-2014, 10:13 PM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default Re: X-Cart 4.6.3: "Amazon Payments", "PayPal Access", another USPS update.

Quote:
Originally Posted by josebueso
Hello

I upgraded to version 4.6.3 and I noticed in admin user section there is an AJAX error.
If I click on the link show in users section like this http://uncionmusic.com/get_block.php?block=np_product&language=en

It will land in a blank page showing this this message: "AJAX error :: Bad request :: 0"

I was wondering if this happen to a regular customer browsing the website.

Is any body else having this problem?

Can someone tell what actually is causing this? your help is appreciated.

Jose

This link cannot be openned in a browser directly
The next-prev products feature works correctly on your site.

This is a code from the get_block.php
Code:
if ( !func_is_ajax_request() || !isset($block) || empty($block) || !is_string($block) || !preg_match('/^[\w\d_]+$/Ss', $block) ) { func_ajax_set_error('Bad request'); exit; }
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote