Page 27 of 60 FirstFirst ... 17252627282937 ... LastLast
Results 261 to 270 of 593
  1. #261
    Join Date
    Dec 2006
    Location
    Ohio
    Posts
    198
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    I just moved to a different host. Now, I'm having a small font problem on my main site.

    http://www.ktnaturals.com/index.php?...age=contact_us

    What's strange is that I have a test store in just a directory under the root. That one's displaying fine.
    http://www.ktnaturals.com/testshop/i...age=contact_us

    The 2 hosts run different versions of PHP, Apache, and MySQL. But that doesn't explain why my testshop displays it correctly... I wouldn't worry so much, but I know some people are going to complain that they can't read it...

    I compared the captcha files for both, and I checked the settings, and they're identical.

    The only difference is the database... I normally apply the same updates for both stores, so I don't even know where to check...

    I tried all 3 image formats, as well as adjusting the font size. Nothing works. I seemed to recall an update that I applied to this mod a while back that fixed this issue at my old host. Maybe I need to undo it? Can someone point me in the right direction? Thanks!

  2. #262
    Join Date
    Dec 2006
    Location
    Ohio
    Posts
    198
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    Figured it out... Somehow, the fonts file was missing with the font file. I re-uploaded it, and all is well.

  3. #263
    Join Date
    Sep 2005
    Posts
    51
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    Quote Originally Posted by phazlee View Post
    Hi all I am getting this bunch of errors when I try to install the sql from admin.
    Need help in resolving this fast. Thanks.

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true', 'false'),'), (NULL, 'Image Type', 'CAPTCHA_IMG_TYPE', 'png', 'CAPTCHA Ima' at line 1
    in:
    [INSERT INTO zen_sgconfiguration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function) VALUES (NULL, 'Code Length', 'CAPTCHA_CODE_LENGTH', '6', 'Verification Code length', @configuration_group_id, 1, NOW(), NULL, NULL), (NULL, 'Image Width', 'CAPTCHA_IMG_WIDTH', '240', 'CAPTCHA Image Width', @configuration_group_id, 2, NOW(), NULL, NULL), (NULL, 'Image Height', 'CAPTCHA_IMG_HEIGHT', '50', 'CAPTCHA Image Height', @configuration_group_id, 3, NOW(), NULL, NULL), (NULL, 'Chars minimum size', 'CAPTCHA_CHARS_MIN_SIZE', '0.6', 'Chars minimum size (1.0=Image Height)', @configuration_group_id, 4, NOW(), NULL, NULL), (NULL, 'Chars maximum size', 'CAPTCHA_CHARS_MAX_SIZE', '0.8', 'Chars maximum size (1.0=Image Height)', @configuration_group_id, 5, NOW(), NULL, NULL), (NULL, 'Corner of rotation', 'CAPTCHA_CHARS_ROTATION', '23', 'Chars Corner of rotation', @configuration_group_id, 6, NOW(), NULL, NULL), (NULL, 'Shadow Chars', 'CAPTCHA_CHARS_SHADOW', 'true', 'Generate Shadows for Characters', @configuration_group_id, 7, NOW(), NULL, 'zen_cfg_select_option(array('true', 'false'),'), (NULL, 'Image Type', 'CAPTCHA_IMG_TYPE', 'png', 'CAPTCHA Image Type', @configuration_group_id, 10, NOW(), NULL, 'zen_cfg_select_option(array('png', 'jpeg', 'gif'),'), (NULL, 'Create Account page', 'CAPTCHA_CREATE_ACCOUNT', 'true', 'Activate Validation on Create Account page', @configuration_group_id, 21, NOW(), NULL, 'zen_cfg_select_option(array('true', 'false'),'), (NULL, 'Contact Us page', 'CAPTCHA_CONTACT_US', 'true', 'Activate Validation on Contact Us page', @configuration_group_id, 22, NOW(), NULL, 'zen_cfg_select_option(array('true', 'false'),'), (NULL, 'Tell A Friend page', 'CAPTCHA_TELL_A_FRIEND', 'true', 'Activate Validation on Tell A Friend page', @configuration_group_id, 23, NOW(), NULL, 'zen_cfg_select_option(array('true', 'false'),'), (NULL, 'Links Submit page', 'CAPTCHA_LINKS_SUBMIT', 'true', 'Activate Validation on Links Submit page', @configuration_group_id, 24, NOW(), NULL, 'zen_cfg_select_option(array('true', 'false'),'), (NULL, 'Write Review page', 'CAPTCHA_REVIEWS_WRITE', 'true', 'Activate Validation on Write Review page', @configuration_group_id, 25, NOW(), NULL, 'zen_cfg_select_option(array('true', 'false'),');]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
    I am having the same problem -- any help on this error? ZC v1.3.7, MySQL client version: 4.1.21
    Mommy Haven Forum for Women
    http://www.mommyhaven.com/

    "Every child comes with the message that God is not yet discouraged of man" --Tagore

  4. #264
    Join Date
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

    Default Re: Captcha using TTF & GD

    WittyMom:

    Did you copy & paste or use the upload option when you tried to apply the sql patch? Copy & paste is the best way to do this.

  5. #265
    Join Date
    Sep 2005
    Posts
    51
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    No, copy & paste won't work with this one because it calls in fields that it creates in other tables.

    I had modify the script myself. The problem(s) were:

    1. Field names weren't encased in `these`
    2. Field values weren't encased in 'these' -- namely 'NULL' and the values for "Order"

    The first part of the script ran fine where it added a field to the configuration_group, so I went and got the ID for the new field and in subsequent code I replaced:

    @configuration_group_id

    with..

    'ID#' (the actual #)

    ...I also had to add the prefix to "configuration"

    I have no idea why only a couple of us had this problem! I got it from the same download screen everyone else did. I don't know much about SQL versions, but maybe that had something to do with it.
    Mommy Haven Forum for Women
    http://www.mommyhaven.com/

    "Every child comes with the message that God is not yet discouraged of man" --Tagore

  6. #266
    Join Date
    Jan 2008
    Posts
    1
    Plugin Contributions
    1

    red flag Re: Captcha using TTF & GD

    Shalom all,

    I installed ths mod and it worked great on every page it's supposed to except for the contact_us page which it simply loaded a blank page on. When I uninstalled it the page was there again... Has anyone else had this problem and, if so, how did you fix it?

    Shalom.
    Frank

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

    Default Re: Captcha using TTF & GD

    Quote Originally Posted by wittymom View Post
    No, copy & paste won't work with this one because it calls in fields that it creates in other tables.
    Copy/Paste & Execute work fine with this and other sql-scripts.
    Upload & Execute don't work with magic quotes in 1.3.7.

  8. #268
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Captcha using TTF & GD

    Just a FYI.

    Running cpatcha mod on ZC 1.3.7.1

    Just updated host to Apache 2.2.6 and PHP 5.2.5 (and Apache and PHP now run as CGI and suphp and suhosin installed).

    The captcha on contact form still works fine ;-)

    Thanks Andrew.

    P.S. So how well are the techniques used by this mod holding up?

    Recent reports suggest Yahoo's captcha has possibly been cracked for a 35% success rate. (success defined from perspective of the spammer... 35% is considered very good accuracy)

    http://www.informationweek.com/inter...leID=205900620
    http://www.pcworld.com/article/id,14...o/article.html

  9. #269
    Join Date
    Sep 2006
    Posts
    277
    Plugin Contributions
    2

    Default Re: Captcha using TTF & GD

    Does anyone has CAPTCHA updated for 1.3.8a?

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

    Default Re: Captcha using TTF & GD

    Quote Originally Posted by stevefriedman71 View Post
    Does anyone has CAPTCHA updated for 1.3.8a?
    Sure. If you will simply follow the instructions to change the files, everything will be fine in 1.3.8.

 

 
Page 27 of 60 FirstFirst ... 17252627282937 ... 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