Page 33 of 60 FirstFirst ... 23313233343543 ... LastLast
Results 321 to 330 of 593
  1. #321
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Captcha using TTF & GD

    But...the validation through CAPTCHA is not active, you can leave the field blank and the message is sent the usual way...any suggestion to have the verification working? (Using v.1.3.8a)
    starks -- Look at your edits to see if you have them all in place. I have it installed on 1.3.8a and working.

    Has there been any fix for the "Enable This Picture" problem with the Ultimate SEO module?
    Jeff_Mash -- Still looking into it... I've been able to recreate the problem, just have to trace it back to the cause.
    Dave
    Always forward thinking... Lost my mind!

  2. #322
    Join Date
    Aug 2004
    Posts
    799
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    Quote Originally Posted by davewest View Post
    Jeff_Mash -- Still looking into it... I've been able to recreate the problem, just have to trace it back to the cause.
    Thanks Dave. I will be anxiously awaiting your response. If you need me to verify anything, just let me know.

  3. #323
    Join Date
    Aug 2004
    Posts
    799
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    Ok, I am making SOME progress with the "Enable This Picture" error that you get when using Ultimate SEO's.

    Right now, I am simply working with the captcha_test.php until I get it to work totally correct.

    If you edit the captcha_test.php, do the following:

    FIND:

    Code:
    $this->img_href = zen_href_link('captcha_img.php', zen_session_name() . '=' . zen_session_id(), 'SSL', false, false, true);
    REPLACE WITH:

    Code:
    $this->img_href = original_zen_href_link('captcha_img.php', zen_session_name() . '=' . zen_session_id(), 'SSL', false, false, true);
    That will make the image appear! However, now it doesn't matter what code I type in, I am still getting an INVALID error. I will continue to poke around but if you can assist, just let me know what you find out.

  4. #324
    Join Date
    Aug 2004
    Posts
    799
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    From what I can see, when you submit the form, the following variable is empty:

    $_POST[$_SESSION['captcha_field']]

    Now to figure out how to make sure the value gets saved in there!

  5. #325
    Join Date
    Aug 2004
    Posts
    799
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    Nevermind my last post. The captcha_test page won't validate the code correctly, and I was trying to figure out why.

    However, the real script on the Contact Us page now works. So in order to get around the Enable This Picture error that you see when using the Ultimate SEO module, simply do that little code change below and it will display the picture for you.

    Hope that helps!

    Open the includes/classes/captcha.php and change the following:

    FIND in function captcha():

    Code:
    $this->img_href = zen_href_link('captcha_img.php', zen_session_name() . '=' . zen_session_id(), 'SSL', false, false, true);
    REPLACE WITH:

    Code:
    $this->img_href = original_zen_href_link('captcha_img.php', zen_session_name() . '=' . zen_session_id(), 'SSL', false, false, true);
    Last edited by Jeff_Mash; 19 Jul 2008 at 07:11 PM.

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

    Default Re: Captcha using TTF & GD

    Quote Originally Posted by Jeff_Mash View Post
    Open the includes/classes/captcha.php and change the following:
    Jeff.. tried the code change and got a white screen....

    I've tested on my heavy modified site, I use USEO. Also tested on a fresh install with no modes or .htaccess .. all 1.3.8a I get the same results on my testing server.

    I found if I comment out a line in includes/init_includes/init_customer_auth.php
    line;

    zen_redirect(zen_href_link(FILENAME_LOGIN, '', 'SSL'));

    CAPTCHA shows and works, but I don't think that would be a good idea for a live site. I don't have a SSL cert installed on my testing server, so I'm still looking at the code. For now, I don't think USEO or .htaccess is the problem, but more of an SSL thing. Least that's how it's behaving on my system.
    Dave
    Always forward thinking... Lost my mind!

  7. #327
    Join Date
    Dec 2005
    Location
    Cincinnati Ohio
    Posts
    1,030
    Plugin Contributions
    13

    Default Re: Captcha using TTF & GD

    Okay after some retesting and and doing some odd ball reconfigurations if you are using the captcha-number-subject-combo-in-one-1.0 here is a way to test your mod install by doing the following to make sure it is not folder over ride related.

    Before doing so be sure to back up the original files no matter the issue and you will have a backup of the original and can replace any problems with it.

    Some of you are using this mod with Ultimate SEO however the pages that the captcha work on are not to be used in SEO unless this is a necessary must and it is not recommended to use with the following pages if you have it configured this way.

    Pages Are:

    1. Create Account Page
    2. Leave A Review Page
    3. Tell A Friend Page
    4. Login Page
    5. Contact Us Page
    6. Link Submit - Only if your using this

    These pages are not recommended for rank or search engines not sure why you would even use these pages for rank or any other search engine related tasks.

    If you have your htaccess file configured to rewrite them simply rewrite the htaccess file to ignore friendly url on the pages above.

    Also for the ones with SSL on your live site follow these steps as well so you can find out if your over ride folders are working.

    In the mod folders that you downloaded you will see folders name YOUR_TEMPLATE make sure they are renamed to the exact template you are using.

    Like in includes/templates/classic if you are using this for your template rename the folders in the mod folders from YOUR_TEMPLATE to classic. if you think you done so double check to be absolute sure they are named same as your template folder.

    If you do not know which template you are using then go to the zencart
    admin --> templates, this will tell you which template you are using.

    Now since you have checked and made sure which template you have named all folders correctly and it still does not work do the following and test it this way.

    Instead of the over ride folders replace the original files instead of using the over ride folder.

    Here is how you do that.

    1. In your ftp go to all folders that you see in the mod folder

    For example the includes/modules/YOUR_TEMPLATE just like it is in the downloaded file you got from the download sections of zencart.

    Now instead of using the override replace the file in the main modules folder create_account.php and do all files this way and then test your store.

    It has been reported to us that sometimes this mod does not work in the over rides reason is unknown and is still under development. Until this you can test this on a test site and not a LIVE site and see if it works.

    here is a 100% live site we just installed this mod on and nothing was done to it, it is the same exact file set you are using.

    https://www.echo-electronics.com

    This site is using both Ultimate SEO and SSL at the same time and it works fine.

    Do the above tests and see how it works for you. If it works after testing with the core files instead of the over ride folder then you know one of the few things listed.

    1. Another mod is conflicting if any installed.
    2. Your over ride setup is not complete in some way
    3. Your htaccess rewrite is not written or coded correctly
    4. Just forgot something?

    The site I posted shows this mod is in 100% working order and the problem should go away after you tried everything above.

    As for shared ssl this should work as well but we have no means of testing shared ssl as we do not use shared for security reasons.

    We wish you luck.
    Last edited by knuckle-101; 20 Jul 2008 at 11:22 PM.
    PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
    Business Class Web Hosting - Linux and cPanel Powered

  8. #328
    Join Date
    May 2006
    Posts
    170
    Plugin Contributions
    1

    Default Re: Captcha using TTF & GD

    Thanks Andrew for the Mod, and everyone for the help with debugging and documentation.

    I installed this and it works perfectly with just one small exception. I use css buttons, and the redraw image button is not active. The user can not click on it to generate an action, it simply selects the ALT text.

    Does anyone have a suggestion for a fix? Either making the CSS button work, or disabling it for this single use?

  9. #329
    Join Date
    May 2006
    Posts
    170
    Plugin Contributions
    1

    Default Re: Captcha using TTF & GD

    I am thinking a fix could be in the classes/captcha.php function:

    Code:
    function redraw_button($image, $alt = '', $parameters = '', $sec_class = '') {
        $redraw = 'onclick="document.getElementById(\'captcha-img\').src=\'' . $this->img_href . '&rand=\'+Math.random();return false;"';
        return zen_image_button($image, $alt, $redraw . ' ' . $parameters, $sec_class );
    }

  10. #330
    Join Date
    Jun 2008
    Location
    Athens, Greece
    Posts
    14
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    Hi,

    Thanks a lot for this very good addon and helpfull post from all.

    First :

    For the friends who face problem with mysql...
    simple replace

    INSERT INTO configuration_group (.......
    WITH
    INSERT IGNORE INTO configuration_group (........

    this will help to bypass problems like value already exist

    Second :

    I have 2 languages in my site
    Greek and English
    First Language the Greek (NOT WORKING REDRAW )
    Second language English and NOW WORKING AT ALL
    Any idea ????

    ZEN CART 1.3.8
    [FONT="Comic Sans MS"]e-aroma.gr[/FONT]

 

 
Page 33 of 60 FirstFirst ... 23313233343543 ... 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