gza / oczpush

Owncloud Z-push 2.0 plugin
GNU Affero General Public License v3.0
31 stars 26 forks source link

[ERROR] SyncAppointment->Check(): timezone for a recurring appointment is not set. #6

Closed ghost closed 11 years ago

ghost commented 11 years ago

I get this error on every appointment, when i try to sync the calendar. what can i do?

choralou commented 11 years ago

try in php.ini date.timezone = "Europe/Paris"

gza commented 11 years ago

Last version have a lot of timezone rework, this should be fixed (without date.timezone touching) Reference timezone is now OwnCloud userdefined timezone. BTW, I found that timezone is forced to UTC in owncloud init. :-/

is it good for you ?

choralou commented 11 years ago

Le 16/12/2012 21:38, gza a écrit :

Last version have a lot of timezone rework, this should be fixed (without date.timezone touching) Reference timezone is now OwnCloud userdefined timezone. BTW, I found that timezone is forced to UTC in owncloud init. :-/

is it good for you ?

— Reply to this email directly or view it on GitHub https://github.com/gza/oczpush/issues/6#issuecomment-11422508.

With the new version timezone is OK i have remove timezone in my php.ini ! Thank's

the sync is not oK ! the two way sync are not ok the error log contain this :

/17/12/2012 21:00:51 [ 1085] [ WARN] [daniel] /home/danielsrv/public_html/owncloud/lib/app.php:393 file_get_contents(/home/danielsrv/public_html/owncloud/apps/files_odfviewer/appinfo/version): failed to ope$ 17/12/2012 21:00:51 [ 1085] [ WARN] [daniel] /home/danielsrv/public_html/owncloud/lib/app.php:393 file_get_contents(/home/danielsrv/public_html/owncloud/apps/updater/appinfo/version): failed to open stream$

17/12/2012 21:00:53 [ 1085] [ERROR] [daniel] trace error: /var/www/oczpush/lib/utils/timezoneutil.php:1100 Object of class vtimezone could not be converted to string (4096) - backtrace: 5 steps 17/12/2012 21:00:53 [ 1085] [ERROR] [daniel] trace: 1:/var/www/oczpush/backend/occalendar.php:324 - TimezoneUtil::GetFullTZ() 17/12/2012 21:00:53 [ 1085] [ERROR] [daniel] trace: 2:/var/www/oczpush/lib/default/diffbackend/exportchangesdiff.php:196 - BackendOCCalendar->GetMessage() 17/12/2012 21:00:53 [ 1085] [ERROR] [daniel] trace: 3:/var/www/oczpush/lib/request/sync.php:858 - ExportChangesDiff->Synchronize() 17/12/2012 21:00:53 [ 1085] [ERROR] [daniel] trace: 4:/var/www/oczpush/lib/request/requestprocessor.php:127 - Sync->Handle() 17/12/2012 21:00:53 [ 1085] [ERROR] [daniel] trace: 5:/var/www/oczpush/index.php:182 - RequestProcessor::HandleRequest() 17/12/2012 21:00:53 [ 1085] [DEBUG] [daniel] TimezoneUtil::GetFullTZ() for 17/12/2012 21:00:53 [ 1085] [ERROR] [daniel] trace error: /var/www/oczpush/lib/utils/timezoneutil.php:1198 Object of class vtimezone could not be converted to string (4096) - backtrace: 7 steps 17/12/2012 21:00:53 [ 1085] [ERROR] [daniel] trace: 1:/var/www/oczpush/lib/utils/timezoneutil.php:1198 - sprintf() 17/12/2012 21:00:53 [ 1085] [ERROR] [daniel] trace: 2:/var/www/oczpush/lib/utils/timezoneutil.php:1102 - TimezoneUtil::guessTZNameFromPHPName() 17/12/2012 21:00:53 [ 1085] [ERROR] [daniel] trace: 3:/var/www/oczpush/backend/occalendar.php:324 - TimezoneUtil::GetFullTZ() 17/12/2012 21:00:53 [ 1085] [ERROR] [daniel] trace: 4:/var/www/oczpush/lib/default/diffbackend/exportchangesdiff.php:196 - BackendOCCalendar->GetMessage() 17/12/2012 21:00:53 [ 1085] [ERROR] [daniel] trace: 5:/var/www/oczpush/lib/request/sync.php:858 - ExportChangesDiff->Synchronize() 17/12/2012 21:00:53 [ 1085] [ERROR] [daniel] trace: 6:/var/www/oczpush/lib/request/requestprocessor.php:127 - Sync->Handle() 17/12/2012 21:00:53 [ 1085] [ERROR] [daniel] trace: 7:/var/www/oczpush/index.php:182 - RequestProcessor::HandleRequest() 17/12/2012 21:00:53 [ 1085] [ERROR] [daniel] TimezoneUtil::guessTZNameFromPHPName() no compatible timezone found for ''. Returning 'GMT Standard Time'. Please contact the Z-Push dev team. 17/12/2012 21:00:53 [ 1085] [DEBUG] [daniel] OCCalendar::GetMessage: UTC $message = (SyncAppointment Object

17/12/2012 21:00:53 [ 1085] [ WARN] [daniel] SyncObject->Check(): Fixed object from type SyncAppointment: parameter 'dtstamp' is set to 0 17/12/2012 21:00:53 [ 1085] [ WARN] [daniel] SyncObject->Check(): Fixed object from type SyncAppointment: parameter 'starttime' is set to 0 17/12/2012 21:00:53 [ 1085] [ WARN] [daniel] SyncObject->Check(): Unmet condition in object from type SyncAppointment: parameter 'starttime' can not be compared, as the comparable is not set. Check failed!

17/12/2012 21:00:53 [ 1085] [ERROR] [daniel] trace error: /var/www/oczpush/lib/default/diffbackend/exportchangesdiff.php:199 Creating default object from empty value (2048) - backtrace: 3 steps 17/12/2012 21:00:53 [ 1085] [ERROR] [daniel] trace: 1:/var/www/oczpush/lib/request/sync.php:858 - ExportChangesDiff->Synchronize() 17/12/2012 21:00:53 [ 1085] [ERROR] [daniel] trace: 2:/var/www/oczpush/lib/request/requestprocessor.php:127 - Sync->Handle() 17/12/2012 21:00:53 [ 1085] [ERROR] [daniel] trace: 3:/var/www/oczpush/index.php:182 - RequestProcessor::HandleRequest()

i do not understand ! Thank's for all Daniel /