[Skip to main content](#vessel-content)

#   Browser navigation error

##

- **[Tessa](/forum/user/29567-tessa "View Tessa's Profile")**
- [![Tessa's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29567-tessa "View Tessa's Profile") Topic Author
- [ Offline](/forum/user/29567-tessa)

Less More

- Posts: 15
- Thank you received: 0
-
-

12 years 5 days ago [\#180735](#180735) by [Tessa](/forum/user/29567-tessa "View Tessa's Profile")  *[Browser navigation error](/forum/26-product-category-display/873186-browser-navigation-error#180735 "Dear,  Im using the hikashop filter module to let customers sort their products. After filtering the products based on the several fields of the filter module there is a product list of all the products based up on the filter criteria. When clicking on a product it redirects to the productpage. The problem occurs when i try to use the browser (chroome, firefox) navigation to go back to the previous page. The browser provides me with a blank page which tells me the page could not be found, cache problem. (i can get a screenshot of the blank page with the error if necesarry)  The same blank page shows up when i use the hikashop page navigation at the bottom of each product listing page to go to the next page with products. For example i try to use the Hikashop navigation on the product listing page to go to page 2. After clicking on a product it redirects to the productpage. When trying to use the Browser navigation to go to the previous page it presents the same blank page which tells me the page could not be found, cache problem.  Please help to solve this problem.")* was created by *[Tessa](/forum/user/29567-tessa "View Tessa's Profile")*

Dear,

Im using the hikashop filter module to let customers sort their products. After filtering the products based on the several fields of the filter module there is a product list of all the products based up on the filter criteria. When clicking on a product it redirects to the productpage. The problem occurs when i try to use the browser (chroome, firefox) navigation to go back to the previous page. The browser provides me with a blank page which tells me the page could not be found, cache problem. (i can get a screenshot of the blank page with the error if necesarry)

The same blank page shows up when i use the hikashop page navigation at the bottom of each product listing page to go to the next page with products. For example i try to use the Hikashop navigation on the product listing page to go to page 2. After clicking on a product it redirects to the productpage. When trying to use the Browser navigation to go to the previous page it presents the same blank page which tells me the page could not be found, cache problem.

Please help to solve this problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzMxODYtYnJvd3Nlci1uYXZpZ2F0aW9uLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

12 years 4 days ago -  12 years 5 days ago [\#180761](#180761) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Browser navigation error](/forum/26-product-category-display/873186-browser-navigation-error#180761 "Dear,  Im using the hikashop filter module to let customers sort their products. After filtering the products based on the several fields of the filter module there is a product list of all the products based up on the filter criteria. When clicking on a product it redirects to the productpage. The problem occurs when i try to use the browser (chroome, firefox) navigation to go back to the previous page. The browser provides me with a blank page which tells me the page could not be found, cache problem. (i can get a screenshot of the blank page with the error if necesarry)  The same blank page shows up when i use the hikashop page navigation at the bottom of each product listing page to go to the next page with products. For example i try to use the Hikashop navigation on the product listing page to go to page 2. After clicking on a product it redirects to the productpage. When trying to use the Browser navigation to go to the previous page it presents the same blank page which tells me the page could not be found, cache problem.  Please help to solve this problem.")*

Hi,

That's the normal behavior and is quite common.
When data is posted to the server and that the server replies with a page display, if you use the history of your browser, most recent browsers will display an alert page with a link to resubmit the data and you need to click on the link to see the page.

The mechanism has been added by web browsers several years ago to prevent users from submitting several times the same stuff (to avoid duplicate credit card payments for example).

A solution you can use if you don't want that is to add such line: Code:

if ($config-&gt;get('redirect_post',1) &amp;&amp; $_SERVER['REQUEST_METHOD'] === 'POST' &amp;&amp; (empty($this-&gt;module) &#124;&#124; JRequest::getVar('hikashop_front_end_main',0))) {$app-&gt;redirect(hikashop_currentURL());}

after the code: Code:

$dispatcher-&gt;trigger( 'onBeforeProductListingLoad', array( &amp; $filters, &amp; $order, &amp; $this, &amp; $select, &amp; $select2, &amp; $a, &amp; $b, &amp; $on) );

of the file components/com_hikashop/views/product/view.html.php so that there will be a redirect to the current page after the post data has been saved in the session and avoid that behavior.

Last edit: 12 years 5 days ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzMxODYtYnJvd3Nlci1uYXZpZ2F0aW9uLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Tessa](/forum/user/29567-tessa "View Tessa's Profile")**
- [![Tessa's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29567-tessa "View Tessa's Profile") Topic Author
- [ Offline](/forum/user/29567-tessa)

Less More

- Posts: 15
- Thank you received: 0
-
-

12 years 1 day ago [\#181342](#181342) by [Tessa](/forum/user/29567-tessa "View Tessa's Profile")  Replied by *[Tessa](/forum/user/29567-tessa "View Tessa's Profile")* on topic *[Browser navigation error](/forum/26-product-category-display/873186-browser-navigation-error#181342 "Dear,  Im using the hikashop filter module to let customers sort their products. After filtering the products based on the several fields of the filter module there is a product list of all the products based up on the filter criteria. When clicking on a product it redirects to the productpage. The problem occurs when i try to use the browser (chroome, firefox) navigation to go back to the previous page. The browser provides me with a blank page which tells me the page could not be found, cache problem. (i can get a screenshot of the blank page with the error if necesarry)  The same blank page shows up when i use the hikashop page navigation at the bottom of each product listing page to go to the next page with products. For example i try to use the Hikashop navigation on the product listing page to go to page 2. After clicking on a product it redirects to the productpage. When trying to use the Browser navigation to go to the previous page it presents the same blank page which tells me the page could not be found, cache problem.  Please help to solve this problem.")*

Tried it but doesn't change anything. Its still not possible to use the next and previous button of the browser after using pagination or after using the field of the characteristics on the productpage. This is major problem in my opinion because most of the people use the next and previous buttons of their webbrowser to navigate through a website.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzMxODYtYnJvd3Nlci1uYXZpZ2F0aW9uLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

11 years 11 months ago [\#183225](#183225) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Browser navigation error](/forum/26-product-category-display/873186-browser-navigation-error#183225 "Dear,  Im using the hikashop filter module to let customers sort their products. After filtering the products based on the several fields of the filter module there is a product list of all the products based up on the filter criteria. When clicking on a product it redirects to the productpage. The problem occurs when i try to use the browser (chroome, firefox) navigation to go back to the previous page. The browser provides me with a blank page which tells me the page could not be found, cache problem. (i can get a screenshot of the blank page with the error if necesarry)  The same blank page shows up when i use the hikashop page navigation at the bottom of each product listing page to go to the next page with products. For example i try to use the Hikashop navigation on the product listing page to go to page 2. After clicking on a product it redirects to the productpage. When trying to use the Browser navigation to go to the previous page it presents the same blank page which tells me the page could not be found, cache problem.  Please help to solve this problem.")*

We've worked on that and next version of HikaShop will have a new option in order to be able to pass the pagination/filters selection in the URL and thus avoid the browser history back/next button message.
Note that even without changing this, we noticed that Chrome was now handling the back button properly with recent versions, without any message.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzMxODYtYnJvd3Nlci1uYXZpZ2F0aW9uLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.068 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
