Multiple Errors On My Board...

Discussion in 'PHP' started by SBD, Dec 20, 2007.

  1. #1
    Well, i have been trying to fix my board for about 2 days now, but, i cant get any where.... Right now i have this error.

    Warning: main(/homepages/3/d197998360/htdocs/ipb/sources/components_public/.php) [function.main]: failed to open stream: No such file or directory in /homepages/3/d197998360/htdocs/ipb/index.php on line 539
    PHP:
    My portal works fine, but when i try to go in to the fourms, i get the error.

    Heres a copy of the part of the "Index.php" file i think is messed up...

    //===========================================================================
    // REQUIRE AND RUN
    //===========================================================================                
    
    if ( $ipsclass->input['act'] == 'home' AND $ipsclass->vars['csite_on'] )
    {
    	require ROOT_PATH."sources/action_public/portal.php";
    	$csite           =  new portal();
    	$csite->ipsclass =& $ipsclass;
    	$csite->auto_run();
    }
    else if ( $ipsclass->input['act'] == 'module' AND USE_MODULES )
    {
    	require ROOT_PATH."modules/module_loader.php";
    	$loader           =  new module_loader();
    	$loader->ipsclass =& $ipsclass;
    	$loader->run_loader();
    }
    else if ( $ipsclass->input['act'] == 'component' );
    {
    	$file = ROOT_PATH.'sources/components_public/'. $ipsclass->txt_alphanumerical_clean( $ipsclass->input['module'] ).'.php';
    	
    	if ( file_exists( $file ) );
    	{
    		require_once( $file );
    		$loader           =  new component_public();
    		$loader->ipsclass =& $ipsclass;
    		$loader->run_component();
    	}
    	{
    		@header( "Location: ".$ipsclass->base_url );
    	}
    }	 
    //===========================================================================
    // REQUIRE AND RUN
    //===========================================================================   	$_pre_load = $ipsclass->memory_debug_make_flag()
    	require( ROOT_PATH."sources/action_public/".$choice[ strtolower($ipsclass->input['act']) ][0].".php" );
    	$runme = new $choice[ strtolower($ipsclass->input['act']) ][1];
    	$runme->ipsclass =& $ipsclass;
    	$ipsclass->memory_debug_add( "CORE: Loaded ".$choice[ strtolower($ipsclass->input['act']) ][0].".php", $_pre_load );
    	$runme->auto_run();
    
    
    
    
    
    ?>
    PHP:
     
    SBD, Dec 20, 2007 IP
  2. tushardhoot1

    tushardhoot1 Active Member

    Messages:
    3,013
    Likes Received:
    96
    Best Answers:
    0
    Trophy Points:
    90
    #2
    Can you:

    A) Post the whole index.php file

    B) If privacy is a concern, then just label the line number for the first line in your excerpt.
     
    tushardhoot1, Dec 20, 2007 IP
  3. SBD

    SBD Guest

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    post removed by SBD
     
    SBD, Dec 20, 2007 IP
  4. SBD

    SBD Guest

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    post removed, by sbd
     
    SBD, Dec 20, 2007 IP
  5. InFloW

    InFloW Peon

    Messages:
    1,488
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You should contact Invision Power Services about this assuming you of course own a license.

    Oh and I think posting the source of their files may get you banned here.
     
    InFloW, Dec 20, 2007 IP
  6. tushardhoot1

    tushardhoot1 Active Member

    Messages:
    3,013
    Likes Received:
    96
    Best Answers:
    0
    Trophy Points:
    90
    #6
    Oh shoot. Its invision.

    Yea, not allowed to post those. No problem, just edit and remove. They should be able to fix your problem since you are a paying customer.
     
    tushardhoot1, Dec 20, 2007 IP