Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Lightbox Ultimate – Validation Errors

by

Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox Ultimate – Validation Errors

Tagged: Illegal character in path component

  • This topic has 5 replies, 2 voices, and was last updated 13 years, 1 month ago by wpCommerce.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • January 31, 2013 at 2:59 pm #8456
    SueParker
    Member

    I am getting some validation errors for my page – I’m wondering if I have set up something incorrectly. I was setting up some groups of images and I followed instructions from http://www.tipsandtricks-hq.com/wp-affiliate-link-manager/how-to-organize-and-group-multiple-lightbox-anchor-images-in-a-post-or-page-130

    It displays fine….however, I get validation errors such as this:

    Bad value wp_lightbox_prettyPhoto[image_group1] for attribute rel on element a: Illegal character in path component. The string wp_lightbox_prettyphoto[image_group1] is not a registered keyword or absolute URL.

    And my short code is something like this:

    [wp_lightbox_prettyPhoto_anchor_text_image link=”http://garymdouglas.com/wp-content/uploads/2013/01/01-mens-living-gary-douglas.jpg” text=”Click here to read” description=”Australian Men’s Health Page 1″ gallery_group=”image_group1″]

    Link to page: [http://garymdouglas.com/media]

    WP version 3.3.2 (Could the old version of WP be the problem?)

    WP Lightbox Ultimate version 1.7.1

    Thanks –

    Sue

    January 31, 2013 at 11:29 pm #53464
    wpCommerce
    Moderator

    Hi, do you still have the gallery on the page you shared? I checked your site using Firebug (debugging tools) but didn’t see any error in the console.

    However, your WP version is pretty old. It’s a good idea to keep it updated for security reasons.

    January 31, 2013 at 11:38 pm #53465
    SueParker
    Member

    Thanks for replying…

    Yes, there are 4 galleries still on the page – I get the errors when I run it thru W3 Validation. I know their WP is terribly old – I am going to recommend they upgrade it. I’ve been brought in to help them with a few things on the site, and that is on my list of recommendations. I was just concerned with the odd errors I was getting with my galleries and worried I did something incorrectly in my code.

    [http://validator.w3.org/check?uri=http%3A%2F%2Fgarymdouglas.com%2Fmedia&charset=%28detect+automatically%29&doctype=Inline&group=0]

    Thanks

    Sue

    February 1, 2013 at 11:24 pm #53466
    wpCommerce
    Moderator

    Hi, you made some of your gallery shortcodes hidden but they are still on that page. So you need to make sure that they are not broken. There is no anchor text (text between <a href=".."> and </a> in those shortcodes. Please specify a value for the “text” parameter (for example: click here).

    February 2, 2013 at 9:47 pm #53467
    SueParker
    Member

    Hi again, thank you for your patience.

    I don’t think the hidden shortcodes are broken. They work just like I was hoping (I followed the instructions in this post which seemed similar to what I wanted to do: https://support.tipsandtricks-hq.com/forums/topic/add-multiple-images-using-wp-lightbox-ultimate#post-29422

    Everything displays properly – I added in anchor text into the hidden shortcodes per your new suggestion.

    I still get an assortment of validation errors that seem to relate to the plugin:

    Bad value wp_lightbox_prettyPhoto[image_group1] for attribute rel on element a: Illegal character in path component. The string wp_lightbox_prettyphoto[image_group1] is not a registered keyword or absolute URL.

    …s-living-gary-douglas.jpg” rel=”wp_lightbox_prettyPhoto[image_group1]”>read

    Perhaps it just comes down to the way we use the rel= field in WordPress for lightboxes and it not being valid according to W3 standards?

    I tried one of tipsandtricks-hq.com pages where there is a group of images in the lightbox and it gets some similar sorts of errors.

    I ran this thru the validator http://www.tipsandtricks-hq.com/wp-affiliate-link-manager/how-to-organize-and-group-multiple-lightbox-anchor-images-in-a-post-or-page-130

    It comes back with things like:

    character “[” is not allowed in the value of attribute “rel”

    …ge3.jpg” rel=”wp_lightbox_prettyPhoto[gallery_view_with_set_of_images]” title…

    Thanks for any insight.

    February 3, 2013 at 12:03 am #53468
    wpCommerce
    Moderator

    Your shortcodes are functional because you are opening all the images from one anchor text. But if you hadn’t made them hidden they would be broken.

    If there are any obvious errors we will definitely fix it. But this is how rel needs to work if you try to open multiple images/videos as a gallery. So I guess you can ignore that validation error for now.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2026 | Tips and Tricks HQ