Tarih: 2007-07-13, 18:19:58 Mesaj konusu: Localhostta çalışan sitede çalışmıyor.Bu nasıl iş!!!
Localhostta çalışan tema sitede çalışmıyor?
Arkadaşlar "emerald" temasını localhostt yükledimlocalhostta sorunsuz çalıştı ama aynı temayı siteye yükledim site açılmadı yani sitede çalışmadı??Ayrıca localhostta kurulu nuke sürümüyle sitedeki nuke sürümüaynı??Yardımlarınızı bekliyorum??
Tarih: 2007-07-13, 19:53:33 Mesaj konusu: Re: Localhostta çalışan sitede çalışmıyor.Bu nasıl iş!!!
aşağıdaki gibi hata veriyor:
Kod:
Warning: main(themes/Emerald/tables.php) [function.main]: failed to open stream: No such file or directory in /home/bilcel/domains/bilcel.com/public_html/themes/emerald/theme.php on line 12
Warning: main(themes/Emerald/tables.php) [function.main]: failed to open stream: No such file or directory in /home/bilcel/domains/bilcel.com/public_html/themes/emerald/theme.php on line 12
Warning: main() [function.include]: Failed opening 'themes/Emerald/tables.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/bilcel/domains/bilcel.com/public_html/themes/emerald/theme.php on line 12
Warning: file() [function.file]: Unable to access themes/Emerald/header.html in /home/bilcel/domains/bilcel.com/public_html/themes/emerald/theme.php on line 120
Warning: file(themes/Emerald/header.html) [function.file]: failed to open stream: No such file or directory in /home/bilcel/domains/bilcel.com/public_html/themes/emerald/theme.php on line 120
Warning: implode() [function.implode]: Bad arguments. in /home/bilcel/domains/bilcel.com/public_html/themes/emerald/theme.php on line 120
Warning: file() [function.file]: Unable to access themes/Emerald/leftblocks.html in /home/bilcel/domains/bilcel.com/public_html/themes/emerald/theme.php on line 277
Warning: file(themes/Emerald/leftblocks.html) [function.file]: failed to open stream: No such file or directory in /home/bilcel/domains/bilcel.com/public_html/themes/emerald/theme.php on line 277
Warning: implode() [function.implode]: Bad arguments. in /home/bilcel/domains/bilcel.com/public_html/themes/emerald/theme.php on line 277
Warning: file() [function.file]: Unable to access themes/Emerald/leftblocks.html in /home/bilcel/domains/bilcel.com/public_html/themes/emerald/theme.php on line 277
Fatal error: Call to undefined function: opentable() in /home/bilcel/domains/bilcel.com/public_html/admin.php on line 227
/************************************************************/
/* Function themeheader() */
/* */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks */
/* function for left side with: blocks(left); */
/************************************************************/
function themeheader() {
global $admin, $user, $banners, $sitename, $slogan, $c o o k i e, $prefix, $db, $nukeurl, $anonymous, $name, $index, $blockside;
if ($index == 1) {
$topblock = "<td width=\"194\" height=\"12\"><img src=\"themes/Emerald/images/right_block_top.jpg\"></td>";
} else {
$topblock = "<td width=\"194\" height=\"12\" background=\"themes/Emerald/images/middle_block_top.jpg\"></td>";
}
if ($banners == 1) {
$numrows = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_banner WHERE type='0' AND active='1'"));
/* Get a random banner if exist any. */
/* More efficient random stuff, thanks to Cristian Arroyo from http://www.planetalinux.com.ar */
$tmpl_file = "themes/Emerald/left_center.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
}
/************************************************************/
/* Function themefooter() */
/* */
/* Control the footer for your site. You don't need to */
/* close BODY and HTML tags at the end. In some part call */
/* the function for right blocks with: blocks(right); */
/* Also, $index variable need to be global and is used to */
/* determine if the page your're viewing is the Homepage or */
/* and internal one. */
/************************************************************/
function themefooter() {
global $index, $foot1, $foot2, $foot3, $foot4, $copyright, $totaltime, $footer_message, $blockside;
if ($index == 1) {
$tmpl_file = "themes/Emerald/center_right.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
$blockside="r";
blocks(right);
}
$tmpl_file = "themes/Emerald/footer.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
/************************************************************/
/* Function themeindex() */
/* */
/* This function format the stories on the Homepage */
/************************************************************/
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath;
/************************************************************/
/* Function themearticle() */
/* */
/* This function format the stories on the story page, when */
/* you click on that "Read More..." link in the home */
/************************************************************/
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
}
/************************************************************/
/* Function themesidebox() */
/* */
/* Control look of your blocks. Just simple. */
/************************************************************/
function themesidebox($title, $content) {
global $blockside;
if (@file_exists($content)) {
$fp = fopen ($content, "r");
$content = fread($fp, filesize($content));
fclose ($fp);
$content = "?>$content<?";
$content = e v a l($content);
} else if (eregi("^http", $content)) {
$fp = fopen ($content, "r");
$content = fread($fp, 65535);
fclose ($fp);
}
if ($blockside=="l") {
$tmpl_file = "themes/Emerald/leftblocks.html";
} else {
$tmpl_file = "themes/Emerald/rightblocks.html";
}
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
e v a l($thefile);
print $r_file;
}
Bu forumda yeni başlıklar açamazsınız Bu forumdaki başlıklara cevap veremezsiniz Bu forumdaki mesajlarınızı değiştiremezsiniz Bu forumdaki mesajlarınızı silemezsiniz Bu forumdaki anketlerde oy kullanamazsınız