Registration is currently disabled.
I have a Linux based server. In a domain, I have WordPress 3.4.2, with PHP as application FastCGI. Many functions, like timthumb.php works great generating images. My problem is with CFormsII, latest version, only for captcha image.
Looking into the code, I see this file require wp_load.php or wp_config.php, then get some options from database for generating image. The problem is when I generate the image, I get the error:
"…the image contains errors".
I have make this test:
$im_bg_url = dirname(__FILE__) . '/captchabg/1.png'; $im = imagecreatefrompng($im_bg_url); header("Content-type:image/jpeg"); @imagejpeg($im,"",100); @imagedestroy($im); die();
With the wp_load required, this does not work, if I disable loading wp_load it works fine.
March 6, 2005
it sounds like some setting configured via the cforms admin panel causes issues creating the img,
if setting $cap to "" (nothing) and leaving wp_load in place, does the same trick then that's a clear indication and you should check your captcha setting under cforms global settings.
if it doesn't work, then there is some bigger issue.
this is what im doing,
after create abspath.php,
go to global setting, check force captcha display for logged in users.
Most Users Ever Online: 959
Currently Browsing this Page:
Guest Posters: 3708
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6400), Nicky (3)