Guest smallmouse Posted July 1, 2007 Share Posted July 1, 2007 Hello I am testing all my pages for xhtml validation and the page with the pagination on it is not validating due to a missing & in the link to the pagination. does anyone know what file I can amend the actual link to the pagination in please? Thanks Lisa. Quote Link to comment Share on other sites More sharing options...
Robsta Posted July 2, 2007 Share Posted July 2, 2007 Look in viewCat.inc.php. Quote Link to comment Share on other sites More sharing options...
Guest smallmouse Posted July 2, 2007 Share Posted July 2, 2007 Look in viewCat.inc.php. Hi Thanks for your reply. I don't know whether I am being really thick, but I just can't see the link in there? Do you know what line it is on? Thanks so much. Lisa. Quote Link to comment Share on other sites More sharing options...
cb2004 Posted September 7, 2007 Share Posted September 7, 2007 Anyone have a fix for this? Quote Link to comment Share on other sites More sharing options...
markscarts Posted September 8, 2007 Share Posted September 8, 2007 Yes, I have a fix for it. Surprisingly you are the first ever to ask in the forums that I have seen. I offer a third-party validation service, and regularly see errors in CubeCart stores due to this. To fix this validation issue, open the file classes/db.inc.php Find the following line of code, it is a part of the code for the paginate function and is found around line 130 in 3.0.17 file: $queryString = "&" . htmlentities(implode("&", $newParams)); Change that code to this: $queryString = "&" . htmlentities(implode("&", $newParams)); voila! Your validation error should be a thing of the past. Quote Link to comment Share on other sites More sharing options...
Guest kieranbarnes Posted September 20, 2007 Share Posted September 20, 2007 There is a similar issue in the browser title if you have an ampersand in a category name. Not quite worked out a fix yet. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.