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?

Quite probably a noob question...

Asked Modified Viewed 2,604 times
H
headhunter
H
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
asked
Newbie

...but whenever I try to submit a photo to my gallery, it doesn't show up and I get this error:

Warning: filesize() [function.filesize]: stat failed for images/photoalbum/album_1/serverp.jpg in /home/clanmr/public_html/php-files/photogallery.php on line 68

If this is very very noobie please flame me and then give me some help :P
0 replies

9 posts

H
headhunter
H
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

can anyone help me on this?
0 replies
A
adicrst
A
  • Member, joined since
  • Contributed 111 posts on the community forums.
  • Started 32 threads in the forums
answered
Member

filesize()

that means the file is bigger then you allowed it in the admin panel. Also check if the folders(images/photoalbumxxxx) is chmod to 777
0 replies
K
Ken
K
Ken 10
No Support by PM. Please use the forum.
  • Senior Member, joined since
  • Contributed 713 posts on the community forums.
  • Started 43 threads in the forums
answered
Senior Member

I guess you have set the limit to high in admin panel, else you should just get an "Image is to big" error message.
0 replies
H
headhunter
H
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

thanks guys, but i seem to have isolated the problem, when i try to publish a photo submission in the admin panel, i receive these php error messages:

Warning: copy(../images/photoalbum/album_1/dmwl1.jpg) [function.copy]: failed to open stream: No such file or directory in /home/clanmr/public_html/php-files/administration/submissions.php on line 343

Warning: chmod() [function.chmod]: No such file or directory in /home/clanmr/public_html/php-files/administration/submissions.php on line 344

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

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

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /home/clanmr/public_html/php-files/includes/photo_functions_include.php on line 45

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

Warning: touch() [function.touch]: Unable to create file ../images/photoalbum/album_1/dmwl1_t1.jpg because No such file or directory in /home/clanmr/public_html/php-files/includes/photo_functions_include.php on line 49


hope you can help me here!
0 replies
K
Ken
K
Ken 10
No Support by PM. Please use the forum.
  • Senior Member, joined since
  • Contributed 713 posts on the community forums.
  • Started 43 threads in the forums
answered
Senior Member

Check if these two folders are chmoded to 777:
[ulist=disc]
images/photoalbum/
images/photoalbum/submissions/
[/ulist]
0 replies
H
headhunter
H
  • Newbie, joined since
  • Contributed 5 posts on the community forums.
  • Started 2 threads in the forums
  • Started this discussions
answered
Newbie

hey,

i have checked this and yes, they are both chmodded.

the problem seems to not lie with the upload, but when I as admin try to publish the photo, it does not publish correctly, any ideas?
0 replies
R
Raedan
R
Raedan 10
Smiles - Raedan
  • Junior Member, joined since
  • Contributed 10 posts on the community forums.
  • Started 2 threads in the forums
answered
Junior Member

I had probs as well, but were solved by chmoding the two folders to 777:

[ulist=square]images/photoalbum/
images/photoalbum/submissions/[/ulist]

So I can confirm that it works atleast :-{

You may wanna try again to chmod them... make sure you are "standing" on the images/photoalbum/ folder, and make sure you chmod everything below it.

Good luck.
0 replies
K
Ken
K
Ken 10
No Support by PM. Please use the forum.
  • Senior Member, joined since
  • Contributed 713 posts on the community forums.
  • Started 43 threads in the forums
answered
Senior Member

Maybe the picture you try to publish is to big (in filesize and/or height and width)?
0 replies
M
Martijn78
M
euhh...
  • Member, joined since
  • Contributed 107 posts on the community forums.
  • Started 25 threads in the forums
answered
Member

Can you give all the specifications of the file?
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 9 posts
  • Votes 0 votes
  • Topic users 5 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet