Jump to content

csblog module captcha error


Recommended Posts

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
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More