Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Photo Submissions PHPFusion 6

Asked Modified Viewed 2,164 times
G
geekazoid1983
G
  • Junior Member, joined since
  • Contributed 12 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
asked
Junior Member

I've ran through all the scenarios I could think of. CHMOD'd all the necessary folders and files...but I can't figure out why i get this when I accept a photo submission

Quote

Warning: copy(../images/photoalbum/album_1/test.jpg): failed to open stream: No such file or directory in /home/unscdfne/public_html/83odst/administration/submissions.php on line 343

Warning: chmod(): No such file or directory in /home/unscdfne/public_html/83odst/administration/submissions.php on line 344

Warning: imagesx(): supplied argument is not a valid Image resource in /home/unscdfne/public_html/83odst/includes/photo_functions_include.php on line 22

Warning: imagesy(): supplied argument is not a valid Image resource in /home/unscdfne/public_html/83odst/includes/photo_functions_include.php on line 23

Warning: imagecreatetruecolor(): Invalid image dimensions in /home/unscdfne/public_html/83odst/includes/photo_functions_include.php on line 45

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /home/unscdfne/public_html/83odst/includes/photo_functions_include.php on line 46

Warning: touch(): Unable to create file ../images/photoalbum/album_1/test_t1.jpg because No such file or directory in /home/unscdfne/public_html/83odst/includes/photo_functions_include.php on line 49
0 replies

11 posts

G
geekazoid1983
G
  • Junior Member, joined since
  • Contributed 12 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Junior Member

Bumpness?
0 replies
M
MrSimple
M
Make it work... keep it simple...
  • Senior Member, joined since
  • Contributed 324 posts on the community forums.
  • Started 7 threads in the forums
answered
Senior Member

I Guess you have to do a step by step check.
You said you checked all the folder permissions so I assume they are correct.

After submitting the photo, did it show in the images/photoalbum/submissions/ folder?
0 replies
G
geekazoid1983
G
  • Junior Member, joined since
  • Contributed 12 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Junior Member

Indeed. The pictures showed up just fine, but after I hit allow, I received the error above
0 replies
M
MrSimple
M
Make it work... keep it simple...
  • Senior Member, joined since
  • Contributed 324 posts on the community forums.
  • Started 7 threads in the forums
answered
Senior Member

Ok. One step verified.

When you go to admin/submissions can you preview the photo?
0 replies
G
geekazoid1983
G
  • Junior Member, joined since
  • Contributed 12 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Junior Member

Indeed, previews just fine as well.
0 replies
M
MrSimple
M
Make it work... keep it simple...
  • Senior Member, joined since
  • Contributed 324 posts on the community forums.
  • Started 7 threads in the forums
answered
Senior Member

After accepting the photo, and getting the error messages, does the photo still show up in the submissions folder?
0 replies
G
geekazoid1983
G
  • Junior Member, joined since
  • Contributed 12 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Junior Member

Negative. It's removed from the submissions folder but never shows up in the gallery folder. The only thing that shows up then is a broken image link
0 replies
M
MrSimple
M
Make it work... keep it simple...
  • Senior Member, joined since
  • Contributed 324 posts on the community forums.
  • Started 7 threads in the forums
answered
Senior Member

Ok.

So the script removes it from the folder but doesn't move it to the album folder.
According to the error messages, the photo should have been moved to the images/photoalbum/album_1/ folder. What are the permissions on that folder?
0 replies
G
geekazoid1983
G
  • Junior Member, joined since
  • Contributed 12 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Junior Member

See, that's the weird thing. photoalbum/album_1 doesn't even exist on my file server....yet I know the album is there because I can view it in my albums listing.
0 replies
G
geekazoid1983
G
  • Junior Member, joined since
  • Contributed 12 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Junior Member

Ok, I got the issue resolved.

I deleted the album in question and re-created it. For some reason..when I created it the first time, it added it to the database but didn't create a folder. Strange. Thanks though for all your help ^_^
0 replies
M
MrSimple
M
Make it work... keep it simple...
  • Senior Member, joined since
  • Contributed 324 posts on the community forums.
  • Started 7 threads in the forums
answered
Senior Member

Strange, having an album in the database but not the folder...:|
But it's solved now. :D
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 11 posts
  • Votes 0 votes
  • Topic users 2 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet