Cannot load XML: Premature end of data in tag r line 1

Aktuelle Version: 2.1.0
Veröffentlicht: 26.10.2015
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!

Fritschie
Active Member
Posts: 13
Joined: 29. March 2019 20:58
phpBB.de User: Fritschie

Re: Cannot load XML: Premature end of data in tag r line 1

Post by Fritschie »

Ok dann warten wir, zur Zeit habe ich auf der Originalseite den Blockstil auf an stehen.
So läuft es ja auch ohne Probleme
Hier der angekündigte Screenshot mit dem genannten Problem
https://www.anlagenmeisterei.de/images/screenshot2.jpg
Last edited by Fritschie on 19. May 2019 19:37, edited 1 time in total.
www.anlagenmeisterei.de phpBB 3.2.5 + Portal3 2.1
User avatar

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

Re: Cannot load XML: Premature end of data in tag r line 1

Post by Kirk »

Bitte beantworte doch mal meine Frage!
Kirk wrote: 16. May 2019 14:01 Ist dieser Fehler auch in prosilver?
Gruß Udo

TrekRed
Active Member
Posts: 39
Joined: 12. May 2019 20:05

Re: Cannot load XML: Premature end of data in tag r line 1

Post by TrekRed »

The text walker does not work correctly and therefore all blocks move out!
User avatar

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

Re: Cannot load XML: Premature end of data in tag r line 1

Post by Kirk »

TrekRed wrote: 18. May 2019 14:29 The text walker does not work correctly
I know that!
TrekRed wrote: 18. May 2019 14:29 and therefore all blocks move out!
Open: root/ext/board3/portal/portal/fetch_posts.php

Find:

Code: Select all

$message = str_replace(array("\n", "\r"), array("\n"), $row['post_text']);
Replace with:

Code: Select all

$message = str_replace(array("\n", "\r"), array('<br />', "\n"), $row['post_text']);
Gruß Udo

TrekRed
Active Member
Posts: 39
Joined: 12. May 2019 20:05

Re: Cannot load XML: Premature end of data in tag r line 1

Post by TrekRed »

Kirk.
Now ok, but:
1. No description!
2. How to remove the frame and text "Attachments"?

If this is fixed, there will be a class !!!

Image
User avatar

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

Re: Cannot load XML: Premature end of data in tag r line 1

Post by Kirk »

You have to click on the button "Place inline".
picture_place_inline.jpg
If there is no description, then it's the attachment.html of your style. This has nothing to do with the portal.
Gruß Udo

TrekRed
Active Member
Posts: 39
Joined: 12. May 2019 20:05

Re: Cannot load XML: Premature end of data in tag r line 1

Post by TrekRed »

1. Understood.
2. Kirk. Understood with 2 points, does not perceive the BB-code. How to fix? Not friendly with the codes in width, in the center, etc. How to make friends portal with BB codes?
3. How to change another link to the post?
Image
User avatar

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

Re: Cannot load XML: Premature end of data in tag r line 1

Post by Kirk »

2. I do not understand
3. The link points to the respective topic.
Gruß Udo

TrekRed
Active Member
Posts: 39
Joined: 12. May 2019 20:05

Re: Cannot load XML: Premature end of data in tag r line 1

Post by TrekRed »

1. Due to BB codes, align by width, central, incorrectly recognized by the portal, when you disable these BB codes, then everything is fine! How to fix portal error with BB codes?
Image

Image

Image

See the difference?

2. When clicking on the link below, the view is: Image, Image.
when you click on the top link, the view is different: Image, Image

Therefore, I want to replace the bottom link with the top one!
User avatar

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

Re: Cannot load XML: Premature end of data in tag r line 1

Post by Kirk »

1. + 2. It's because of this change, it is a compromise.
TrekRed wrote: 19. May 2019 18:49 Therefore, I want to replace the bottom link with the top one!
Open: root/ext/board3/portal/styles/prosilver/template/portal/modules/news_center.html
Find:

Code: Select all

<span class="portal-read-all-link">{news.news_row.OPEN}<a href="{news.news_row.U_READ_FULL}">{news.news_row.L_READ_FULL}</a>{news.news_row.CLOSE}</span>
Replace with:

Code: Select all

<span class="portal-read-all-link"><!-- IF news.news_row.S_UNREAD_INFO --><a class="unread" href="{news.news_row.U_VIEW_UNREAD}" title="{postrow.MINI_POST}"></a><!-- ELSE --><a href="{news.news_row.U_LAST_COMMENTS}"></a><!-- ENDIF --><!-- IF news.news_row.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{news.news_row.POST_ICON_IMG}" width="{news.news_row.POST_ICON_IMG_WIDTH}" height="{news.news_row.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="{news.news_row.U_VIEW_COMMENTS}"><strong>{news.news_row.TITLE}</strong></a></span>
In the end "ACP -> General" --> purge cache, it's recommended to purge your browser cache too.

Note:
In addition the place is too small, if there is a long topic title, it can come to problems.
Gruß Udo

Fritschie
Active Member
Posts: 13
Joined: 29. March 2019 20:58
phpBB.de User: Fritschie

Re: Cannot load XML: Premature end of data in tag r line 1

Post by Fritschie »

Kirk wrote: 16. May 2019 14:28 Bitte beantworte doch mal meine Frage!
Kirk wrote: 16. May 2019 14:01 Ist dieser Fehler auch in prosilver?
Ja kann ich bestätigen, gerade probiert.
Image
www.anlagenmeisterei.de phpBB 3.2.5 + Portal3 2.1
User avatar

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

Re: Cannot load XML: Premature end of data in tag r line 1

Post by Kirk »

Schon gelesen?
Gruß Udo

TrekRed
Active Member
Posts: 39
Joined: 12. May 2019 20:05

Re: Cannot load XML: Premature end of data in tag r line 1

Post by TrekRed »

1. How to fix?
2. Leave the text "Read full", but with reference to the topic! No need to change the name below, just a link to the topic!

Thank you for your help, I ask for help solutions and patience!

Almost solved the problem! Left a little! Solve the issue with bb codes and do not change the name of the link below, but only to the topic itself!
User avatar

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

Re: Cannot load XML: Premature end of data in tag r line 1

Post by Kirk »

1. I do not know that yet
2. Take this code:

Code: Select all

					<span class="portal-read-all-link"><!-- IF news.news_row.S_UNREAD_INFO --><a class="unread" href="{news.news_row.U_VIEW_UNREAD}" title="{postrow.MINI_POST}"></a><!-- ELSE --><a href="{news.news_row.U_LAST_COMMENTS}"></a><!-- ENDIF --><a href="{news.news_row.U_VIEW_COMMENTS}"><strong>[ {news.news_row.L_READ_FULL} ]</strong></a></span>
Gruß Udo

TrekRed
Active Member
Posts: 39
Joined: 12. May 2019 20:05

Re: Cannot load XML: Premature end of data in tag r line 1

Post by TrekRed »

1. This is the last problem! All because of the BB code "In the center" and "in width", I will wait for a decision! Thank! When there are no these bb codes, then everything is fine, but I need these codes for the text!
Image

2. Now, as it should! Thank!!!
Locked

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