PHP errors on picture upload?
- UnrealYoda
- Posts: 78
- Joined: Fri Aug 20, 2010 11:04 am
PHP errors on picture upload?
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
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?
- Sullen_Girl
- Posts: 1150
- Joined: Thu Feb 10, 2005 9:37 am
- UnrealYoda
- Posts: 78
- Joined: Fri Aug 20, 2010 11:04 am
- UnrealYoda
- Posts: 78
- Joined: Fri Aug 20, 2010 11:04 am
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.)
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?
- Sullen_Girl
- Posts: 1150
- Joined: Thu Feb 10, 2005 9:37 am
- UnrealYoda
- Posts: 78
- Joined: Fri Aug 20, 2010 11:04 am
- Sullen_Girl
- Posts: 1150
- Joined: Thu Feb 10, 2005 9:37 am
- UnrealYoda
- Posts: 78
- Joined: Fri Aug 20, 2010 11:04 am