Register for your free account! | Forgot your password?

You last visited: Today at 04:33

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Metin2 HP fehler!

Discussion on Metin2 HP fehler! within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
Du.ke's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 268
Received Thanks: 61
Metin2 HP fehler!

Hallo liebe com. habe wieder mal ein problem aber dieses mal mit der Homepage

Bei der Item erstellungsseite kommt dieser Fehler:


Danke im voraus! (:
Du.ke is offline  
Old 01/30/2012, 12:47   #2
 
elite*gold: 0
Join Date: Apr 2010
Posts: 1,352
Received Thanks: 788
Soweit ich es versteh, ist die Variable acc nicht defeniert.
Kopier mal die Zeilen 50 - 65 und füg mal ein.


Gruß
yym3.
yym3 is offline  
Old 01/30/2012, 12:56   #3
 
elite*gold: 0
Join Date: Oct 2011
Posts: 109
Received Thanks: 82
We need to see some more coding like yym3 have said, would be great to see line 50 / 70 or so
Blowedmind is offline  
Old 01/30/2012, 13:32   #4
 
Du.ke's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 268
Received Thanks: 61

50-70
Du.ke is offline  
Old 01/30/2012, 13:37   #5
 
Swαrley's Avatar
 
elite*gold: 0
Join Date: Aug 2011
Posts: 455
Received Thanks: 465
Die variable acc wurde nicht definiert.

Versuche mal das:

PHP Code:
?>
<form action="index.php?s=admin&a=create_item" method="POST">
  <table>
    <tr>
      <th class="topLine">Für AccountID:</th>
      <td class="tdunkel"><input type="text" name="aid" size="11" value="<?PHP echo if (isset($_GET['acc'])) ; ?>" maxlength="11"/></td>
    </tr>
    <tr>
      <th class="topLine">Ort</th>
      <td class="thell">
        <select name="window">
          <option value="SAFEBOX">Lager</option>
          <option value="MALL">IS-Lager</option>
          <!-- <option value="INVENTORY">Inventar</option> -->
        </select>
      </td>
    </tr>
    <tr>
Müsste eigentlich gehen..
Swαrley is offline  
Old 01/30/2012, 13:40   #6
 
elite*gold: 0
Join Date: Apr 2010
Posts: 1,352
Received Thanks: 788
Quote:
Originally Posted by Du.ke View Post

50-70
Try this:
PHP Code:
  
  
?>
<form action="index.php?s=admin&a=create_item" method="POST">
  <table>
    <tr>
      <th class="topLine">Für AccountID:</th>
      <td class="tdunkel"><input type="text" name="aid" size="11" value="<?PHP if(isset($_GET['acc']){ echo $_GET['acc']; } ?>" maxlength="11"/></td>
    </tr>
    <tr>
      <th class="topLine">Ort</th>
      <td class="thell">
        <select name="window">
          <option value="SAFEBOX">Lager</option>
          <option value="MALL">IS-Lager</option>
          <!-- <option value="INVENTORY">Inventar</option> -->
        </select>
      </td>
    </tr>
    <tr>
yym3 is offline  
Old 01/30/2012, 13:43   #7
 
Du.ke's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 268
Received Thanks: 61
wenn ich das von dir einfüge geht die seite nicht mehr

Du.ke is offline  
Old 01/30/2012, 13:44   #8
 
elite*gold: 0
Join Date: Apr 2010
Posts: 1,352
Received Thanks: 788
von wem? Swarley oder meins? :/
yym3 is offline  
Old 01/30/2012, 13:45   #9
 
Du.ke's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 268
Received Thanks: 61
beide >.<
Du.ke is offline  
Old 01/30/2012, 13:46   #10
 
elite*gold: 0
Join Date: Apr 2010
Posts: 1,352
Received Thanks: 788
was kommt dann für ein Fehler? :&
yym3 is offline  
Old 01/30/2012, 13:48   #11
 
Du.ke's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 268
Received Thanks: 61
Bevor du "von wem? Swarley oder meins? :/" geschrieben hattest hatte ich es in einen Spoiler geschickt
Du.ke is offline  
Old 01/30/2012, 13:50   #12
 
elite*gold: 0
Join Date: Apr 2010
Posts: 1,352
Received Thanks: 788
#argh sorry, eine klammer vergessen

<?PHP if(isset($_GET['acc'])){ echo $_GET['acc']; } ?>

so eingeben dann sollte es klappen.

Gruß
yym3 is offline  
Thanks
1 User
Old 01/30/2012, 14:06   #13
 
Du.ke's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 268
Received Thanks: 61
ja danke hat geklappt

Kann geclosed werden
Du.ke is offline  
Reply




All times are GMT +2. The time now is 04:33.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.