4images Forum & Community
4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: Sammy2002 on May 09, 2002, 09:45:41 AM
-
Hallo,
I wonder why i get this error when ever i try to upload a picture Warning: Unable to create './data/media/1/logo.gif': No such file or directory in /home/www/public_html/4images/includes/upload.php on line 121
in line 121 there is this code here $this->file_name = $this->name.$copy.".".$this->extension;
$ok = move_uploaded_file($this->upload_file, $this->upload_path[$this->image_type]."/".$this->file_name);
I have tried to change the permissions but it didnt work :!:
What can you advice me to do?
-
Are you sure that folder "1" exists?
Jan
-
yes, its under includes?
-
Warning: Unable to create './data/media/1/logo.gif': No such file or directory
Check this path. If you add categories, the programm will create a folder in "data/media" and "data/thumbnails" with the ID of the category as name. The required foldes should be created for the first category with ID 1. If not, create it and chmod 777.
Jan
-
The script doesnt want to create any files under media, i wounder why? so i had to do it manually, but the other problem is i get this now
DB Error: Bad SQL Query: INSERT INTO 4images_images (cat_id, user_id, image_name, image_description, image_keywords, image_date, image_media_file, image_thumb_file, image_download_url) VALUES (, , '', '', '', 1020930990, '4.', '', '')
You have an error in your SQL syntax near ' , '', '', '', 1020930990, '4.', '', '')' at line 4
Fehler beim Hinzufügen des Bildes: (4.)
Bild erfolgreich hinzugefügt: dsfdsf (logo1.gif)
I wonder why is that?
Suggestion, postmessage isnt included in the english version, so i had to move it from the german files to the english files.
How can i make the ligh box work?
-
are you sure that your webhost supports PHP Upload ?
I got the same problem with Tripod (se) and the reason was that tripod aint supporting php upload ....
-
I have many other scripts in my server and they are working fine, I tried it in too different servers, but i am haivng problems.
My webhost is a good one, his website addresse is www.webleben.com.
-
Hi,
I tried to upload images, no problem! Take a look at your gallery!
Greets Jan
-
Ich bin da gewesen und ich hab den hier gefunden
Warning: SAFE MODE Restriction in effect. The script whose uid is 663 is not allowed to access ./data/media/1/Palme.jpg owned by uid 30 in /home/www/web16/html/4images/includes/functions.php on line 284
Warning: getimagesize: Unable to open './data/media/1/Palme.jpg' for reading. in /home/www/web16/html/4images/includes/functions.php on line 284
Warning: SAFE MODE Restriction in effect. The script whose uid is 663 is not allowed to access ./data/media/1/Palme.jpg owned by uid 30 in /home/www/web16/html/4images/includes/functions.php on line 284
Warning: getimagesize: Unable to open './data/media/1/Palme.jpg' for reading. in /home/www/web16/html/4images/includes/functions.php on line 284
Warning: SAFE MODE Restriction in effect. The script whose uid is 663 is not allowed to access ./data/media/1/Tulpe.jpg owned by uid 30 in /home/www/web16/html/4images/includes/functions.php on line 284
Warning: getimagesize: Unable to open './data/media/1/Tulpe.jpg' for reading. in /home/www/web16/html/4images/includes/functions.php on line 284
-
See: http://www.4homepages.de/forum/viewtopic.php?p=1295#1295
Greets Jan