Author Topic: Error uploading image file  (Read 12868 times)

0 Members and 1 Guest are viewing this topic.

Offline karlito

  • Newbie
  • *
  • Posts: 11
    • View Profile
Error uploading image file
« on: May 17, 2006, 06:26:12 AM »
When I installed localy(on desctop) the album it worked perfectly. But when I installed it on the server, after the uploading images this error comes: Error uploading image file.
Though it's possible to upload an image from url.

I cmoded all the files on the server to 777.
Safe mode is switched off.

What else can be the reason of the error?

You can try to apload to the server  www.parijata.net/photo/
I gave all the permissions for all

and this is an image from "phpinfo"

Offline Guldstrand

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Error uploading image file
« Reply #1 on: January 31, 2010, 02:15:05 PM »
I have the exact same problem.

Iīm getting (in member.php):
Quote
Error uploading image file:
Thatīs it!

When i tried to upload true the admin panel, i got:
Quote
Error uploading image file: test.jpg
test.jpg: Copy error. Please check the directory permissions.

No database entry!
I know that the permissions are correct, (regarding to the docs).

Any solution for this?
(Iīm using the GD library.)

EDIT:
I just saw that no folders were created in /data/media/* or /data/thumbnails/ *, though I have created several categories in the admin panel.
I created the missing folders with itīs category id and now it works.

Maybe someone could fix this so folders ARE created when adding new categories in admin?
« Last Edit: January 31, 2010, 03:18:19 PM by Guldstrand »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Error uploading image file
« Reply #2 on: January 31, 2010, 07:11:09 PM »
Welcome to 4images forum.
If no folders created when you created a category, then it means the permissions (alt) are not correct, or SAFE MODE is enabled.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Guldstrand

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Error uploading image file
« Reply #3 on: February 01, 2010, 03:46:04 AM »
Welcome to 4images forum.
If no folders created when you created a category, then it means the permissions (alt) are not correct, or SAFE MODE is enabled.
Thanks for your reply.
I double checked the permissions on the folders and files, and they are correct.
SAFE MODE is not enabled.

Offline macbros

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Error uploading image file
« Reply #4 on: March 09, 2010, 01:30:34 AM »
Welcome to 4images forum.
If no folders created when you created a category, then it means the permissions (alt) are not correct, or SAFE MODE is enabled.
Thanks for your reply.
I double checked the permissions on the folders and files, and they are correct.
SAFE MODE is not enabled.

I'm also having the same problem now.

Permissions to 'media' and 'thumbnails' is 777, and safe mode is OFF, I even double checked using PHPinfo.

However I am able to create 'categories' in admin. So permissions are in fact correct.
MAX Upload is also set properly

Offline gamerjoe3

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: Error uploading image file
« Reply #5 on: March 09, 2010, 04:46:25 AM »
i have the same problem... ;-(

Offline Guldstrand

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Error uploading image file
« Reply #6 on: March 09, 2010, 12:59:35 PM »
It seems that it works as it should AFTER youīve created the first two categories/folders manually.

Offline Mr Kennedy

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
Re: Error uploading image file
« Reply #7 on: March 15, 2010, 09:21:39 AM »
Having same problem!
My gallery worked fine, then we had a server problem. Gallery worked fine again, now upload don't work, i shall choose a picture file.
Servermaster says that he didn't change anything. I tried a fresh 4images, installed it, created a category (category was created, chmod are 777) - upload still not work.
What's the problem   :?:

Offline Guldstrand

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Error uploading image file
« Reply #8 on: March 15, 2010, 01:06:25 PM »
Having same problem!
My gallery worked fine, then we had a server problem. Gallery worked fine again, now upload don't work, i shall choose a picture file.
Servermaster says that he didn't change anything. I tried a fresh 4images, installed it, created a category (category was created, chmod are 777) - upload still not work.
What's the problem   :?:
Login to ftp and check if the folders has been created.
Iīm almost certain that the folders isnīt there.

Offline Mr Kennedy

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
Re: Error uploading image file
« Reply #9 on: March 15, 2010, 03:38:30 PM »
Having same problem!
My gallery worked fine, then we had a server problem. Gallery worked fine again, now upload don't work, i shall choose a picture file.
Servermaster says that he didn't change anything. I tried a fresh 4images, installed it, created a category (category was created, chmod are 777) - upload still not work.
What's the problem   :?:
Login to ftp and check if the folders has been created.
Iīm almost certain that the folders isnīt there.

I created with ACP a category and the folder in media and thumbnail is there - with chmod 777. and upload don't work

Offline Guldstrand

  • Newbie
  • *
  • Posts: 41
    • View Profile
Re: Error uploading image file
« Reply #10 on: March 15, 2010, 04:18:46 PM »
Having same problem!
My gallery worked fine, then we had a server problem. Gallery worked fine again, now upload don't work, i shall choose a picture file.
Servermaster says that he didn't change anything. I tried a fresh 4images, installed it, created a category (category was created, chmod are 777) - upload still not work.
What's the problem   :?:
Login to ftp and check if the folders has been created.
Iīm almost certain that the folders isnīt there.

I created with ACP a category and the folder in media and thumbnail is there - with chmod 777. and upload don't work
Ok! Thatīs strange.

Offline flip89

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: Error uploading image file
« Reply #11 on: February 21, 2011, 09:29:55 AM »
I have the exact same problem.

Iīm getting (in member.php):
Quote
Error uploading image file:
Thatīs it!

When i tried to upload true the admin panel, i got:
Quote
Error uploading image file: test.jpg
test.jpg: Copy error. Please check the directory permissions.

No database entry!
I know that the permissions are correct, (regarding to the docs).

Any solution for this?
(Iīm using the GD library.)

EDIT:
I just saw that no folders were created in /data/media/* or /data/thumbnails/ *, though I have created several categories in the admin panel.
I created the missing folders with itīs category id and now it works.

Maybe someone could fix this so folders ARE created when adding new categories in admin?

Thank you.


I am a newbie and had this problem for two days until I read your edit.  I realized then, that my mistake (and I am sure many who had/have this problem) - was that I assigned permissions AFTER I had created the categories - in my eagerness to show my gallery to people asap.

The simple solution is - work on the permission FIRST before doing anything else!  THIS HAS to be EMPHASIZED in the instruction manual.  To some of us who are not programmers (but can understand how software works etc.), details like this don't come naturally.

Now everything works ... I just have to tweak and add MODS.  This gallery is really good, relatively easy to install and use (compared to other galleries, and I have used most of them, including the expensive ones) and I am sure will be easy to custom to my and my users' taste.