R
ragtek
Guest
I'm extending the thread controller with an own class
class Ragtek_PLOTV_ControllerPublic_Thread extends
It's working fine and while i'm reading the thread(i see the additional fields, this means the controller is extended and adds additional data to the response ), i can see me on the online list with action ( Viewing thread Welcome ragtekfsdfs to XenForo! A moment ago )
BUT if i'm on the reply page (add-reply) i can't load the online page anymore.
Anybody run into a similar problem and knows what's wrong?
The strange thing is:
On Dev Server it's working fine
On Stage Server it's also working fine
Only on the Live System i'm getting this....
Stage + Live system have the same setup & add-ons installed
class Ragtek_PLOTV_ControllerPublic_Thread extends
PHP:
class Ragtek_PLOTV_ControllerPublic_Thread extends
XFCP_Ragtek_PLOTV_ControllerPublic_Thread
{
public function actionIndex()
{
$response = parent::actionIndex();
$thread = $response->params['thread'];
...
return $response;
}
public function actionAddReply()
{
$this->_assertPostOnly();
if ($this->_input->inRequest('more_options')) {
return $this->responseReroute(__CLASS__, 'reply');
}
$threadId = $this->_input->filterSingle('thread_id', XenForo_Input::UINT);
$ftpHelper = $this->getHelper('ForumThreadPost');
list($thread, $forum) = $ftpHelper->assertThreadValidAndViewable($threadId);
...
if (
foo()
) {
throw $this->getErrorOrNoPermissionResponseException('ragtek_otw_errormessage');
}
else
return parent::actionAddReply();
}
/**
* @return Ragtek_PLOTV_Model
*/
protected function _getHelperModel()
{
return $this->getModelFromCache('Ragtek_PLOTV_Model');
}
}
BUT if i'm on the reply page (add-reply) i can't load the online page anymore.
Code:
#0 [internal function]: XenForo_Autoloader->autoload('XFCP_Ragtek_PLO...')
#1 /home/www/doc/11759/ragtek.org/pl/library/Ragtek/PLOTV/ControllerPublic/Thread.php(18): spl_autoload_call('XFCP_Ragtek_PLO...')
#2 /home/www/doc/11759/ragtek.org/pl/library/XenForo/Autoloader.php(119): include('/home/www/doc/1...')
#3 /home/www/doc/11759/ragtek.org/pl/library/XenForo/Application.php(852): XenForo_Autoloader->autoload('Ragtek_PLOTV_Co...')
#4 /home/www/doc/11759/ragtek.org/pl/library/XenForo/Model/Session.php(303): XenForo_Application::autoload('Ragtek_PLOTV_Co...')
#5 /home/www/doc/11759/ragtek.org/pl/library/XenForo/ControllerPublic/Online.php(50): XenForo_Model_Session->addSessionActivityDetailsToList(Array)
#6 /home/www/doc/11759/ragtek.org/pl/library/XenForo/FrontController.php(310): XenForo_ControllerPublic_Online->actionIndex()
#7 /home/www/doc/11759/ragtek.org/pl/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /home/www/doc/11759/ragtek.org/pl/index.php(13): XenForo_FrontController->run()
#9 {main}
Anybody run into a similar problem and knows what's wrong?
The strange thing is:
On Dev Server it's working fine
On Stage Server it's also working fine
Only on the Live System i'm getting this....
Stage + Live system have the same setup & add-ons installed