Google Bot und Could not get style data

Aktuelle Version: 2.0.2
Veröffentlicht: 27.10.2013
Forum rules
Vor dem erstellen neuer Supportanfragen bitte zuerst in die board3 Portal FAQ schauen und die Suche benutzen!
Viele Fragen sind bereits schon gestellt und beantwortet worden.
Bitte auch unsere Forumsregeln lesen und beachten!
Locked
User avatar

Topic author
WileCoyote
Active Member
Posts: 41
Joined: 8. August 2011 06:33
phpBB.de User: WileCoyote
phpBB.com User: WileCoyote

Google Bot und Could not get style data

Post by WileCoyote »

Bis gestern hatte ich das Problem, dass der Google Bot im Fehlerlog meines Forums genau diese Fehlermeldung permanent verursacht hat. Mit Hilfe von "Pyramide" einem der Administratoren auf phpbb.de, konnte das Problem eingegrenzt werden.
Durch die in der Installationsanweisung vom Board 3 Portal vorgenommene Änderung an der includes/sessions.php

Finde

Code: Select all

		if (!empty($_GET['style']) && $auth->acl_get('a_styles') && !defined('ADMIN_START'))
Ersetze durch

Code: Select all

		if (!empty($_GET['style']) && !defined('ADMIN_START'))
existiert kein "Fallback" mehr. Ein möglicher Bugfix wurde im Pastebin auf phpbb.de veröffentlicht. Siehe session.php bugfix für board 3 (ungetestet)
lg,
WileCoyote
________________________________________
Get some German MOD Translations at
wu-systems.at - An Austrian phpBB Community

Shorty1968
Portal Enthusiast
Posts: 149
Joined: 8. September 2011 01:16

Re: Google Bot und Could not get style data

Post by Shorty1968 »

Ich habe das selbe Problem,was genau muss ich mit dem bugfix jetzt machen?
User avatar

Topic author
WileCoyote
Active Member
Posts: 41
Joined: 8. August 2011 06:33
phpBB.de User: WileCoyote
phpBB.com User: WileCoyote

Re: Google Bot und Could not get style data

Post by WileCoyote »

Das Problem hast nicht nur du und ich, sondern alle die das Board3 Portal einsetzen und die entsprechende Änderung ausgeführt haben. Zu deiner Frage: Im Allgemeinen wendet man einen Bugfix auf die entsprechende Datei an. Das ist aber nichts neues und sollte auch dir mittlerweile klar sein.
lg,
WileCoyote
________________________________________
Get some German MOD Translations at
wu-systems.at - An Austrian phpBB Community

Shorty1968
Portal Enthusiast
Posts: 149
Joined: 8. September 2011 01:16

Re: Google Bot und Could not get style data

Post by Shorty1968 »

Das heist also wenn ich das richtig verstehe:
Open: includes/session.php
Find:

Code: Select all

if (!empty($_GET['style']) && $auth->acl_get('a_styles') && !defined('ADMIN_START'))
Ersetze es mit:
Replace with:

Code: Select all

if (!$this->theme && !empty($_GET['style']) && !defined('ADMIN_START'))
Für das Portal oder?
Der Orginal Bugfix aus dem Code sieht ja so aus:

Code: Select all

if (!$this->theme && !empty($_GET['style']))
User avatar

Topic author
WileCoyote
Active Member
Posts: 41
Joined: 8. August 2011 06:33
phpBB.de User: WileCoyote
phpBB.com User: WileCoyote

Re: Google Bot und Could not get style data

Post by WileCoyote »

Nein, das heißt es nicht. Vergleich doch einfach die Original Datei nach der Änderung durch Board3 Portal mit dem Bugfix. So schwer kann das doch nicht sein.
lg,
WileCoyote
________________________________________
Get some German MOD Translations at
wu-systems.at - An Austrian phpBB Community

Shorty1968
Portal Enthusiast
Posts: 149
Joined: 8. September 2011 01:16

Re: Google Bot und Could not get style data

Post by Shorty1968 »

Doch das ist so schwer,weil die Änderung aus der install.xml mit dem Bugfix überhaupt nicht gleich sind.

Es gibt ja nur eine änderung vom Portal3 in der includes/session.php diese lasse ich jetzt einfach weg dann geht es,mit dem Bugfix anwenden komme ich nicht wirklich klar habe keine ahnung wo ich da was machen soll/muss.
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: Google Bot und Could not get style data

Post by Marc »

Diese Änderung in der install.xml sollte den Fehler erst einmal beseitigen:
https://github.com/board3/Board3-Portal ... f1cfe37927

Shorty1968
Portal Enthusiast
Posts: 149
Joined: 8. September 2011 01:16

Re: Google Bot und Could not get style data

Post by Shorty1968 »

Hallo Marc
Vielen dank ich werde es mal Testen.
User avatar

Kirk
Dev
Posts: 1953
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: Google Bot und Could not get style data

Post by Kirk »

Seit dem ich diese Änderung gemacht habe sind keine Fehlermeldungen mehr gekommen.
Danke Marc
Gruß Udo

Shorty1968
Portal Enthusiast
Posts: 149
Joined: 8. September 2011 01:16

Re: Google Bot und Could not get style data

Post by Shorty1968 »

Kirk wrote:Seit dem ich diese Änderung gemacht habe sind keine Fehlermeldungen mehr gekommen.
Danke Marc
Dem schliesse ich mich an,geht mir genauso danke Marc.
Locked

Return to “Board3 Portal 2.0.x - Deutscher Support”