Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Rendrix

Pages: [1]
1
Hi Peepz

After a few hours of trial and error, i figured out what stopped my Google calendar sync from working. If you have the same problems, here's what solved it for me:

1. Make sure your google calendar is not localized to your local language
I set mine to English UK. Because when you follow the procedure described in the wiki (sorry, forum doesn't allow link to it), Feng actually creates a new calendar in Google Calendar named "Feng Office Calendar". This however seems to fail, if you are using local language.

2. Make sure you config/config.php does not contain cookie path
If present, then remove the line:
define('COOKIE_PATH', '/');
I migrated and therefore had this in my original 1.7x config, which caused problems.

3. Make sure  /cache/log.php is writable (chmod 777)

4. Make sure you configured cron jobs in both feng and on server.
In feng under Administration/Cron Jobs, you have to enable the 2 jobs:
Import Google Calendar:
Export Feng Office:

I set mine to run at 10 minute intervals.

THEN you have to make a cron job on your server. I use cPanel, which has a control panel for this and created a job at 5 minute with the following line:

php /home/myaccount/public_html/feng2/cron.php

NOTE: To trouble shoot i sent output to .txt file the following way:
php /home/myaccount/public_html/feng2/cron.php >cron_log.txt 2>&1.

Furthermore to test that sync is working you can always simply add a few calendar entries in Feng and Google Calendar, and then run /installpath/cron.php

For other ways to acomplish automating jobs, read the Feng wiki (sorry forum doesn't allow me to post the link)
 
Hope it helps.

Big cheers to the Feng team for bringin us Google Calendar Sync. Magnificent to be able to sync calendars properly with mobile devices etc :).

Best R.

2
While we wait for ressources to become available for developing proper sync for mobile devices (e.g. Funambol), I've discovered sort of a poor mans sync for Android calendar:

1. From Android market find and install "iCal Import/Export" and run it.
2. In "Choose calendar to edit:" select calendar you want to import entries into
2. Click 'Set URL' button and insert your Feng Calendar feed
3. Click "Load iCal file" button. If it goes well, amount of found events will be displayed.
4. Press "Insert entries" to insert them into the calendar.

This will actually insert into the corresponding google calendar you selected, and subsequently kick through on your Android device.

NOTE! Only tested with fairly few calendar entries (250). Use at your own risk, and consider that a huge amount of entries could be inserted into your calendar, which could be hard to revert (fortunately app has button Delete entries based on the feng feed, so you should be able to reverse it).

Tested on Desire HD (Froyo). Feng 1.7.2

Pages: [1]