Jump to content

Problem with layered navigation filter


Recommended Posts

Hello everybody!

I have problem with new installation of Prestashop 1.5.6.1 with RainDrop theme :

in some categories Layered navigation filter does not work... when i check some parameter to filter products, loading is showing up and stuck ... this problem happen and when i try to sort product by price or other...

here you can check : http://chantichka.bg/11-novi-damski-chanti

 

I try to clean cash, reinstall layered navigation block, and few other thing but it still stuck and does not work...

 

I hope someone can help me fix this problem! 

 

Than you very much, and HAPPY Holidays everybody! 

Link to comment
Share on other sites

it's because of internal server error:

9BUAcXq.png

 

 

turn on error reporting and check error logs (php error log)

you will see what exactly doesnt work

 

for now it is hard to say whats going on without logs.

 

I dont know if its the same message as DTL will get on his error reporting, but my problem is the same so, the error i get is "Strict Standards: Declaration of Link::getModuleLink() should be compatible with LinkCore::getModuleLink($module, $controller = 'default', array $params = Array, $ssl = false, $id_lang = NULL, $id_shop = NULL) in /var/www/klockkungarna.se/override/classes/Link.php on line 24" on the page, in the backend on loggs it says "The parameter id_lang in function displayDate (Line 211) is deprecated and will be removed in the next major version." dont know if the errors are related. Any ide?

Link to comment
Share on other sites

thank for support,

only error in error_log is this:

 

[02-Jan-2014 12:18:30] PHP Fatal error:  Call to undefined method BlockLayeredBSK::unSerialize() in /home2/dtl/public_html/chantichka.bg/themes/raindrop/modules/blocklayered/blocklayered.php on line 193

 here is the line 193 from blocklayered.php

                                foreach (self::unSerialize($data) as $key_params => $params)
 

 

this is the part of the code starts from line 185 to 209

					else if (in_array($attribute_name, array('price', 'weight')))
						$selected_filters[$attribute_name] = array($url_parameters[0], $url_parameters[1]);
					else
					{
						foreach ($url_parameters as $url_parameter)
						{
							$data = Db::getInstance()->getValue('SELECT data FROM `'._DB_PREFIX_.'layered_friendly_url` WHERE `url_key` = \''.md5('/'.$attribute_name.'-'.$url_parameter).'\'');
							if ($data)
								foreach (self::unSerialize($data) as $key_params => $params)
								{
									if (!isset($selected_filters[$key_params]))
										$selected_filters[$key_params] = array();
									foreach ($params as $key_param => $param)
									{
										if (!isset($selected_filters[$key_params][$key_param]))
											$selected_filters[$key_params][$key_param] = array();
										$selected_filters[$key_params][$key_param] = $param;
									}
								}
						}
					}
				}
				return $selected_filters;
			}
		}

Thanks for the help !

Link to comment
Share on other sites

×
×
  • Create New...