Post by rmichel » Wed Mar 17, 2021 5:34 am

Can anyone help please.

I have an issue sometimes with the Front Page Only of opencart O0 O0 . The problem is when I upload my all of my products in the admin section and if an error ocurrs, I sometimes get a big Gap of blank space of about 10 Centimeters at the bottom of my FRONT PAGE, and the only way for me to fix that by uploading from startup everything and starting again, which is something that it takes along time for me to do. Can you tell me a quick fix where I can go to the FRONT PAGE and delete that blank spaces so I can go to normal?

I will provide a picture here so you can see the Gap at the bottom.

Attachments

FRONT PAGE.png

FRONT PAGE.png (59.58 KiB) Viewed 621 times


New member

Posts

Joined
Wed Jul 26, 2017 2:24 am

Post by sw!tch » Wed Mar 17, 2021 5:38 am

Provide a link to your site ...

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by rmichel » Wed Mar 17, 2021 5:49 am

sw!tch wrote:
Wed Mar 17, 2021 5:38 am
Provide a link to your site ...

My link is www.ComputoMex.com/mex1 . You will a huge blank gap at the bottom of the page and all I need if someone can tell me how and where to edit the Front Page where I can delete that Gap. That happens only when I upload my products and an error happens and will create that Gap at the bottom.

New member

Posts

Joined
Wed Jul 26, 2017 2:24 am

Post by sw!tch » Wed Mar 17, 2021 6:01 am

Check your footer twig.

You have a rogue div tag being inserted outside your </html>

Code: Select all

</body></html>
</div>

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by rmichel » Wed Mar 17, 2021 6:15 am

sw!tch wrote:
Wed Mar 17, 2021 6:01 am
Check your footer twig.

You have a rogue div tag being inserted outside your </html>

Code: Select all

</body></html>
</div>

I was able to find the Footer.twig under public_html/mex1/catalog/view/theme/default/template/common/footer.twig BUT I dont understand on how to fix the issue of that big space gap at the bottom, and dont understand what I need to do with what you are telling me, Can you please tell me the steps?

New member

Posts

Joined
Wed Jul 26, 2017 2:24 am

Post by johnp » Wed Mar 17, 2021 6:45 am

Easiest things first. Delete the </div> tag. If it breaks your site put it back and rethink.

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by rmichel » Wed Mar 17, 2021 7:21 am

johnp wrote:
Wed Mar 17, 2021 6:45 am
Easiest things first. Delete the </div> tag. If it breaks your site put it back and rethink.
Thank your answer, but I dont have the </div> tag . I'm attaching what it looks like, What am I doing wrong?

Attachments

Print Screen Footer.twig.png

Print Screen Footer.twig.png (75.9 KiB) Viewed 542 times


New member

Posts

Joined
Wed Jul 26, 2017 2:24 am

Post by sw!tch » Wed Mar 17, 2021 7:46 am

You may need to contact the theme developer. If you view source on the homepage you can see the extra div, you actually have several unclosed tags, etc.

You can use something like https://validator.w3.org/ to help find errors.

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by rmichel » Wed Mar 17, 2021 8:00 am

sw!tch wrote:
Wed Mar 17, 2021 7:46 am
You may need to contact the theme developer. If you view source on the homepage you can see the extra div, you actually have several unclosed tags, etc.

You can use something like https://validator.w3.org/ to help find errors.
The problem is that they dont answer my Support questions for some reason and Im stuck not knowing what to do. Can you tell me what you might think will fix the problem and how to do it so I can try it out?

New member

Posts

Joined
Wed Jul 26, 2017 2:24 am

Post by by mona » Wed Mar 17, 2021 10:10 am

You have been told what to do - there is an extra </div> which is most likely because you have a <div> not closed.

You need to find it / you can ask for commercial support to do that for you viewforum.php?f=88

The problem is when I upload my all of my products in the admin section and if an error ocurrs, I sometimes get a big Gap of blank space of about 10 Centimeters at the bottom of my FRONT PAGE
What is upload?
From where you upload?
What is an error?

We can’t know what you are doing - we can tell you what you are looking for - if you are not able to think what that could mean you really are better asking for professional help.

Google <div> it is just html code to block something - in layman terms and greatly simplified

My name is John. I am 16 years old.
My name is John i am 16 years old.

Please tell me why the ‘I’ appears ‘i' .. because you are missing a full stop
<div> = capital letter . = </div>

But it could be anywhere - any of your modules / extensions - custom html - maybe turn them off one by one - maybe some extension that is something to do with whatever you are uploading ? ? ?

If there are several - that would lead to the thought process of a duplication of a single missing </div> in an extension ? ? ? ?

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by rmichel » Wed Mar 17, 2021 11:09 am

by mona wrote:
Wed Mar 17, 2021 10:10 am
You have been told what to do - there is an extra </div> which is most likely because you have a <div> not closed.

You need to find it / you can ask for commercial support to do that for you viewforum.php?f=88

The problem is when I upload my all of my products in the admin section and if an error ocurrs, I sometimes get a big Gap of blank space of about 10 Centimeters at the bottom of my FRONT PAGE
What is upload?
From where you upload?
What is an error?

We can’t know what you are doing - we can tell you what you are looking for - if you are not able to think what that could mean you really are better asking for professional help.

Google <div> it is just html code to block something - in layman terms and greatly simplified

My name is John. I am 16 years old.
My name is John i am 16 years old.

Please tell me why the ‘I’ appears ‘i' .. because you are missing a full stop
<div> = capital letter . = </div>

But it could be anywhere - any of your modules / extensions - custom html - maybe turn them off one by one - maybe some extension that is something to do with whatever you are uploading ? ? ?

If there are several - that would lead to the thought process of a duplication of a single missing </div> in an extension ? ? ? ?

Thank you for your input, it looks like its going to be really hard to find the problem :(

New member

Posts

Joined
Wed Jul 26, 2017 2:24 am

Post by xxvirusxx » Wed Mar 17, 2021 6:06 pm

Why don't compare the files with the primary website?
https://www.computomex.com/mex/

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by johnp » Wed Mar 17, 2021 10:41 pm

Aside from the gap for me your site is painfully slow.

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by rmichel » Thu Mar 18, 2021 2:48 am

johnp wrote:
Wed Mar 17, 2021 10:41 pm
Aside from the gap for me your site is painfully slow.
It is only slow when showing the first page because it has over 30,000 products, once you are on the page, it fast.

New member

Posts

Joined
Wed Jul 26, 2017 2:24 am

Post by johnp » Thu Mar 18, 2021 6:39 am

rmichel wrote:
Thu Mar 18, 2021 2:48 am
johnp wrote:
Wed Mar 17, 2021 10:41 pm
Aside from the gap for me your site is painfully slow.
It is only slow when showing the first page because it has over 30,000 products, once you are on the page, it fast.
You have 30,000 products on the first page?

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK
Who is online

Users browsing this forum: No registered users and 243 guests