Author Topic: Google Calendar Sync Issue after 50 days  (Read 5212 times)

barbermania

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Google Calendar Sync Issue after 50 days
« on: June 17, 2013, 06:57:10 pm »
We are getting the following error in our log.php file when syncing Google Calendar.  We are unable to see anything further than 50 days in the calendar.

Session "default" started at 2013-06-17T21:41:53+0000
#1 ERROR: Error: Undefined variable: listeners in 'C:\feng\application\views\event\calendar_sinchronization.php' on line 64 (error code: 8)
Time since start: 0.53125 seconds


So it is/was syncing and we haven't changed any settings.  Just looking to see if anyone has run into this or has an answer.  Thanks

Chris

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Google Calendar Sync Issue after 50 days
« Reply #1 on: July 04, 2013, 01:40:44 pm »
Many changes with Google Sync have been added to the 2.3.1-beta version

You may try it out and let us know how it goes :)

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

barbermania

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Re: Google Calendar Sync Issue after 50 days
« Reply #2 on: July 18, 2013, 12:17:39 pm »
OK...updated to the new beta edition...but still had the same issue.  I looked up how the Google Calendar Sync is being done (with GData), and noticed that the URL to get the calendar has a "max-results" parameter.  I found that this parameter is set in the .\feng\library\zend\Zend\Gdata\Query.php file at line 164.  What's passed is the $value string.  I changed this to a static value of 1000000 and it populates all of our calendar events from Google (because we have less than that).  My questions is....is this value set in the database (Using MySQL), or is set statically somewhere else....the reason I ask is because I'd like to keep my versions up to date and hate to loose changes I made in the software itself.

snitch

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: Google Calendar Sync Issue after 50 days
« Reply #3 on: September 24, 2013, 05:29:58 pm »
I am experiencing the same error in my installaion (Version: 2.3.2-rc2):
Session "default" started at 2013-09-24T20:15:26+0000
#1 ERROR: Error: Undefined variable: listeners in '.../fengoffice/application/views/event/calendar_sinchronization.php' on line 64 (error code: 8)
I can import my calender from google - like it says on the button.
But in that process feng does not export new dates to Google.

I spent the last hours with that problem, and it seem there is no solution for that ...
the GData Solution does not seem to work for me.
Can some one please help me with that issue?

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Google Calendar Sync Issue after 50 days
« Reply #4 on: September 25, 2013, 11:59:08 am »
Hi there!
Did you set up the cron jobs correctly?
Otherwise there is no way to have it done "automatically".

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

snitch

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: Google Calendar Sync Issue after 50 days
« Reply #5 on: September 25, 2013, 01:21:50 pm »
Thank You!
The CronJobs did the trick.
and this topic helped also: index.php?topic=15318.0

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Google Calendar Sync Issue after 50 days
« Reply #6 on: September 25, 2013, 04:24:10 pm »
All right, glad to know it helped!

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

woodhead

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Re: Google Calendar Sync Issue after 50 days
« Reply #7 on: May 16, 2014, 05:46:50 am »
Hi have also had the same 2 issues

/application/views/event/calendar_sinchronization.php' on line 64 (error code: 8)
/application/views/event/calendar_sinchronization.php' on line 66 (error code: 8)

i applied a hack from  barbermania RE: set in the .\feng\library\zend\Zend\Gdata\Query.php file at line 164.  changed this to a static value of 1000000 and it populates all of our calendar events from Google

And now only get an error log for the second issue
/application/views/event/calendar_sinchronization.php' on line 66 (error code: 8)

has anyone had any luck with the second error yet?