View Single Post
  #3 (permalink)  
Old 09-28-2008, 06:36 AM
OnlyBlue OnlyBlue is offline
New Pligger
 
Join Date: Jul 2007
Posts: 29
Thanks: 0
Thanked 1 Time in 1 Post
Quote:
Originally Posted by valipe View Post
you can get that part of the code in submit.php which is in root directory.
code has been moved from submit_step_3.tpl to submit.php.hope this will solve
Thanks, valipe

I found that part of the code in submit.php and added the below after those 2 lines:

Quote:
// START: Image Upload Module
check_actions('image_upload_process');
// END: Image Upload Module
I met sevaral warnings from XDebug as following while I try to upload an image.

Quote:
Warning: Missing argument 2 for check_actions(), called in D:\xampp\htdocs\pligg995\submit.php on line 277 and defined in D:\xampp\htdocs\pligg995\modules\modules_libs.php on line 87
Quote:
Warning: move_uploaded_file(D:/xampp/htdocs/pligg995/images/img_16.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in D:\xampp\htdocs\pligg995\modules\image_upload\imag e_upload_main.php on line 476
Quote:
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'D:\xampp\tmp\php344.tmp' to 'D:/xampp/htdocs/pligg995/images/img_16.jpg' in D:\xampp\htdocs\pligg995\modules\image_upload\imag e_upload_main.php on line 476
I found some posts in the forum, but no help.

Could somebody pleae tell me how to solve these problems?

Best regards!

OnlyBlue
Reply With Quote