Post by straightlight » Sun Jan 14, 2018 8:39 pm

Try on a virtual server noticing if the same issue will occur.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by straightlight » Sun Jan 14, 2018 8:51 pm

In addition, I would like to clarify that another user did reported a similar issue with the outputs as my provided solution did worked as intended: viewtopic.php?f=190&t=201064#p710585 - which is also with v2.x releases of Opencart.
Last edited by straightlight on Sun Jan 14, 2018 8:52 pm, edited 1 time in total.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by DigitCart » Sun Jan 14, 2018 8:51 pm

It looks like one div is not closed properly, validator says:
Error: Stray end tag div.
https://validator.w3.org/nu/?doc=https% ... %2Fcontact

As straightlight said, you must first solve the cache problem so that you can edit the file.

My Extensions


User avatar
Active Member
Online

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by Gobbo » Mon Jan 15, 2018 5:44 am

Hi,

There are more </div> than <div>, the one on line 190 it closes:


<div class="buttons">
<div class="pull-right">
<input class="btn btn-primary" type="submit" value="<?php echo $button_submit; ?>" />
</div>
</dir>
</form>


But can't find the stary </div>

If I take it away, nothing happens, it still remains the same.

Also the mistakes on https://validator.w3.org/nu/?doc=https% ... %2Fcontact remains the same.

Using opencart 3.0.3.2 - PHP 7.4 - Standard Template - Add to Cart Enable Disable Out of Stock Product 3.x - Export/Import Tool (V3.22) for OpenCart 3.x - Footer Social Media Link( 3.x ) v1.0


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am

Post by straightlight » Mon Jan 15, 2018 7:32 am

</dir>
should be: </div>

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by Gobbo » Tue Jan 16, 2018 3:17 am

Changed it back to </div>, but it still doesn't work :(

Using opencart 3.0.3.2 - PHP 7.4 - Standard Template - Add to Cart Enable Disable Out of Stock Product 3.x - Export/Import Tool (V3.22) for OpenCart 3.x - Footer Social Media Link( 3.x ) v1.0


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am

Post by Gobbo » Tue Jan 16, 2018 3:29 am

Do I have to remove the cache files from system/storage/cache?

Using opencart 3.0.3.2 - PHP 7.4 - Standard Template - Add to Cart Enable Disable Out of Stock Product 3.x - Export/Import Tool (V3.22) for OpenCart 3.x - Footer Social Media Link( 3.x ) v1.0


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am

Post by Gobbo » Tue Jan 16, 2018 5:27 am

Hi,

On https://validator.w3.org/nu/?showsource ... %2Fcontact

It says on line 190 it has an extra </div>, but where is this extra </div>? As if you scroll down the page is a combination of a few pages.

How do I find the extra </div>?

Using opencart 3.0.3.2 - PHP 7.4 - Standard Template - Add to Cart Enable Disable Out of Stock Product 3.x - Export/Import Tool (V3.22) for OpenCart 3.x - Footer Social Media Link( 3.x ) v1.0


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am

Post by straightlight » Tue Jan 16, 2018 5:56 am

Gobbo wrote:
Tue Jan 16, 2018 3:29 am
Do I have to remove the cache files from system/storage/cache?
You always can except the index.html file.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by straightlight » Tue Jan 16, 2018 5:57 am

Gobbo wrote:
Tue Jan 16, 2018 5:27 am
Hi,

On https://validator.w3.org/nu/?showsource ... %2Fcontact

It says on line 190 it has an extra </div>, but where is this extra </div>? As if you scroll down the page is a combination of a few pages.

How do I find the extra </div>?
Please upload the contact TPL file as an attachment ZIP file.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by Gobbo » Tue Jan 16, 2018 6:17 am

Please see attached.

Using opencart 3.0.3.2 - PHP 7.4 - Standard Template - Add to Cart Enable Disable Out of Stock Product 3.x - Export/Import Tool (V3.22) for OpenCart 3.x - Footer Social Media Link( 3.x ) v1.0


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am

Post by straightlight » Tue Jan 16, 2018 6:23 am

Is the one originating from your storage/modification folder?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by Gobbo » Tue Jan 16, 2018 2:53 pm

That one is from catalog\view\theme\default\template\information\contact.tpl

Using opencart 3.0.3.2 - PHP 7.4 - Standard Template - Add to Cart Enable Disable Out of Stock Product 3.x - Export/Import Tool (V3.22) for OpenCart 3.x - Footer Social Media Link( 3.x ) v1.0


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am

Post by Gobbo » Tue Jan 16, 2018 2:59 pm

And this is the one from catalog/controller/information/contact.php file.

Using opencart 3.0.3.2 - PHP 7.4 - Standard Template - Add to Cart Enable Disable Out of Stock Product 3.x - Export/Import Tool (V3.22) for OpenCart 3.x - Footer Social Media Link( 3.x ) v1.0


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am

Post by straightlight » Wed Jan 17, 2018 6:21 am

What is needed is the contact.tpl file from your modification folder as an attachment.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by Gobbo » Wed Jan 17, 2018 2:55 pm

Where can I find this?

As those are the only files I were updating.

Using opencart 3.0.3.2 - PHP 7.4 - Standard Template - Add to Cart Enable Disable Out of Stock Product 3.x - Export/Import Tool (V3.22) for OpenCart 3.x - Footer Social Media Link( 3.x ) v1.0


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am

Post by straightlight » Thu Jan 18, 2018 5:41 am

In your system/modification/catalog/view/theme/<your_theme>/template/information/contact.tpl file and your system/modification/catalog/controller/information/contact.php file.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by Gobbo » Fri Jan 19, 2018 5:18 am

Those are the files I zipped and attached above.

Using opencart 3.0.3.2 - PHP 7.4 - Standard Template - Add to Cart Enable Disable Out of Stock Product 3.x - Export/Import Tool (V3.22) for OpenCart 3.x - Footer Social Media Link( 3.x ) v1.0


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am

Post by Gobbo » Sun Jan 21, 2018 11:16 pm

This is from system/storage/modification/catalog/controller/information/contact.php

Using opencart 3.0.3.2 - PHP 7.4 - Standard Template - Add to Cart Enable Disable Out of Stock Product 3.x - Export/Import Tool (V3.22) for OpenCart 3.x - Footer Social Media Link( 3.x ) v1.0


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am

Post by Gobbo » Sun Jan 21, 2018 11:31 pm

And this one's from system/storage/modification/catalog/view/theme/default/template/information/contact.tpl

Hope someone can help me out.

Using opencart 3.0.3.2 - PHP 7.4 - Standard Template - Add to Cart Enable Disable Out of Stock Product 3.x - Export/Import Tool (V3.22) for OpenCart 3.x - Footer Social Media Link( 3.x ) v1.0


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am
Who is online

Users browsing this forum: No registered users and 296 guests