phpauction/ pro auction

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • phpauction/ pro auction

    bekomme immer diesen fehler-->pro auktion sell.php

    Warning: copy(/home/www/web728/html/uploaded/30129_2.jpg): failed to open stream: No such file or directory


    bitte bitte komme nicht weiter bekomme keine bilder hochgeladen
    in die auktion

  • #2
    hmm,

    wilkommen im forum

    zeig mal bitte mehr code, vielleicht 10-15 zeilen drüber und 5 drunter ... du bekommst doch eine zeilennummer mit ausgegeben, oder?
    Die Zeit hat ihre Kinder längst gefressen

    Kommentar


    • #3
      Warning: copy(/home/www/web728/html/uploaded/30129_2.jpg): failed to open stream: No such file or directory
      gibt es die Datei?
      Hast du Leserecht auf Datei und Ordner?

      Offe

      Kommentar


      • #4
        phpauction

        Warning: copy(/home/www/web728/html/uploaded/30130.jpg): failed to open stream: No such file or directory in /kunden/webseiten/auction/sell.php on line 262

        Warning: copy(/home/www/web728/html/uploaded/30130_2.jpg): failed to open stream: No such file or directory in /kunden/webseiten/auction/sell.php on line 274

        Warning: copy(/home/www/web728/html/uploaded/30130_3.jpg): failed to open stream: No such file or directory in /kunden/webseiten/auction/sell.php on line 287


        komme nicht weiter ...................

        Kommentar


        • #5
          phpauction

          ja die datei / ordner gibt es --<<uploaded hat die rechte 777

          Kommentar


          • #6
            php auction

            ja denn ordner gibt es uploaded und der hat die rechte 777

            Kommentar


            • #7
              phpauction

              if ($mode=="recall")
              {
              if (isset($sessionVars["SELL_file_uploaded"]))
              {

              if ($sessionVars["SELL_pict_url"] <> "")
              {
              $userfile = "";
              if (file_exists($image_upload_path.$sessionVars["SELL_pict_url"]))
              {
              unlink($image_upload_path.$sessionVars["SELL_pict_url"]);
              }
              }

              if ($sessionVars["SELL_pict_url2"] <> "")
              {
              $userfile2 = "";
              if (file_exists($image_upload_path.$sessionVars["SELL_pict_url2"]))
              {
              unlink($image_upload_path.$sessionVars["SELL_pict_url2"]);
              }
              }

              if ($sessionVars["SELL_pict_url3"] <> "")
              {
              $userfile3 = "";
              if (file_exists($image_upload_path.$sessionVars["SELL_pict_url3"]))
              {
              unlink($image_upload_path.$sessionVars["SELL_pict_url3"]);
              }
              }

              unset($sessionVars["SELL_file_uploaded"]);
              $sessionVars["SELL_pict_url"] = $sessionVars["SELL_pict_url_original"];
              putSessionVars();
              }


              $title = $sessionVars["SELL_title"];
              $description = $sessionVars["SELL_description"];
              $pict_url = $sessionVars["SELL_pict_url_original"];
              $atype = $sessionVars["SELL_atype"];
              $iquantity = $sessionVars["SELL_iquantity"];
              $minimum_bid = $sessionVars["SELL_minimum_bid"];
              $with_reserve = ($sessionVars["SELL_with_reserve"])?"ja":"nein";
              $payment = $sessionVars["SELL_payment"];
              $duration = $sessionVars["SELL_duration"];
              $country = $sessionVars["SELL_country"];
              $location_zip = $sessionVars["SELL_location_zip"];
              $shipping = $sessionVars["SELL_shipping"];
              $international = ($sessionVars["SELL_international"])?"ja":"nein";
              $category1 = $sessionVars["SELL_category"];
              $imgtype = $sessionVars["SELL_imgtype"];
              $zustand = $sessionVars["SELL_zustand"];
              $fett = $sessionVars["SELL_fett"];
              $marker = $sessionVars["SELL_marker"];
              $topkat = $sessionVars["SELL_topkat"];
              $bild2 = $sessionVars["SELL_bild2"];
              $bild3 = $sessionVars["SELL_bild3"];
              $artnr = $sessionVars["SELL_artnr"];
              $fett_preis = $sessionVars["SELL_fettpreis"];
              $marker_preis = $sessionVars["SELL_markerpreis"];
              $topkat_preis = $sessionVars["SELL_topkatpreis"];
              $bild2_preis = $sessionVars["SELL_bild2preis"];
              $bild3_preis = $sessionVars["SELL_bild3preis"];
              $buy_now = $sessionVars["SELL_buy_now"];
              }
              else
              {
              // auction type
              reset($auction_types);
              list($atype,) = each($auction_types);

              // quantity of items
              $iquantity = 1;


              // country
              // BM 28.2.
              //reset($countries);
              //list($country,) = each($countries);


              // shipping
              $shipping = 1;

              // image type
              $imgtype = 1;

              $with_reserve = "nein";
              }
              }
              // Oder Aktion = 'first' / Erstaufruf++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
              elseif ($action=='first')
              {
              unset($auction_id);
              $ERR = "ERR_".CheckSellData();

              // if no other errors - handle upload here
              if (!$$ERR)
              {
              unset($file_uploaded);

              // Auktions-ID generieren
              $auction_id = generate_id();

              if ( $userfile <> "" )
              {
              $inf = GetImageSize ( $userfile );
              if ($userfile2 <> "")
              $inf2 = GetImageSize ( $userfile2 );
              if ($userfile3 <> "")
              $inf3 = GetImageSize ( $userfile3 );

              $er = false;
              // make a check
              if ($inf)
              {
              $inf[2] = intval($inf[2]); // check for uploaded file type
              if ($userfile2 <> "")
              $inf2[2] = intval($inf2[2]);
              if ($userfile3 <> "")
              $inf3[2] = intval($inf3[2]);

              if ( ($inf[2]!=1) && ($inf[2]!=2) )
              {
              $er = true;
              $ERR = "ERR_602";
              }
              else
              {
              // check for file size
              if ( intval($userfile_size)>$MAX_UPLOAD_SIZE )
              {
              $er = true;
              $ERR = "ERR_603";
              }
              }

              if ($userfile2 <> "")
              {
              if ( ($inf2[2]!=1) && ($inf2[2]!=2) )
              {
              $er = true;
              $ERR = "ERR_602_2";
              }
              else
              {
              // check for file size
              if ( intval($userfile2_size)>$MAX_UPLOAD_SIZE )
              {
              $er = true;
              $ERR = "ERR_603_2";
              }
              }
              }

              if ($userfile3 <> "")
              {
              if ( ($inf2[2]!=1) && ($inf2[2]!=2) )
              {
              $er = true;
              $ERR = "ERR_602_3";
              }
              else
              {
              // check for file size
              if ( intval($userfile3_size)>$MAX_UPLOAD_SIZE )
              {
              $er = true;
              $ERR = "ERR_603_3";
              }
              }
              }

              }
              else
              {
              $ERR = "ERR_602";
              $er = true;
              }

              if (!$er)
              {
              // Bild 1 wirklich speichern
              $ext = ($inf[2]==1)?".gif":".jpg";
              $fname = $image_upload_path.$auction_id.$ext;
              if (file_exists($fname))
              unlink ($fname);
              copy ($userfile, $fname);
              $uploaded_filename = $auction_id.$ext;
              $file_uploaded = true;

              // Bild 2 wirklich speichern
              if ($userfile2 <> "")
              {
              $ext = ($inf[2]==1)?".gif":".jpg";
              $fname = $image_upload_path.$auction_id."_2".$ext;

              if ( file_exists($fname) )
              unlink ($fname);
              copy ( $userfile2, $fname );
              $uploaded_filename2 = $auction_id."_2".$ext;
              $file_uploaded = true;
              }

              // Bild 3 wirklich speichern
              if ($userfile3 <> "")
              {
              $ext = ($inf[2]==1)?".gif":".jpg";
              $fname = $image_upload_path.$auction_id."_3".$ext;

              if ( file_exists($fname) )
              unlink ($fname);
              copy ( $userfile3, $fname );
              $uploaded_filename3 = $auction_id."_3".$ext;
              $file_uploaded = true;
              }
              }
              else
              {
              // Fehler!!
              unset($file_uploaded);
              $userfile2 = "";
              $userfile3 = "";
              }

              }
              else
              {
              unset($file_uploaded);
              $userfile2 = "";
              $userfile3 = "";
              }


              }

              Kommentar


              • #8
                zeig mal bitte mehr code, vielleicht 10-15 zeilen drüber und 5 drunter ... du bekommst doch eine zeilennummer mit ausgegeben, oder?
                meinte er natürlich von der Datei sell.php von ca. Linie 250 bis 270

                EDIT:
                irgendwie bin ich heute immer zu spät


                Offe
                Zuletzt geändert von Offe1; 01.02.2004, 20:18.

                Kommentar


                • #9
                  phpauction

                  }
                  }
                  }

                  }
                  else
                  {
                  $ERR = "ERR_602";
                  $er = true;
                  }

                  if (!$er)
                  {
                  // Bild 1 wirklich speichern
                  $ext = ($inf[2]==1)?".gif":".jpg";
                  $fname = $image_upload_path.$auction_id.$ext;
                  if (file_exists($fname))
                  unlink ($fname);
                  copy ($userfile, $fname);
                  $uploaded_filename = $auction_id.$ext;
                  $file_uploaded = true;

                  // Bild 2 wirklich speichern
                  if ($userfile2 <> "")
                  {
                  $ext = ($inf[2]==1)?".gif":".jpg";
                  $fname = $image_upload_path.$auction_id."_2".$ext;

                  if ( file_exists($fname) )
                  unlink ($fname);
                  copy ( $userfile2, $fname );
                  $uploaded_filename2 = $auction_id."_2".$ext;
                  $file_uploaded = true;
                  }

                  // Bild 3 wirklich speichern
                  if ($userfile3 <> "")
                  {
                  $ext = ($inf[2]==1)?".gif":".jpg";

                  Kommentar


                  • #10
                    *ZUSAMMENFÜHR*

                    @julia79
                    achte bitte darauf, dass du den antworten-button richtig triffst....
                    INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


                    Kommentar


                    • #11
                      phpauction

                      hier nochmal



                      // check for file size
                      if ( intval($userfile3_size)>$MAX_UPLOAD_SIZE )
                      {
                      $er = true;
                      $ERR = "ERR_603_3";
                      }
                      }
                      }

                      }
                      else
                      {
                      $ERR = "ERR_602";
                      $er = true;
                      }

                      if (!$er)
                      {
                      // Bild 1 wirklich speichern
                      $ext = ($inf[2]==1)?".gif":".jpg";
                      $fname = $image_upload_path.$auction_id.$ext;
                      if (file_exists($fname))
                      unlink ($fname);
                      copy ($userfile, $fname);
                      $uploaded_filename = $auction_id.$ext;
                      $file_uploaded = true;

                      // Bild 2 wirklich speichern
                      if ($userfile2 <> "")
                      {
                      $ext = ($inf[2]==1)?".gif":".jpg";
                      $fname = $image_upload_path.$auction_id."_2".$ext;

                      if ( file_exists($fname) )
                      unlink ($fname);
                      copy ( $userfile2, $fname );
                      $uploaded_filename2 = $auction_id."_2".$ext;
                      $file_uploaded = true;
                      }

                      // Bild 3 wirklich speichern
                      if ($userfile3 <> "")
                      {
                      $ext = ($inf[2]==1)?".gif":".jpg";
                      $fname = $image_upload_path.$auction_id."_3".$ext;

                      if ( file_exists($fname) )
                      unlink ($fname);
                      copy ( $userfile3, $fname );
                      $uploaded_filename3 = $auction_id."_3".$ext;
                      $file_uploaded = true;
                      }
                      }
                      else
                      {
                      // Fehler!!
                      unset($file_uploaded);
                      $userfile2 = "";
                      $userfile3 = "";
                      }

                      }
                      else
                      {
                      unset($file_uploaded);
                      $userfile2 = "";
                      $userfile3 = "";
                      }


                      }
                      }

                      Kommentar


                      • #12
                        @julia79
                        du DARFST auch die php-tags des forums nutzen.
                        INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


                        Kommentar


                        • #13
                          phpauction

                          mmmhhh bekomme ich keine antwort ( hilfe ) ??????


                          Kommentar


                          • #14
                            wer kann mir helfen

                            bekomme bei php auction ( pro auction ) die bilder nicht hochgeladen
                            wenn ich eine auction online stellen möchte bekomme immer
                            ....... fehler fehler

                            Kommentar


                            • #15
                              wer kann mir helfen

                              hier die fehlermeldung



                              Warning: copy(/home/www/web728/html/uploaded/30130.jpg): failed to open stream: No such file or directory in /kunden/webseiten/auction/sell.php on line 262

                              Warning: copy(/home/www/web728/html/uploaded/30130_2.jpg): failed to open stream: No such file or directory in /kunden/webseiten/auction/sell.php on line 274

                              Warning: copy(/home/www/web728/html/uploaded/30130_3.jpg): failed to open stream: No such file or directory in /kunden/webseiten/auction/sell.php on line 287

                              Kommentar

                              Lädt...
                              X