Template Issues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gphillips
    Member
    • Jun 2008
    • 30
    • 3.7.x

    Template Issues

    1. Default Template JS Error

    I have the most current ver of the bulletin patch level 1 installed on a Windows 2003 Server SP2.

    The install went fine and I am currently using the default Vbulletin template.

    However when I browse the index page of the bulletin, I get the following JS errors:

    Line: 433
    Object Expected
    <td id="navbar_search" class="vbmenu_control"><a href="search.php" accesskey="4" rel="nofollow">Search</a> <script type="text/javascript"> vbmenu_register("navbar_search");

    Line: 576
    Error: 'vbphrase is undefined'
    <script type="text/javascript">
    <!--
    vbphrase['doubleclick_forum_markread'] = "Double-click this icon to mark this forum and its contents as read";
    init_forum_readmarker_system();
    //-->

    Line: 749
    Error: Object Expected
    <script type="text/javascript">
    <!--
    // Main vBulletin Javascript Initialization
    vBulletin_init();
    //-->

    Any ideas on this issue?

    Thanks alot for the input, I'm new to using VBulletin. We currently have our production bulletin running on a Linux box, however for development purposes, I have installed it on a Windows Server since that is my area of expertise.
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    Hmmm...I don't see how you can get that error with the default vB.

    To troubleshoot this, first reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version and that none show 'File does not contain expected contents':

    Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

    [Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

    Next, disable all plugins.

    Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

    define('DISABLE_HOOKS', true);

    Then if you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it. Do you have the same problem?
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • gphillips
      Member
      • Jun 2008
      • 30
      • 3.7.x

      #3
      Ok, so I followed your instructions including reseting IE to the default settings. Now all the errors mentioned before are gone with the expection of this one which is throw whenever the forum default page is pulled up without being logged in and also after I log in...

      Throws object expected:

      <script type="text/javascript">
      <!--
      // Main vBulletin Javascript Initialization
      vBulletin_init();
      //-->
      </script>

      And this error which is thrown on the login page of the admin cp:
      Throws object expected:
      fetch_object('vb_login_password').onkeypress = caps_check;

      I think the majority of my issues were related to my IE advanced settings being changed.

      Comment

      • Steve Machol
        Former Customer Support Manager
        • Jul 2000
        • 154488

        #4
        I do not see how you can get that error is you followed all the instructions. What's the URL?
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment

        • gphillips
          Member
          • Jun 2008
          • 30
          • 3.7.x

          #5
          After looking a little closer on the index page of the admincp, I see the following script includes:

          <script type="text/javascript" src="../clientscript/yui/yahoo-dom-event/yahoo-dom-event.js"></script>
          <script type="text/javascript" src="../clientscript/yui/connection/connection-min.js"></script>
          <script type="text/javascript" src="../clientscript/vbulletin_global.js"></script>

          I don't have any of these js files in the specified directories...maybe the rest of my issues are related to missing js files?

          Right now I'm working on development which is an internal ip address so it cannot be accessed externally...

          Comment

          • Steve Machol
            Former Customer Support Manager
            • Jul 2000
            • 154488

            #6
            Make sure you download the 'Entire package' anmd upload all the files again.

            You can also try setting this:

            Admin CP -> vBulletin Options -> Server Settings and Optimization Options -> Use Remote YUI -> Yes


            But that may not work in your situation.
            Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
            Change CKEditor Colors to Match Style (for 4.1.4 and above)

            Steve Machol Photography


            Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


            Comment

            • gphillips
              Member
              • Jun 2008
              • 30
              • 3.7.x

              #7
              Ok, I did as you suggested and found those three script files and copied them to the correct location.

              Now my control panel works great in terms of the errors I mentioned which included not being able to open/close the various menu panels.

              The next error I'm experiencing is when I open Styles & Templates > Style Manager > All Style Options > Edit Template. I get the following:

              </select><input type="button" class="button" value="Go" onclick="Sdo(this.form.styleEdit_4.options[this.form.styleEdit_4.selectedIndex].value, 4);" />

              Which JS file contains the Sdo function?

              Comment

              • Steve Machol
                Former Customer Support Manager
                • Jul 2000
                • 154488

                #8
                I still do not see how you can get that error with the default vB. What does Suspect Files show?
                Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                Change CKEditor Colors to Match Style (for 4.1.4 and above)

                Steve Machol Photography


                Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                Comment

                • gphillips
                  Member
                  • Jun 2008
                  • 30
                  • 3.7.x

                  #9
                  I get the following:


                  Suspect File Versions Scanned 56 files
                  ./Scanned 56 files
                  ./admincpScanned 3 files
                  ./archiveScanned 8 files
                  ./clientscript

                  vbulletin_ajax_imagereg.jsFile not found
                  vbulletin_ajax_namesugg.jsFile not found
                  vbulletin_ajax_quote.jsFile not found
                  vbulletin_ajax_reputation.jsFile not found
                  vbulletin_ajax_search.jsFile not found
                  vbulletin_ajax_taglist.jsFile not found
                  vbulletin_ajax_tagsugg.jsFile not found
                  vbulletin_ajax_threadrate.jsFile not found
                  vbulletin_ajax_threadslist.jsFile not found
                  vbulletin_ajax_userlist.jsFile not found
                  vbulletin_ajax_wolresolve.jsFile not found
                  vbulletin_album.jsFile not found
                  vbulletin_attachment.jsFile not found
                  vbulletin_backgroundpicker.jsFile not found
                  vbulletin_colorpicker.jsFile not found
                  vbulletin_cpcolorpicker.jsFile not found
                  vbulletin_cphome_scripts.jsFile not found
                  vbulletin_cpoptions_scripts.jsFile not found
                  vbulletin_custom_profile.jsFile not found
                  vbulletin_date_picker.jsFile not found
                  vbulletin_inlinemod.jsFile not found
                  vbulletin_lightbox.jsFile not found
                  vbulletin_md5.jsFile not found
                  vbulletin_menu.jsFile not found
                  vbulletin_multi_quote.jsFile not found
                  vbulletin_post_loader.jsFile not found
                  vbulletin_profilefield_edit.jsFile not found
                  vbulletin_quick_comment.jsFile not found
                  vbulletin_quick_comment_generic.jsFile not found
                  vbulletin_quick_edit.jsFile not found
                  vbulletin_quick_reply.jsFile not found
                  vbulletin_read_marker.jsFile not found
                  vbulletin_settings_validate.jsFile not found
                  vbulletin_tabctrl.jsFile not foundv
                  bulletin_templatemgr.jsFile not found
                  vbulletin_textedit.jsFile not found
                  vbulletin_thrdpostlist.jsFile not found

                  Scanned 2 files
                  ./clientscript/yuiconnection.jsFile not found
                  yahoo-dom-event.jsFile not found

                  Scanned 2 files
                  ./clientscript/yui/connectionScanned 2 files
                  ./clientscript/yui/yahoo-dom-eventScanned 2 files
                  ./images/regimage/fontsScanned 125 files
                  ./includesScanned 18 files
                  ./includes/cronScanned 8 files
                  ./includes/paymentapiScanned 2 files
                  ./includes/xml

                  bitfield_vbulletin.xmlFile not found
                  hooks_vbulletin.xmlFile not found
                  js_safe_phrases.xmlFile not found
                  podcast_vbulletin.xmlFile not found
                  spiders_vbulletin.xmlFile not found

                  Scanned 82 files
                  ./installScanned 10 files
                  ./modcp

                  Comment

                  • Steve Machol
                    Former Customer Support Manager
                    • Jul 2000
                    • 154488

                    #10
                    You are missing lots of vB files. You need to reupload all the original vB files.
                    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                    Change CKEditor Colors to Match Style (for 4.1.4 and above)

                    Steve Machol Photography


                    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                    Comment

                    • gphillips
                      Member
                      • Jun 2008
                      • 30
                      • 3.7.x

                      #11
                      This is quite strange, I downloaded the lastest ver & patch release...I'll try again...

                      Thanks for your fast response time...

                      Comment

                      • gphillips
                        Member
                        • Jun 2008
                        • 30
                        • 3.7.x

                        #12
                        Ok, so that fixed all my issues, I think there was a security issue was encountered when I unzipped the folder and then copied it to my local directory, for some reason some of the files didn't get copied.

                        Now I have a new error:

                        Database error in vBulletin 3.7.2:
                        Invalid SQL:
                        UPDATE session
                        SET lastactivity = 1218209235, location = '/valvereplacement.com/admincp/template.php?s=&amp;group=&amp;do=modify&amp;expandset=3', loggedin = 2, inforum = 0, inthread = 0, incalendar = 0, badlocation = 0, useragent = 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.2)', bypass = 0
                        WHERE sessionhash = 'ae50170d328a73994b601f8792f96c78';
                        MySQL Error : Data too long for column 'useragent' at row 1
                        Error Number : 1406
                        Request Date : Friday, August 8th 2008 @ 11:27:15 AM
                        Error Date : Friday, August 8th 2008 @ 11:27:15 AM
                        Script : http://localhost/valvereplacement.co...fy&expandset=3
                        Referrer : http://localhost/valvereplacement.com/admincp/index.php
                        IP Address : 127.0.0.1

                        Comment

                        • gphillips
                          Member
                          • Jun 2008
                          • 30
                          • 3.7.x

                          #13
                          Please ignore last post, I forgot to change
                          config['Database']['force_sql_mode'] = false; to
                          config['Database']['force_sql_mode'] = true;

                          Comment

                          • Steve Machol
                            Former Customer Support Manager
                            • Jul 2000
                            • 154488

                            #14
                            Your server is reporting an unusually long user agent:

                            Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.2)

                            I don't know why it is doing that or how to stop it. What browser are you using?
                            Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                            Change CKEditor Colors to Match Style (for 4.1.4 and above)

                            Steve Machol Photography


                            Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                            Comment

                            • gphillips
                              Member
                              • Jun 2008
                              • 30
                              • 3.7.x

                              #15
                              I'm using IE 7 for my browser...

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...
                              😀
                              😂
                              🥰
                              😘
                              🤢
                              😎
                              😞
                              😡
                              👍
                              👎