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;
}