Jump to content

Recommended Posts

Posted

I'm not sure if you guys will be able to help, but I get this error no matter where I try to go at my site (with the exception of the CPanel):

 

Warning: main(language/lang-.php): failed to open stream: No such file or directory in /home/shorter/public_html/mainfile.php on line 197

 

Warning: main(): Failed opening 'language/lang-.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/lib/php') in /home/shorter/public_html/mainfile.php on line 197

 

Warning: head(themes//theme.php): failed to open stream: No such file or directory in /home/shorter/public_html/header.php on line 34

 

Warning: head(): Failed opening 'themes//theme.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/lib/php') in /home/shorter/public_html/header.php on line 34

 

Fatal error: Call to undefined function: themeheader() in /home/shorter/public_html/header.php on line 50

 

Thanks for any suggestions.

 

 

Sincerely,

ShawTheatre

Posted

copy the following code into a file and save it as fixtheme.php:

><?php 

##################################################### 
##################################################### 

require("config.php"); 

$host = $dbhost; 
$database = $dbname; 
$username = $dbuname; 
$password = $dbpass; 
$def_theme = "NukeNews"; 
mysql_connect($host, $username, $password); 
@mysql_select_db($database); 

####################### BEGIN THE INSTALL ####################################### 

mysql_query("update ".$prefix."_config set Default_Theme='$def_theme'"); 

?>

 

 

If you don't have the NukeNews theme uploaded in your site then change the value for $def_theme = "Insert_Theme_Name_Here"; so that it reflects one of your working themes, save it, upload it, then point your browser to http://yoursite.com/fixtheme.php

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...