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

#   Not working second page with product view

##

- **[moneymr](/forum/user/30104-moneymr "View moneymr's Profile")**
- [![moneymr's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/vacation.jpg)](/forum/user/30104-moneymr "View moneymr's Profile") Topic Author
- [ Offline](/forum/user/30104-moneymr)

Less More

- Posts: 105
- Thank you received: 1
-
-

11 years 1 month ago [\#217700](#217700) by [moneymr](/forum/user/30104-moneymr "View moneymr's Profile")  Replied by *[moneymr](/forum/user/30104-moneymr "View moneymr's Profile")* on topic *[Not working second page with product view](/forum/26-product-category-display/877474-not-working-second-page-with-product-view?start=20#217700 "-- HikaShop version -- : last -- Joomla version -- : last -- Error-message(debug-mod must be tuned on) -- : 404 error  I have 404 error when I choose second or any else page with products in Product listing category. Also if I choose show 40, 60 or more products on the page it is the same error. Please go to my site and you will see it. This message for technical support. Thank you.")*

You made changes on website with Hikashop version is 2.5.0.
Now I download Hikashop version 2.6.0. And still nothing changed.
Last time I wait 1 month before you solve this problem. Can you make it faster in that case?
I can give you FTP access or you still have it, because I did not close it for you. I hope it will be fixed. Thanks.

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

- **[moneymr](/forum/user/30104-moneymr "View moneymr's Profile")**
- [![moneymr's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/vacation.jpg)](/forum/user/30104-moneymr "View moneymr's Profile") Topic Author
- [ Offline](/forum/user/30104-moneymr)

Less More

- Posts: 105
- Thank you received: 1
-
-

11 years 4 weeks ago [\#218529](#218529) by [moneymr](/forum/user/30104-moneymr "View moneymr's Profile")  Replied by *[moneymr](/forum/user/30104-moneymr "View moneymr's Profile")* on topic *[Not working second page with product view](/forum/26-product-category-display/877474-not-working-second-page-with-product-view?start=20#218529 "-- HikaShop version -- : last -- Joomla version -- : last -- Error-message(debug-mod must be tuned on) -- : 404 error  I have 404 error when I choose second or any else page with products in Product listing category. Also if I choose show 40, 60 or more products on the page it is the same error. Please go to my site and you will see it. This message for technical support. Thank you.")*

excuse me, again 1 month I have to wait?

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

- **[moneymr](/forum/user/30104-moneymr "View moneymr's Profile")**
- [![moneymr's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/vacation.jpg)](/forum/user/30104-moneymr "View moneymr's Profile") Topic Author
- [ Offline](/forum/user/30104-moneymr)

Less More

- Posts: 105
- Thank you received: 1
-
-

11 years 3 weeks ago [\#219357](#219357) by [moneymr](/forum/user/30104-moneymr "View moneymr's Profile")  Replied by *[moneymr](/forum/user/30104-moneymr "View moneymr's Profile")* on topic *[Not working second page with product view](/forum/26-product-category-display/877474-not-working-second-page-with-product-view?start=20#219357 "-- HikaShop version -- : last -- Joomla version -- : last -- Error-message(debug-mod must be tuned on) -- : 404 error  I have 404 error when I choose second or any else page with products in Product listing category. Also if I choose show 40, 60 or more products on the page it is the same error. Please go to my site and you will see it. This message for technical support. Thank you.")*

Anybody home?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 3 weeks ago [\#219540](#219540) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Not working second page with product view](/forum/26-product-category-display/877474-not-working-second-page-with-product-view?start=20#219540 "-- HikaShop version -- : last -- Joomla version -- : last -- Error-message(debug-mod must be tuned on) -- : 404 error  I have 404 error when I choose second or any else page with products in Product listing category. Also if I choose show 40, 60 or more products on the page it is the same error. Please go to my site and you will see it. This message for technical support. Thank you.")*

Hi,

Regarding the Nicolas messages

> It comes from the way your web server is configured which is not normal.

> In the mean time, you can copy the file administrator/components/com\_hikashop/helpers/helper.php which is where I added the fix on your website. Make sure that you're using the same version of HikaShop on the other website or the copy of that file could break HikaShop as it is the main file of HikaShop.

I think that your issue is related to the way that the server provide the "current URL" to the PHP.
In that case, you can use the setting "Server current URL mode" in the HikaShop configuration.
The setting is set to "Automatic" but you can use the "REDIRECT_URL" or "REQUEST_URI" settings.
[ php.net/reserved.variables.server](http://php.net/reserved.variables.server)

Last build of HikaShop 2.6.0 also contains a patch for weird configuration server where the domain name is include in the "REQUEST_URI" (which should not be the case regarding the RFC...)

[ www.hikashop.com/support/support/documen...ashop-changelog.html](http://www.hikashop.com/support/support/documentation/56-hikashop-changelog.html)

> We added a new option in the advanced section of the HikaShop configuration in order to control how the current URL should be retrieved from $\_SERVER in order to cope with any kind of server configuration

Regards,

---

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

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

- **[moneymr](/forum/user/30104-moneymr "View moneymr's Profile")**
- [![moneymr's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/vacation.jpg)](/forum/user/30104-moneymr "View moneymr's Profile") Topic Author
- [ Offline](/forum/user/30104-moneymr)

Less More

- Posts: 105
- Thank you received: 1
-
-

11 years 2 weeks ago [\#219630](#219630) by [moneymr](/forum/user/30104-moneymr "View moneymr's Profile")  Replied by *[moneymr](/forum/user/30104-moneymr "View moneymr's Profile")* on topic *[Not working second page with product view](/forum/26-product-category-display/877474-not-working-second-page-with-product-view?start=20#219630 "-- HikaShop version -- : last -- Joomla version -- : last -- Error-message(debug-mod must be tuned on) -- : 404 error  I have 404 error when I choose second or any else page with products in Product listing category. Also if I choose show 40, 60 or more products on the page it is the same error. Please go to my site and you will see it. This message for technical support. Thank you.")*

> I think that your issue is related to the way that the server provide the "current URL" to the PHP.
> In that case, you can use the setting "Server current URL mode" in the HikaShop configuration.
> The setting is set to "Automatic" but you can use the "REDIRECT\_URL" or "REQUEST\_URI" settings

Hi.
I updated hikashop to the last version com_hikashop_business_v2.6.0_2015-11-06_00-05-31.zip
I tryed all the settings for "Server current URL mode" in the HikaShop configuration. I tryed "Automatic" and "REDIRECT_URL" and "REQUEST_URI". And still not working.

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

- **[moneymr](/forum/user/30104-moneymr "View moneymr's Profile")**
- [![moneymr's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/vacation.jpg)](/forum/user/30104-moneymr "View moneymr's Profile") Topic Author
- [ Offline](/forum/user/30104-moneymr)

Less More

- Posts: 105
- Thank you received: 1
-
-

11 years 2 weeks ago [\#219921](#219921) by [moneymr](/forum/user/30104-moneymr "View moneymr's Profile")  Replied by *[moneymr](/forum/user/30104-moneymr "View moneymr's Profile")* on topic *[Not working second page with product view](/forum/26-product-category-display/877474-not-working-second-page-with-product-view?start=20#219921 "-- HikaShop version -- : last -- Joomla version -- : last -- Error-message(debug-mod must be tuned on) -- : 404 error  I have 404 error when I choose second or any else page with products in Product listing category. Also if I choose show 40, 60 or more products on the page it is the same error. Please go to my site and you will see it. This message for technical support. Thank you.")*

Maybe will be better if I provide access to website for you?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzc0NzQtbm90LXdvcmtpbmctc2Vjb25kLXBhZ2Utd2l0aC1wcm9kdWN0LXZpZXc/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

11 years 2 weeks ago [\#219923](#219923) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Not working second page with product view](/forum/26-product-category-display/877474-not-working-second-page-with-product-view?start=20#219923 "-- HikaShop version -- : last -- Joomla version -- : last -- Error-message(debug-mod must be tuned on) -- : 404 error  I have 404 error when I choose second or any else page with products in Product listing category. Also if I choose show 40, 60 or more products on the page it is the same error. Please go to my site and you will see it. This message for technical support. Thank you.")*

Hi,

I still had the FTP access to your test website so I checked the code and the modification I made there was to force the use of the "REQUEST_URI" in the function hikashop_currenURL.
That's exactly what should happen when you select the "REQUEST_URI" choice in your HikaShop configuration.
But you can always copy the code of the hikashop_currenURL function and replace it in the administrator/components/com_hikashop/helpers/helper.php
Code:

function hikashop_currentURL($checkInRequest='',$safe=true){ if(!empty($checkInRequest)){ $url = JRequest::getVar($checkInRequest,''); if(!empty($url)){ if(strpos($url,'http')!==0&amp;&amp;strpos($url,'/')!==0){ if($checkInRequest=='return_url'){ $url = base64_decode(urldecode($url)); }elseif($checkInRequest=='url'){ $url = urldecode($url); } } if($safe){ $url = str_replace(array('"',"'",'&lt;','&gt;',';'),array('%22','%27','%3C','%3E','%3B'),$url); } return $url; } } $config = hikashop_config(); /** * 0 -&gt; auto detect * REQUEST_URI * REDIRECT_URL */ //echo "&lt;pre&gt;".print_r($_SERVER,true).'&lt;/pre&gt;'; $requestUri = $_SERVER["REQUEST_URI"]; if (!empty($_SERVER["REDIRECT_URL"]) &amp;&amp; !empty($_SERVER['REDIRECT_QUERY_STRING'])) $requestUri = rtrim($requestUri,'/').'?'.$_SERVER['REDIRECT_QUERY_STRING']; $result = (hikashop_isSSL() ? 'https://' : 'http://').$_SERVER["HTTP_HOST"].$requestUri; if($safe){ $result = str_replace(array('"',"'",'&lt;','&gt;',';'),array('%22','%27','%3C','%3E','%3B'),$result); } return $result; }

As Jerome said, the fact that your web server works like that is not normal. The proper solution would be to fix your server.

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

- **[moneymr](/forum/user/30104-moneymr "View moneymr's Profile")**
- [![moneymr's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/vacation.jpg)](/forum/user/30104-moneymr "View moneymr's Profile") Topic Author
- [ Offline](/forum/user/30104-moneymr)

Less More

- Posts: 105
- Thank you received: 1
-
-

11 years 2 weeks ago [\#219974](#219974) by [moneymr](/forum/user/30104-moneymr "View moneymr's Profile")  Replied by *[moneymr](/forum/user/30104-moneymr "View moneymr's Profile")* on topic *[Not working second page with product view](/forum/26-product-category-display/877474-not-working-second-page-with-product-view?start=20#219974 "-- HikaShop version -- : last -- Joomla version -- : last -- Error-message(debug-mod must be tuned on) -- : 404 error  I have 404 error when I choose second or any else page with products in Product listing category. Also if I choose show 40, 60 or more products on the page it is the same error. Please go to my site and you will see it. This message for technical support. Thank you.")*

Hi. Thank you for answer.
A made new test website and made choice to use "REQUEST_URI" in HikaShop configuration.
But I still see error. And I do not prefer editing source code, because after update it will have to do again and again.

> As Jerome said, the fact that your web server works like that is not normal. The proper solution would be to fix your server.

I use very popular USA hosting Godaddy.com
It is really strange that I'm alone with this error in Hikashop...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzc0NzQtbm90LXdvcmtpbmctc2Vjb25kLXBhZ2Utd2l0aC1wcm9kdWN0LXZpZXc/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

11 years 2 weeks ago [\#219980](#219980) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Not working second page with product view](/forum/26-product-category-display/877474-not-working-second-page-with-product-view?start=20#219980 "-- HikaShop version -- : last -- Joomla version -- : last -- Error-message(debug-mod must be tuned on) -- : 404 error  I have 404 error when I choose second or any else page with products in Product listing category. Also if I choose show 40, 60 or more products on the page it is the same error. Please go to my site and you will see it. This message for technical support. Thank you.")*

Please try to change the function in that file and see if that fixes the problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzc0NzQtbm90LXdvcmtpbmctc2Vjb25kLXBhZ2Utd2l0aC1wcm9kdWN0LXZpZXc/c3RhcnQ9MjAmdG1wbD1tYXJrZG93bg==) 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.080 seconds

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