Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 12:20

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

Advertisement



Hilfe IS Bilder auf der HP

Discussion on Hilfe IS Bilder auf der HP within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 35
Join Date: Apr 2011
Posts: 1,018
Received Thanks: 1,984
Exclamation Hilfe IS Bilder auf der HP

Hallo liebe Com.

Ich hab ein Prob wen ich in den Itemshop Bilder einfügen möchte geht es nicht.

Warning: move_uploaded_file(./is_img/e9084203defc4cce44d7b3537f10c7b7_66655.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /www/htdocs/inc/functions.inc.php on line 249

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpADzJtO' to './is_img/e9084203defc4cce44d7b3537f10c7b7_66655.jpg' in /www/htdocs/w00df1bb/inc/functions.inc.php on line 249

Weis wer weiter verstehe den Fehler nicht bin über jede Hilfe froh THX MFG.
DeadBreakZz is offline  
Thanks
1 User
Old 06/22/2011, 08:19   #2
 
elite*gold: LOCKED
Join Date: Jan 2010
Posts: 121
Received Thanks: 75
Anscheinent fehlen der functions.inc.php rechte und ich würde die datei mal mit Notepad ++ öffnen und auf zeile 249 mal gucke was da steht...
aggroboy995 is offline  
Old 06/22/2011, 08:22   #3


 
Zander#'s Avatar
 
elite*gold: 14
Join Date: Feb 2011
Posts: 1,450
Received Thanks: 1,044
777 er Rechte
Zander# is offline  
Old 06/22/2011, 12:50   #4
 
elite*gold: 35
Join Date: Apr 2011
Posts: 1,018
Received Thanks: 1,984
Quote:
Originally Posted by Zander# View Post
777 er Rechte

if(move_uploaded_file($_FILES[$dateiIn]['tmp_name'],'./is_img/'.$md5datei.$dateiEndung)) {

Zeile 249 in der Inc PhP hab den nun auch 777 Rechte gegeben geht auch nicht :S
DeadBreakZz is offline  
Thanks
1 User
Old 06/22/2011, 13:52   #5
 
Nikℓαus's Avatar
 
elite*gold: 20
Join Date: Nov 2008
Posts: 741
Received Thanks: 716
Mein Script zeigt sie automatisch an.

Hier:
Pack deine icons in is_img ordner und nimm das IS-Script:
PHP Code:
<?PHP

  
if(isset($_SESSION['user_admin']) && checkInt($_SESSION['user_admin']) && $_SESSION['user_admin']>=0) {
    if(isset(
$_GET['k']) && checkInt($_GET['k'])) {
      
$sqlCmdS="SELECT * FROM ".SQL_HP_DB.".is_items WHERE kategorie_id='".$_GET['k']."' ORDER BY id DESC";
    }
    else {
      
$sqlCmdS="SELECT * FROM ".SQL_HP_DB.".is_items ORDER BY id DESC";
    }
  
?>
  <div id="isleft">
    <h2>Guthaben</h2>
    <p><b><?PHP echo $_SESSION['user_coins']; ?> Coins</b></p>
    <h2>Kategorien</h2>
    <ul>
      <?PHP
        $sqlCmd 
"SELECT * FROM ".SQL_HP_DB.".is_kategorien ORDER BY titel ASC;";
        
$sqlQry mysql_query($sqlCmd,$sqlHp);
        while(
$getKats mysql_fetch_object($sqlQry)) {
          echo
'<li><a href="index.php?s=itemshop&k='.$getKats->id.'">'.$getKats->titel.'</a></li>';
        }
      
?>
    </ul>
  </div>
  <div id="isright">
    <h2>Itemshop</h2>
      <table>
    <?PHP
      $sqlQry
=mysql_query($sqlCmdS,$sqlHp);
      while(
$getItems=mysql_fetch_object($sqlQry)) {
        
$aktItem compareItems($getItems->vnum);
        
$itemStufe = (checkInt($aktItem['stufe'])) ? "+".$aktItem['stufe'] : '';
        
?>
        <tr>
          <th colspan="2" class="topLine"><?PHP echo $aktItem['item'].$itemStufe?> (<b><?PHP echo $getItems->preis?> Coins</b>)</th>
        </tr>
        <tr>
          <td class="isImg">
            <?PHP 
              
if(!empty($getItems->bild)) echo'<img src="./is_img/'.$getItems->vnum.'.gif" title="'.$aktItem['item'].'" alt="'.$aktItem['item'].'"/>';
            
?>
          </td>
          <td class="tdunkel"><?PHP echo $getItems->beschreibung?></td>
        </tr>
        <tr>
          <td colspan="2" class="isBuy"><a href="index.php?s=is_buy&id=<?PHP echo $getItems->id?>">Kaufen</a></td>
        </tr>
        <?PHP
      
}
    
?>
      </table>
  </div>
  <?PHP
  
}
  else {
    echo
'<p class="meldung">Sie müssen für diesen Bereich angemeldet sein.</p>';
  }
?>
Nikℓαus is offline  
Thanks
1 User
Old 06/22/2011, 14:11   #6
 
elite*gold: 35
Join Date: Apr 2011
Posts: 1,018
Received Thanks: 1,984
Quote:
Originally Posted by iSէуℓe View Post
Mein Script zeigt sie automatisch an.

Hier:
Pack deine icons in is_img ordner und nimm das IS-Script:
PHP Code:
<?PHP

  
if(isset($_SESSION['user_admin']) && checkInt($_SESSION['user_admin']) && $_SESSION['user_admin']>=0) {
    if(isset(
$_GET['k']) && checkInt($_GET['k'])) {
      
$sqlCmdS="SELECT * FROM ".SQL_HP_DB.".is_items WHERE kategorie_id='".$_GET['k']."' ORDER BY id DESC";
    }
    else {
      
$sqlCmdS="SELECT * FROM ".SQL_HP_DB.".is_items ORDER BY id DESC";
    }
  
?>
  <div id="isleft">
    <h2>Guthaben</h2>
    <p><b><?PHP echo $_SESSION['user_coins']; ?> Coins</b></p>
    <h2>Kategorien</h2>
    <ul>
      <?PHP
        $sqlCmd 
"SELECT * FROM ".SQL_HP_DB.".is_kategorien ORDER BY titel ASC;";
        
$sqlQry mysql_query($sqlCmd,$sqlHp);
        while(
$getKats mysql_fetch_object($sqlQry)) {
          echo
'<li><a href="index.php?s=itemshop&k='.$getKats->id.'">'.$getKats->titel.'</a></li>';
        }
      
?>
    </ul>
  </div>
  <div id="isright">
    <h2>Itemshop</h2>
      <table>
    <?PHP
      $sqlQry
=mysql_query($sqlCmdS,$sqlHp);
      while(
$getItems=mysql_fetch_object($sqlQry)) {
        
$aktItem compareItems($getItems->vnum);
        
$itemStufe = (checkInt($aktItem['stufe'])) ? "+".$aktItem['stufe'] : '';
        
?>
        <tr>
          <th colspan="2" class="topLine"><?PHP echo $aktItem['item'].$itemStufe?> (<b><?PHP echo $getItems->preis?> Coins</b>)</th>
        </tr>
        <tr>
          <td class="isImg">
            <?PHP 
              
if(!empty($getItems->bild)) echo'<img src="./is_img/'.$getItems->vnum.'.gif" title="'.$aktItem['item'].'" alt="'.$aktItem['item'].'"/>';
            
?>
          </td>
          <td class="tdunkel"><?PHP echo $getItems->beschreibung?></td>
        </tr>
        <tr>
          <td colspan="2" class="isBuy"><a href="index.php?s=is_buy&id=<?PHP echo $getItems->id?>">Kaufen</a></td>
        </tr>
        <?PHP
      
}
    
?>
      </table>
  </div>
  <?PHP
  
}
  else {
    echo
'<p class="meldung">Sie müssen für diesen Bereich angemeldet sein.</p>';
  }
?>

Hey Super und wo kommt dieses Script rein Thx haste schon ma
DeadBreakZz is offline  
Thanks
1 User
Old 06/22/2011, 14:21   #7
 
Nikℓαus's Avatar
 
elite*gold: 20
Join Date: Nov 2008
Posts: 741
Received Thanks: 716
itemshop.php
Nikℓαus is offline  
Old 06/22/2011, 14:30   #8
 
elite*gold: 35
Join Date: Apr 2011
Posts: 1,018
Received Thanks: 1,984
Quote:
Originally Posted by iSէуℓe View Post
itemshop.php
Hallo habe ich gemacht geht aber trotzdem nicht Mfg.
DeadBreakZz is offline  
Thanks
1 User
Reply

Tags
bilder, itemshop, metin2, mt2cms


Similar Threads Similar Threads
[Bilder] Neue Rose Desktop Bilder!!! HOT
08/07/2010 - CrossFire - 22 Replies
Hallo! ich wär grade wieder mal China CF besuchen und habe da was schönes gefunden !! http://www4.pic-upload.de/06.08.10/jr5x7r1q28a.jp g http://www4.pic-upload.de/06.08.10/3mmqxfpaevti.j pg http://up.anhso.net/upload/20100604/05/o/anhso-27 _1.jpg"]http://up.anhso.net/upload/20100604/0 5/o/anhso-27_1.jpg http://up.anhso.net/upload/20100604/05/o/anhso-32 _3.jpg
[HELP] hilfe bei AutoIt ! (bilder einfügen)
04/23/2010 - AutoIt - 3 Replies
hi @ all ich benutze koda FormDesigner naja bin dabei ein programm zu coden... hab aber dabei eine kleine frage: ein kleines beispiel wie ich es normalerweise mache: #include <GUIConstantsEx.au3>
Hilfe wie füge ich bilder ein die animirt sind?
09/06/2009 - Main - 2 Replies
:confused: :confused: :confused: :confused: :confused: :confused: Ich habe ein problem es steht über mir ohne url kopieren den ich habe sie auf meinem computer



All times are GMT +2. The time now is 12:20.


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.