• Resolved greychinchilla

    (@greychinchilla)


    I have an internal website serving baikal and wordpress. The same url successfully resolves in other calendar clients and also in evolution on the same machine. Authentication is basic. The error “Invalid Calendar URL” appears. Please advise. Thanks.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author hoernerfranz

    (@hoernerfranz)

    well, that seems to be related to the use of http_validate_url().
    this function rejects internal hosts by default.
    As a workaround, you could just comment out the check at line 17 in file Caldav2ics_Plugin.php :

    if (false == wp_http_validate_url($calURL)) {
    				return "Invalid Calendar URL:".$calURL." for Calendar # ".$calNum;
    			}
    

    and see if that works for you.

    Thread Starter greychinchilla

    (@greychinchilla)

    Excellent! That worked. Thanks.

    Plugin Author hoernerfranz

    (@hoernerfranz)

    Ok, fine to see it worked for you ?? .
    I’m now closing this as resolved.
    I’ll look into creating a more general approach to prevent this issue from arising for others in the future.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Invalid Calendar URL in baikal installation’ is closed to new replies.