My Image Upload Module doesn't save a file anywhere. I can go through the process of selecting the image and submitting a new story, the page takes longer to load as if it's uploading the image, but an image is never uploaded. I check the image directory in my site root and nothing has been uploaded there.
I have spent hours configuring every little detail and making every code change to enable the Image Upload module. I am 99% sure I've done everything correctly, however images will not upload.
I am on Pligg 9.9 Beta. Extra Fields enabled, module enabled, all code changes made, images folder created in root directory with 777 permissions, and made change to module_libs.php to get rid of the warning.
The only part of the process I wasn't clear on was for the change to submit.php. Can somebody familiar with Image Upload for Pligg 9.9 look at this function from submit.php and tell me if it correct?
You can view my site at JoomlaVote.comCode:// submit step 3 function do_submit3() { global $db; $linkres=new Link; $linkres->id=$link_id = strip_tags($_POST['id']); $linkres->read(); totals_adjust_count($linkres->status, -1); totals_adjust_count('queued', 1); $linkres->status='queued'; $vars = array('linkres'=>$linkres); check_actions('do_submit3', $vars); $linkres->store_basic(); // START: Image Upload Module check_actions('image_upload_process'); // END: Image Upload Module $linkres->check_should_publish(); if(!empty($_POST['trackback'])) { require_once(mnminclude.'trackback.php'); $trackres = new Trackback; $trackres->url=trim($_POST['trackback']); $trackres->link=$linkres->id; $trackres->title=$linkres->title; $trackres->author=$linkres->author; $trackres->content=$linkres->content; $res = $trackres->send(); } header("Location: " . getmyurl('upcoming')); die; }
Thanks!



Reply With Quote




