- Posts: 17
- Thank you received: 5
Hikashop 2.1.0 Pagination Bug
Here's the link to the website AFTER UPGRADE
cavemanprojects.com/ak009/all-tyres/
Before Upgrade (2.0.0)
cavemanprojects.com/ak007/all-tyres/
Other system info
Joomla! Version: 2.5.9
PHP Version: 5.3.15
Hikashop Version: 2.1.0 Business Edition
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
That the issue only happens on some servers and we cannot reproduce it on our end.
The issue is that the URL in the form of the pagination is not correct on your websites. That URL comes from the $_SERVER variable generated by PHP on your server. So it means that PHP is not returning the correct variable. We will need a backend access to your website in order to analyze the problem.
Could one of you provide that via our contact form please ?
www.hikashop.com/en/contact-us.html
Please include a link to this thread and write urgent in your subject so that we can look at that as soon as possible.
Please Log in or Create an account to join the conversation.
I just send you the info about the website and login.
What surprises me in this that it used to work before the update as huiyun writes and shows with his double installation of the previous and current version. That makes it hard to have my host provider look into it.
I really hope the solution will soon be found because as it is this makes Hikashop not ready for use for our website.
I hope your magic works again Nicolas
Please Log in or Create an account to join the conversation.
Change the line:
if(!empty($_SERVER["REDIRECT_URL"])){
to:
in the file administrator/components/com_hikashop/helpers/helper.php and that should fix the problem.
The problem is that in order to handle the strange $_SERVER configuration of some servers, we had to change the hikashop_currentURL() function for the 2.1 version. However, since your server also has a strange $_SERVER configuration albeit different, it now doesn't work with 2.1.
The fix I propose should allow the hikashop_currentURL() to work properly on all server configurations.
Please Log in or Create an account to join the conversation.
The result is no change at all .... if i try to go to the next page with products it returns me to the homepage
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I cleared all caches and still it didnt work ....yet
Can you tell me what is 'strange' about the current $Server congfiguration of my host service.
I might then be able to ask them for support.
Please Log in or Create an account to join the conversation.
The issue is that the REDIRECT_URL variable is present but with the wrong URL. it is /ak007/index.php instead of /ak007/all-tyres/ which is in REQUEST_URI.
And on the other server for which we had to do a patch for HikaShop 2.1, it was the opposite, the REDIRECT_URL was correct and the REQUEST_URI was not correct.
Please Log in or Create an account to join the conversation.
I hereby will suggest to award you with the Nobel-price-for-Joomla-development-and-support!!!!!
IT WORKS !!!!!!!
You have no idea how happy you just made me
(but this means i must manually update the helper.php file if there is an update ..right?)
Please Log in or Create an account to join the conversation.
The fix would be include in the next package release.
So you have to modify it today, but with the next update, the fix would be there !
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.
Thats the best solution i could hope for.
Please Log in or Create an account to join the conversation.
However, when I click on add to cart, I am not directed to the check out page.
Attached is my configuration.
On a sidenote, I tried the setting "stay and display a popup notice" and that worked fine.
It just did not work with the setting shown in the attached pic.
Please Log in or Create an account to join the conversation.
Are your redirected to the homepage ? Did you stayed on the product page ?
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.
Edit:
Ok it might be a template or customization issue on my end since it works properly with Beez2 template.
On the template I am using, if I choose "No" for "Use AJAX when possible for add to cart buttons" setting, then it works. Come to think about it, if a buyer is to be brought straight to "check out" upon clicking on the "Add to cart" button, there is no need for AJAX. Correct me if I am wrong.
Anyway thanks for your time.
Please Log in or Create an account to join the conversation.