Homepage problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SeyfiHoca
    Member
    • Jan 2006
    • 41
    • 3.5.x

    [CMS] Homepage problem

    Hi;

    After upgrading to 2.0, I had a problem.

    My home page, www.dilforum.com gives an error.

    Warning: require_once(/home/dilfrmft/content.php) [function.require-once]: failed to open stream:
    No such file or directory in /home/dilfrmft/public_html/index.php on line 4

    Fatal error: require_once() [function.require]: Failed opening required
    '/home/dilfrmft/content.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')
    in /home/dilfrmft/public_html/index.php on line 4

    www.dilforum.com/forum/forum.php is OK.
    www.dilforum.com/forum/content.php is OK.
    www.dilforum.com/forum/activity.php is OK

    but when I click www.dilforum.com , it just doesn't open.

    please help me

  • Matthew Gordon
    Senior Member
    • May 2002
    • 3243
    • 1.1.x

    #2
    Make sure you have uploaded the new index.php file from 4.2.0.

    Comment

    • SeyfiHoca
      Member
      • Jan 2006
      • 41
      • 3.5.x

      #3
      Thanks Matthew; I did what you said but www.dilforum.com still gives error.

      Comment

      • Matthew Gordon
        Senior Member
        • May 2002
        • 3243
        • 1.1.x

        #4
        Ah, are you using the files to put the CMS into your root? Edit the vb_dir.php file in your domain root, change:
        PHP Code:
        $vb_dir realpath(dirname(__FILE__) . '/..'); 
        to this:
        PHP Code:
        $vb_dir realpath(dirname(__FILE__) . '/forum'); 

        Comment

        • SeyfiHoca
          Member
          • Jan 2006
          • 41
          • 3.5.x

          #5
          well I placed all the files in CMS folder into the root.

          This time I received this error:



          Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/dilfrmft/public_html/vb_dir.php:15) in [path]/includes/facebook/facebook.php on line 37

          Comment

          • Matthew Gordon
            Senior Member
            • May 2002
            • 3243
            • 1.1.x

            #6
            Make sure that there isn't any extra whitespace before the <?php or after the ?> in the vb_dir.php file.

            Comment

            • SeyfiHoca
              Member
              • Jan 2006
              • 41
              • 3.5.x

              #7
              Thanks a lot Matthew, it worked

              I really appreciate your help.

              Comment

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