Same!Same error when trying to create a new thread
in_array() expects parameter 2 to be array, boolean given
- XenForo_Application::handlePhpError()
- in_array() in EWRporta/DataWriter/Discussion/Thread.php at line 35
- EWRporta_DataWriter_Discussion_Thread->cachePromotions() in EWRporta/DataWriter/Discussion/Thread.php at line 15
- EWRporta_DataWriter_Discussion_Thread->_discussionPostSave() in XenForo/DataWriter/Discussion.php at line 441
- XenForo_DataWriter_Discussion->_postSave() in XenForo/DataWriter.php at line 1397
- XenForo_DataWriter->save() in XenForo/ControllerPublic/Forum.php at line 676
- XenForo_ControllerPublic_Forum->actionAddThread() in Tinhte/XenTag/XenForo/ControllerPublic/Forum.php at line 23
- Tinhte_XenTag_XenForo_ControllerPublic_Forum->actionAddThread() in XenForo/FrontController.php at line 337
- XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
- XenForo_FrontController->run() in /home/andy/public_html/index.php at line 13
public function getPromoteForums()
{
if (!$forums = $this->_getDb()->fetchRow("
SELECT *
FROM EWRporta_options
WHERE option_id = ?
", 'recentnews_forum'))
{
return false;
}
$forums = unserialize($forums['option_value']);
return $forums;
}
Sweet.. Working like a champ no errors to report yet.Oops... i think the issue is that I included the wrong RecentNews.xml in the zip file...
Re-install the RecentNews block using this XML and tell me if that fixes all your issues.
Seems to have fixed all my problems. Will report if I encounter more issues.Oops... i think the issue is that I included the wrong RecentNews.xml in the zip file...
Re-install the RecentNews block using this XML and tell me if that fixes all your issues.
XF1.2 has a new built in routing system... if you look at "Basic Board Information", just change the "Index Page Route" to /portal@Jaxel
In XF 1.1, we were able to install XF on root and have Xenporta to create an index so that we show our forum index at /forum/
Looks like XF 1.2 changes the route index so I'm unable to recreate the same structures. Everything seems to route to /forums instead of /forum/
Any idea on how we get back to the old structure?
Oops... i think the issue is that I included the wrong RecentNews.xml in the zip file...
Re-install the RecentNews block using this XML and tell me if that fixes all your issues.
I did that but the forum is now routed to /forums/ while I used to have the forum at /forum/XF1.2 has a new built in routing system... if you look at "Basic Board Information", just change the "Index Page Route" to /portal
I did that but the forum is now routed to /forums/ while I used to have the forum at /forum/
Notice the extra s
I create a route filter to change forums/ to forum/ and the result is that the forum index now can be seen at domain.com/forum/ but links to individual forums are now broken.
links to domain.com/forums/2/ for example is now routed to domain.com/2/
All i need is to have the forum index at domain.com/forum/ instead of domain.com/forums/
@Jaxel
In XF 1.1, we were able to install XF on root and have Xenporta to create an index so that we show our forum index at /forum/
Looks like XF 1.2 changes the route index so I'm unable to recreate the same structures. Everything seems to route to /forums instead of /forum/
Any idea on how we get back to the old structure?
We use essential cookies to make this site work, and optional cookies to enhance your experience.