Results 1 to 5 of 5

Thread: Blank page after calender entry

  1. #1
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Blank page after calender entry

    Hi,

    I just installed the ical patch (latest version) on my OS 4.5g. Unfortunately I'm getting a blank page after saving or deleting a meeting. Does anybody know how to get rid of this patch again? Or probably somebody knows what the output (source) on the blank page means. The operation (save or delete) completes successfully before the blank page.

    Here's what I get:

    <script type="text/javascript" src="include/javascript/cookie.js?s=4.5.0g&c="></script>
    <link rel="stylesheet" type="text/css" media="all" href="themes/SugarLite/calendar-win2k-cold-1.css?s=4.5.0g&c=">
    <script>jscal_today = 1.166543935E+12; if(typeof app_strings == "undefined") app_strings = new Array();</script>
    <script type="text/javascript" src="jscalendar/calendar.js?s=4.5.0g&c="></script>
    <script type="text/javascript" src="jscalendar/lang/calendar-en.js?s=4.5.0g&c="></script>
    <script type="text/javascript" src="jscalendar/calendar-setup_3.js?s=4.5.0g&c="></script>
    <script src="include/javascript/yui/YAHOO.js?s=4.5.0g&c="></script>
    <script src="include/javascript/yui/log.js?s=4.5.0g&c="></script>
    <script src="include/javascript/yui/dom.js?s=4.5.0g&c="></script>
    <script src="include/javascript/yui/event.js?s=4.5.0g&c="></script>
    <script src="include/javascript/yui/animation.js?s=4.5.0g&c="></script>
    <script src="include/javascript/yui/connection.js?s=4.5.0g&c="></script>
    <script src="include/javascript/yui/dragdrop.js?s=4.5.0g&c="></script>
    <script src="include/javascript/yui/ygDDList.js?s=4.5.0g&c="></script>
    <script type="text/javascript" src="include/javascript/sugar_3.js?s=4.5.0g&c="></script>
    <script type="text/javascript">
    var time_reg_format = '([0-9]{1,2})[0-9]{1,2})';
    var date_reg_format = '([0-9]{1,2}).([0-9]{1,2}).([0-9]{4})';
    var date_reg_positions = {'d': 1,'m': 2,'Y': 3};
    var time_separator = ':';
    var cal_date_format = '%d.%m.%Y';
    var time_offset = 0;
    </script><script type="text/javascript" src="cache/jsLanguage/en_us.js?s=4.5.0g&c=&j=2"></script>
    <script type="text/javascript" src="cache/jsLanguage/Meetings/en_us.js?s=4.5.0g&c=&j=2"></script>

    Tx in advance
    rl

    [EDIT - SOLVED] - I replaced the two files of the patch (HTTP_WebDAV_Server_vCal.php, vCal.php) with the original ones and everything is back to normal.
    Nonetheless I'd be interested in the root of the problem - I consider a connection to e.g. Google a great advantage because all my calendars are consolidated there.

    rgds
    rl
    Last edited by roblaus; 2006-12-19 at 04:56 PM.

  2. #2
    mcssoftware is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    10

    Default Re: Blank page after calender entry

    This is what fixed it for me. In the file vCal.php replace ALL calls to the DataTime() function with DateTimeUtil(). Apparently Sugar decided to either remove this function or rename it (I havent checked the utils file yet to be certain). Either way this quick search and replace worked for me.

    FYI: The reason you are not seeing the error and instead a blank page is that you probably have "display_errors" turned Off in your php.ini. I know I did. Once I turned it back on it threw the error and I fixed the problem.

    I hope this works for you as this is an awesome patch

  3. #3
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Blank page after calender entry

    tx, I'll try it. Re. the error display settings you might be right - I'll check this as well!

    rgds
    rl

    [UPDATED]: Yes, works like a charm (with Sunbird), thank you. The only thing (unrelated): Google tells me that it cannot crawl my page because of robots.txt and thus cannot display my calendar. But both (possibly) involved files (web root, page root) have been set to "allow all".

    rgds
    rl
    Last edited by roblaus; 2006-12-30 at 07:13 AM.
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  4. #4
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Blank page after calender entry

    After some testing Google all of a sudden doesn't complain anymore - it seems that the crawler has sort of a cache that isn't released immediately.

    However, my Google calendar now displays everything correctly (not the tasks, though , but this is good anyway), here's what I did:

    I went (in Google) under calendar/settings/add calendar, chose public calendar address and copied this string (replace your url):

    'http://YOURSERVER/vcal_server.php/type=ics&user_name=sugarusername'

    Save and wait. Sometimes it takes Google a certain time to update its information. Important: use "user_name" instead of "email" and forget the key. It doesn't work if I added the key (at least in my case...)

    rgds
    rl
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  5. #5
    thomaseskebaek is offline Sugar Community Member
    Join Date
    Sep 2005
    Posts
    13

    Default Re: Blank page after calender entry

    I am also seeing a blank page from the vcal_server (after I upgraded to 4.5.0f), and it hasn't worked since. In my vCal.php file, all the calls to DateTime were already DateTimeUtil calls - so the above does not apply to my installation.

    Does anyone have another great idea on how I can make ical support work again?

    Thanks a lot,

    Thomas

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •