-
Notifications
You must be signed in to change notification settings - Fork 26
PHP Fatal error: Call to undefined method stdClass::Check() in /var/www/oczpush/backend/occalendar.php on line 332 #18
Comments
Hi, I don't think oczupsh is fully compatible with OC 4.0. regards |
Hallo, Here is the first in the log: my firs impression is that $message is not initialised because the loop in line 297 runs zero times. But this is just a guess. |
Could you try to uncomment debug at 286 and see if Calendar object is correctly retrieved from OC ? |
OC dose not show any message during, I checked with "tail -f owncloud.log". I changed the code to ZLog::Write(LOGLEVEL_INFO . Debug seams to flood my log but I can change to Debug if this helps. Her is the Log: 30/12/2012 21:50:19 [28119] [WARN] [XXX] /var/www/oczpush/backend/occalendar.php:329 Creating default object from empty value (2)
) 30/12/2012 21:50:20 [28618] [WARN] [XXX] /var/www/oczpush/backend/occalendar.php:320 Undefined variable: message (8) |
The shown "event" seams to be a memo not a calender item! |
I removed all memos from OC via syncevolution. In moment it seams to sync. I will report later, 700+ events need some tome to be processed. |
It toke me the half night to get syncing to work. So her are my conclusions:
Then I run into an endless loop. Based on your debug code I could identify the “broken” events and fixed or removed them. Hear is one of the events: 31/12/2012 01:58:36 [17535] [INFO] [XXX] OCCalendar::GetMessage $calob 201
) The problem seams to be the line “EXDATE:19700101T000000Z”
So thanks a lot for your work! PS.: the most important feature for me is to sync multiple calenders. Is this already on your schedule? |
Hallo,
I use OC 4.0.8 from Debian and try to use oczpush. Contacts seam to work well. So thanks for your work.
The Calender seems not to work. 2 Appointments are synced from OC to Mobile (Android phone) and I get following error:
30/12/2012 18:24:31 [30287] [ERROR] [XXX] LoopDetection->ProcessLoopDetectionPreviousConnectionFailed(): Command 'Sync' at 30/12/2012 18:16:08 with pid '28708' terminated unexpectedly or is still running.
30/12/2012 18:24:31 [30287] [ERROR] [XXX] Please check your logs for this PID and errors like PHP-Fatals or Apache segmentation faults and report your results to the Z-Push dev team.
The Apache-log gives me:
PHP Fatal error: Call to undefined method stdClass::Check() in /var/www/oczpush/backend/occalendar.php on line 332
Calender sync from Mobile to OC seams to work. ToDos seems to have the same Problem.
Thanks in advance
The text was updated successfully, but these errors were encountered: