Announcement

Collapse
No announcement yet.

Index.php does not contain expected contents

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

  • [Forum] Index.php does not contain expected contents

    The file has the following

    <?php
    /*======================================================================*\
    || #################################################################### ||
    || # vBulletin 4.0.1 - Licence Number xxxxx
    || # ---------------------------------------------------------------- # ||
    || # Copyright ©2000-2010 vBulletin Solutions Inc. All Rights Reserved. ||
    || # 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 # ||
    || #################################################################### ||
    \*======================================================================*/

    /**
    * If you want to move this file to the root of your website, change this
    * line to your vBulletin directory and uncomment it (delete the //).
    *
    * For example, if vBulletin is installed in '/forum' the line should
    * state:
    *
    * define(VB_RELATIVE_PATH, 'forum');
    *
    * Note: You may need to change the cookie path of your vBulletin
    * installation to enable your users to log in at the root of your website.
    * If you move this file to the root of your website then you should ensure
    * the cookie path is set to '/'.
    *
    * See 'Admin Control Panel
    * ->Cookies and HTTP Header Options
    * ->Path to Save Cookies
    */

    define(VB_RELATIVE_PATH, 'forum');


    // Do not edit.
    if (defined('VB_RELATIVE_PATH'))
    {
    chdir('./' . VB_RELATIVE_PATH);
    }


    /**
    * You can choose the default script here. Uncomment the appropriate line
    * to set the default script. Note: Only uncomment one of these, you must
    * add // to comment out the script(s) that you DO NOT want to use as your
    * default script.
    *
    * You can choose the default script even if you do not plan to move this
    * file to the root of your website.
    */

    /**
    * Use the CMS as the default script:
    */

    //require('content.php');


    /**
    * Use the forum as the default script:
    */

    // require('forum.php');


    /*======================================================================*\
    || ####################################################################
    || # Downloaded: 19:32, Sun Feb 7th 2010
    || # CVS: $RCSfile$ - $Revision: 31201 $
    || ####################################################################
    \*======================================================================*/
    Last edited by PI Guy; Tue 9 Feb '10, 3:53pm. Reason: removed license number

  • #2
    You might want to remove your license number from that post.
    Gaming Love - A community site dedicated to Eskil Steenberg's video game, Love.
    Body Hacking - Exploring the future of functional human body modification.

    Comment


    • #3
      done.

      Comment


      • #4
        (I removed your license number.)

        The file looks just fine, however you did modify it from default (which is fine). Since you did, it just shows up as not contained expected contents, that's all. (You commented out some lines and uncommented out others according to the instructions in there.)

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools &lt;- awesome site for html/css help

        Comment


        • #5
          i also have this file with the same issue;

          blank.html

          <html><head><title>bhm</title></head><body>&#160;</body></html>

          Comment


          • #6
            well for some reason, the whole forum is just not there. I can still get into the AdminCP though

            Comment


            • #7
              What do you mean the forum is "just not there"?

              Please don't PM or VM me for support - I only help out in the threads.
              vBulletin Manual & vBulletin 4.0 Code Documentation (API)
              Want help modifying your vbulletin forum? Head on over to vbulletin.org
              If I post CSS and you don't know where it goes, throw it into the additional.css template.

              W3Schools &lt;- awesome site for html/css help

              Comment


              • #8
                i am getting "Not Found

                The requested document was not found on this server.
                Web Server at e-legal-gathering.co.uk

                On this page http://www.e-legal-gathering.co.uk/forum/forum.php

                I can't login into the admincp either

                Comment


                • #9
                  So what happened between post 6 where you could get to the admin cp and post 8 where you could not get to the admin cp? Are you doing something on your server or is this just happening for no explainable reason?

                  Please don't PM or VM me for support - I only help out in the threads.
                  vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                  Want help modifying your vbulletin forum? Head on over to vbulletin.org
                  If I post CSS and you don't know where it goes, throw it into the additional.css template.

                  W3Schools &lt;- awesome site for html/css help

                  Comment


                  • #10
                    Are the pages you are accessing still on the server? If not I suggest changing your ftp password and checking the ftp and access logs to see what might be causing the problem.

                    Comment


                    • #11
                      What happened? I wish I knew. I closed my browser and then I couldn't access the admincp. The files still appear to be on my server. But I can't seem to see them on a browser. I can see they are there through my FTP client.

                      What will happen if I delete the /forum and reinstall all vb files from the start?

                      Comment


                      • #12
                        Ok Update: My forum is back. soooo relieved. the issue of the content pahe being blank still remains.

                        Comment


                        • #13
                          ok when I add this to the config.php

                          define('DISABLE_HOOKS', true);

                          the content appears on http://www.e-legal-gathering.co.uk/forum/ but the blog disappears. very strange. Anyone know what might be going on?

                          Comment


                          • #14
                            Do you have the old blog system installed?
                            Are yo urunning suit or forum only?
                            My Forum

                            In the beginning there was nothing,
                            which exploded .............

                            Comment


                            • #15
                              i am running suite. and installed suite. i used to have the old blog

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...
                              X