close× Call Us +49 (1805) 01 29 59

Datalus
Thread Author: Fahne
Thread ID: 1991
Thread Info
Es gibt 7 Beiträge zu diesem Thema, und es wurde 2201 mal angesehen.
Wer ist hier? 1 Gäste
 Thema drucken
Problem :-D Parse Error
Fahne
hallo undzwar krieg ich das irgendwie nicht hin diesen fehler wegzunbekommen


/htdocs/themes/templates/panels.php(123) : eval()'d code on line 1


vllt. weiss ja jemand rat


danke schonmal im vorraus...
 
SC-Ad-Bot
 
emblinux
Da scheint irgendein PHP-Panelcode nicht zu stimmen. Überprüfe bitte einfach mal deine PHP-Panels
Das Lernen ist wie ein Meer ohne Ufer. Konfuzius

Alles wird Gut!

KEIN Support per Mail, ICQ oder PN !
www.heiseclan.de/fusion/sig.gif

www.heiseclan.de/geosig.gif
 
Fahne
wir hatten zuletzt einen server umzug.....und ich habe auch 1 oder zwei panels entfern die habe ich erst deaktiviert und dann auch wieder gelöscht


ich entdecke auch gerade noch einen fehler

Warning: mysql_close(): no MySQL-Link resource supplied in ......./htdocs/themes/templates/footer.php on line 41

ich bin der meinung es muss irgendwo in der news.php liegen....denn wenn ich auf Home klicke bzw. news.php erscheint nur dort der fehler sonst nirgendwo...
Bearbeitet von Fahne am 22.11.2009 00000011 18:58
 
Fahne
*push*
 
Hasi98
könnte auch an der index.php liegen.
poste mal die themes/templates/footer.php (als code)
Mfg
Hasi
--------------------------------------------------

Swiftgaming - LianTu2 (MMORP Game Metin2 P-Server) Forum
 
Fahne

<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: panels.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }

// Calculate current true url
$script_url = explode("/", $_SERVER['PHP_SELF'].(FUSION_QUERY ? "?".FUSION_QUERY : ""));
$url_count = count($script_url);
$base_url_count = substr_count(BASEDIR, "/") + 1;
$start_page = "";
while ($base_url_count != 0) {
   $current = $url_count - $base_url_count;
   $start_page .= "/".$script_url[$current];
   $base_url_count--;
}

define("START_PAGE", substr(preg_replace("#(&amp;|\?)(s_action=edit&amp;shout_id=)([0-9]+)#s", "", $start_page), 1));

// Side & center panels
ob_start();
$plc = 0;

// Render left panels
if(!defined("ADMIN_PANEL")){
   if (check_panel_status("left")) {
      $p_res = dbquery("SELECT * FROM ".DB_PANELS." WHERE panel_side='1' AND panel_status='1' ORDER BY panel_order");
      if (dbrows($p_res)) {
         while ($p_data = dbarray($p_res)) {
            if (checkgroup($p_data['panel_access'])) {
               if ($p_data['panel_type'] == "file") {
                  $panel_name = $p_data['panel_filename'];
                  include INFUSIONS.$panel_name."/".$panel_name.".php";
               } else {
               #   eval(stripslashes($p_data['panel_content']));
               }
               $plc++;
            }
         }
      }
   }
}else{
   require_once ADMIN."navigation.php";
}

define("LEFT", ob_get_contents());
ob_end_clean();

// Render right panels
$prc = 0;
ob_start();
if(!defined("ADMIN_PANEL")){
   if (check_panel_status("right")) {
      $p_res = dbquery("SELECT * FROM ".DB_PANELS." WHERE panel_side='4' AND panel_status='1' ORDER BY panel_order");
      if (dbrows($p_res)) {
         while ($p_data = dbarray($p_res)) {
            if (checkgroup($p_data['panel_access'])) {
               if ($p_data['panel_type'] == "file") {
                  $panel_name = $p_data['panel_filename'];
                  include INFUSIONS.$panel_name."/".$panel_name.".php";
               } else {
                  eval(stripslashes($p_data['panel_content']));
               }
               $prc++;
            }
         }
      }
   }
}
define("RIGHT", ob_get_contents());
ob_end_clean();

// Set the require div-width class
if(defined("ADMIN_PANEL")){
   $main_style = "side-left";
}elseif ($plc && $prc) {
   $main_style = "side-both";
} elseif ($plc && !$prc) {
   $main_style = "side-left";
} elseif (!$plc && $prc) {
   $main_style = "side-right";
} elseif (!$plc && !$prc) {
   $main_style = "";
}

// Render upper center panels   
ob_start();

if(!defined("ADMIN_PANEL")){
   echo "<a id='content' name='content'></a>\n";
   if (iADMIN && $settings['maintenance']) {
      echo "<div class='admin-message'>".$locale['global_190']."</div>";
   }
   if (iSUPERADMIN && file_exists(BASEDIR."setup.php")) {
      echo "<div class='admin-message'>".$locale['global_198']."</div>";
   }
   if (iADMIN && !$userdata['user_admin_password']) {
      echo "<div class='admin-message'>".$locale['global_199']."</div>";
   }
   if (check_panel_status("upper")) {
      $p_res = dbquery("SELECT * FROM ".DB_PANELS." WHERE panel_side='2' AND panel_status='1' ORDER BY panel_order");
      if (dbrows($p_res)) {
         while ($p_data = dbarray($p_res)) {
            if (checkgroup($p_data['panel_access'])) {
               if ($p_data['panel_display'] == 1 || $settings['opening_page'] == START_PAGE) {
                  if ($p_data['panel_type'] == "file") {
                     $panel_name = $p_data['panel_filename'];
                     include INFUSIONS.$panel_name."/".$panel_name.".php";
                  } else {
                     eval(stripslashes($p_data['panel_content']));
                  }
               }
            }
         }
      }
   }
}
define("U_CENTER", ob_get_contents());
ob_end_clean();

// Render lower center panels
ob_start();

if(!defined("ADMIN_PANEL")){
   if (check_panel_status("lower")) {
      $p_res = dbquery("SELECT * FROM ".DB_PANELS." WHERE panel_side='3' AND panel_status='1' ORDER BY panel_order");
      if (dbrows($p_res) != 0) {
         while ($p_data = dbarray($p_res)) {
            if (checkgroup($p_data['panel_access'])) {
               if ($p_data['panel_display'] == 1 || $settings['opening_page'] == START_PAGE) {
                  if ($p_data['panel_type'] == "file") {
                     $panel_name = $p_data['panel_filename'];
                     include INFUSIONS.$panel_name."/".$panel_name.".php";
                  } else {
                     eval(stripslashes($p_data['panel_content']));
                  }
               }
            }
         }
      }
   }
}
define("L_CENTER", ob_get_contents());
ob_end_clean();
?>
 
Fahne
und hier die footer php



<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: footer.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
require_once INCLUDES."footer_includes.php";

define("CONTENT", ob_get_contents());
ob_end_clean();
render_page(false);

echo "</body>\n</html>\n";

if (iADMIN) {
   $result = dbquery("DELETE FROM ".DB_FLOOD_CONTROL." WHERE flood_timestamp < '".(time()-360)."'");
   $result = dbquery("DELETE FROM ".DB_THREAD_NOTIFY." WHERE notify_datestamp < '".(time()-1209600)."'");
   $result = dbquery("DELETE FROM ".DB_CAPTCHA." WHERE captcha_datestamp < '".(time()-360)."'");
   $result = dbquery("DELETE FROM ".DB_NEW_USERS." WHERE user_datestamp < '".(time()-86400)."'");
}

$output = ob_get_contents();
ob_end_clean();
echo handle_output($output);

if(ob_get_length () !== FALSE){
   ob_end_flush();
}
mysql_close();
?>
 
Springe ins Forum:

 Ähnliche Themen 

TEST
Thema Forum Antworten Letzter Beitrag
Fusion Board Spalten Problem Infusionen 4 05.11.2019 00000011 07:48
Fatal error: Call to undefined function dbconnection() in PHP & MySql 2 14.01.2018 00000001 20:02
V-Bank Problem Infusionen 28 30.08.2016 00000008 17:21
pds_status_panel problem Infusionen 1 09.07.2016 00000007 19:08
Shoutbox problem Infusionen 1 22.06.2016 00000006 21:16
Gr@n@dE