Post by straightlight » Tue Feb 19, 2019 10:21 pm

Is there any idea.
Ensure to clear your OC cache after applying these steps. FAQ: viewtopic.php?f=176&p=739789#p718325

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Administrator

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by leatherboy » Wed Feb 20, 2019 6:55 pm

straightlight wrote:
Tue Feb 19, 2019 10:21 pm
Is there any idea.
Ensure to clear your OC cache after applying these steps. FAQ: viewtopic.php?f=176&p=739789#p718325
Thank you for the fast response.
I always clear caches and Journal's too.
I didn't mention that this is a workable eshop since 2017. Contact form worked fine. My client called me 3 days ago and told me that he noticed the contact form problem. He didn't do any update.

VQmod is not installed. You mean the storage folder?
I did contact Journal (they use default contact form).

What other steps do you mean;

Newbie

Posts

Joined
Fri Feb 12, 2016 2:32 am

Post by Airassisted » Wed Feb 20, 2019 10:51 pm

straightlight wrote:
Sat Nov 04, 2017 10:38 pm
Revert all the changes from this topic. Then, in catalog/controller/information/contact.php file,

find:

Code: Select all

$this->response->redirect($this->url->link('information/contact/success'));
add above:

Code: Select all

$this->session->data['success'] = true;
Then, find:

Code: Select all

$data['continue'] = $this->url->link('common/home');
add below:

Code: Select all

if (!empty($this->session->data['success'])) {
			$data['text_success'] = $this->language->get('text_success');
			
			unset ($this->session->data['success']);
		}
In catalog/view/theme/<your_theme>/template/common/success.twig file,

find:

Code: Select all

</ul>
add below:

Code: Select all

{% if text_success %}
  <div class="alert alert-success alert-dismissible"><i class="fa fa-check-circle"></i> {{ text_success }}</div>
  {% endif %}
  
This should resolved the problem.

Thank you Straightlight, your efforts on this forum are greatly appreciated...

Newbie

Posts

Joined
Wed Jan 13, 2016 1:13 am

Post by leatherboy » Wed Feb 20, 2019 11:31 pm

I saw this post and I already tried this .
I will do it once again tomorrow.
Thanks

Newbie

Posts

Joined
Fri Feb 12, 2016 2:32 am

Post by straightlight » Thu Feb 21, 2019 5:19 am

Thank you Straightlight, your efforts on this forum are greatly appreciated...
No problem.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Administrator

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by sedra » Mon Aug 19, 2019 9:42 pm

xxvirusxx wrote:
Sun May 06, 2018 6:40 pm
Just add this line before $data['continue'] = $this->url->link('common/home'); in public function success() { from catalog/controller/information/contact.php

Code: Select all

$data['text_message'] = $this->language->get('text_success');
Work without problems.

LE. Or just replace file in controller...
thanks a lot! worked me for me too on 3.0.2.0

New member

Posts

Joined
Thu Jan 04, 2018 8:14 pm
Who is online

Users browsing this forum: No registered users and 5 guests