Results 1 to 8 of 8

What is this error is related to ?

This is a discussion on What is this error is related to ? within the Off-Topic & Chit Chat forums, part of the Focus on Members category; Hi, Today I checked my website using HTML validator and I noticed that there is a strange error there : ...

  1. #1
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times

    What is this error is related to ?

    Hi,

    Today I checked my website using HTML validator and I noticed that there is a strange error there :

    [Invalid] Markup Validation of http://www.vetarena.com/community/ - W3C Markup Validator

    Any help to solve this issue is really appreciated.

    thanks

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    This is poor design if this is what vb has done. The shouldn't have made a JS var from a string with name=value& style parameters.

    Code:
    var SESSIONURL="";

  3. #3
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    and of course, the editor eats it. The ck editor is garbage :(


    There's a & in the var and there shouldn't be.

  4. #4
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times
    Thanks for the reply Brian,

    Here is the related source code to this issue, but thereis no "&" there !!!???
    PHP Code:
    <script type="text/javascript" src="$stylevar[yuipath]/yahoo-dom-event/yahoo-dom-event.js?v=$vboptions[simpleversion]"></script>
    <script type="text/javascript" src="$stylevar[yuipath]/connection/connection-min.js?v=$vboptions[simpleversion]"></script>
    <script type="text/javascript">
    <!--
    var SESSIONURL = "$session[sessionurl_js]";
    var SECURITYTOKEN = "$bbuserinfo[securitytoken]";
    var IMGDIR_MISC = "$stylevar[imgdir_misc]";
    var vb_disable_ajax = parseInt("$vboptions[disable_ajax]", 10);
    // -->
    </script> 
    Do you have any idea ?

    again thanks

  5. #5
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times
    Brian I noticed something strange on my server, there is 3 vBulletins hosted on my server, all of them have this error when I check using Validator.

    I haven't done anything recently but installing mod_pagespeed.

    is it related to this mod?

  6. #6
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Hello Ali,

    Do your sites get validated if you temporarily disable that add-on?. If so, then it could be the culprit of the issue.
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  7. #7
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    When you view source,

    var SESSIONURL = "$session[sessionurl_js]";

    actually gets complied into

    var SESSIONURL = "s=" SOME STRING&'"";

    Which is causing the "s=" to be the var, and then the actual remainder of the session string is invalid code. It's possible that its coming form the mod.

  8. #8
    Senior Member A.Chakery's Avatar
    Real Name
    Ali Chakery
    Join Date
    Jan 2008
    Posts
    772
    Liked
    54 times
    Thanks Brian And Andreas,

    Well this mod is installed on my server not vb. but my forum was 100% validated before installing it so I think its related to it.

    What is your idea about using mod_pagespeed on the server ?

Similar Threads

  1. What is this error related to ?
    By A.Chakery in forum Off-Topic & Chit Chat
    Replies: 17
    Last Post: 01-11-2011, 03:54 PM
  2. url related possible BUG
    By ah.fm in forum Bug Reporting
    Replies: 0
    Last Post: 04-25-2009, 07:16 AM
  3. Error when creating sitemaps - not 3.8.x related
    By Coop1979 in forum Troubleshooting
    Replies: 5
    Last Post: 02-07-2009, 02:15 PM
  4. Strange Gallery-related errors in cPanel Error Log
    By Ace Shattock in forum Troubleshooting
    Replies: 4
    Last Post: 04-27-2006, 06:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •