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:
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.
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.
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.