I went and checked the oldest topics in the view forum pages and they all worked.Marc wrote:I have seen this before and it's caused by invalid topic/post data. Take a look at your oldest topics in your viewforum page(s). You probably won't be able to open these topics. It would be nice if you could give me a database dump of the offending topics/posts as nobody has done that before...777.. wrote:I possibly found a bug. In the lastest news if you click on the last page, or one of the last pages I get this error:
raypeatforum.comCode: Select all
DateTime::__construct(): Failed to parse time string (@) at position 0 (@): Unexpected character
any 1 know how to use this code for the lastest version of the portal, i did have it working before the update but i cant seem to get it to work nowwintstar wrote:https://github.com/board3/Board3-Portal/issues/320
Hide the phpBB menu on the portal page for the function I've found another solution that works well:
open root/ext/board3/portal/prosilver/template/portal/portal_body.html
findadd afterCode: Select all
<!-- INCLUDE overall_header.html -->
Code: Select all
<!-- IF not $S_IN_PORTAL or not S_DISPLAY_PHPBB_MENU --> <style>.navbar {display: none;}</style> <!-- ENDIF -->
<div id="portal-body" role="grid">
<!-- EVENT board3_portal_body_before -->
<!--// board3 Portal by http://www.board3.de //-->
<!-- EVENT board3_portal_body_after -->
??DateTime::__construct(): Failed to parse time string (@) at position 0 (@): Unexpected character
Code: Select all
SELECT post_id, post_time
FROM phpbb_posts
WHERE post_time = ''
Code: Select all
SELECT topic_id, topic_last_post_id, topic_last_post_time
FROM phpbb_topics
WHERE topic_last_post_time = ''
it all seems to work thanks to good work"Show most recent message:"