Page 39 of 60 FirstFirst ... 29373839404149 ... LastLast
Results 381 to 390 of 593
  1. #381
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Captcha using TTF & GD


  2. #382
    Join Date
    Feb 2005
    Location
    New Jersey
    Posts
    646
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    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.

    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

  3. #383
    Join Date
    Jun 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    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

  4. #384
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Captcha using TTF & GD

    Quote Originally Posted by zilog357 View Post
    May the image generating routine is somehow inserting that extra blank character or space byte at the beginning of the file
    No, that's your problem. Look for a space at the beginning or end of other files. Which you recently edited or fixed.
    Tried to use captcha_debug.php?

  5. #385
    Join Date
    Jun 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    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>CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), default quality C $.' ",#(7),01444'9=82<.342C 2!!222222222222222222222222222222222222222222222222222" ĵ}!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ĵw!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?7 yMrأS;Hնean=}jiF>̄HlҼ^DCb.8#)ڮ1iLk }Ⱥ ?y1,v2Àr~+=_o &ʝ:Q1^PeRppぴmt遃BV]A\JϨuP>`Oǡ͟_E# e%>9@?1rdA|"o@+:3kҪm$]';x8 y!."㌕`sx9&)̘Iڼ$gj DgVK2{{KxkؙmyU%PgA'j;_Bڴ/ 7n-##qFRP@I#I /<7 qB\Hrzcrk̮uOkY:H>U0+I$]U9m<Fk0rcGr@#gx(##'8/3׮zXď pۼ22N0Is?J##*A4Q o0go@psJ9l4*\;?À'_|Rq#0*8uƗ\@V`r;1֦m͗n Ib3 aL"Je)dlTV s,A+:xBv+~4Y[4.{/ hY6Gl溏+}y{)f,劅(czuYV\ ##~|LҬa;9= +b?/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V#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';
    }

  6. #386
    Join Date
    Oct 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    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

  7. #387
    Join Date
    Oct 2008
    Location
    Hornell, NY
    Posts
    334
    Plugin Contributions
    1

    Default Re: Captcha using TTF & GD

    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?

  8. #388
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Captcha using TTF & GD

    Quote Originally Posted by tcarney. View Post
    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
    The captcha image is there, but the code validation and even the redrew button does not work... check your code edits. Seems something is missing..
    Dave
    Always forward thinking... Lost my mind!

  9. #389
    Join Date
    Jun 2008
    Location
    uk
    Posts
    71
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    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

  10. #390
    Join Date
    Jun 2008
    Location
    uk
    Posts
    71
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    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


    steve

 

 
Page 39 of 60 FirstFirst ... 29373839404149 ... LastLast

Similar Threads

  1. Replies: 68
    Last Post: 29 Jul 2013, 06:33 PM
  2. CAPTCHA using TTF & GD - not working
    By derrr99 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 13 Dec 2010, 04:05 PM
  3. Replies: 13
    Last Post: 2 Jun 2008, 03:29 PM
  4. Captcha using TTF & GD & Tel Not Required (how do I Avoid Overwrites?)
    By CelticKatt in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 8 Apr 2008, 04:18 AM
  5. Can CAPTCHA Using TTF & GD be installed in check out?
    By Lainee in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 8 May 2007, 04:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR