Announcement

Collapse
No announcement yet.

Error After Installing VB5

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error After Installing VB5

    Hi,

    I followed the instructions to install vB5. I finished the installation and now when I try and access the forums I get the following:

    Code:
    Fatal error: Class 'vB' not found in /home/content/16/9941816/html/forums/includes/vb5/template.php on line 86
    ========
    Update:

    I just realized that I can access my admincp at:

    mywebsite.com/forums/core/admincp

    One thing I noticed is that in the "Site Name / URL / Contact Details" in the admin cp it says my Forum URL is:

    Code:
    http://www.mywebsite.com/forums/core
    My actual URL is really:

    Code:
    http://www.mywebsite.com/forums
    The problem is, when I try and change it to the real URL it messes up the admin CP and I can't do anything or see anything. I have reverted it back to the original URL, but that is not the correct root.
    Last edited by RestChaos; Sat 6th Oct '12, 5:20pm.

  • #2
    The admincp URL should not have /core in it.

    You need to make sure your config files have the correct information in them.
    My Live vB5 Site - NZEating.com
    vBulletin Hosting | vBulletin Services - Need hosting for your vB? Need it installed? Something else? Let me take that hassle off your hands.

    Comment


    • #3
      The setting in AdminCP is correct, the URL in there should end with /core
      When accessing AdminCP, you should use /forum/admincp not /froum/core/admincp

      Make sure you use www when you access AdminCP. Also, you might want to try adding /index.php at the end.
      To be or not to be... Where the hell is the question????
      My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too

      Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
      CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
      Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16

      Comment


      • #4
        Did you upload the .htaccess (for apache; or web.config for ISS)? vB5 needs mod_rewrite to work.
        No private support, only PM me when I ask for it. Support in the forums only.

        Comment


        • #5
          Would check both of your config files to ensure you edited everything required of you to edit.
          Husky Owners Forum - For all Siberian Husky Owners

          Comment


          • #6
            I'm having the same issue and it's killing me...

            Code:
            Fatal error: Class 'vB' not found in /nfs/c08/h04/mnt/124112/domains/forums.compassclassroom.com/html/vb5/includes/vb5/template.php on line 129
            
            How can I remedy this? I"ve followed the Sticky Upgrade to VB5 to the "T" and double checked it.

            Here's my config file:

            Code:
            //    ****** Base URLs ******
                // The following settings all deal with the url of your forum.
                // If set incorrectly your site/software will not function correctly.
                // These urls should NOT include a trailing slash
                // This is the url and web path of your root vBulletin directory
            $config['baseurl'] = 'forums.compassclassroom.com/vb5';
            
            
            
            
            // This will only be used if you wish to require https logins
            // You will not need to change this setting most of the time.
            $config['baseurl_login'] = $config['orums.compassclassroom.com/vb5'];
            
            
                // If you do wish to use https for login, uncomment this line
                // Then fill in your https url.
            //$config['baseurl_login'] = 'https://www.yourdomain.com/folder';
            
            
            
            
                //    ****** System Paths ******
            
            
                // This setting allows you to change the name of the admin folder
            $config['admincpdir'] = 'admincp';
            
            
                //    ****** Cookie Settings ******
                // These are cookie related settings.
                // This Setting allows you to change the cookie prefix
            $config['cookie_prefix'] = 'bb';
            
            
            
            
            //    ****** Special Settings ******
            // These settings are only used in some circumstances
            // Please do not edit if you are not sure what they do.
            
            
            // You can ignore this setting for right now.
            $config['cookie_enabled'] = true;
            
            
            $config['report_all_php_errors'] = false;
            $config['no_template_notices'] = true;
            
            
            // This setting enables debug mode, it should NEVER be used on a live site
            $config['debug'] = false;
            
            
            // Assumes default location of core. 
            // These are the system paths and folders for your vBulletin files
            // This setting is for where your vbulletin core folder is
            $config['core_path'] = realpath(dirname(__FILE__)) . '/nfs/c08/h04/mnt/124112/domains/forums.compassclassroom.com/html';
            
            
                // This is the url and web based path to your core directory
            $config['baseurl_core'] = $config['baseurl']  .  'forums.compassclassroom.com/';

            Thanks for the help... been quite a frustrating paid upgrade.

            Comment


            • #7
              Originally posted by [email protected] View Post
              I'm having the same issue and it's killing me...

              Code:
              Fatal error: Class 'vB' not found in /nfs/c08/h04/mnt/124112/domains/forums.compassclassroom.com/html/vb5/includes/vb5/template.php on line 129
              
              How can I remedy this? I"ve followed the Sticky Upgrade to VB5 to the "T" and double checked it.

              Here's my config file:

              Code:
              //    ****** Base URLs ******
                  // The following settings all deal with the url of your forum.
                  // If set incorrectly your site/software will not function correctly.
                  // These urls should NOT include a trailing slash
                  // This is the url and web path of your root vBulletin directory
              $config['baseurl'] = 'http://forums.compassclassroom.com/vb5';
              
              
              
              
              // This will only be used if you wish to require https logins
              // You will not need to change this setting most of the time.
              $config['baseurl_login'] = $config['baseurl'];
              
              
                  // If you do wish to use https for login, uncomment this line
                  // Then fill in your https url.
              //$config['baseurl_login'] = 'https://www.yourdomain.com/folder';
              
              
              
              
                  //    ****** System Paths ******
              
              
                  // This setting allows you to change the name of the admin folder
              $config['admincpdir'] = 'admincp';
              
              
                  //    ****** Cookie Settings ******
                  // These are cookie related settings.
                  // This Setting allows you to change the cookie prefix
              $config['cookie_prefix'] = 'bb';
              
              
              
              
              //    ****** Special Settings ******
              // These settings are only used in some circumstances
              // Please do not edit if you are not sure what they do.
              
              
              // You can ignore this setting for right now.
              $config['cookie_enabled'] = true;
              
              
              $config['report_all_php_errors'] = false;
              $config['no_template_notices'] = true;
              
              
              // This setting enables debug mode, it should NEVER be used on a live site
              $config['debug'] = false;
              
              
              // Assumes default location of core. 
              // These are the system paths and folders for your vBulletin files
              // This setting is for where your vbulletin core folder is
              $config['core_path'] = realpath(dirname(__FILE__)) . '/core';
              
              
                  // This is the url and web based path to your core directory
              $config['baseurl_core'] = $config['baseurl']  .  '/core';

              Thanks for the help... been quite a frustrating paid upgrade.
              You edited 3 lines that should have been left alone, and didn't have the protocol for your baseurl.

              Try what I have posted above.
              My Live vB5 Site - NZEating.com
              vBulletin Hosting | vBulletin Services - Need hosting for your vB? Need it installed? Something else? Let me take that hassle off your hands.

              Comment


              • #8
                Ace, thanks for your help. Greatly appreciate it.

                After making those above changes... my url forums.compassclassroom.com forwards to http://forums.compassclassroom.com/vb5/core/forum.php and there seems to be no CSS or design elements.

                update*****

                my /admincp page seems to look fine.

                while poking around the admincp pages I got this error when looking at banned users:

                Code:
                Notice: Constant VB_ENTRY already defined in /nfs/c08/h04/mnt/124112/domains/forums.compassclassroom.com/html/vb5/core/modcp/global.php on line 20
                
                Notice: Constant CWD already defined in /nfs/c08/h04/mnt/124112/domains/forums.compassclassroom.com/html/vb5/core/modcp/global.php on line 40



                another update*****

                after this broken upgrade version process I get these SQL error emails... often:

                Code:
                Database error in vBulletin 5.0.0 Beta 14:
                
                
                Invalid SQL:
                
                
                SELECT post.postid, post.attach
                FROM post AS post
                
                
                WHERE post.threadid = 146
                AND post.visible = 1
                
                
                
                
                ORDER BY post.dateline
                LIMIT 0,;
                
                
                MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 9
                Error Number : 1064
                Request Date : Saturday, October 20th 2012 @ 07:26:16 PM
                Error Date : Saturday, October 20th 2012 @ 07:26:16 PM
                Script : http://forums.compassclassroom.com/s...rksheets&p=151
                Referrer :
                IP Address : 180.76.5.99
                Username : Unregistered
                Classname : vB_Database
                MySQL Version :
                Last edited by [email protected]; Sat 20th Oct '12, 6:29pm.

                Comment


                • #9
                  Please remove ALL vB4 files before uploading vB5 files.

                  Sent from my iPhone using Forum Runner

                  vBulletin QA - vBulletin Support French - Lead Project Tools developer

                  Next release? Soon(tm)

                  Comment


                  • #10
                    Originally posted by Yves Rigaud View Post
                    Please remove ALL vB4 files before uploading vB5 files.

                    Sent from my iPhone using Forum Runner

                    It was an upgrade... into a fresh (empty) directory called /vb5...

                    You want me to delete the other, older, vb4 files from my original core directory?

                    Comment


                    • #11
                      If you use a new, seperate folder for vB5 you don't have to delete that.
                      No private support, only PM me when I ask for it. Support in the forums only.

                      Comment


                      • #12
                        Originally posted by Hartmut View Post
                        If you use a new, seperate folder for vB5 you don't have to delete that.
                        So how do you recommend I proceed?

                        1. my base URL forwards to http://forums.compassclassroom.com/vb5/core/forum.php showing "/core" which can't be right.

                        2. the correct directory (for my VB5 install) won't show any design functions: http://forums.compassclassroom.com/vb5/

                        3. I can log into my /admincp but there are some issues here and there... for the most part it seems to function correctly.

                        Thanks.

                        Again, here's my config:

                        Code:
                            //    ****** Base URLs ******    // The following settings all deal with the url of your forum.
                            // If set incorrectly your site/software will not function correctly.
                            // These urls should NOT include a trailing slash
                            // This is the url and web path of your root vBulletin directory
                        $config['baseurl'] = 'forums.compassclassroom.com/vb5';
                        
                        
                        
                        
                        // This will only be used if you wish to require https logins
                        // You will not need to change this setting most of the time.
                        $config['baseurl_login'] = $config['baseurl'];
                        
                        
                            // If you do wish to use https for login, uncomment this line
                            // Then fill in your https url.
                        //$config['baseurl_login'] = 'https://www.yourdomain.com/folder';
                        
                        
                        
                        
                            //    ****** System Paths ******
                        
                        
                            // This setting allows you to change the name of the admin folder
                        $config['admincpdir'] = 'admincp';
                        
                        
                            //    ****** Cookie Settings ******
                            // These are cookie related settings.
                            // This Setting allows you to change the cookie prefix
                        $config['cookie_prefix'] = 'bb';
                        
                        
                        
                        
                        //    ****** Special Settings ******
                        // These settings are only used in some circumstances
                        // Please do not edit if you are not sure what they do.
                        
                        
                        // You can ignore this setting for right now.
                        $config['cookie_enabled'] = true;
                        
                        
                        $config['report_all_php_errors'] = false;
                        $config['no_template_notices'] = true;
                        
                        
                        // This setting enables debug mode, it should NEVER be used on a live site
                        $config['debug'] = false;
                        
                        
                        // Assumes default location of core. 
                        // These are the system paths and folders for your vBulletin files
                        // This setting is for where your vbulletin core folder is
                        $config['core_path'] = realpath(dirname(__FILE__)) . '/core';
                        
                        
                            // This is the url and web based path to your core directory
                        $config['baseurl_core'] = $config['baseurl']  .  '/core';
                        Last edited by [email protected]; Mon 22nd Oct '12, 5:56am. Reason: additional info

                        Comment


                        • #13
                          Are you sure you've filled out your config right. Try using this one. Don't need to make changes, I've done it for you:

                          Code:
                             //    ****** Base URLs ******    // The following settings all deal with the url of your forum.
                              // If set incorrectly your site/software will not function correctly.
                              // These urls should NOT include a trailing slash
                              // This is the url and web path of your root vBulletin directory
                          $config['baseurl'] = 'http://forums.compassclassroom.com/vb5';
                          
                          
                          
                          
                          // This will only be used if you wish to require https logins
                          // You will not need to change this setting most of the time.
                          $config['baseurl_login'] = $config['baseurl'];
                          
                          
                              // If you do wish to use https for login, uncomment this line
                              // Then fill in your https url.
                          //$config['baseurl_login'] = 'https://www.yourdomain.com/folder';
                          
                          
                          
                          
                              //    ****** System Paths ******
                          
                          
                              // This setting allows you to change the name of the admin folder
                          $config['admincpdir'] = 'admincp';
                          
                          
                              //    ****** Cookie Settings ******
                              // These are cookie related settings.
                              // This Setting allows you to change the cookie prefix
                          $config['cookie_prefix'] = 'bb';
                          
                          
                          
                          
                          //    ****** Special Settings ******
                          // These settings are only used in some circumstances
                          // Please do not edit if you are not sure what they do.
                          
                          
                          // You can ignore this setting for right now.
                          $config['cookie_enabled'] = true;
                          
                          
                          $config['report_all_php_errors'] = false;
                          $config['no_template_notices'] = true;
                          
                          
                          // This setting enables debug mode, it should NEVER be used on a live site
                          $config['debug'] = false;
                          
                          
                          // Assumes default location of core. 
                          // These are the system paths and folders for your vBulletin files
                          // This setting is for where your vbulletin core folder is
                          $config['core_path'] = realpath(dirname(__FILE__)) . '/core';
                          
                          
                              // This is the url and web based path to your core directory
                          $config['baseurl_core'] = $config['baseurl']  .  '/core';
                          See if this works because I think you may have messed your config file up by mistake when you edited it.

                          Edit: You're missing the 'http://' on $config['baseurl']
                          Aakif Nazir
                          vBulletin Support Team

                          Comment


                          • #14
                            Originally posted by [email protected] View Post
                            1. my base URL forwards to http://forums.compassclassroom.com/vb5/core/forum.php showing "/core" which can't be right.
                            There is no forum.php in vB5. Not sure what you are trying to...

                            Sent from my iPhone using Forum Runner

                            vBulletin QA - vBulletin Support French - Lead Project Tools developer

                            Next release? Soon(tm)

                            Comment


                            • #15
                              Originally posted by Aakif Nazir View Post
                              Edit: You're missing the 'http://' on $config['baseurl']
                              Thanks! That worked for forums.compassclassroom.com/vb5

                              I'm still having the issue of my base URL, forums.compassclassroom.com, forwarding to http://forums.compassclassroom.com/vb5/core/forum.php

                              Is this a .httaccess issue?

                              Comment

                              Related Topics

                              Collapse

                              Working...
                              X