Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [php]Problem z themem, Zmieniam na them i wyskakuje bląd strony
lisek311
post
Post #1





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 31.12.2007

Ostrzeżenie: (0%)
-----


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.
Powód edycji: dodalem tag (cysiaczek)
Go to the top of the page
+Quote Post
loff
post
Post #2





Grupa: Zarejestrowani
Postów: 39
Pomógł: 15
Dołączył: 21.03.2007
Skąd: Poznań

Ostrzeżenie: (0%)
-----


nie zna angielski raczej... tu pisze ze nie mozna otworzyc pliku theme.php bo go nie mozna znaleźć..
Go to the top of the page
+Quote Post
lisek311
post
Post #3





Grupa: Zarejestrowani
Postów: 2
Pomógł: 0
Dołączył: 31.12.2007

Ostrzeżenie: (0%)
-----


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']."'>");
?>
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 06:27