Author Topic: cant upload pictures  (Read 112516 times)

0 Members and 1 Guest are viewing this topic.

kada

  • Vendor
  • Seed
  • *
  • Posts: 10
    • View Profile
    • Kadas Garden
cant upload pictures
« on: March 09, 2008, 06:15:03 PM »
i get this warning:


Warning: move_uploaded_file(pics/kada/rivea3.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /var/www/sites/entheopedia/picture.php on line 40

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpRTXTGd' to 'pics/kada/rivea3.jpg' in /var/www/sites/entheopedia/picture.php on line 40
Failed to upload file Contact Site admin to fix the problem

Entheopedia.Org

  • Administrator
  • Seed
  • *****
  • Posts: 31
    • View Profile
    • Entheopedia.Org
Re: cant upload pictures
« Reply #1 on: March 10, 2008, 08:39:37 AM »
The file permissions needed to be changed (they got reset after the crash).  Its working for me now, let me know if still doesnt work for you.
 

kada

  • Vendor
  • Seed
  • *
  • Posts: 10
    • View Profile
    • Kadas Garden
Re: cant upload pictures
« Reply #2 on: March 11, 2008, 03:37:15 PM »
A-OK~ thanks! :)

foucault

  • Guest
Re: cant upload pictures
« Reply #3 on: June 23, 2008, 10:05:43 AM »
Your uploaded file must be of JPG or GIF. Other file types are not allowed

But it is a jpg!!!!!
!!!!
!!! >:(

I even made it from a .JPG to a .jpg (linux sees the difference between caps)


Hmmm?

torkorbornz

  • Guest
Re: cant upload pictures
« Reply #4 on: June 23, 2008, 11:09:01 AM »
Your uploaded file must be of JPG or GIF. Other file types are not allowed

But it is a jpg!!!!!
!!!!
!!! >:(

I even made it from a .JPG to a .jpg (linux sees the difference between caps)


Hmmm?

Same thing happened to me. Basically your image is too big and you need to resize it before trying to upload here. Im assuming the words \"file too large\" is not written in the coding, so the only error that can pop up is the file type error. Resizing worked for me with the same problem.

Entheopedia.Org

  • Administrator
  • Seed
  • *****
  • Posts: 31
    • View Profile
    • Entheopedia.Org
Re: cant upload pictures
« Reply #5 on: June 23, 2008, 06:49:24 PM »
It has something to do with the filetype.

I set it to display the filetype on the line after the error.  If you could tell me the filetype i can add it to the script.

I have a few files at home that were doing it also.  Saving the file as a smaller size, does seem to work.  It could be because the program used to resize the file saves it in an accepted format.

When i get home ill try to get it all sorted out.

foucault

  • Guest
Re: cant upload pictures
« Reply #6 on: June 24, 2008, 04:57:40 PM »
oh shit yeah the file is 2mb! whats the maximum btw?

Entheopedia.Org

  • Administrator
  • Seed
  • *****
  • Posts: 31
    • View Profile
    • Entheopedia.Org
Re: cant upload pictures
« Reply #7 on: June 24, 2008, 06:59:04 PM »
I think its set at 500k right now.

Did you try uploading the file again?  It should display the filetype on the next line.  I couldnt find any of the offending files at my house to test.

foucault

  • Guest
Re: cant upload pictures
« Reply #8 on: June 24, 2008, 08:39:54 PM »
It was a creative commons pic from wikipedia ... i can grab their tumbnail. but im sure its a legitamate jpg ...

llamabox

  • Seed
  • *
  • Posts: 2
    • View Profile
Re: cant upload pictures
« Reply #9 on: August 03, 2008, 10:20:16 AM »
I tried to upload an avatar and I got this.

An Error Has Occurred!
The attachments upload directory is not writable. Your attachment or avatar cannot be saved.

Coatl

  • Seed
  • *
  • Posts: 8
    • View Profile
Re: cant upload pictures
« Reply #10 on: February 19, 2009, 12:44:31 PM »
I've been having trouble loading pics too.