Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331096 - open a phpfile with eclipse pdt (main.php) unable to open the file
Summary: open a phpfile with eclipse pdt (main.php) unable to open the file
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact: Ilina Stefanova CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-25 04:32 EST by Stefan CLA
Modified: 2020-05-14 11:39 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan CLA 2010-11-25 04:32:42 EST
What steps will reproduce the problem?
1. I have a Main.php and if i want to open it the editor becomes a Error. But its only on this file. 

Here the Code which is in it.
Its a Normal PHP-File with UTF-8 encoding.
Every other Files are working well. 

<?php
    require_once("./system/modules/general/config/cfg.general.php");
    require_once($_config["general"]["pfad"]."/system/system.php");
    require_once($_config["general"]["pfad"].'/system/class/class.tabs.php');
    require_once($_config["general"]["pfad"].'/system/class/class.listentabs.php');
	
    // Seitentitel
    $seitentitel = '';
    if(!empty($_SESSION["tmp"]["crumbtxt"])) {
        $rev_crumb = array_reverse($_SESSION["tmp"]["crumbtxt"]);
        foreach($rev_crumb as $val) {
            $seitentitel .= $val.' > ';
        }
	$seitentitel = substr($seitentitel,0,(strlen($seitentitel) - 3));
    } else $seitentitel = 'Home';

    if(0 === $_config["layout"]["menu"]["inaktiv"]["position"]) {
		// Anzahl der Kataloge ermitteln (fuer CSS)
		$sql = "SELECT DISTINCT wak.wak_katalog FROM wsk,wak WHERE wsk.wsk_status = 2 AND wsk.wsk_typ < 2 AND wsk.wsk_katalog = wak.wak_katalog ";
		if($_SESSION["userdata"]["loggedin"] == 0){
			if($_config["navigation"]["shop_loggedout_cat"]==false){
				// Kataloge, die eingeloggt angezeigt werden duerfen
				$sql .= "AND wsk.wsk_kzwebkat != 1";
			}
		}
		$dontshowcat = getAdminKat();
		if($dontshowcat != '') {
		    $dontshowcat = substr($dontshowcat,0,strlen($dontshowcat)-1);
		    $sql .= " AND wsk.wsk_katalog NOT IN (".$dontshowcat.")";
		}
		
		$result_cnt = mysql_query($sql);
		$kat_cnt = mysql_num_rows($result_cnt);
		$zierleisten_hoehe = 0;
		$kat_hoehe = ($kat_cnt * $_config["layout"]["menu"]["inaktiv"]["hoehe"])+$zierleisten_hoehe;
		// Ende Anzahl der Kataloge
    } else {
    	$zierleisten_hoehe = 0;
    	$kat_hoehe = 0;
    }
    
?>
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
	<title><?php echo $seitentitel?></title>
<?php
    // Metatags
    if(!empty($_SESSION["tmp"]["docs"][5]["datei"])) {
        include ($_SESSION["tmp"]["docs"][5]["datei"]);
    } else { ?>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="Content-Language" content="de" />
    <meta name="Author" content="H+S Software-Systeme GmbH" />
    <meta name="page-type" content="Web-Shop, Information" />
    <meta name="audience" content="Alle" />
    <meta name="revisit-after" content="10 days" />
    <meta name="ROBOTS" content="INDEX,FOLLOW" />
        <?php    
    }
 ?>
    <link rel="stylesheet" type="text/css" href="./css/general.css" />
    <link rel="stylesheet" type="text/css" href="./css/fuss.css" />
    <link rel="stylesheet" type="text/css" href="./css/inhalt.css" />
    <link rel="stylesheet" type="text/css" href="./css/kopf.css" />
    <link rel="stylesheet" type="text/css" href="./css/menu.css" />
    <link rel="stylesheet" type="text/css" href="./css/user_style.css" />
    <link rel="stylesheet" type="text/css" href="./css/formular.css" />
    <link rel="stylesheet" type="text/css" href="./css/ddsmoothmenu.css" />
   
    <style type="text/css">
	<?php 
    if($_config["layout"]["shop_breite"] > 0) {
    ?>
        div#container {
            position: absolute;
            width: <?php echo $_config["layout"]["shop_breite"]; ?>px;
            <?php 
            if($_config["layout"]["zentriert"]) {
            ?>
            left: 50%;
            margin-left: -<?php echo ceil($_config["layout"]["shop_breite"] / 2); ?>px;
            <?php 
            }
            ?>
            height:100%;
        }
        
        div#kopf_hg {
            position: absolute;
            margin: 0px;
            top: 0px;
            left: 0px;
            display: block;
            width: 100%;
            height: <?php echo $_config["layout"]["header"]["hoehe"]; ?>px;
            z-index: -1;
            /*background: url(./grafik/layout/kopf/kopf_hg.png) repeat-x 0px 0px; */
        }
        
        div#fuss_hg {
            position: absolute;
            margin: 0px;
            bottom: 0px;
            left: 0px;
            display: block;
            width: 100%;
            height: <?php echo $_config["layout"]["fuss"]["hoehe"]; ?>px;
            z-index: -1;
            overflow: hidden;
            background: url(./grafik/layout/fuss/leiste_unten_mitte.png) repeat-x 0px 0px; 
        }
        <?php 
    }
    // Kopf- und Fusshoehe, Navbaum breite
    ?>
        #inhalt {
            top: <?php echo ($_config["layout"]["header"]["hoehe"] + $_config["layout"]["crumbnav"]["hoehe"]); ?>px;
            bottom: <?php echo $_config["layout"]["fuss"]["hoehe"]; ?>px;
            left: <?php echo ($_config["layout"]["menu"]["breite"] + $_config["layout"]["abstand"]["lr"] + $_config["layout"]["abstand"]["menu-inhalt"])?>px;
        }
        * html #inhalt {
            border-top:<?php echo ($_config["layout"]["header"]["hoehe"] + $_config["layout"]["crumbnav"]["hoehe"]); ?>px solid #F7F7F7; 
            border-bottom:<?php echo $_config["layout"]["fuss"]["hoehe"]; ?>px solid #F7F7F7; 
            border-left:<?php echo ($_config["layout"]["menu"]["breite"] + $_config["layout"]["abstand"]["lr"] + $_config["layout"]["abstand"]["menu-inhalt"] + 1)?>px solid #F7F7F7;
        }
        #startseite_inhalt {
            top: <?php echo ($_config["layout"]["header"]["hoehe"]); ?>px;
            bottom: <?php echo $_config["layout"]["fuss"]["hoehe"]; ?>px;
            left: 0px;
        }
        * html #startseite_inhalt {
            border-top:<?php echo ($_config["layout"]["header"]["hoehe"]); ?>px solid #F7F7F7; 
            border-bottom:<?php echo $_config["layout"]["fuss"]["hoehe"]; ?>px solid #F7F7F7; 
        }
        #fuss {
            height: <?php echo $_config["layout"]["fuss"]["hoehe"]; ?>px;
            /*line-height: <?php echo $_config["layout"]["fuss"]["hoehe"]; ?>px;*/
        }
        #kopf {
            height: <?php echo $_config["layout"]["header"]["hoehe"]; ?>px;
        }
        #kopf .gesamt { height:<?php echo $_config["layout"]["header"]["hoehe"]; ?>px; }
        #menu_aktiv_box {
            left: <?php echo $_config["layout"]["abstand"]["lr"]; ?>px;
            top: <?php echo $_config["layout"]["header"]["hoehe"]; ?>px;
            width: <?php echo $_config["layout"]["menu"]["breite"]; ?>px;
            height: <?php echo $_config["layout"]["menu"]["aktiv"]["hoehe"]; ?>px;
        }
        * html #menu_aktiv_box {
            height: <?php echo ($_config["layout"]["header"]["hoehe"] + $_config["layout"]["menu"]["aktiv"]["hoehe"]); ?>px;
            border-top:<?php echo $_config["layout"]["header"]["hoehe"]; ?>px solid #F7F7F7;
        }
        #menu_inaktiv {
            width:<?php echo $_config["layout"]["menu"]["breite"]; ?>px;
        }
        .menu_inaktiv_ul {
            line-height: <?php echo $_config["layout"]["menu"]["inaktiv"]["hoehe"]; ?>px;
        }
        a.inaktiv,a.inaktiv:link,a.inaktiv:visited,a.inaktiv:active,a.inaktiv:focus,a.aktiv,a.aktiv:link,a.aktiv:visited,a.aktiv:active,a.aktiv:focus {
            width:<?php echo $_config["layout"]["menu"]["breite"]; ?>px;
        }
        .menu_inhalt {
            width: <?php echo $_config["layout"]["menu"]["breite"]; ?>px;
        }
        #crumbnav_leiste {
            left:<?php echo ($_config["layout"]["menu"]["breite"] + $_config["layout"]["abstand"]["lr"] + $_config["layout"]["abstand"]["menu-inhalt"]); ?>px;
            top:<?php echo $_config["layout"]["header"]["hoehe"]; ?>px;
            /*line-height:<?php echo $_config["layout"]["crumbnav"]["hoehe"]; ?>px;*/
            height:<?php echo $_config["layout"]["crumbnav"]["hoehe"]; ?>px;
        }
        #menu_inhalt_box {
            left:<?php echo $_config["layout"]["abstand"]["lr"]; ?>px;
            top: <?php echo ($_config["layout"]["header"]["hoehe"] + $_config["layout"]["menu"]["aktiv"]["hoehe"]); ?>px;
            width: <?php echo ($_config["layout"]["menu"]["breite"] - 2); ?>px;
            bottom: <?php echo ($kat_hoehe + $_config["layout"]["fuss"]["hoehe"] + $_config["layout"]["menu"]["inaktiv"]["abstand_unten"]);?>px;
        }
        * html #menu_inhalt_box {
            width: <?php echo $_config["layout"]["menu"]["breite"]; ?>px;
            border-top:<?php echo ($_config["layout"]["header"]["hoehe"] + $_config["layout"]["menu"]["aktiv"]["hoehe"]); ?>px solid #F7F7F7;
            border-bottom:<?php echo ($kat_hoehe + $_config["layout"]["fuss"]["hoehe"] + $_config["layout"]["menu"]["inaktiv"]["abstand_unten"]);?>px solid #fff;
        }
        #menu_inaktiv_box {
            left: <?php echo $_config["layout"]["abstand"]["lr"]; ?>px;
            bottom: <?php echo ($_config["layout"]["fuss"]["hoehe"] + $_config["layout"]["menu"]["inaktiv"]["abstand_unten"]); ?>px;
            width: <?php echo $_config["layout"]["menu"]["breite"]; ?>px;
            border-top:<?php if(0 === $_config["layout"]["menu"]["inaktiv"]["position"]) echo '1px solid #BFBFBF'; else echo 'none'?>;
        }
        * html #menu_inaktiv_box {
            border-bottom:<?php echo ($_config["layout"]["fuss"]["hoehe"] + $_config["layout"]["menu"]["inaktiv"]["abstand_unten"]); ?>px solid #F7F7F7;
            height: <?php echo ($kat_hoehe + $_config["layout"]["fuss"]["hoehe"] + $_config["layout"]["menu"]["inaktiv"]["abstand_unten"] + 1);?>px;
        }
        #news_spalte {
		    width:<?php echo ($_config["layout"]["news_fenster_breite"]+10); ?>px;
		}
		#news_fenster_box {
			width:<?php echo $_config["layout"]["news_fenster_breite"]; ?>px;
		}
        
    </style>
   	<script src="./js/scripts.js" type="text/javascript"></script>
   	<?php 
   	if($_config["layout"]["tabs"]["jsmenu"]["aktiv"]) { ?>
	   	<script src="./js/jquery-1.4.2.min.js" type="text/javascript"></script>
	   	<script src="./js/ddsmoothmenu.js" type="text/javascript">

	   	/***********************************************
	   	* Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
	   	* This notice MUST stay intact for legal use
	   	* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
	   	***********************************************/
	   	   	
	   	</script>
	   	<script type="text/javascript">
	   	ddsmoothmenu.init({
	   		mainmenuid: "smoothmenu1", //menu DIV id
	   		orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
	   		classname: 'ddsmoothmenu', //class added to menu's outer DIV
	   		//customtheme: ["#1c5a80", "#18374a"],
	   		customtheme: ["#414141", "#C21800"],
	   		contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
	   	})
		</script>
   		<?php 
   	} ?>
</head>
<body>
<div id="opacity_ebene"></div>

<div id="inhalt_ebene">
	<div class="schliessleiste"><div id="schliessleiste_titel"></div><a href="#" id="close_img" onclick="schliessen(); return false;">&nbsp;</a></div>
	<div class="ebene_hg"><iframe name="ebene_fenster" style="border-bottom:2px solid #B9CDE6;" width="100%" height="93%" frameborder="0"></iframe></div>
</div>

<iframe name="scrstat" style="display:none;"></iframe>
<?php 
if($_config["layout"]["index_breite"] > 0) {
    echo '<div id="kopf_hg"></div>';
    echo '<div id="fuss_hg"></div>';
    echo '<div id="container">';
} 
// Navigation
$treenav = createTreeNavigation(); 

// Fuss an dieser Stelle wegen createNavKatLeiste() (liefert wichtige nav-Variable) 
?>
<div id="fuss">
	<table border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr><td colspan="2" class="abstand_fuss"></td></tr>
    <tr>
		<td class="fusszeile"><?php echo get_text('FUSSZEILE')?></td>
		<td>
			<div style="float:right; margin-right:10px; font-size:9px; color:#888888;">Shopsystem 'tradeObjects' &copy; <a href="http://www.hs-software-systeme.de" target="_blank" style="color:#888888; font-size:9px;" title="H+S Software-Systeme GmbH">H+S Software-Systeme GmbH</a> 2006 - <?php echo date('Y'); ?>.</div>
		</td>
	</tr>
	</table>
</div>
<?php 

if(0 === $_config["layout"]["menu"]["inaktiv"]["position"]) { 
?>   		
<div id="kopf">
	<table border="0" cellspacing="0" cellpadding="0" class="gesamt">
		<tr>
			<td id="kopf_logo">
				<!-- 
			    <img border="0" src="./grafik/layout/kopf/logo.png" id="kopf_logo_img1"/>
			     -->
			    <div id="suche_gesamt">
			    	<?php CreateSearch("tpl.search"); ?>
			    </div>
			</td>
		</tr>
		<tr>
		  <td id="kopf_nav">
		      <div>
                <table border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td class="leiste_oben_trenner">&nbsp;</td>
                    <?php createNavKatLeiste("tpl.navigation.katnav"); ?>
                    
                </tr>
                </table>
              </div>
		  </td>
		</tr>
		<tr>
          <td id="abstand"></td>
        </tr>
	</table>
</div>
<?php 
} else {
	?>
<div id="kopf">
	<table border="0" cellspacing="0" cellpadding="0" class="gesamt">
		<tr>
			<td style="height:38px;">
				<table border="0" cellpadding="0" cellspacing="0" style="float:right;">
		        <tr>
					<td class="leiste_oben_trenner"></td>
						<?php createNavKatLeiste("tpl.navigation.katnav"); ?>
				</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td>
				<table border="0" cellpadding="0" cellspacing="0" width="100%">
		        <tr>
					<td>
						<a href="./main.php?pg=home&action=navigate<?php echo SESSIONID; ?>">
				    	<img src="./grafik/layout/kopf/logo_bild.png" style="width:192px; height:42px;" />
				    	</a>
						<a href="http://www.fassigroup.de/Fassi_Anniversary_D.pdf" style="margin-left:5px;" title="<?php echo get_text('FASSI_JUBILAEUM'); ?>" target="_blank">
				    	<img src="./grafik/layout/kopf/fassi45.gif" style="width:45px; height:44px;" />
				    	</a><br />
					</td>
					<td><span class="logo_text"><?php echo get_text("LOGO_TEXT"); ?></span></td>	
				</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td style="height:10px;"></td>
		</tr>
		<tr>
		  <td id="kopf_nav">
			<?php
			
			require_once($_config["general"]["pfad"].'/system/class/class.firmenseite_nav.php');
			
			if($_config["general"]["firmen_seite"]) {
				$firm = new FirmenSeiteNavigation();
				$firm->run();
			}
			foreach($_SESSION["tmp"]["nav"]["kat_inaktiv"] as $key => $val) {
				$_SESSION["tmp"]["navreiter_kat"][$key]["text"] = $_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["bez"];
				if(empty($_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["klink"])) {
					$_SESSION["tmp"]["navreiter_kat"][$key]["link"] = './main.php?desc='.aendereNameFuerURL($_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["bez"]).'&action=setcat&cat='.$_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["nr"].'&spalten='.$_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["spalten"].SESSIONID;
				} else {
					$_SESSION["tmp"]["navreiter_kat"][$key]["link"] = './main.php?action=setarticlegrp&cat='.$_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["klink"].'&hgrp='.$_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["hglink"].'&ogrp='.$_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["oglink"].'&ugrp='.$_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["uglink"].'&grp='.$_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["glink"].'&spalten='.$_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["spalten"].SESSIONID;
				}
				$_SESSION["tmp"]["navreiter_kat"][$key]["aktiv"] = false;
			    if($_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["nr"] == $_SESSION["tmp"]["nav"]["kat_aktiv"]["nr"]) {
			        $_SESSION["tmp"]["navreiter_kat"][$key]["aktiv"] = true;
			    }
			    $_SESSION["tmp"]["navreiter_kat"][$key]["nr"] = $_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["nr"];
			}
			
			if($_config["layout"]["tabs"]["jsmenu"]["aktiv"]) {
				$tab_kat = new ListenTabs();
				echo $tab_kat->run($_SESSION["tmp"]["navreiter_kat"]);
			} else {
				$tab_kat = new Tabs();
				$tab_kat->setGesamtHoehe(25);
				$tab_kat->setBilderUrl($_config["general"]["url"].'/grafik/layout/inhalt/tabs_katnav/');
				$tab_kat->anfangs_abstand = 0;
				$tab_kat->tab_anfang = 10;
				$tab_kat->tab_ende = 10;
				$tab_kat->feste_breite = 0;
				$tab_kat->tab_padding_links = 0;
				$tab_kat->tab_padding_rechts = 0;
				$tab_kat->tab_padding_top = 5;
				$tab_kat->text_farbe_aktiv = '#FFFFFF';
				$tab_kat->text_farbe_inaktiv = '#FFFFFF';
				$tab_kat->text_farbe_over = '#FFFFFF';
				$tab_kat->text_gewicht_aktiv = 'normal';
				$tab_kat->font_size = 11;
				
				echo $tab_kat->run($_SESSION["tmp"]["navreiter_kat"]);
			}
			?>
		  </td>
		</tr>
		<tr>
          <td id="abstand"></td>
        </tr>
	</table>
</div>
	<?php 
}

if($_config["general"]["start_seite"] 
	&& !empty($_GET['nr']) 
	&& $_GET['nr'] == $_config["general"]["start_navnr"] 
	) {
	// Startseite
	?>
	<div id="startseite_inhalt">
    <?php 
    createStartSeitenInhalt();
    $_SESSION["userdata"]["pg"] = $_config["general"]["startpage"];
     ?>
	</div>
	<?php 
} else {
	// Shop

?>
<div id="menu_aktiv_box">
	<table border="0" cellpadding="0" cellspacing="0" height="100%" id="menu_aktiv">
	<tr>
		<td>
			<?php echo '<a class="aktivkat" href="./main.php?desc='.aendereNameFuerURL($_SESSION["tmp"]["nav"]["kat_aktiv"]["bez"]).'&action=setcat&cat='.$_SESSION["tmp"]["nav"]["kat_aktiv"]["nr"].SESSIONID.'">'.$_SESSION["tmp"]["nav"]["kat_aktiv"]["bez"].'</a><br>'; ?>
		</td>
	</tr>
	</table>
</div>

<div id="menu_inhalt_box">
	<div class="menu_inhalt">
		<div class="menu_inhalt_baum">
            <?php 
            CreateNavigation("",true,false,false,true,"tpl.navigation");
            //echo $treenav; 
            ?>
		</div>
		<div style="margin-top:30px;">&nbsp;</div>
	</div>
</div>

<div id="menu_inaktiv_box">
<?php 
if(0 === $_config["layout"]["menu"]["inaktiv"]["position"]) { ?>

	<div id="menu_inaktiv">
		<table cellpadding="0" cellspacing="0" border="0">
		<!--
		<tr>
			<td id="zierleiste_menu"></td>
		</tr>
	    -->
		<tr>
			<td>
				<ul class="menu_inaktiv_ul">
					<?php
					foreach($_SESSION["tmp"]["nav"]["kat_inaktiv"] as $key => $val) {
					    $menu_class = 'inaktiv';
					    if($_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["nr"] == $_SESSION["tmp"]["nav"]["kat_aktiv"]["nr"]) {
					        $menu_class = 'aktiv';
					    }
					    if(empty($_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["klink"])) {
					    	?>
							<li><a class="<?php echo $menu_class ?>" href="./main.php?desc=<?php echo aendereNameFuerURL($_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["bez"]); ?>&action=setcat&cat=<?php echo $_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["nr"].'&spalten='.$_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["spalten"].SESSIONID; ?>"><span><strong><?php echo $_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["bez"]; ?></strong></span></a></li>
							<?php	
					    } else {
					    	?>
							<li><a class="<?php echo $menu_class ?>" href="./main.php?action=setarticlegrp&cat=<?php echo $_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["klink"]; ?>&hgrp=<?php echo $_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["hglink"]; ?>&ogrp=<?php echo $_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["oglink"]; ?>&ugrp=<?php echo $_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["uglink"]; ?>&grp=<?php echo $_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["glink"]; ?>&spalten=<?php echo $_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["spalten"].SESSIONID; ?>"><span><strong><?php echo $_SESSION["tmp"]["nav"]["kat_inaktiv"][$key]["bez"]; ?></strong></span></a></li>
							<?php	
					    }
					}
					?>
				</ul>
			</td>
		</tr>
		</table>
	</div>

	<?php 	
}
?>
</div>

<div id="crumbnav_leiste">
	<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
	<tr>
		<td style="width:24px; text-align:center;">
			<img src="./grafik/layout/inhalt/leiste_crumbnav_links2.gif" style="width:13px; height:16px;" /><br />
		</td>
		<td id="crumbnav_text">
			<?php echo $_SESSION["tmp"]["crumbnavigation"]?>
		</td>
	</tr>
	</table>
</div>

<div id="inhalt">
	<div id="inhalt2">
    <table border="0" cellpadding="0" cellspacing="0" id="inhalt_tabelle">
    <tr>
    	<td>
    		<div id="hauptinhalt">
    	    <?php
            // Gruppenkatalog oben
			if($_config["layout"]["gruppenkatalog"]["position"] == 1) {
        		$grpkat = createGruppenKatalogInhalt();
        		echo $grpkat;
        	}
        	// Seiteninhalt 
    		if(file_exists($_config["general"]["pfad"]."/pages/".$_SESSION["userdata"]["pg"].".php")==true) {
            	require($_config["general"]["pfad"]."/pages/".$_SESSION["userdata"]["pg"].".php");
           	} else { ?>
            	<span style="color:#ff0000; font-weight:bold;"><?php echo get_text('GEW_SEITE_NVORH')?></span><br />
           	<?php
           	} ?>
           	</div>
    	</td>
    	<?php 
    	// Rechte Spalte
    	if($_config["layout"]["news_spalte"]) {
    	?>
    	<td id="news_spalte">
        	<div id="news_fenster_box">
        		<div class="wk_kopf"><?php echo get_text("TXT_SEARCH","")?></div>
        		<div class="wk_inhalt">
        		<?php 
        		CreateSearch("tpl.search");
        		?>
        		</div><br />
        		<?php 
        		// Dokumente
        		echo druckeDokFenster();
        		// Warenkorb
        		$_SESSION["tmp"]["basket"]["art_count"] = ReadBasket();
        		if($_SESSION["tmp"]["basket"]["art_count"] > 0) {
        		    CreateShortBasket("tpl.shortbasket"); 
        		    echo '<br />';
        		}
        		// Anfrage
        		if($_config["general"]["anfrage"]) {
        		    $_SESSION["tmp"]["anfrage"]["art_count"] = GetAnfrageCount();
            		if($_SESSION["tmp"]["anfrage"]["art_count"] > 0) {
            		    CreateShortAnfrage("tpl.shortanfrage"); 
            		    echo '<br />';
            		}
        		}
        		// Kundenanmeldung
    			if($_config["anmeldung"]["login_box"] === true) {
                	CreateLogin("tpl.login","tpl.logout");
        		}
        		// Andere Inhalte
        		include ($_config["general"]["pfad"]."/pages/news.php"); ?>
        	</div>
        	<?php
        	if($_config["layout"]["gruppenkatalog"]["position"] == 0) {
        		$grpkat = createGruppenKatalogInhalt();
        		echo $grpkat;
        	}
        	?>
    	</td>
    		<?php 
    	}
    	?>
    </tr>
    </table>
    </div>
</div>
	<?php 
} // Ende Shop
?>


<?php 
if($_config["layout"]["index_breite"] > 0)
    echo '</div>';
?>
</body>
</html>
<?php
    //echo "<br><br><br><br>";
    //DebugOut();
    //echo "<br><br><br><br>";

    // Statistik
    if($_config["general"]["stat"]["aktiv"] === true) {
        require("./system/class/class.statistikin.php");
        $stat = new StatistikIn();
        $stat->saveData();
    }

    $_SESSION["userdata"]["login_message"]="";
    unset($_SESSION["tmp"]);
?>





-- Error Details --
Date: Thu Nov 25 10:08:27 CET 2010
Message: Unable to create editor ID org.eclipse.php.editor: Argument not valid
Severity: Error
Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.php.product)
Plugin: org.eclipse.ui
Session Data:
eclipse.buildId=M20100909-0800
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.php.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.php.product


Exception Stack Trace:
java.lang.IllegalArgumentException: Argument not valid
	at org.eclipse.swt.SWT.error(SWT.java:4064)
	at org.eclipse.swt.SWT.error(SWT.java:3998)
	at org.eclipse.swt.SWT.error(SWT.java:3969)
	at org.eclipse.swt.custom.StyledText.setStyleRanges(StyledText.java:9683)
	at org.eclipse.swt.custom.StyledText.replaceStyleRanges(StyledText.java:7705)
	at org.eclipse.jface.text.TextViewer.addPresentation(TextViewer.java:4803)
	at org.eclipse.jface.text.TextViewer.changeTextPresentation(TextViewer.java:4882)
	at org.eclipse.wst.sse.ui.internal.provisional.style.StructuredPresentationReconciler.applyTextRegionCollection(StructuredPresentationReconciler.java:893)
	at org.eclipse.wst.sse.ui.internal.provisional.style.StructuredPresentationReconciler.processDamage(StructuredPresentationReconciler.java:868)
	at org.eclipse.wst.sse.ui.internal.provisional.style.StructuredPresentationReconciler$InternalListener.inputDocumentChanged(StructuredPresentationReconciler.java:271)
	at org.eclipse.wst.sse.ui.internal.provisional.style.StructuredPresentationReconciler.install(StructuredPresentationReconciler.java:600)
	at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.updateHighlighter(StructuredTextViewer.java:920)
	at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.setDocument(StructuredTextViewer.java:802)
	at org.eclipse.php.internal.ui.editor.PHPStructuredTextViewer.setDocument(PHPStructuredTextViewer.java:638)
	at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:584)
	at org.eclipse.ui.texteditor.AbstractTextEditor.initializeSourceViewer(AbstractTextEditor.java:3873)
	at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3401)
	at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
	at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:432)
	at org.eclipse.wst.sse.ui.StructuredTextEditor.createPartControl(StructuredTextEditor.java:1453)
	at org.eclipse.php.internal.ui.editor.PHPStructuredEditor.createPartControl(PHPStructuredEditor.java:2243)
	at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
	at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
	at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2863)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
	at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
	at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2682)
	at org.eclipse.dltk.internal.ui.editor.EditorUtility.openInEditor(EditorUtility.java:405)
	at org.eclipse.dltk.internal.ui.editor.EditorUtility.openInEditor(EditorUtility.java:166)
	at org.eclipse.php.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:54)
	at org.eclipse.php.internal.ui.actions.OpenAction.run(OpenAction.java:177)
	at org.eclipse.php.internal.ui.actions.OpenAction.run(OpenAction.java:151)
	at org.eclipse.php.internal.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:190)
	at org.eclipse.php.internal.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:168)
	at org.eclipse.php.internal.ui.actions.PHPExplorerActionGroup.handleOpen(PHPExplorerActionGroup.java:144)
	at org.eclipse.dltk.internal.ui.scriptview.ScriptExplorerPart$4.open(ScriptExplorerPart.java:667)
	at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:845)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
	at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:843)
	at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1131)
	at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1235)
	at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:264)
	at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:258)
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:298)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Comment 1 Zhongwei Zhao CLA 2010-11-25 04:46:26 EST
fixed in head and branch already
Comment 2 Ilina Stefanova CLA 2011-08-03 08:09:48 EDT
No problems with opening this file currently. Closing.