Jump to content

page doesn't validate due to pagination link..


Guest smallmouse

Recommended Posts

Guest smallmouse

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.

Link to comment
Share on other sites

Guest smallmouse

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.

Link to comment
Share on other sites

  • 2 months later...

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));

:sourcerer: voila! Your validation error should be a thing of the past.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...