Results 1 to 10 of 694

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Posts
    27
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Quote Originally Posted by a02l1zz View Post
    Hi All,

    I am having an issue with Bots I believe creating new accounts on my 1.3.9h system, which has been running just fine now for a while. I read through the entire thread here and didn't see or find anything related to the issue that I am having.

    I have followed the instructions, and I believe that I have everything alright, but after loading the files up and modifying them as necessary, when reloading the main store page, I just get a blank page. Checking the logs, I get the following error message:

    [15-Oct-2019 19:46:53] PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home1/bnmhobbi/public_html/store/includes/classes/observers/class.google_recaptcha.php on line 31
    [15-Oct-2019 19:46:53] PHP Parse error: syntax error, unexpected T_STRING in /home1/bnmhobbi/public_html/store/includes/classes/observers/class.google_recaptcha.php on line 31

    I can't for the life of me figure out what is wrong. If I remove all the files I upload, and revert back the files that I update manually, everything starts working again. Anyone got any idea on where to look here.

    Also, where should the following be added tot he template files.

    Code:
    <?php echo recaptcha_get_html(); ?>
    James
    Hi All,

    I was able to find the issue and it seems that I file had uploaded that was Zero Bytes, reloading the file solved the issue, and now the Captcha option is showing up. The issue is that it is showing up in the top left corner of the page, and it malforms the look of the page. How does one include it next to the submit button. Also, once I check the "I am not a robot" option, and then click submit, it prompts me for the Captcha on a blank page, how does one fix this.

  2. #2
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: Support Thread for Google reCAPTCHA

    Thanks for the update on the fix.

    For the placement, <?php echo recaptcha_get_html(); ?> should be inserted into the file where you want the captcha to appear. Typically, this is just before the submit button.

    For the blank page, check the 'logs' folder for the error that is occurring.

  3. #3
    Join Date
    Nov 2009
    Posts
    27
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Quote Originally Posted by jeking View Post
    Thanks for the update on the fix.

    For the placement, <?php echo recaptcha_get_html(); ?> should be inserted into the file where you want the captcha to appear. Typically, this is just before the submit button.

    For the blank page, check the 'logs' folder for the error that is occurring.
    Hi Jim,

    Thanks for the information. I have been looking at the create_account.php file, and the one thing I can't figure out is where the submit button is actually loaded.

    Looking into the Code, I only see one line with the word "Submit" in it, as per below, but it's just a message, and not part of the code:
    Code:
    $messageStack->add_session('header', (defined('ERROR_CREATE_ACCOUNT_SPAM_DETECTED') ? ERROR_CREATE_ACCOUNT_SPAM_DETECTED : 'Thank you, your account request has been submitted for review.'), 'success');
    So now I think I'm trying to modify the wrong page, but I can't figure out what is presenting the create_account.php layout, when that's called.

    James

  4. #4
    Join Date
    Nov 2009
    Posts
    27
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Quote Originally Posted by a02l1zz View Post
    Hi Jim,

    Thanks for the information. I have been looking at the create_account.php file, and the one thing I can't figure out is where the submit button is actually loaded.

    Looking into the Code, I only see one line with the word "Submit" in it, as per below, but it's just a message, and not part of the code:
    Code:
    $messageStack->add_session('header', (defined('ERROR_CREATE_ACCOUNT_SPAM_DETECTED') ? ERROR_CREATE_ACCOUNT_SPAM_DETECTED : 'Thank you, your account request has been submitted for review.'), 'success');
    So now I think I'm trying to modify the wrong page, but I can't figure out what is presenting the create_account.php layout, when that's called.

    James
    Jim,

    OK, so upon further checking, I figured out the template filename and added the respective <?php echo recaptcha_get_html(); ?> to what I thought was the right location within the file. It however, presents the Captcha box input form twice. I tried in three different locations within the form and it did the same thing. Am I missing something as to what is going on?

    James

  5. #5
    Join Date
    Nov 2009
    Posts
    27
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Quote Originally Posted by a02l1zz View Post
    Jim,

    OK, so upon further checking, I figured out the template filename and added the respective <?php echo recaptcha_get_html(); ?> to what I thought was the right location within the file. It however, presents the Captcha box input form twice. I tried in three different locations within the form and it did the same thing. Am I missing something as to what is going on?

    James
    Jim,

    This is what I am seeing on the Create Account Page:
    Click image for larger version. 

Name:	Dual_Robot.JPG 
Views:	405 
Size:	24.7 KB 
ID:	18690

    James

  6. #6
    Join Date
    Nov 2009
    Posts
    27
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Quote Originally Posted by a02l1zz View Post
    Jim,

    This is what I am seeing on the Create Account Page:
    Click image for larger version. 

Name:	Dual_Robot.JPG 
Views:	405 
Size:	24.7 KB 
ID:	18690

    James
    Jim,

    I am all set, I have been able to figure out where the issue was and have it down to one Captcha Box. Thanks again.

    James

 

 

Similar Threads

  1. Support Thread for CKEditor Plugin
    By DivaVocals in forum Addon Admin Tools
    Replies: 213
    Last Post: 18 Nov 2024, 04:17 AM
  2. Back to Top Plugin [Support Thread]
    By picaflor-azul in forum All Other Contributions/Addons
    Replies: 31
    Last Post: 6 Feb 2016, 10:52 PM
  3. v151 Plug 'n' Pay plugin [Support Thread]
    By KetchRescue in forum Addon Payment Modules
    Replies: 5
    Last Post: 28 Nov 2015, 04:56 AM
  4. Justuno Plugin [Support Thread]
    By JustunoApp in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 24 May 2015, 11:00 PM
  5. VendingBox Plugin Support Thread
    By vb_support in forum All Other Contributions/Addons
    Replies: 31
    Last Post: 10 Feb 2013, 07:24 PM

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