Podczas instalowania themow, przez przypadek skopiowałem na serwer folder nadrzędny w stosunku do folderu w którym są kat.: forum, images oraz pliki:styles.css, theme.php
W panelu adm. fusiona wybrałem tego thema .. no i niestety mam błąd przy próbie odpalenia strony :
Fatal error: require_once() [function.require]: Failed opening required 'themes/bluenlight/theme.php' (include_path='.:/:/usr/php/pear') in /subheader.php on line 18
To jest mój plik subheader.php
<script language="JavaScript">
document.cookie = "szerokosc="+screen.width;
document.cookie = "wysokosc="+screen.height;
</script>
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: index.php"); exit; }
require_once THEME."theme.php";
if ($settings['maintenance'] == "1" && !iADMIN) fallback(BASEDIR."maintenance.php");
if (iMEMBER) $result = dbquery("UPDATE ".$db_prefix."users SET user_lastvisit='".time()."', user_ip='".USER_IP."' WHERE user_id='".$userdata['user_id']."'");
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
<html>
<head>
<title>".$settings['sitename']."</title>
<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."'>
<meta name='description' content='".$settings['description']."'>
<meta name='keywords' content='".$settings['keywords']."'>
<link rel='stylesheet' href='".THEME."styles.css' type='text/css'>
<script type='text/javascript' src='".INCLUDES."jscript.js'></script>
</head>
<body bgcolor='$body_bg' text='$body_text'>\n";
if(($szerokosc == 1280) && ($wysokosc == 1024)) {
render_header("<img src='".IMAGES."logo1280.jpg' alt='".$settings['sitename']."'>");
} else {
render_header("<img src='".IMAGES."logo.jpg' alt='".$settings['sitename']."'>");
}
?>
Proszę o pomoc w rozwiązaniu tematu, ponieważ nie wiem jak powinien wyglądać prawidłowy plik subheader.php |