myoplosan 0 Posted May 14, 2015 Posted May 14, 2015 hello, i have problem to post a comment in csblog module that always show error invalid captcha altough captcha disable, it still come out. and resize image function in csblog modul still an error, it keep tell can`t uploading image, im just suspect this code, but iam not a programmer so i dont know what is the code means --> from AdminCSPost.php // Copy new image if (empty($this->errors) && !ImageManager::resize($tmp_name, $dir.$id.'.'.$this->imageType, (int)$width, (int)$height, ($ext ? $ext : $this->imageType))) $this->errors[] = Tools::displayError('An error occurred while uploading the image.'); if (count($this->errors)) return false; if ($this->afterImageUpload()) { unlink($tmp_name); return true; } return false; } return true; } Share this post Link to post Share on other sites
Recommended Posts