Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Padekite istaisiti klaida!

Parašė Tomux· 2011 Vas. 19 23:02:55
#1

Pas mane atsirado klaida ir nezinau kodel,gal galite padeti istaisiti ja?


Parse error: syntax error, unexpected '<' in /home/talpikla/domains/talpikla/public_html/side_left.php(45) : eval()'d code on line 2

Parašė Deiviux· 2011 Vas. 20 00:02:39
#2

Nu tai atsidaryk pagrindinėje direktorijoje side_left.php failą, antrą liniją, ir ieškok, kur bereikalingai parašytas ženklas '<' . Arba bentjau čia numesk antrą eilutę...

Parašė Tomux· 2011 Vas. 21 01:02:55
#3

Stai visas side_lrgy.php failas,meginau bet neiseina man istaisyti nelabai suprantu ;/


<?php
/*----------------------------------------------------+
| <span style="border-bottom: 1px dotted black;">PHP</span>-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| <a href='http://www.php-fusion.co.uk/' target='_blank'><span style='color:005C5B'>http://www.php-fusion.co.uk/</span></a>
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit <a href='http://gnu.org' target='_blank'><span style='color:005C5B'>http://gnu.org</span></a>
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: index.php"); exit; }
 
// Display left side panels
$p_res = dbquery("SELECT * FROM ".$db_prefix."panels WHERE panel_side='1' AND panel_status='1' ORDER BY panel_order");
if (dbrows($p_res) != 0) {
	$pc = 0;
	while ($p_data = dbarray($p_res)) {
		if (checkgroup($p_data['panel_access'])) {
			if ($pc == 0) echo "<td width='$theme_width_l' valign='top' class='side-border-left'>\n";
			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']));
			}
			$pc++;
		}
	}
	if ($pc > 0) echo "</td>\n";
}
 
echo "<td valign='top' class='main-bg'>\n";
if (file_exists(BASEDIR."setup.php")) echo "<center>".$locale['198']."</center><br>";
 
$p_res = dbquery("SELECT * FROM ".$db_prefix."panels WHERE panel_side='2' 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 || eregi($settings['opening_page']."$", FUSION_REQUEST.(FUSION_QUERY ? "?".FUSION_QUERY : ""))) {
				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']));
				}
				tablebreak();
			}
		}
	}
}
?>