[TH] Thread Events [Deleted]

I've been sporadically receiving this error and I'm not sure what's causing it.

Exception: DateTime::__construct(): Failed to parse time string (Event Date00:00) at position 0 (E): The timezone could not be found in the database - library/Waindigo/ThreadEvents/Extend/XenForo/DataWriter/Discussion/Thread.php:102
Generated By: arshad_rauff, Today at 9:07 AM

#0 /home/kevin/xenforo/library/Waindigo/ThreadEvents/Extend/XenForo/DataWriter/Discussion/Thread.php(102): DateTime->__construct('Event Date00:00', Object(DateTimeZone))
#1 /home/kevin/xenforo/library/XenForo/DataWriter/Discussion.php(308): Waindigo_ThreadEvents_Extend_XenForo_DataWriter_Discussion_Thread->_discussionPreSave()
#2 /home/kevin/xenforo/library/XenForo/DataWriter.php(1446): XenForo_DataWriter_Discussion->_preSave()
#3 /home/kevin/xenforo/library/XenForo/ControllerPublic/Forum.php(733): XenForo_DataWriter->preSave()
#4 /home/kevin/xenforo/library/Waindigo/ThreadEvents/Extend/XenForo/ControllerPublic/Forum.php(81): XenForo_ControllerPublic_Forum->actionAddThread()
#5 /home/kevin/xenforo/library/XenForo/FrontController.php(347): Waindigo_ThreadEvents_Extend_XenForo_ControllerPublic_Forum->actionAddThread()
#6 /home/kevin/xenforo/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#7 /home/kevin/xenforo/index.php(13): XenForo_FrontController->run()
#8 {main}

Any suggestion on how to fix this? Or is it not something I can take care of on my end?
 
Seeing this error after enabling reminders:

Server Error Log
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Operand should contain 1 column(s) - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Unknown Account, Yesterday at 9:58 PM
Stack Trace
#0 /var/www/mgamers/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('?? ...')
#1 /var/www/mgamers/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '?? ...')
#2 /var/www/mgamers/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('?? ...')
#3 /var/www/mgamers/library/XenForo/Model.php(219): Zend_Db_Adapter_Abstract->query('?? ...', Array, 2)
#4 /var/www/mgamers/library/Waindigo/ThreadEvents/Model/EventDate.php(34): XenForo_Model->fetchAllKeyed('?? ...', 'event_date_id')
#5 /var/www/mgamers/library/Waindigo/ThreadEvents/Deferred/Reminders.php(48): Waindigo_ThreadEvents_Model_EventDate->getEventDates(Array)
#6 /var/www/mgamers/library/XenForo/Model/Deferred.php(294): Waindigo_ThreadEvents_Deferred_Reminders->execute(Array, Array, 7.9999959468842, '')
#7 /var/www/mgamers/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.9999959468842, '', false)
#8 /var/www/mgamers/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#9 /var/www/mgamers/deferred.php(23): XenForo_Model_Deferred->run(false)
#10 {main}
 
I'm getting the same error.

#0 /home/kevin/xenforo/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('?? ...')
#1 /home/kevin/xenforo/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '?? ...')
#2 /home/kevin/xenforo/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('?? ...')
#3 /home/kevin/xenforo/library/XenForo/Model.php(219): Zend_Db_Adapter_Abstract->query('?? ...', Array, 2)
#4 /home/kevin/xenforo/library/Waindigo/ThreadEvents/Model/EventDate.php(34): XenForo_Model->fetchAllKeyed('?? ...', 'event_date_id')
#5 /home/kevin/xenforo/library/Waindigo/ThreadEvents/Deferred/Reminders.php(48): Waindigo_ThreadEvents_Model_EventDate->getEventDates(Array)
#6 /home/kevin/xenforo/library/XenForo/Model/Deferred.php(294): Waindigo_ThreadEvents_Deferred_Reminders->execute(Array, Array, 7.9999988079071, '')
#7 /home/kevin/xenforo/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.9999988079071, '', false)
#8 /home/kevin/xenforo/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#9 /home/kevin/xenforo/deferred.php(23): XenForo_Model_Deferred->run(false)
#10 {main}
 
Hi Jon, I tried installing it in every way I can:
- Manually: No error
- With Chris D's variant of Install & Update: cannot install it
- With your Install & Update: No errors

I adjusted the user group authorizations for RSVP to thread event, but whatever I do, I never see the possibility to add threads into the calendar :(
I tried it on a skin of UI.X and on the regular Xenforo skin. No results.

Am I missing something?
Thanks in advance for your time!
 
I now (finally) have some errors in the server log. Hopefully these are helpful telling what is wrong:
Server Error Log
Error Info
ErrorException: Fatal Error: Class 'Waindigo_GoogleCalendar_GoogleCalendarHandler_Abstract' not found -library/Waindigo/ThreadEvents/Extend/XenForo/DataWriter/Discussion/Thread.php:280
Generated By: Axel, Yesterday at 11:58 PM
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
["url"] => string(98) "http://mainecoon.nl/forum/threads/16-11-2014-belgian-cat-fanciers-in-antwerpen-belgie.80826/delete"
["_GET"] => array(1) {
["/forum/threads/16-11-2014-belgian-cat-fanciers-in-antwerpen-belgie_80826/delete"] => string(0) ""
}
["_POST"] => array(3) {
["hard_delete"] => string(1) "1"
["_xfConfirm"] => string(1) "1"
["_xfToken"] => string(8) "********"
}
}

The errors are caused by trying to delete a thread, which is not working. The page goes blank.

I have not installed any of the Google Calendar integration addons you made, so I don't understand where this is coming from.
 
Last edited:
This doesn't show up at all for me. The template modifications looks like it should work but they don't. Turned on in forum. Set permission to rsvp. I don't see any view permissions or create permissions under usergroup permission. It does not show up in default style as well. XF 1.4.6 PHP 5.5.9

Does this require the Calendar mods?
 
I now (finally) have some errors in the server log. Hopefully these are helpful telling what is wrong:
Server Error Log
Error Info
ErrorException: Fatal Error: Class 'Waindigo_GoogleCalendar_GoogleCalendarHandler_Abstract' not found -library/Waindigo/ThreadEvents/Extend/XenForo/DataWriter/Discussion/Thread.php:280
Generated By: Axel, Yesterday at 11:58 PM
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
["url"] => string(98) "http://mainecoon.nl/forum/threads/16-11-2014-belgian-cat-fanciers-in-antwerpen-belgie.80826/delete"
["_GET"] => array(1) {
["/forum/threads/16-11-2014-belgian-cat-fanciers-in-antwerpen-belgie_80826/delete"] => string(0) ""
}
["_POST"] => array(3) {
["hard_delete"] => string(1) "1"
["_xfConfirm"] => string(1) "1"
["_xfToken"] => string(8) "********"
}
}

The errors are caused by trying to delete a thread, which is not working. The page goes blank.

I have not installed any of the Google Calendar integration addons you made, so I don't understand where this is coming from.

I got the exact same message today.
 
@Code Monkey after reinstalling the tools (thread events and calendar) a couple of times I got it to work with no errors. For some reason I cannot see the option to create thread events.
 
Got it working and frankly it doesn't do much. Just puts a date there and a link drop drown that users may or may not understand they should click. It doesn't list who is attending. How is the event author to know who is showing up? Or am I missing something? Which is very possible.

It also seems to kill postratings for the whole thread.
 
I still can't permanently delete a thread with this turned on.


Code:
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}

Request State

array(3) {
  ["url"] => string(52) "http://mysite.com/inline-mod/thread/delete"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(6) {
    ["hard_delete"] => string(1) "1"
    ["save"] => string(14) "Delete Threads"
    ["threads"] => array(1) {
      [0] => string(4) "8685"
    }
    ["_xfConfirm"] => string(1) "1"
    ["redirect"] => string(53) "http://mysite.com/forums/announcements.147/"
    ["_xfToken"] => string(8) "********"
  }
}
 
Still getting these errors on a regular basis, usually every day at 7:00 PM.

Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Operand should contain 1 column(s) - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Unknown Account, Yesterday at 7:00 PM

#0 /home/kevin/xenforo/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('?? ...')
#1 /home/kevin/xenforo/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '?? ...')
#2 /home/kevin/xenforo/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('?? ...')
#3 /home/kevin/xenforo/library/XenForo/Model.php(219): Zend_Db_Adapter_Abstract->query('?? ...', Array, 2)
#4 /home/kevin/xenforo/library/Waindigo/ThreadEvents/Model/EventDate.php(34): XenForo_Model->fetchAllKeyed('?? ...', 'event_date_id')
#5 /home/kevin/xenforo/library/Waindigo/ThreadEvents/Deferred/Reminders.php(48): Waindigo_ThreadEvents_Model_EventDate->getEventDates(Array)
#6 /home/kevin/xenforo/library/XenForo/Model/Deferred.php(294): Waindigo_ThreadEvents_Deferred_Reminders->execute(Array, Array, 7.9999988079071, '')
#7 /home/kevin/xenforo/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.9999988079071, '', false)
#8 /home/kevin/xenforo/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#9 /home/kevin/xenforo/deferred.php(23): XenForo_Model_Deferred->run(false)
#10 {main}

array(3) {
["url"] => string(33) "http://mt-gaming.com/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(18) "/index.php?forums/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
 
Hey Jon! :)
I'm currently testing this on my test forums. It seems really good, but I noticed a few issues. If it's possible, I hope they can get fixed soon.

The Slide Out Poll add-on makes it so that the event time/date selections in the "Post New Event" page don't appear. It's hidden under the "Add a Poll" option, but clicking on that button doesn't show the event options.
https://xenforo.com/community/resources/slide-out-poll.3310/

Simple Forms being installed and activated causes the "Post New Event" button to never appear. However, the thread events add-on still works perfectly if you know the link to the "post new event" page and visit it by using the URL.
https://xenforo.com/community/resources/simple-forms.289/

I get the following error if I try to permanently delete a thread. I fixed it by installing your Google API and Google Calendar API add-ons, but it'd be nice if these add-ons weren't required for this to work! :)
ErrorException: Fatal Error: Class 'Waindigo_GoogleCalendar_GoogleCalendarHandler_Abstract' not found -library/Waindigo/ThreadEvents/Extend/XenForo/DataWriter/Discussion/Thread.php:280

Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError()
#1 {main}
Request State
array(3) {
["url"] => string(62) "http://sitename.com/forumtest/inline-mod/thread/delete"
["_GET"] => array(0) {
}
["_POST"] => array(6) {
["hard_delete"] => string(1) "1"
["save"] => string(14) "Delete Threads"
["threads"] => array(1) {
[0] => string(4) "2064"
}
["_xfConfirm"] => string(1) "1"
["redirect"] => string(69) "http://sitename.com/forumtest/forums/global-announcements.63/"
["_xfToken"] => string(8) "********"
}
}
 
Still can't permanently delete threads while this is turned on.

Code:
Fatal error: Class 'Waindigo_GoogleCalendar_GoogleCalendarHandler_Abstract' not found in /home/mysite/public_html/library/Waindigo/ThreadEvents/Extend/XenForo/DataWriter/Discussion/Thread.php on line 280
 
It seems he changed his naming conventions along the way and some of them still aren't right. They get confused between GoogleCalandarHandler and CalandarHandlar
 
Top Bottom