[kronolith] defaultView missing in Kronolith

Jan Schneider jan at horde.org
Thu Jan 21 20:44:54 UTC 2010


 From horde/docs/UPGRADING:

After updating to a newer Horde version, or a newer version of **any** Horde
application, you **always** need to update **all** configuration files.

Zitat von Geoff Sweet <geoffrsweet at gmail.com>:

>  The documentation for upgrading is pretty simple and I followed all the
> steps.  The only mention of anything have to do with th preferences is this:
> Preferences
>
> The preference that stores the address books that are searched for attendees
> with free/busy urls has changed both the name and the format. The preference
> used to be called "search_abook" and contained a serialized PHP array. The
> new preference is called "search_sources", contains a tab-separated list,
> and goes along with the "search_fields" preference.
>
>
> and that basically tells me nothing.  So still my users calendar is broken.
>
>
> -Geoff
>
>
> On Fri, Jan 15, 2010 at 4:36 AM, <mtecles at biof.ufrj.br> wrote:
>
>> On 14 Jan 2010 at 11:06, Geoff Sweet wrote:
>>
>> > I'm not sure this made it through the first time so I am resending.  My
>> > apologies for the double post if you already got this.
>> >
>> > Greetings all, I am upgrading Kronolith (and the whole Horde shebang) to
>> the
>> > very latest from an install with 2.1.2.  After running the upgrade
>> scripts
>> > for Kronolith, I ended up with an issue whereby when I click on
>> "Calendar"
>> > in my menu I get this error:
>> >
>> > *Warning*: require(/home/gorf/public_html/
>> > testdom.net/www/webmail/kronolith/.php)
>> > [function.require<
>> http://www.whootis.net/webmail/kronolith/function.require>]:
>> > failed to open stream: No such file or directory in *
>> > /home/gorf/public_html/testdom**.net/www/webmail/kronolith/index.php* on
>> > line *22*
>> >
>> > line 22: require KRONOLITH_BASE . '/' . $prefs->getValue('defaultview') .
>> > '.php';
>> >
>> > Some simple testing shows that the defaultview is set to '' and thus it
>> is
>> > trying to pull in a file called ".php" which of course doesn't exist.  I
>> > altered this error a little by making index.php look like this:
>> >
>> > require_once KRONOLITH_BASE . '/lib/base.php';
>> >
>> > if ( is_null( $prefs->getValue('defaultview') ) ) {
>> >     require KRONOLITH_BASE . '/month.php';
>> > } else {
>> >     require KRONOLITH_BASE . '/' . $prefs->getValue('defaultview') .
>> '.php';
>> > }
>> >
>> > Which fixes the initial problem, but continued errors elsewhere suggest
>> this
>> > isn't the only fix I need.  Did I miss something in the upgrade process?
>> >
>> > Thanks!
>> >
>> > -Geoff
>> > --
>> > Kronolith mailing list - Join the hunt:
>> http://horde.org/bounties/#kronolith
>> > Frequently Asked Questions: http://horde.org/faq/
>> > To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org
>>
>> Did you follow each upgrade step by step? (That is to say you must do
>>  intermediate upgrades.) I record that some Horde upgrade needed the
>> "conf.php" files.
>>
>> Mauricio
>> --------------------------------------------------------
>> Mauricio J. T. Tecles
>> Instituto de Biofisica Carlos Chagas Filho - UFRJ
>> Edificio do Centro de Ciencias da Saude, Bloco G
>> Av. Carlos Chagas Filho, 373
>> Cidade Universitaria, Ilha do Fundao
>> Rio de Janeiro, RJ
>> Brasil
>> 21941-902
>> Telefone: 55 21 2562-6544
>> FAX: 55 21 2280-8193
>> mtecles at biof.ufrj.br
>>
>>
> --
> Kronolith mailing list - Join the hunt: http://horde.org/bounties/#kronolith
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org
>



Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the kronolith mailing list