Applying Filter Timeout

  • Posts: 14
  • Thank you received: 0
10 years 1 month ago #177186

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.24
-- Browser(s) name and version -- : Firefox 33.0
-- Error-message(debug-mod must be tuned on) -- : Internet Explorer:
This page can’t be displayed

•Make sure that the web address dev.endvector.com is correct.
•Look for the page with your search engine.
•Refresh the page in a few minutes.

Firefox:
The connection was reset

The connection to the server was reset while the page was loading.

The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer's network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

Hi Colleagues,

I just upgraded to business edition and was testing the Custom Fields and Filters but have run into a problem.

I have created three Filters:
1) Manufacturer / Single Dropdown / Apply On: Brands
2) Chipset / Single Dropdown / Apply On : Custom fields (already created and populated based on product)

When I browse the categories in my shop the filters show correctly with all the defined information. I am able to apply to Manufacturer filter successfully but when I select the Chipset dropdown and apply I get a timeout on my browser.

Any ideas why this can be happening?

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 4 weeks ago #177191

Hello,
Is it possible to have a link to the page where you are having your issue so that we can directly test it ?
Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0
10 years 4 weeks ago #177280

Please Log in or Create an account to join the conversation.

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
10 years 4 weeks ago #177309

Hi,

You got a PHP fatal error (the web page gave a HTTP error 500).
Please check at your PHP error log in order to have more details about the issue.
Thanks to the error message, we will be able to help you with a fix.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0
10 years 4 weeks ago #177521

Hi Jerome,

The log didn't show any errors, just some warnings from last nights Akeeba backup.

Any other ideas?

By the way, the only way to get back to the page is clearing out the cookies, I suppose the filter is stored there.

Last edit: 10 years 4 weeks ago by alejandrozelaya.

Please Log in or Create an account to join the conversation.

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
10 years 4 weeks ago #177523

Hi,

You can activate the debug mode in your Joomla global configuration and you can also change the "error reporting level" to "maximum" (or "development") ; still in the joomla global configuration.
It should display the errors instead of giving a generic error page.
Because, there is a PHP error, I'm quite sure of that.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0
10 years 4 weeks ago #177565

Set Error Reporting to Development and enabled the Debug System.

No errors on the log nor the web front.

Please Log in or Create an account to join the conversation.

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
10 years 4 weeks ago #177678

Hi,

There is definitely an error ; maybe a mysql error.
I think that your web server is not allowing to display the generic error page and display his special error page.
But there is an error and without more details about the error message, we won't be able to know what it is and how to solve it.

The only thing that I can tell you for the moment is to re-download HikaShop 2.3.4 ; we updated the package yesterday with a fix on the filters. With some luck it can be the same trouble.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0
10 years 4 weeks ago #177693

Hi Jerome,

The error you are seeing is the Forefront error given by user accessing via WAN when the connection is reset.

Internally I have attached what we can see within our LAN. Same error, just a different screen.

Would you be willing to schedule a remote session to look into the issue?

Thank you!

Attachments:
Last edit: 10 years 4 weeks ago by alejandrozelaya.

Please Log in or Create an account to join the conversation.

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
10 years 3 weeks ago #177712

Hi,

It's still not a Joomla error screen which gives the error message.
Are you sure the Joomla debug mode is right activated ? Because in the debug at the bottom of the page, the section "Database" is empty and the section "memory usage" is giving just one single marker... It's not very normal !

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0
10 years 3 weeks ago #177807

Hi Jerome,

So we decided to move the siteout from our local test environment out to the development environment.

You can know see the SQL error being given by the the site.

Hope this helps.

Thanks!

Please Log in or Create an account to join the conversation.

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
10 years 3 weeks ago #178208

Hi,

Can you please re-download HikaShop 2.3.4 ?
We made an "hot fix" patch for your SQL problem.

Kind regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0
10 years 2 weeks ago #179363

Hi Jerome,

Reinstalled Hikashop 2.3.4 but now when the filter is applied no items show up even though the Dynamic Display is only showing the values provided by the products.

Please Log in or Create an account to join the conversation.

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
10 years 2 weeks ago #179514

Hi,

I am sorry but I don't understand your last message.
I test the filter on your site and it is working good.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0
10 years 2 weeks ago #179517

Hi Jerome,

If you only filter by "Chipset Nvidia" or "Memory" no results are shown, even though Dynamic Display is only showing the values provided by the products.

Also, if you remove the filter using the "X" no results are then shown back. You have to use the Reset button.

Please Log in or Create an account to join the conversation.

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
10 years 2 weeks ago #179519

Hi,

When you have no filter ; you can choose every available values for the different filters.
But if you choose "Asus + GTX Titan Z" and you do not click on "filter", you will have two choices for the memory even if there is just one possible value.

You have to activate the "auto submit" option so when you will display the values of a filter, it will depend on the current applied filter and you won't see values which are not possible regarding your other choices.

I hope I'm clear enough.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0
10 years 2 weeks ago #179635

Hi Jerome,

The thing is that if you only query products that have ex: "6144" memory they don't show up, even though the Dynamic Display is recognizing them in the drop down.

Is this possible or does the user have to build an entire filter chain?

Last edit: 10 years 2 weeks ago by alejandrozelaya.

Please Log in or Create an account to join the conversation.

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
10 years 2 weeks ago #179643

Hi,

Ok, now I see your issue.
The "custom field" filter accept the "none" value but the manufacturer does not accept the empty value while submitting something.

In the filter class (file : administrator/components/com_hikashop/classes/filter.php ) please replace

if($filter->filter_deletable && $selected[0] != $filter->filter_namekey && $selected[0]!='none' && ( isset($selected[0]) && !in_array($selected[0],array(" ",'')))){
[code]
By
[code]
if($filter->filter_deletable && $selected[0] != $filter->filter_namekey && $selected[0] != ('filter_'.$filter->filter_namekey) && $selected[0]!='none' && ( isset($selected[0]) && !in_array($selected[0],array(" ",'')))){
It would fix your problem.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0
10 years 1 week ago #179764

Hi Jerome,

Replaced the code on the filter.php file but the issue is persistent. These are the symptoms:

- Just selecting either Chipset Nvidia or Memory will not bring up any products even though the Dynamic Display is showing only the values recognized by the products.
- Once you filter by either Chipset Nvidia or Memory, if you look at the drop downs ALL values are shown and are not being filtered.

Hope this helps.

Thanks!

Please Log in or Create an account to join the conversation.

  • Posts: 14
  • Thank you received: 0
10 years 1 week ago #179878

Hi Jerome,

Found a work around to the issue today.

The "Manufacturer" filter was configured to be applied on Brands. This is normal, as the Brand should be specified on the products and there is no need to duplicate the information elsewhere :)

What I did was configure a new Custom field for the products called "dupManufacuter", populated the products with the correct values and then modified the "Manufacturer" filter to be applied the new Custom field instead of the Brands.

This work around does work, although please continue looking into the issue as it does cause me to duplicate the Manufacturer value on ALL products... which honestly is quite painful.

Please Log in or Create an account to join the conversation.

Time to create page: 0.104 seconds
Powered by Kunena Forum