PHP errors on picture upload?

Questions? Comments? Suggestions? Let us know!
User avatar
UnrealYoda
Posts: 78
Joined: Fri Aug 20, 2010 11:04 am

PHP errors on picture upload?

Post by UnrealYoda » Fri Aug 20, 2010 6:12 pm

I was trying to add some pictures to the Gallery to share, and when I click on the Upload File link, it spews out the following at the top of the page that follows:

Warning: filemtime() [function.filemtime]: stat failed for ./albums/edit/. in /home/avery33/public_html/gallery/upload.php on line 440

Warning: unlink(./albums/edit/.) [function.unlink]: Permission denied in /home/avery33/public_html/gallery/upload.php on line 453

Warning: filemtime() [function.filemtime]: stat failed for ./albums/edit/.. in /home/avery33/public_html/gallery/upload.php on line 440

Warning: unlink(./albums/edit/..) [function.unlink]: Permission denied in /home/avery33/public_html/gallery/upload.php on line 453



I kind of ignored that and kept going with the attempted file upload, after which I got the following errors and a message saying that 0 uploads were successful:

Warning: move_uploaded_file(./albums/edit/mHTTP_temp_814e5576.JPG) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/avery33/public_html/gallery/upload.php on line 1197

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpWq7WJD' to './albums/edit/mHTTP_temp_814e5576.JPG' in /home/avery33/public_html/gallery/upload.php on line 1197
When 900 years old you reach...look as good you will not, hmm?

User avatar
Sullen_Girl
Posts: 1150
Joined: Thu Feb 10, 2005 9:37 am

Post by Sullen_Girl » Fri Aug 20, 2010 6:16 pm

Weird. I'm getting that, too. Keith will probably look into it sometime this weekend.
Sell crazy somewhere else. We're all stocked up here.

User avatar
UnrealYoda
Posts: 78
Joined: Fri Aug 20, 2010 11:04 am

Post by UnrealYoda » Fri Aug 20, 2010 6:18 pm

Cool beans. I have a cleavage to share when it works.
When 900 years old you reach...look as good you will not, hmm?

User avatar
Avery
Posts: 61
Joined: Thu Feb 10, 2005 9:39 am

Post by Avery » Fri Aug 20, 2010 6:24 pm

Weird... we're getting close to our disk usage limit, though, so we might have to nix image hosting anyway.

User avatar
UnrealYoda
Posts: 78
Joined: Fri Aug 20, 2010 11:04 am

Post by UnrealYoda » Fri Aug 20, 2010 6:27 pm

Ah gotcha. Are you hosting your own server or do you use an external host? I have some hosting space with my domains that I think can be reallocated in some way if you guys want to use some of that.

I haven't looked into doing that before, but I think it's possible and I'd be willing to research it if you like.

I've been paying for a hosting account for years that I barely touch, so it's just free GB collecting dust currently, and I'd rather have you guys have the ability for hosting internal to the site since people are less willing to share things in offsite environments (or at least I know I am.)
When 900 years old you reach...look as good you will not, hmm?

User avatar
Sullen_Girl
Posts: 1150
Joined: Thu Feb 10, 2005 9:37 am

Post by Sullen_Girl » Fri Aug 20, 2010 6:27 pm

Avery wrote:Weird... we're getting close to our disk usage limit, though, so we might have to nix image hosting anyway.
Oh noes!!!

(I don't know what that means.)
Sell crazy somewhere else. We're all stocked up here.

User avatar
UnrealYoda
Posts: 78
Joined: Fri Aug 20, 2010 11:04 am

Post by UnrealYoda » Fri Aug 20, 2010 6:30 pm

I don't know what that means.
It means the buckets almost full. ;)
When 900 years old you reach...look as good you will not, hmm?

User avatar
Sullen_Girl
Posts: 1150
Joined: Thu Feb 10, 2005 9:37 am

Post by Sullen_Girl » Fri Aug 20, 2010 6:34 pm

UnrealYoda wrote:
It means the buckets almost full. ;)
I got that much. :P

We have a forum for our families associated with this hosting. It if means there are too many pics hosted, I could delete some older ones from the galleries on both.
Sell crazy somewhere else. We're all stocked up here.

User avatar
UnrealYoda
Posts: 78
Joined: Fri Aug 20, 2010 11:04 am

Post by UnrealYoda » Fri Aug 20, 2010 6:37 pm

If it's disk usage, then yes...it's just storage space being too filled up and removing old pictures, etc would help.
When 900 years old you reach...look as good you will not, hmm?

ganderx
Posts: 1085
Joined: Thu Feb 10, 2005 8:33 pm

Post by ganderx » Fri Aug 20, 2010 10:39 pm

Hi everyone!


(I have nothing to contribute to this thread, but, it's busy, so I felt like being a part of it.)

Post Reply