Post by abxweb » Fri Apr 01, 2016 5:18 pm

Hello guys. Few days ago i have encountered a problem with a site im making for my client.

So, i have made multistore site with two different layouts of a theme (did a controller comparison/modifications) and most of the site is working well except for the "Category" page. Whenever i open category page on my second store (first store is working fine) my html gets mixed up and everything from <head> goes to <body> and i get this strange character &#65279 in the html when i see it with Inspect element.

I did tried saving everything without BOM encoding UTF-8, but that didnt worked out.

If you have any suggestions, please post them here. Here is a screenshot of inspect element.

Attachments

0DwzL.jpg

0DwzL.jpg (197.09 KiB) Viewed 3346 times


Check my FREE extension - Frontend Admin Toolbar
http://www.opencart.com/index.php?route ... n_id=26059

For any inquiry or questions contact me at: abxweb[at]outlook[dot]com


User avatar
New member

Posts

Joined
Fri Mar 04, 2016 5:47 pm
Location - Serbia

Post by viethemes » Fri Apr 01, 2016 8:36 pm

Did you try to remove contents of header.tpl, footer.tpl, category.tpl files?

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by agatha65 » Fri Apr 01, 2016 11:24 pm

Check you language files encoding for the srb language. This is the problem.
Check when replacing the srb file with eng and if the problem disappears you have to fix the file.
&#65279 is the Unicode Character 'ZERO WIDTH NO-BREAK SPACE' (U+FEFF)
Use Notepad++ for editing to avoid encoding problems.

Suppliers Module - XML, CSV, XLS Product Feed Import and Update
Rich Snippets | Facebook Open Graph Meta Tags | WebP Images
Image


User avatar
Active Member

Posts

Joined
Fri Mar 16, 2012 10:18 am
Location - Canada, QC

Post by abxweb » Sat Apr 02, 2016 4:04 am

agatha65 wrote:Check you language files encoding for the srb language. This is the problem.
Check when replacing the srb file with eng and if the problem disappears you have to fix the file.
&#65279 is the Unicode Character 'ZERO WIDTH NO-BREAK SPACE' (U+FEFF)
Use Notepad++ for editing to avoid encoding problems.
I did tried changing the language but that didnt fixed the problem.

viethemes when i delete the files you said i get 404 not found when i open category page, which is normal i guess.

Check my FREE extension - Frontend Admin Toolbar
http://www.opencart.com/index.php?route ... n_id=26059

For any inquiry or questions contact me at: abxweb[at]outlook[dot]com


User avatar
New member

Posts

Joined
Fri Mar 04, 2016 5:47 pm
Location - Serbia

Post by mbogdan » Mon Oct 24, 2016 3:40 am

i have the same problem but with my product pages.
it shows a white bar above the header file.

changing back to default language or replacing those files to the stock ones didn't help.
i know i'm guilty of editing some files with wordpad in the past but can't find the affected ones.

i've started with product.tpl and both header and footer tpl. seems nothing is wrong with those

Newbie

Posts

Joined
Sun Jul 31, 2016 2:49 pm
Who is online

Users browsing this forum: No registered users and 171 guests