Osclass forums
Support forums => General help => Topic started by: moinuddin on July 26, 2019, 09:50:45 pm
-
I have a website and on the profile page the pagination is not working.
Here is the link.
https://footwearwholesale.in/index.php?page=user&action=pub_profile&id=10
Does anyone knows about the solution to this problem ?
Thanks in advance
-
Even if i click on 2nd page then again it gets to first page.
-
here are my 2 files attached one is the user public profile page and another is header.and also made changes in loop.php for putting ads between listings.
made changes according to this link ..here is the link https://forums.osclass.org/tips-and-tricks/(tip)-ads-between-listings/
let me know if you want some more details / files to see the codes.
hope it gets solved as facing problem only in user public profile page and rest all other pages are working fine as search result getting clicked on pages and showing it ..the only problem is with user public profile where the 2nd and other pages getting clicked but it shows only first page.
my website is https://footwearwholesale.in/
and user public profile page link is https://footwearwholesale.in/index.php?page=user&action=pub_profile&id=10?iPage=2
please does anyone has solution to this problem?
thanks in advance.
-
Looks like you have an error in the pagination function, the link should be https://footwearwholesale.in/index.php?page=user&action=pub_profile&id=10&iPage=2
Not https://footwearwholesale.in/index.php?page=user&action=pub_profile&id=10?iPage=2
-
Thanks for the reply cartagena68,
But still the link which you sent is showing the first page.
All other pages are showing correctly except profile page so i don't think that there should have been a problem with the function.
-
no, the link show second page if you copy the full link, not click on it.
or click on this
https://footwearwholesale.in/index.php?page=user&action=pub_profile&id=10&iPage=2
-
Yes, you are right instead of '?'... '&' should be there ...but i don't know how it has changed.
-
This is just a workaround that should work. Try the modified file attached
-
Sure,
Will upload it and will let you know the result.
-
hi cartagena68,
you are a genius ..it worked ..i am still wondering that how this error happened in website...but once again thank you very much.
-
I'm glad it works, but remember that this is just a workaround, you should check why you have the problem in the first place.
-
I think some Java script codes (for Fb comments and likes button on the public profile page must have created the problem)..i'll let you know once i find the error..thanks again for the solution.