Announcement

Collapse
No announcement yet.

404 and 500 Errors

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

  • 404 and 500 Errors

    Like a number of people I've had a nightmare of a time with vBulletin 5. The software installs fine, but just won't work at all. Cannot login, the little window opens up and shows a server 404 error. Clicking on Blogs or Groups takes me to a page not found, or worse a message stating that a server misconfiguration error has occurred.

    My host is 1and1 and they generally have a very flexible arrangement with regards to what can be done via .htaccess and php.ini but VB 5 just doesn't want to play at all. I'm currently running IPB 3.4 with rewrite_mod and it functions fine, but as the New Year approaches I wanted a change and VB 5 seemed to fit the bill.

    Whilst I understand that the software is still in beta, I don't think it's too much to ask that it works out of the box (bugs notwithstanding) on just about any server that fulfils the basic requirements. Asking customers to jump through hoops and delve into technical areas for which they probably have no experience with is taking the biscuit. If customers follow the installation procedures as directed and their servers (shared or otherwise) meet the basic requirements, then the software should, at least, function as described. I've looked at other threads on here that complain about the same errors and have followed the suggestions made to no avail.

    I've been running forums for over 15 years and I've used just about every incarnation from PHPBB, SMF, vBulletin, Invision and whole bunch more and I've NEVER faced the problems I'm facing with VB 5. After shelling out $209 to upgrade my VB4 (which worked perfectly well) I find myself with a load of files that are, in effect, useless to me.

    My 1and1 shared hosting uses PHP 5.4, allows rewrite_mod (otherwise IPB wouldn't work) and uses MYSQL 5 (1GB databases of which I have access to 100). All of the installation procedures were followed to the letter, all of the files were uploaded in the various formats as required, the installation program ran without errors or problems and the 'home page' appeared, but that's it. Nothing else works. I can get to the admin panel via the core, but any changes made results in errors messages firing all over the place.

    One thing I did notice on the occasion I managed to access the admin panel was that the site url (entered into the config file as http://www.just4joe.com) appeared as http://www.just4joe.com/core - removing 'core' from the address line resulted in broken css and images in the CP.

    The one thing that the developers of the software need to understand is that most of VB's clients are not programmers, coders or have access to the PHP files on the server to make changes - even if they did they most likely would be fearful of tampering with something they are not familiar with.

    What tempted me back to VB was the emphasis on simplicity, unfortunately that boast has failed miserably. I'm looking at another hosting company and I am sending them loads of information to see if their servers will meet the unbelievably stringent requirements of VB 5. If the answer is no and VB cannot make the software work out of the box then I will be looking for a refund.

  • #2
    Can you please post the part of your front end config.php file where the URLs are stored?
    We'll see if we can find out what's wrong.
    MARK.B | vBULLETIN SUPPORT

    TalkNewsUK - My vBulletin 5.5.2 Demo
    AdminAmmo - My Cloud Demo

    Comment


    • #3
      Hi Mark

      Thanks for the reply - I don't mean to sound tetchy about the software, but it really is frustrating when it doesn't work as described. Here's the config.php contents of the presentation - the other config file contains my database settings and that's all I changed in it, left the rest untouched as requested.

      Code:
      <?php/*======================================================================*\
      || #################################################################### ||
      || # vBulletin 5 Presentation Configuration                           # ||
      || # ---------------------------------------------------------------- # ||
      || # All PHP code in this file is 2000-2012 vBulletin Solutions Inc. # ||
      || # This file may not be redistributed in whole or significant part. # ||
      || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
      || # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
      || #################################################################### ||
      \*======================================================================*/
      
      
      /*-------------------------------------------------------*\
      | ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |
      +---------------------------------------------------------+
      | When making changes to the file, the edit should always |
      | be to the right of the = sign between the single quotes |
      | Default: $config['admincpdir'] = 'admincp';             |
      | Example: $config['admincpdir'] = 'myadmin';  GOOD!      |
      | Example: $config['myadmin'] = 'admincp'; BAD!           |
      \*-------------------------------------------------------*/
      
      
      
      
          //    ****** 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://www.just4joe.com';
      
      
      
      
      
      
      // 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 should never be used on a live site
      $config['no_js_bundles'] = false;
      
      
      // 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';
      
      
      
      
      /*======================================================================*\
      || ####################################################################
      || # Downloaded: 
      || # CVS: $RCSfile$ - 
      || ####################################################################
      \*======================================================================*/
      I've tried installing to a directory (forums - adding that bit to the end of the url, without a trailing slash) and to the root, which is what the above config was. I've also downloaded the files three times from the client area, altered the config files in notepad, cuteFTP and Dreamweaver to make sure that nothing untoward was present and still no go.

      I've tried the remedies mentioned in other threads, but they didn't work either. I really want this to work and I want my current members to play with it before it goes live so they can welcome new members knowing that they can help if they get stuck anywhere. Here's hoping!

      Comment


      • #4
        Thanks for that.

        If you are wanting the site to be at http://www.just4joe.com/forums, then the baseurl should read:
        Code:
        $config['baseurl'] = 'http://www.just4joe.com/forums';
        I think however you may have problems here as the root domain www.just4joe.com is actually redirecting to another forum. Certainly, installing it in the root isn't going to work because of that.
        Installing it to /forums *might* work but it depends on how you've got that redirect configured.
        MARK.B | vBULLETIN SUPPORT

        TalkNewsUK - My vBulletin 5.5.2 Demo
        AdminAmmo - My Cloud Demo

        Comment


        • #5
          Hi Mark

          I know about changing the url if wanting it in a sub-directory - I tried that lol and it didn't work. The forum that's in the root now was moved off the server to see if a bare install would work and it didn't, so that's why the other forum is back there as of now now so the members and visitors (I get about 20,000 visitors a month) can use it until I get this sorted out. Just4Joe directs to the root along with another domain name but even moving those domains to address a sub-directory didn't work either.

          I also removed the .htaccess file for IPB when installing VB into a forums directory as the redirects in that would conflict - still didn't work lol.

          I can imagine that this is just as big a pain for you and the developers as it is for us, but all help is appreciated.

          Comment


          • #6
            Can you please install it to www.just4joe.com/forums so we can see exactly what's happening?
            MARK.B | vBULLETIN SUPPORT

            TalkNewsUK - My vBulletin 5.5.2 Demo
            AdminAmmo - My Cloud Demo

            Comment


            • #7
              I've read your mind lol - I'm doing that right now. Will let you know when it's done.

              - - - Updated - - -

              OK Mike here's what I've done. I created a directory on the server named 'forum' - I redirected www.just4joe.com to treat this as a root directory and uploaded all of the files into this directory (structure shown below):

              The various images are stages of the install and what happened when I clicked Goto Admin - the server error.

              You can get the homepage up, but can't login and if you click Blogs you get an error - same for any other links.

              When in the admincp I can access all the settings, but checkout the setting for the url; it has 'core' tagged on the end and I did not put that in during the install. If I change settings, I'm told the settings are saved and when redirected I get that server error (as in the image below).

              If type in www.just4joe.com you can see the homepage - but try the links.
              Attached Files

              Comment


              • #8
                Originally posted by humpty View Post
                I created a directory on the server named 'forum' - I redirected www.just4joe.com to treat this as a root directory
                This is where it's going wrong. vB5 does an element of URL rewriting and if you've already got rewrites in place you're potentially going to mess it up.

                It needs to be in the actual /forums/ directory, so that you visit the site via /forums/.

                We need to get the basics working first, the clever stuff can wait til after that.
                MARK.B | vBULLETIN SUPPORT

                TalkNewsUK - My vBulletin 5.5.2 Demo
                AdminAmmo - My Cloud Demo

                Comment


                • #9
                  OK let me see if I'm getting this right - I need to create a directory called forums in the root of the server and upload all of the VB files there. The domain name www.just4joe.com needs to be directed at the root and not the forums directory. Then when I want to access VB I type in www.just4joe.com/forums

                  Is that correct? If so, when I come to change the config.php file I insert the domain as http://www.just4joe.com/forums

                  Do I need to change anything else? .htaccess or anything in the other config file where the database settings are stored.

                  If I have read you correctly I'll do all of that tomorrow and see how it goes lol.

                  Comment


                  • #10
                    The domain doesn't need to be directed anywhere....
                    MARK.B | vBULLETIN SUPPORT

                    TalkNewsUK - My vBulletin 5.5.2 Demo
                    AdminAmmo - My Cloud Demo

                    Comment


                    • #11
                      OK done - I created a directory called 'forums', installed all the files there, ran the install program, no problems (changed the config file to reflect the new directory www.just4joe.com/forums - no trailing slash) got through to the last part where it asks to click to go to control panel, click it and .....

                      Still doesn't work lol, however I'm no longer getting server errors, just that the pages are not being found. However, I can access the CP via the core and make changes 'without' errors, so that's an improvement.

                      Comment


                      • #12
                        Your URLs are not rewriting correctly - make sure you have uploaded the .htaccess file that comes in the package.
                        MARK.B | vBULLETIN SUPPORT

                        TalkNewsUK - My vBulletin 5.5.2 Demo
                        AdminAmmo - My Cloud Demo

                        Comment


                        • #13
                          .htaccess file is uploaded into the /forums/ directory. There's no other .htaccess files on the server. This is what's in the file:

                          Code:
                          <IfModule mod_rewrite.c>	RewriteEngine On
                              
                          	# Redirect old install path to core.
                          	RewriteRule ^install/ core/install/ [NC,L]
                          
                          
                          	# Main Redirect
                          	RewriteCond %{REQUEST_FILENAME} !-f
                          	RewriteCond %{REQUEST_FILENAME} !-d
                          	RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]
                          
                          
                          	# Because admincp is an actual directory.
                          	RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]
                          
                          
                          </IfModule>
                          The file structure is shown below:

                          Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	7.4 KB
ID:	3690851

                          In the presentation config file I've added the url as http://www.just4joe.com/forums no trailing slash.

                          When I accessed the CP via the core and got into settings the site URL is showing as http://www.just4joe.com/forums/core is that correct, or should /core/ not be in there? If it's the latter then it's not something I've entered, but - removing /core/ from the URL sparks off errors. I don't know if that helps or not lol.

                          Comment


                          • #14
                            You need the /core/ on that setting or the AdminCP will not work.

                            Make sure AllowOverride is set to All in all locations of the httpd.conf file. The default is: AllowOverride None.
                            Translations provided by Google.

                            Wayne Luke
                            The Rabid Badger - a vBulletin Cloud customization and demonstration site.
                            vBulletin 5 Documentation - Updated every Friday. Report issues here.
                            vBulletin 5 API - Full / Mobile
                            I am not currently available for vB Messenger Chats.

                            Comment


                            • #15
                              Thanks for the info on/core/ Wayne - however I don't have access to the httpd.conf file as it's on shared hosting. However I can make changes to these:

                              Register globals x
                              Allow URL fopen x
                              Allow URL include x
                              Display errors x
                              Zend Framework x
                              I don't know if any of these would help.

                              I did add this RewriteBase /forum/ to the .htaccess file and it did work, but everything was slow - however the login link still would not work - I could access Blogs/Groups/Advanced Search

                              Comment

                              Related Topics

                              Collapse

                              Working...
                              X