[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libreplanet-dev] Calendar extension error
From: |
Peter |
Subject: |
[Libreplanet-dev] Calendar extension error |
Date: |
Sat, 13 Jun 2009 06:51:20 +0000 |
User-agent: |
KMail/1.8.2 |
Hi,
The current event page returns an error, line 172 in Calendar/common.php
My suggestion is to insert between
$img = Image::newFromName( $name );
$path = str_replace("\\", "/", $_SERVER['DOCUMENT_ROOT']) . $img->getURL();
the following
$img = Image::newFromName( $name );
if ( !is_object( $img))
return null;
$path = str_replace("\\", "/", $_SERVER['DOCUMENT_ROOT']) . $img->getURL();
The is_object notes can be found at http://us3.php.net/is_object
If that works, we can submit a bug?
Regards,
Peter
- [Libreplanet-dev] Calendar extension error,
Peter <=
- Re: [Libreplanet-dev] Calendar extension error, Graziano Sorbaioli, 2009/06/15
- Re: [Libreplanet-dev] Calendar extension error, Peter, 2009/06/15
- Re: [Libreplanet-dev] Calendar extension error, John Sullivan, 2009/06/16
- Re: [Libreplanet-dev] Calendar extension error, Peter, 2009/06/17
- Re: [Libreplanet-dev] Calendar extension error, John Sullivan, 2009/06/19
- Re: [Libreplanet-dev] Calendar extension error, Peter, 2009/06/20
- Re: [Libreplanet-dev] Calendar extension error, John Sullivan, 2009/06/22
- Re: [Libreplanet-dev] Calendar extension error, Peter, 2009/06/23
- Re: [Libreplanet-dev] Calendar extension error, John Sullivan, 2009/06/23