b2evolution / b2evolution

b2evolution CMS: Multiblog/CMS content publishing + forums + email marketing + social network + more... b2evolution includes everything you need to run and maintain a modern website. Optimized for low maintenance with easy upgrades and effective antispam. Full RWD & bootstrap support.
http://b2evolution.net/
Other
178 stars 88 forks source link

Site skin template [_site_body_header.inc.php] not found #107

Closed Metztli closed 4 years ago

Metztli commented 4 years ago

Niltze [Hello]- If you enter in a search engine field the above string, and select (click) on the link, you will realize that a desktop browser will not show the bug; but visiting with an Android device the bug will be glaringly evident -- as well as "Site skin template [_site_body_footer.inc.php] not found" -- in the bootstrap skins which come with b2evolution 7.1.5 and which obviously are being used by the sites manifesting the issue, i.e., http://www.landbeyond.net/arx . issue_b2evo-7_1_5 issue-b2evo-7_1_5_

A search engine which shows those terms for a b2evolution site is not good for SEO and/or owners of those sites.

Please note that by going to the skin tab and deselecting only the Footer container, then it improves the site display in an Android mobile device as "Site skin template [_site_body_footer.inc.php] not found" does not show anymore and apparently splashing/cloaking with white the string "Site skin template [_site_body_header.inc.php] not found"; notwithstanding, that is merely a workaround since by deselecting the Header container, as well, then both bug strings display again. shot-2020-07-26_11-29-46

Best Professional Regards.

fplanque commented 4 years ago

b2evolution can use a different skin for desktop and for mobile. None of your screenshots shows which skins are configured for each case.

Metztli commented 4 years ago

I have no control over the first site cited. I simple entered a search for the string of reference --as it was being shown in Android device 6.0.1 in another b2evo 7.1.5 upgraded site and it came out as another result.

On the other hand, in the Bootstrap Photoblog Skin tab, of a site that I am able to modify and that came out in the search results -- I just disabled all boxes under the section: "When access is denied or requires log in..." and the errors in both mobile Google Chrome and desktop browsers, i.e., Firefox, Yandex-Browser, Google Chrome, Seamonkey, are all gone. I will continue to monitor the issue but if it was not a bug but a lack of action on the skin of reference, I apologize. Notwithstanding, a couple of days back the only change that would make a difference was the one cited initially. out

Thank you.

Metztli commented 4 years ago

The issue has an affinity to default Bootstrap b2evolution 7.1.5 skins (please see other search results attached) because after a while (b2evolution cache relevant?) the issues remains constant, i.e.,
Site skin template [_site_body_header.inc.php] not found and Site skin template [_site_body_footer.inc.php] not found

and "bubble up" to be picked up by search engine(s) Site_skin_template_-_site_body_header inc php-_not_found

Please, note, that I have not experienced the issue with other skins, i.e., Business, etc.

Thank you.

fplanque commented 4 years ago

Do you know how to reproduce on a fresh install?

Metztli commented 4 years ago

Probably. I am working on a site with an IP only and later I could give it domain name -- if only ephemerally -- for the mobile device to display the issue of reference. Nevertheless, I visited the sites found by the search engine and they are not 'fresh installs' but rather seem upgraded. Their admins probably have not noticed the alleged bug because it is glaring only with a mobile device; if you visit them with a desktop browser the string is mostly hidden -- but not for the search engines, obviously.

fplanque commented 4 years ago

If you know how to reproduce, please list the steps to do after a fresh install.

Metztli commented 4 years ago

Fact is people seldom do a 'fresh install' and the upgrade actually introduces conflicts with already pre-existing settings/customizations that your b2evo fans have invested considerable time to have their b2evo sites to their presentation liking.

As a matter of fact, the error(s) of reference only manifested in certain collections and/or varied paths during clicking a link(s) after the upgrade to 7.1.5/6. Many of your b2evo fans whose sites show up on the Internet search engines due to this unfortunate string error are not even aware that it's happening. Moreover for your b2evo fans who had a site wide header and footer working perfectly before the upgrade, they suddenly realize that it does not work anymore because certain collections even with Bootstrap defaults basically puke the error when they are not looking.

With that behind, the somewhat acceptable way to resolve the mobile device error display issue is by going to the Site --> Site settings, scrolling down to uncheck the "Enable site skins: [] Enables a sitewide header and footer". Heck that is not optimal for the reasons stated 'a priori' but at least your b2evo fans will avoid the errors being shown to others behind their back. _site_body_header inc php

fplanque commented 4 years ago

So besides all the disingenuous drama (which I personally have no interest in reading nor replying to), I still don't know how to reproduce this in order to fix it:

  1. I understand the bug cannot be reproduced on a fresh install; ok.
  2. I understand the bug can probably be reproduced by installing an older version (which one?) and then upgrading it to a newer version (which one?). If you have identified a complete path to reproduce, please list the steps in order.

Note: if needed, you can simulate an android browser with some browser dev tools.