İyinet'e Hoşgeldiniz!

Türkiye'nin En Eski Webmaster Forum'una Hemen Kayıt Olun!

Kayıt Ol!

Parse error: syntax error, unexpected $end in Hatası Yardım Pls..!!

jagu

0
İyinet Üyesi
Katılım
10 Mart 2011
Mesajlar
42
Reaction score
0
"Parse error: syntax error, unexpected $end in C:\xampp\htdocs\inhalt\meta_fordner.php on line 233"

Merhaba arkadaslar php bilgim zayıf bu hatayı nasıl düzelticem bulamdım gitti yardımınız beklıyorum. "{ }"

PHP:
<?php
include ("../inc.conf.php");
if(!$_GET["sprache"]){$_GET["sprache"]=$language;}
include ("../lang/".$_GET["sprache"]."/lang.meta_fordner.php");

if ($_GET["fu"]==1) {
    include ("inc.header.php");
    ?>
    <body text="#000000" bgcolor="#444444" link="#000000" vlink="#000000" alink="#000000" leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0">
        <div id="bodybody" class="flexcroll" onfocus="this.blur()">
            <center><img src="../lang/<?php echo $_GET["sprache"]?>/topics/flottenordner.gif" border="0" width="242" height="52"></center>
            <center>
                <table border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td><img src="../bilder/empty.gif" border="0" width="30" height="1"></td>
                        <td style="color:#aaaaaa;"><center><?php echo $lang['metafordner']['erklaerung']?></center></td>
                        <td><img src="../bilder/empty.gif" border="0" width="30" height="1"></td>
                    </tr>
                </table>
            </center>
            <br><br>
            <center>
                <table border="0" cellspacing="0" cellpadding="3">
                    <tr>
                        <td><form name="formular" method="post" action="meta_fordner.php?fu=2&uid=<?php echo $uid?>&sid=<?php echo $sid?>&sprache=<?php echo $_GET["sprache"]?>"></td>
                        <td colspan="2"><?php echo $lang['metafordner']['ordneranlegen']?></td>
                        <td></td>
                    </tr>
                     <tr>
                        <td></td>
                        <td><input type="text" name="ordnerneu" maxlength="10" style="width:90px;" class="eingabe"></td>
                        <td align="right"><input type="submit" value="<?php echo $lang['metafordner']['ok']?>" style="width:30px;" class="button"></td>
                        <td></form></td>
                    </tr>
                </table>
            </center>
            <br><br>
            <center>
                <table border="0" cellspacing="0" cellpadding="3">
                    <?php
                    $total=0;
                    $zeiger5 = @mysql_query("SELECT count(*) as total FROM $skrupel_schiffe where besitzer=$spieler and spiel=$spiel and ordner=0");
                    $array5 = @mysql_fetch_array($zeiger5);
                    $total=$array5["total"];
                    ?>
                    <tr>
                        <td>
                            <table border="0" cellspacing="0" cellpadding="0" background="<?php echo $bildpfad?>/menu/flotte_ordner.gif">
                                <tr>
                                    <td><img src="../bilder/empty.gif" border="0" width="1" height="15"></td>
                                    <td><img src="../bilder/empty.gif" border="0" width="98" height="1"></td>
                                    <td><img src="../bilder/empty.gif" border="0" width="1" height="15"></td>
                                </tr>
                                <tr>
                                    <td><img src="../bilder/empty.gif" border="0" width="1" height="58"></td>
                                    <td style="filter:glow(color=#000000, strenght=#1);" valign="top"><center><?php echo $lang['metafordner']['rootordner']?><br><?php echo $total?></center></td>
                                    <td><img src="../bilder/empty.gif" border="0" width="1" height="58"></td>
                                </tr>
                            </table>
                        </td>
                        <td colspan="2" style="color:#aaaaaa;"><center><?php echo $lang['metafordner']['rootnicht']?></center></td>
                    </tr>
                    <?php
                    $zeiger2 = @mysql_query("SELECT * FROM $skrupel_ordner where besitzer=$spieler and spiel=$spiel order by name");
                    $ordneranzahl = @mysql_num_rows($zeiger2);
                    
                    if ($ordneranzahl>=1) {
                    
                    
                        for ($i2=0; $i2<$ordneranzahl;$i2++) {
                            $ok2 = @mysql_data_seek($zeiger2,$i2);
                    
                            $array2 = @mysql_fetch_array($zeiger2);
                            $ooid=$array2["id"];
                            $name=$array2["name"];
                            $name=stripslashes($name);
                            $icon=$array2["icon"];
                    
                            $total=0;
                            $zeiger5 = @mysql_query("SELECT count(*) as total FROM $skrupel_schiffe where besitzer=$spieler and spiel=$spiel and ordner=$ooid");
                            $array5 = @mysql_fetch_array($zeiger5);
                            $total=$array5["total"];
        
                            ?>
                            <tr>
                                <td>
                                    <table border="0" cellspacing="0" cellpadding="0" background="<?php echo $bildpfad?>/menu/flotte_ordner.gif">
                                        <tr>
                                            <td><img src="../bilder/empty.gif" border="0" width="1" height="15"></td>
                                            <td><img src="../bilder/empty.gif" border="0" width="98" height="1"></td>
                                            <td><img src="../bilder/empty.gif" border="0" width="1" height="15"></td>
                                        </tr>
                                        <tr>
                                            <td><img src="../bilder/empty.gif" border="0" width="1" height="58"></td>
                                            <td style="filter:glow(color=#000000, strenght=#1);" valign="top"><center><?php echo $name?><br><?php echo $total?></center></td>
                                            <td><img src="../bilder/empty.gif" border="0" width="1" height="58"></td>
                                        </tr>
                                    </table>
                                </td>
                                <td>
                                    <table border="0" cellspacing="0" cellpadding="3">
                                        <tr>
                                            <td><form name="formular" method="post" action="meta_fordner.php?fu=3&ooid=<?php echo $ooid?>&uid=<?php echo $uid?>&sid=<?php echo $sid?>&sprache=<?php echo $_GET["sprache"]?>"></td>
                                            <td colspan="2"><?php echo $lang['metafordner']['ordnerumbenennen']?></td>
                                            <td></td>
                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td><input type="text" name="ordnerneu" maxlength="10" style="width:80px;" class="eingabe"></td>
                                            <td align="right"><input type="submit" value="<?php echo $lang['metafordner']['ok']?>" style="width:30px;" class="button"></td>
                                            <td></form></td>
                                        </tr>
                                    </table>
                                </td>
                                <td>
                                    <table border="0" cellspacing="0" cellpadding="3">
                                        <tr>
                                            <td><form name="formular" method="post" action="meta_fordner.php?fu=5&ooid=<?php echo $ooid?>&uid=<?php echo $uid?>&sid=<?php echo $sid?>&sprache=<?php echo $_GET["sprache"]?>"></td>
                                            <td colspan="2"><?php echo $lang['metafordner']['iconaendern']?></td>
                                            <td></td>
                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td><select name="icon" style="width:80px;">
                                                <option value="0" <? if ($icon==0) { echo 'selected'; } ?>><?php echo $lang['metafordner']['icon0']?></option>
                                                <option value="1" <? if ($icon==1) { echo 'selected'; } ?>><?php echo $lang['metafordner']['icon1']?></option>
                                                <option value="2" <? if ($icon==2) { echo 'selected'; } ?>><?php echo $lang['metafordner']['icon2']?></option>
                                                <option value="3" <? if ($icon==3) { echo 'selected'; } ?>><?php echo $lang['metafordner']['icon3']?></option>
                                                <option value="4" <? if ($icon==4) { echo 'selected'; } ?>><?php echo $lang['metafordner']['icon4']?></option>
                                                <option value="5" <? if ($icon==5) { echo 'selected'; } ?>><?php echo $lang['metafordner']['icon5']?></option>
                                                <option value="6" <? if ($icon==6) { echo 'selected'; } ?>><?php echo $lang['metafordner']['icon6']?></option>
                                            </select></td>
                                            <td align="right"><input type="submit" value="<?php echo $lang['metafordner']['ok']?>" style="width:30px;" class="button"></td>
                                            <td></form></td>
                                        </tr>
                                    </table>
                                </td>
                                <td>
                                    <table border="0" cellspacing="0" cellpadding="3">
                                        <tr>
                                            <td><form name="formular" method="post" action="meta_fordner.php?fu=4&ooid=<?php echo $ooid?>&uid=<?php echo $uid?>&sid=<?php echo $sid?>&sprache=<?php echo $_GET["sprache"]?>" onSubmit="return confirm('<?php echo $lang['metafordner']['ordnerwirklichloeschen']?>');"></td>
                                            <td><?php echo $lang['metafordner']['ordnerloeschen']?></td>
                                            <td></td>
                                        </tr>
                                        <tr>
                                            <td></td>
                                            <td align="right"><input type="submit" value="<?php echo $lang['metafordner']['ok']?>" style="width:30px;" class="button"></td>
                                            <td></form></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <?php
                        }
                    }
                    ?>
                </table>
            </center>
        </div>
        <?php
    include ("inc.footer.php");
}

if ($_GET["fu"]==2) {
    include ("inc.header.php");
    ?>
    <body text="#000000" bgcolor="#444444" link="#000000" vlink="#000000" alink="#000000" leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0">
        <?php
        $ordnerneu=$_POST["ordnerneu"];
        $ordnerneu=addslashes($ordnerneu);
        
        $zeiger_temp = @mysql_query("INSERT INTO $skrupel_ordner (name,besitzer,spiel) values ('$ordnerneu',$spieler,$spiel)");
        ?>
        <script language=JavaScript>
            window.location='meta_fordner.php?fu=1&uid=<?php echo $uid?>&sid=<?php echo $sid?>&sprache=<?php echo $_GET["sprache"]?>';
        </script>
        <?php
    include ("inc.footer.php");
}

if ($_GET["fu"]==3) {
    include ("inc.header.php");
    ?>
    <body text="#000000" bgcolor="#444444" link="#000000" vlink="#000000" alink="#000000" leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0">
        <?php
        $ooid=$_GET["ooid"];
        $ordnerneu=$_POST["ordnerneu"];
        $ordnerneu=addslashes($ordnerneu);
        
        $zeiger_temp = @mysql_query("UPDATE $skrupel_ordner set name='$ordnerneu' where id =$ooid");
        ?>
        <script language=JavaScript>
            window.location='meta_fordner.php?fu=1&uid=<?php echo $uid?>&sid=<?php echo $sid?>&sprache=<?php echo $_GET["sprache"]?>';
        </script>
        <?php
    include ("inc.footer.php");
}

if ($_GET["fu"]==4) {
    include ("inc.header.php");
    ?>
    <body text="#000000" bgcolor="#444444" link="#000000" vlink="#000000" alink="#000000" leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0">
        <?php
        $ooid=$_GET["ooid"];
        
        $zeiger_temp = @mysql_query("DELETE FROM $skrupel_ordner where id =$ooid");
        $zeiger_temp = @mysql_query("UPDATE $skrupel_schiffe set ordner=0 where ordner=$ooid");
        ?>
        <script language=JavaScript>
            window.location='meta_fordner.php?fu=1&uid=<?php echo $uid?>&sid=<?php echo $sid?>&sprache=<?php echo $_GET["sprache"]?>';
        </script>
        <?
    include ("inc.footer.php");
}

if ($_GET["fu"]==5) {
    include ("inc.header.php");
    ?>
    <body text="#000000" bgcolor="#444444" link="#000000" vlink="#000000" alink="#000000" leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<?
        $ooid=$_GET["ooid"];
        $icon=$_POST["icon"];
        
        $zeiger_temp = @mysql_query("UPDATE $skrupel_ordner set icon='$icon' where id =$ooid");
        ?>
        <script language=JavaScript>
            window.location='meta_fordner.php?fu=1&uid=<?php echo $uid?>&sid=<?php echo $sid?>&sprache=<?php echo $_GET["sprache"]?>';
        </script>
        <?
    include ("inc.footer.php");
}
?>
 
E

Erturk

Misafir
include olan alanları kaldırdıgımda hiç bir hata ile karşılaşmadım. Verdiğiniz kodların meta_fordner.php dosyasına ait olduguna emin misiniz?
 

jagu

0
İyinet Üyesi
Katılım
10 Mart 2011
Mesajlar
42
Reaction score
0
include olan alanları kaldırdıgımda hiç bir hata ile karşılaşmadım. Verdiğiniz kodların meta_fordner.php dosyasına ait olduguna emin misiniz?

konuyu başka bir webmaster arkadası halleti teşekürler ilgilendiğin için.
 

seckin

0
İyinet Üyesi
Katılım
15 Şubat 2011
Mesajlar
32
Reaction score
0
yeni başlık açıp kirlilik yaratmayayım diye buraya yazıyorum.Bir süredir girmediğim wp siteme giriş yaptım,eklentileri güncelledim,sonra baktım wp'ninde yenisürümü var onuda güncelledim.ardından temayı değiştireyim eskisinasıldı bakalım deyip onu etkinleştirdim hata veri.sanırım yeni sürüme uygun olacak sekilde güncellenmiş,tabi ben bunu sonra farkettim.hata verince hep kullandığım dursun dedim onu etkinleştirdim.o ara pc takıldı.sayfayı yeniledim.ve artık siteme giriş yapamıyorum.şu hatayı veriyor:


Parse error: syntax error, unexpected $end in /home/seckin/public_html/wp-content/themes/wp/functions.php on line 596

596 dediğide son satır bir hata yok baktım boşluk filan yok,ki zaten function dosyasını açmadımki gereksiz karakter olsun orda.595 ve 596. satır şunlar.
}
?>
[/COLOR]
aklıma takılan diğer konuda themes klasöründe kullandığım temanın değilde bu wp klasörünün(ne işe yarar bilmiyorum) hata vermesi.

yardımcı olursanız sevinirim.
 

codegenerator

0
İyinet Üyesi
Katılım
9 Mart 2011
Mesajlar
314
Reaction score
3
Konum
Ankara
yeni başlık açıp kirlilik yaratmayayım diye buraya yazıyorum.Bir süredir girmediğim wp siteme giriş yaptım,eklentileri güncelledim,sonra baktım wp'ninde yenisürümü var onuda güncelledim.ardından temayı değiştireyim eskisinasıldı bakalım deyip onu etkinleştirdim hata veri.sanırım yeni sürüme uygun olacak sekilde güncellenmiş,tabi ben bunu sonra farkettim.hata verince hep kullandığım dursun dedim onu etkinleştirdim.o ara pc takıldı.sayfayı yeniledim.ve artık siteme giriş yapamıyorum.şu hatayı veriyor:


Parse error: syntax error, unexpected $end in /home/seckin/public_html/wp-content/themes/wp/functions.php on line 596


596 dediğide son satır bir hata yok baktım boşluk filan yok,ki zaten function dosyasını açmadımki gereksiz karakter olsun orda.595 ve 596. satır şunlar.
}
?>
[/COLOR]

aklıma takılan diğer konuda themes klasöründe kullandığım temanın değilde bu wp klasörünün(ne işe yarar bilmiyorum) hata vermesi.

yardımcı olursanız sevinirim.

Fonksiyon açık kalmışa benziyor } bu parantezden 1 tane ekleyerek devam edin sorun çözülecektir diye düşünüyorum
 

seckin

0
İyinet Üyesi
Katılım
15 Şubat 2011
Mesajlar
32
Reaction score
0
çok sağolun hakkaten işe yaradı,dün gece sahura kadar oturdum bir süslü parantez yüzündenmiş :)
 

Türkiye’nin ilk webmaster forum sitesi iyinet.com'da forum üyeleri tarafından yapılan tüm paylaşımlardan; Türk Ceza Kanunu’nun 20. Maddesinin, 5651 Sayılı Kanununun 4. maddesinin 2. fıkrasına göre, paylaşım yapan üyeler sorumludur.

Üst