Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [php]Problem z themem
Forum PHP.pl > Forum > Przedszkole
lisek311
Witam jest to mój pierwszy post na ty forum od razu zaznaczam ze jestem początkujący więc proszę nie denerwować się tylko po chłopsku mi wytłumaczyć.Zainstalowałem sobie na stronce extreme fusion IV dograłem kilka themow do katalogu themes.Więc postanowiłem zmienić sobie thema zmieniłem i to mi teraz wyskakuje

Warning: require_once(themes/[6.xx]WTF_Soccer(1.0)/theme.php) [function.require-once]: failed to open stream: No such file or directory in /srv/www/vhosts/kacperoliwia.na1.pl/httpdocs/subheader.php on line 20

Fatal error: require_once() [function.require]: Failed opening required 'themes/[6.xx]WTF_Soccer(1.0)/theme.php' (include_path='.:.:/usr/share/php5:/usr/share/php5/PEAR') in /srv/www/vhosts/kacperoliwia.na1.pl/httpdocs/subheader.php on line 20
Them zmienilem od razu po instalacji bez grzebania w ustawieniach.Co jest nie tak proszę o wskazówki.W innych niektórych themach miałem to samo proszę o szybką odpowiedź i pozdrawiam.Nie każdy się urodził Einstinen.
loff
nie zna angielski raczej... tu pisze ze nie mozna otworzyc pliku theme.php bo go nie mozna znaleźć..
lisek311
Masz racje ale skąd go wziąść jak po instalacji thema i ef IV takowego nie ma.Jak ten błąd usunąć i żeby them chodził.

taki plik jest na miejscu tylko chyba cos z nim nie tak oto jego kopia

<?php
// javascript part for Dropdown windows. Works with FireFox, IE, NETSCAPE.
echo "<script LANGUAGE=\"javascript\">
function show_hide(msg_id){
msg_id.style.display=msg_id.style.display=='none' ? '' : 'none'
}
</SCRIPT>";
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright ê 2002 - 2005 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";
require_once INCLUDES."theme_functions_include.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>";
include_once INCLUDES."dynamic_titles.php";
if (!isset($title)) $title = "";
echo "<title>".$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'>
<link rel='stylesheet' href='".INCLUDES."styles.css' type='text/css'>
<script type='text/javascript' src='".INCLUDES."jscript.js'></script>
<script type='text/javascript' src='".INCLUDES."png-hack.js'></script>
<!--[if gte IE 5.5000]>
<script language='javascript'>
window.attachEvent(\"onload\", correctPNG);
</script>
<![endif]-->
<style type='text/css'>
#dhtmltooltip{
position: absolute;
width: 150px;
border: 0px solid black;
padding: 2px;
visibility: hidden;
z-index: 100;
}</style>";

if ($settings['rss'])
{
$rss = dbarray(dbquery("SELECT file_news,title_news from ".$db_prefix."rss_builder"));
$rss_title_news=$rss['title_news'];
$rss_file_news=$rss['file_news'];
if ($rss_file_news!="")
{
echo "<link rel='alternate' type='application/rss+xml' title='".$rss_title_news."' href='".$settings['siteurl'].$rss['file_news']."' />";
}
}
echo"
</head>
<body bgcolor='$body_bg' text='$body_text'>
<div id=\"dhtmltooltip\"></div>
<script type=\"text/javascript\" src='".INCLUDES."dhtmltooltip.js'></script>\n";
render_header("<img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'>");
?>
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.