libreplanet-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libreplanet-dev] Calendar extension error


From: Graziano Sorbaioli
Subject: Re: [Libreplanet-dev] Calendar extension error
Date: Mon, 15 Jun 2009 15:21:22 +0800

On Sat, 2009-06-13 at 06:51 +0000, Peter wrote:
> 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


Sorry, this is my fault.

I tried to insert a new event on June 20th.
I think the fact that there was already an event on that date caused the
error.

I already notified this to djbclark via irc and address@hidden

Sorry.

Anyway the event is the first public LibrePlanet Italia talk. :)

It will be held by Davide Valenti, one of our member, in Milan @
Hackmeeting: http://it.hackmeeting.org/

He will talk about our group, fully libre GNU/Linux distributions, libre
hardware (Lemote and so on), free bios and many more.

About one hour of freedom. :)

Happy hacking.

-- 
Graziano Sorbaioli  |  http://sorbaioli.org

LibrePlanet Italia
http://libreplanet.org/index.php/LibrePlanetItalia







reply via email to

[Prev in Thread] Current Thread [Next in Thread]