View Single Post
  #20  
Old 16th March 2010, 19:39
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default
Quote:
Originally Posted by joeroberts View Post
PHP Code:
include_once("include/forum_config.php");
include_once
'themes/'.$theme.'/forums/main.php';
if(!
$user->ulanguage == '' && file_exists('language/forum/'.$user->ulanguage.'.php'))include'language/forum/'.$user->ulanguage.'.php';
elseif (
file_exists('language/forum/'.$language.'.php'))include_once'language/forum/'.$language.'.php';
else
include_once
'language/forum/english.php';
$themedir "" $siteurl "/themes/" $theme "/forums/";
function 
encodehtml($s$linebreaks true)
{
  
$s str_replace(array("<",">","\""), array("&lt;","&gt;","&quot;"), str_replace("&""&amp;"$s));
  if (
$linebreaks)
    
$s nl2br($s);
  return 
$s;
}

OpenTable("label");
latestforumposts();
CloseTable();

PHP Code:

Warning
:  include_once(include/forum_config.php) [function.include-once]: failed to open streamNo such file or directory in /home/daffy/public_html/index2.php on line 69

Warning
:  include_once() [function.include]: Failed opening 'include/forum_config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php'in /home/daffy/public_html/index2.php on line 69

Warning
:  include_once(language/forum/english.php) [function.include-once]: failed to open streamNo such file or directory in /home/daffy/public_html/index2.php on line 74

Warning
:  include_once() [function.include]: Failed opening 'language/forum/english.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php'in /home/daffy/public_html/index2.php on line 74 
shouldnt forum_config be forum_settings as there is no config in include. also language/forum/english dosnt exists
</b>
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?"
"I Kill You!" simples


http://i.imgur.com/DtcRfH5.gif

I also Setup And Modify Trackers PM For Details
Reply With Quote