Read this post - http://www.zen-cart.com/forum/showpo...&postcount=367
Printable View
Read this post - http://www.zen-cart.com/forum/showpo...&postcount=367
Hi All,
I was searching the forums to see why my image isn't showing up either. I have two sites both exactly the same but with wholesale pricing on one and retail on another. The captcha works fine on the retail but not the wholesale.
One thing I figured out is if you have the site set to not allow browsing with out log-in and authorization, the image does not show up on the contact us or create account. But once logged into an account that is authorized to browse and see prices, it works.
This is all well and good except that you can't create an account unless the captcha is turned off. :frusty:
Anyway...I just thought I would share in the event that others may have a similar set up and haven't yet figured out why this is happening. Now...anyone have a clue what to do??
Unfortunately I don't...
Thanks,
Kelly
Hi guys. I am having the same "Enable this Image" error. When I first installed the captcha, it worked fine, but after some weeks of mods, it stopped functioning.
When I do the direct test, it generates the image code in ASCII. and shows the parameters at the end of the page (not sure if this is normal). If I link directly to captcha_img.php, it asks for "Open" or "Download" the image. If I hit "Open", the program that opens images on my PC "MS Photo Editor", it shows "Can't Determine Type". If I choose to save it, when I try to open the saved file, the same error comes up.
I just opened the saved image in a Hex editor, to have an idea what type of file it's being saved and found out that some how, a space character (Hex "0020h" or Decimal "32") in being inserted as the first byte in the image file. If I delete the first byte of the image file in the hex editor and save it, it opens fine in the image editor, showing all the previously set parameter (tilt angle, num. or chars, size, etc.). That is, the jpg image file seen in a Hex editor would look like "FF, D8, FF, E0, etc.", but it is being saved as "20, FF, D8, FF, E0, etc.".
Of course, that is for the "jpg" option. Not sure if the same happens with the other image options, but at least I have tried all and no one shows up.
May the image generating routine is somehow inserting that extra blank character or space byte at the beginning of the file and that is why it is no longer showing up in my case. The thing is that I really have no way of troubleshooting it as I am not familiar with the method used by this Captcha and I'm a bit short on PHP knowledge.
I hope someone can come up with a fix as this is extremely important to stop automated activity in our pages.
Best regards,
Richard
Hello. Thanks for your reply Andrew.
The following comes up when I use the debug utility. There is an ascii code instead of the image file (without the space I mentioned in the header) and then the parameters list at the end.
Is this a normal debug result? Or should I see the image instead of the equivalent ascii?
The results are shown bellow.
Thanks again.
JFIF>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3MJB".;u?!iV6[˄].su4##¸eڥKH#wޝbb]$eXհpBvlv+|y`;Fz}{}y`jv9"qɌ g#>:CAʁ)ےx# > JUU0[?zpbzA2bWiEm> b^_ʁqPȬxOԸXK:( Ȏ) sPR3sJ%zVt@cCe-NGLɫ-0Uk( H'{x|1##xY%IY8*ִ_%q@ɖ9[-TNA7szڤ%!s+/0njcJ 6㒄$qv~kt-t&LH!EEޞ[u$$i#G qF,vm( 9 zgI>B%9yTԫιR@ =@gb<8Sؖ" 9>a7^qҟ%Gy%A)b 8`##UY( B@ O$qu \$6A n~zOF`yyII w/>ucck<"C'`N^ݩG.Z0;ߐx*{OANZ }GN *((duLfƝ{ H*&g~ur;W9f]xiswAٚ,A#C'?\)X9xq#`X`u .rUGujI%wÙm*<>`Ϩn '5VG@; Τ,GP#$tĒ➣yv BJˀOaP Y)1§>=2yFps }1=+R#axz7z(̩t)YnϘwxb8>%{c#7GQE !JeHde'r2{###eh9 3hDб*x_uB}fȎiwPrD 皫Ieh@C Z(Ej]fˌNz]1t,X.AQE7+rX;viKȽ}j۹Y9QE4j(H]bvV#v#߁RM##Io,'h9 TۀoHHz$ 9+`qE]I2`y>\pdNkH==(;kI=py*LЌX^QVJ2Eq* o].ʼnX?+(=
class captcha {
var $captchaCode = '86N';
var $captchaCode_length = '3';
var $img_width = '240';
var $img_height = '50';
var $img_type = 'jpeg';
var $chars_min_size = '0.8';
var $chars_max_size = '0.8';
var $chars_shadow = true;
var $chars_rotation = '15';
var $noise = 30;
var $backgroundColor =
array (
0 =>
array (
0 => 220,
1 => 220,
2 => 220,
),
1 =>
array (
0 => 255,
1 => 255,
2 => 255,
),
);
var $linesColor =
array (
0 =>
array (
0 => 150,
1 => 150,
2 => 150,
),
1 =>
array (
0 => 185,
1 => 185,
2 => 185,
),
);
var $textColor =
array (
0 =>
array (
0 => 30,
1 => 30,
2 => 30,
),
1 =>
array (
0 => 199,
1 => 199,
2 => 199,
),
);
var $dir_fs_fonts = '/home/content/z/i/l/zilog357/html/otherdeal/fonts/';
var $ttf_list =
array (
0 => '/home/content/z/i/l/zilog357/html/otherdeal/fonts/VERDANA.TTF',
);
var $max_try = 5;
var $failure_proc = '';
var $quality = 60;
var $chars =
array (
0 => '1',
1 => '2',
2 => '3',
3 => '4',
4 => '5',
5 => '6',
6 => '7',
7 => '8',
8 => '9',
9 => 'A',
10 => 'B',
11 => 'C',
12 => 'D',
13 => 'E',
14 => 'F',
15 => 'G',
16 => 'H',
17 => 'I',
18 => 'J',
19 => 'K',
20 => 'L',
21 => 'M',
22 => 'N',
23 => 'O',
24 => 'P',
25 => 'Q',
26 => 'R',
27 => 'S',
28 => 'T',
29 => 'U',
30 => 'V',
31 => 'W',
32 => 'X',
33 => 'Y',
34 => 'Z',
);
var $_background = NULL;
var $img = NULL;
var $_gd_version =
array (
'GD Version' => 'bundled (2.0.28 compatible)',
'FreeType Support' => true,
'FreeType Linkage' => 'with freetype',
'T1Lib Support' => false,
'GIF Read Support' => true,
'GIF Create Support' => true,
'JPG Support' => true,
'PNG Support' => true,
'WBMP Support' => true,
'XBM Support' => true,
'JIS-mapped Japanese Font Support' => false,
'version' => '2',
);
var $debug = true;
var $img_href = 'http://www.qcwo.com/otherdeal/captcha_img.php?zenid=6a77e6b6f091a1cd15e5969c51f9770c';
var $imageColorFunc = 'imagecolorallocate';
}
I've searched through this and other forums and have found this problem described. However, I have not found a solution. Any help from any body will be appreciated.
Because of the number of Spam requests for a link Exchange, I have installed this CAPTCHA mod in my ZC 1.3.8 store. When I go the the "Submit Link" page, just a blank page appears.
You can see the problem at http://www.couplespice.com
Just uploaded all the necessary files onto my server an ran the sql query it went fine, see the "CAPTCHA" options in Admin, when I go test it out, I don't see anything, just a regular form without no captcha, any ideas?
hello all,
just finished backing up my site and i am going to attempt to install .
just one thing i am not sure about though,
were do i put the font , i cant seem to find a font folder in my zencart folders . do i have to make one ? if so were do i put it ?
am i missing something here ?
i haven't installed nothing or uploaded anything yet, i am just backing up all my files before i install.
i really do need to get this installed quickly as i am recieving loads of spam mail.
steve
update ,
i have installed and it is working ,but is says case sensitive ...but you can use any format caps or normal and it still works, they have to be the right letters though :unsure: :unsure:
steve