Post by nootkan » Tue Mar 21, 2017 9:38 am

I have opencart Version 1.5.6.4 installed with vqmod 2.6.1(taken from the vqmod.php file) on a linux CENTOS 6.8 x86_64 standard; WHM 62.0 (build 16); Apache Version 2.4.25, PHP Version 5.6.29, MySQL Version 5.6.35, Architecture x86_64, Perl Version 5.10., Kernel Version 2.6.32-573.22.1.el6.x86_64

I am seeing this error in my log:
2017-03-20 10:01:27 - PHP Notice: Undefined variable: error_captcha in /home/mywebsite/public_html/shop/vqmod/vqcache/vq2-catalog_view_theme_gallery_template_product_product.tpl on line 326
I have checked that the captcha is working and confirmed that it is.

Here is my file information:

Code: Select all

<?php if ($recaptcha) { ?>
    <?php echo $recaptcha; ?>
    <br />
    <?php if ($error_captcha) { ?>
    <span class="error"><?php echo $error_captcha; ?></span>
Can anyone shed some light as to what is going on with this? Thanks in advance.


Posts

Joined
Mon May 26, 2014 5:21 am

Post by opencartboost » Tue Mar 21, 2017 10:07 am

May be you are using recaptcha.
You should define error_captcha in file controller (catalog/controller/product/product.php)


Posts

Joined
Thu Jul 09, 2015 5:59 am

Post by nootkan » Tue Mar 21, 2017 10:50 am

Thanks for your reply.
I am not sure how to do what you suggest. I only am using the standard install of open cart and it was working just fine until now. Actually it is still working fine but just seeing these errors. I didn't make any modifications to the core, I did pay a developer to modify my product options to include dimensions for shipping but nothing else. As for the captcha it is only set up for the contact page as far as I can see when going through the admin and website pages. The captcha is working when I test it.

I don't have php coding skills hence hiring a dev for the options modifications. Any help here is greatly appreciated.


Posts

Joined
Mon May 26, 2014 5:21 am

Post by nootkan » Fri Mar 24, 2017 6:13 pm

Because I couldn't figure this out I decided to remove the contact module from my site and create a different contact form and link to it instead. The warnings have now gone away.


Posts

Joined
Mon May 26, 2014 5:21 am
Who is online

Users browsing this forum: No registered users and 31 guests