Post by sgtgenoma » Sun Sep 20, 2015 12:22 am

Hello boys!

Open Cart version: 2.0.3.1
Environment:
OS: windows 7
xampp: 5.6.8

I'm developoing in my localhost and I have this problem in the contact us page (link footer) Notice: Undefined variable: entry_captcha in catalog\view\theme\martin_hogar\template\information\contact.tpl on line 136

Url: de la imagen https://drive.google.com/file/d/0B5PS2j ... sp=sharing

Samebody can helpme?

Thanks!

Newbie

Posts

Joined
Fri Mar 27, 2015 11:09 am

Post by deepvision » Sun Sep 20, 2015 12:33 am

You have to add the following code to the controller file:
catalog/controller/information/contact.php

Code: Select all

$data['entry_captcha'] = $this->language->get('entry_captcha');
after the

Code: Select all

$data['entry_enquiry'] = $this->language->get('entry_enquiry');

ImageImageImage


User avatar
Active Member

Posts

Joined
Tue May 19, 2015 1:03 am

Post by sgtgenoma » Sun Sep 20, 2015 2:20 am

Thanks deepvision!!! :D

It look like a bug? Isn't it? by the way because all what I have done was install the last version and I haven't modified any line of code.

Your code apparently resolved my first problem, I say apparently because I can't test the solution because I can see the captcha yet (https://drive.google.com/file/d/0B5PS2j ... sp=sharing) the img has the next source <img src="index.php?route=tool/captcha" alt=""> any idea?

Thanks!!

Newbie

Posts

Joined
Fri Mar 27, 2015 11:09 am

Post by deepvision » Sun Sep 20, 2015 12:21 pm

Yes, looks like unfinished code.

ImageImageImage


User avatar
Active Member

Posts

Joined
Tue May 19, 2015 1:03 am
Who is online

Users browsing this forum: No registered users and 54 guests