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?

Problem with photosubmisions

Asked Modified Viewed 1,718 times
M
Marliks
M
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

HI!

Submit Photo function works, its knows that something is uploaded an is waiting for validiation, but when I am PUBLISHING it true submissions function the page returns this:
:@

Warning: copy(../images/photoalbum/submissions/image002.gif) [function.copy]: failed to open stream: No such file or directory in C:\WEB\PHP\php-files\administration\submissions.php on line 343

Warning: chmod() [function.chmod]: No such file or directory in C:\WEB\PHP\php-files\administration\submissions.php on line 344

Warning: unlink(../images/photoalbum/submissions/image002.gif) [function.unlink]: No such file or directory in C:\WEB\PHP\php-files\administration\submissions.php on line 345

Fatal error: Call to undefined function imagesx() in C:\WEB\PHP\php-files\includes\photo_functions_include.php on line 22


Why is that? have any body something like this before? I am running it from my home. Adress localhost or my actual IP those not change anything.

:o

Actualy now it doesnt uplad any images at all. I made new galer and upload for galery thumb returned same:

Fatal error: Call to undefined function imagecreatefromjpeg() in C:\WEB\PHP\php-files\includes\photo_functions_include.php on line 19
Edited by Marliks on 08-03-2007 13:02,
0 replies

4 posts

K
KEFF
K
KEFF 10
Member of Executive Committee. No sites running.
  • Veteran Member, joined since
  • Contributed 797 posts on the community forums.
  • Started 32 threads in the forums
answered
Veteran Member

Quote

submissions.php


Is that file present? If so, what does lines 344 and 345 say?

Please try to provide more information whenasking for help, the more specific you guys are, the faster you'll be helped.
0 replies
M
Marliks
M
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

343 copy(PHOTOS."submissions/".$submit_criteria['photo_file'],
344_ $photo_dest.$photo_file);
345 chmod($photo_dest.$photo_file, 0644);
346 unlink(PHOTOS."submissions/".$submit_criteria['photo_file']);
347 $imagefile = @getimagesize($photo_dest.$photo_file);


now any image uplad isnt working at all if its conected with photo galery. Other uploads like news or main imanges is working.
Edited by Marliks on 08-03-2007 13:06,
0 replies
M
Marliks
M
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

So heres some more:

Is started all over agen. Completely new php-file folder with clean non-modfide anything. Clean database. And gues what? Its the same error... So is it db or something? realy nobody never has same problem?
Edited by Marliks on 08-03-2007 14:53,
0 replies
M
Marliks
M
  • Newbie, joined since
  • Contributed 4 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Well thank you all very much :(
0 replies

Category Forum

Bugs and Errors - 6

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 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