Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Help help help!!!

Parašė 333· 2008 Kov. 22 18:03:46
#1

Sveiki as nesuprantu ka reikia daryt kad virsui man nerodytu sito erroro

Warning: include_once(heasder.php) [function.include-once]: failed to open stream: No such file or directory in /usr/home/www1/ftp/Ronnie/themes/GTASATheme/theme.php on line 21

Warning: include_once() [function.include]: Failed opening 'heasder.php' for inclusion (include_path='.:/usr/local/share/pear') in /usr/home/www1/ftp/Ronnie/themes/GTASATheme/theme.php on line 21


Pagelbekit.

Redagavo 333· 2008 Kov. 22 18:03:13

Parašė samsung123· 2008 Kov. 22 18:03:25
#2

žiūriu anglu k žinių zero :D o šiap parašyta kad klaida atidarant failą heasder.php, ir klaida theme.php 21 eilutėje

Parašė 333· 2008 Kov. 22 18:03:59
#3

Tai as isiverst irgi galiu :) bet nezinau ka daryt cia. Cia reik sukurt heasder.php kazka tokio ???

Parašė ---· 2008 Kov. 22 18:03:19
#4

beisas tavo anglu zinios irgi 0. Ieskot klaidos ne heasder.php 21 eilute o theme.php :] kazkas su include funkcija. paziurek kas ten parasyta toj eilutej ;)

Parašė 333· 2008 Kov. 22 18:03:37
#5

Niekas nesigavo. Gal as parasysiu ta theme php o jus pataisytumet nes labai reikia ?

Va:

<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#333333";
$body_bg = "#333333";
$theme_width = "920";
$theme_width_l = "180";
$theme_width_r = "180";
// Right Panels on in Forum Mode
$theme_panels_exclude = array("/forum/");

function render_header($heasder_content) {

global $theme_width;


echo "<table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr align=center><td>";
include_once "heasder.php";
echo "</td></tr>";
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><a ='".BASEDIR."index.php'><img src='".THEME."images/logo.gif' alt='' title='".$settings[sitename]."' border='0'></td>
</tr>
</table>
</td>
</tr>
</table>\n";


echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";

}

function render_footer($license=false) {

global $theme_width,$locale,$settings;

   echo "</tr>\n</table>\n";
   echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0' background='".THEME."images/footer.gif' >";
   echo "<td width='20%' height='70' class='white' align='left'>";
      if ($license == false) {
      echo "Varikliukas: <a href='http://php-fusion.co.uk' target='_blank'>PHP-Fusion</a>";
echo "<br>Sprendimas: <a href='http://talpink.visiems.eu'>Fanio</a>";
   }
   echo "</td>";
   echo "<td width='40%' class='white' align='center'>";
   echo "<b>".stripslashes($settings['footer'])."</b></td>";
   echo "<td width='26%' class='white' align='right'>";
   
   echo "</td>";
   echo "<div align='center'></tr></table></td></tr></table></div>";
}

function render_news($subject, $news, $info) {

global $locale;
   
   echo "<table border='0' class='border1' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td background='".THEME."images/tlo2.jpg' height='30' class='panel-header'>$subject</td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>$news</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
   echo "<td height='20' align='right' class='news-footer'>";
   echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
   if ($info['news_allow_comments'])
   echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
   echo "".$info['news_reads'].$locale['044']." ";
   echo "<a href='print.php?type=N&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt= '".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

function render_article($subject, $article, $info) {
   
global $locale;
   
   echo "<table border='0' class='border1' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td background='".THEME."images/tlo2.jpg' height='30' class='panel-header'>$subject</td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
   echo "<td height='20' align='right' class='news-footer'>";
   if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
   echo "".$info['article_reads'].$locale['044']." ";
   echo "<a href='print.php?type=A&amp;item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td align='center' background='".THEME."images/tlo2.jpg' height='30' border='1' class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td align='center' height='30' class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
</table>\n";
tablebreak();

}

function opensidex($title,$state="on") {

$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";

}

function closesidex() {

echo "</div>
</td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";

}
?>



Redagavo 333· 2008 Kov. 22 18:03:44

Parašė ---· 2008 Kov. 22 18:03:52
#6

tai tu parasyk ta 21 eilute!:)

Parašė ramon· 2008 Kov. 22 18:03:00
#7

Uzejus themes/GTASATheme/ nera cia tokio failo kaip heasder.php arba jis yra tik vadinasi header.php pataisyk 21 eilutei savo theme.php faile [pakeisk zodi heasder.php i header.php jei toks failas yra,jei nera ikelk.]

Parašė frix· 2008 Kov. 22 19:03:45
#8

<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#333333";
$body_bg = "#333333";
$theme_width = "920";
$theme_width_l = "180";
$theme_width_r = "180";
// Right Panels on in Forum Mode
$theme_panels_exclude = array("/forum/");

function render_header($heasder_content) {

global $theme_width;


echo "<table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr align=center><td>";
include_once "header.php";
echo "</td></tr>";
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><a ='".BASEDIR."index.php'><img src='".THEME."images/logo.gif' alt='' title='".$settings[sitename]."' border='0'></td>
</tr>
</table>
</td>
</tr>
</table>\n";


echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";

}

function render_footer($license=false) {

global $theme_width,$locale,$settings;

   echo "</tr>\n</table>\n";
   echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0' background='".THEME."images/footer.gif' >";
   echo "<td width='20%' height='70' class='white' align='left'>";
      if ($license == false) {
      echo "Varikliukas: <a href='http://php-fusion.co.uk' target='_blank'>PHP-Fusion</a>";
echo "<br>Sprendimas: <a href='http://talpink.visiems.eu'>Fanio</a>";
   }
   echo "</td>";
   echo "<td width='40%' class='white' align='center'>";
   echo "<b>".stripslashes($settings['footer'])."</b></td>";
   echo "<td width='26%' class='white' align='right'>";
   
   echo "</td>";
   echo "<div align='center'></tr></table></td></tr></table></div>";
}

function render_news($subject, $news, $info) {

global $locale;
   
   echo "<table border='0' class='border1' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td background='".THEME."images/tlo2.jpg' height='30' class='panel-header'>$subject</td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>$news</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
   echo "<td height='20' align='right' class='news-footer'>";
   echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
   if ($info['news_allow_comments'])
   echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
   echo "".$info['news_reads'].$locale['044']." ";
   echo "<a href='print.php?type=N&amp;item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt= '".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

function render_article($subject, $article, $info) {
   
global $locale;
   
   echo "<table border='0' class='border1' cellspacing='1' width='100%' cellpadding='3'><tr>";
   echo "<td background='".THEME."images/tlo2.jpg' height='30' class='panel-header'>$subject</td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
   echo "</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>";
   echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
   echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
   echo "<td height='20' align='right' class='news-footer'>";
   if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
   echo "".$info['article_reads'].$locale['044']." ";
   echo "<a href='print.php?type=A&amp;item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
   echo "</td></tr></table></td></tr></table>\n";
}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td align='center' background='".THEME."images/tlo2.jpg' height='30' border='1' class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td align='center' height='30' class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
</table>\n";
tablebreak();

}

function opensidex($title,$state="on") {

$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";

}

function closesidex() {

echo "</div>
</td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";

}
?>





Redagavo frix· 2008 Kov. 22 19:03:18