Webmail login page problem

Gelpi Andrea liste at gelpi.it
Fri Dec 30 15:46:16 CET 2011


Il 30/12/2011 15:19, Gelpi Andrea ha scritto:
> On a Debian 6.03 Virtual machine I installed a fresh Kolab 2.3.4 system.
>
> I modified some preferences in client using /kolab/etc/kolab/tempaltes/
>
> I add my modifications to these files:
>
> webclient-config_registry.php.template

I understand the error in this file.

In the original file I copied some lines. There are two lines with:

'fileroot' => dirname(__FILE__) . '/..',
'templates' => dirname(__FILE__) . '/../templates',

Now this file in a subdirectory, one level down, so I need to add /.. to 
have it working.

'fileroot' => dirname(__FILE__) . '/../..',
'templates' => dirname(__FILE__) . '/../../templates',

> webclient-config_motd.php.template

I can't understand why the motd logo doesn' t appear.

I add this line:

<table width="100%"><tr><td align="center"><img 
src="themes/graphics/Ggdef.jpg" alt="Powered by Gelpi.it" 
/></td></tr></table>

If I comment it the original image doesn't appear.

Is it disabled some where?


> webclient-kronolith_prefs.php.template
> webclient-turba_prefs.php.template
> webclient-imp_prefs.php.template
> webclient-config_mime_drivers.php.template
> webclient-config_prefs.php.template
> webclient-kolab-conf.template
>
> I change the image name in client login page, or the sentence Welcome to
> Horde with Welcome to Webmail and some other preferences:
>
> Whe i load client login page, I can't see graphics and no image is
> present after login form.
>
> In php.errors file I found:
>
> [30-Dec-2011 15:08:50] PHP Warning:
> include_once(/kolab/var/kolab/www/client/config/registry.d/../lib/version.php)
> [<a href='function.include-once'>function.include-once</a>]: failed to
> open stream: No such file or directory in
> /kolab/var/kolab/www/client/kronolith/lib/Kronolith.php on line 1341
> [30-Dec-2011 15:08:50] PHP Warning:  include_once() [<a
> href='function.include'>function.include</a>]: Failed opening
> '/kolab/var/kolab/www/client/config/registry.d/../lib/version.php' for
> inclusion
> (include_path='/kolab/var/kolab/www/client/lib:.:/kolab/lib/php') in
> /kolab/var/kolab/www/client/kronolith/lib/Kronolith.php on line 1341
> [30-Dec-2011 15:08:50] PHP Notice:  Use of undefined constant
> HORDE_VERSION - assumed 'HORDE_VERSION' in
> /kolab/var/kolab/www/client/kronolith/lib/Kronolith.php on line 1342
> [30-Dec-2011 15:08:50] PHP Notice:  Use of undefined constant
> DATATREE_ROOT - assumed 'DATATREE_ROOT' in
> /kolab/var/kolab/www/client/kronolith/lib/Kronolith.php on line 1343
> [30-Dec-2011 15:08:50] PHP Warning:
> include_once(/kolab/var/kolab/www/client/config/registry.d/../lib/version.php)
> [<a href='function.include-once'>function.include-once</a>]: failed to
> open stream: No such file or directory in
> /kolab/var/kolab/www/client/nag/lib/Nag.php on line 288
> [30-Dec-2011 15:08:50] PHP Warning:  include_once() [<a
> href='function.include'>function.include</a>]: Failed opening
> '/kolab/var/kolab/www/client/config/registry.d/../lib/version.php' for
> inclusion
> (include_path='/kolab/var/kolab/www/client/lib:.:/kolab/lib/php') in
> /kolab/var/kolab/www/client/nag/lib/Nag.php on line 288
> [30-Dec-2011 15:08:50] PHP Notice:  Use of undefined constant
> HORDE_VERSION - assumed 'HORDE_VERSION' in
> /kolab/var/kolab/www/client/nag/lib/Nag.php on line 289
> [30-Dec-2011 15:08:50] PHP Warning:
> include_once(/kolab/var/kolab/www/client/config/registry.d/../lib/version.php)
> [<a href='function.include-once'>function.include-once</a>]: failed to
> open stream: No such file or directory in
> /kolab/var/kolab/www/client/nag/lib/Nag.php on line 288
> [30-Dec-2011 15:08:50] PHP Warning:  include_once() [<a
> href='function.include'>function.include</a>]: Failed opening
> '/kolab/var/kolab/www/client/config/registry.d/../lib/version.php' for
> inclusion
> (include_path='/kolab/var/kolab/www/client/lib:.:/kolab/lib/php') in
> /kolab/var/kolab/www/client/nag/lib/Nag.php on line 288
> [30-Dec-2011 15:08:50] PHP Notice:  Use of undefined constant
> HORDE_VERSION - assumed 'HORDE_VERSION' in
> /kolab/var/kolab/www/client/nag/lib/Nag.php on line 289
> [30-Dec-2011 15:08:50] PHP Warning:
> require(/kolab/var/kolab/www/client/config/registry.d/../templates/common-footer.inc)
> [<a href='function.require'>function.require</a>]: failed to open
> stream: No such file or directory in
> /kolab/var/kolab/www/client/imp/login.php on line 475
> [30-Dec-2011 15:08:50] PHP Fatal error:  require() [<a
> href='function.require'>function.require</a>]: Failed opening required
> '/kolab/var/kolab/www/client/config/registry.d/../templates/common-footer.inc'
> (include_path='/kolab/var/kolab/www/client/lib:.:/kolab/lib/php') in
> /kolab/var/kolab/www/client/imp/login.php on line 475
> [30-Dec-2011 15:08:50] PHP Notice:  Unknown: SECURITY PROBLEM: insecure
> server advertised AUTH=PLAIN (errflg=1) in Unknown on line 0
> [30-Dec-2011 15:08:50] PHP Notice:  Unknown: IMAP protocol error: Client
> canceled authentication (errflg=2) in Unknown on line 0
> [30-Dec-2011 15:08:50] PHP Notice:  Unknown: IMAP Authentication
> cancelled (errflg=2) in Unknown on line 0
> [30-Dec-2011 15:08:50] PHP Notice:  Unknown: SECURITY PROBLEM: insecure
> server advertised AUTH=PLAIN (errflg=1) in Unknown on line 0
> [30-Dec-2011 15:08:50] PHP Notice:  Unknown: IMAP protocol error: Client
> canceled authentication (errflg=2) in Unknown on line 0
> [30-Dec-2011 15:08:50] PHP Notice:  Unknown: IMAP Authentication
> cancelled (errflg=2) in Unknown on line 0
> [30-Dec-2011 15:08:50] PHP Notice:  Unknown: SECURITY PROBLEM: insecure
> server advertised AUTH=PLAIN (errflg=1) in Unknown on line 0
> [30-Dec-2011 15:08:50] PHP Notice:  Unknown: IMAP protocol error: Client
> canceled authentication (errflg=2) in Unknown on line 0
> [30-Dec-2011 15:08:50] PHP Notice:  Unknown: IMAP Authentication
> cancelled (errflg=2) in Unknown on line 0
>
> I think is not clear to me how to modify a setting using templates files.
>
> Where can I found documentations?
>
> Thnaks
>


-- 
ing. Andrea Gelpi
***************************************************
La Terra non la abbiamo ereditata dai nostri avi,
ma la abbiamo presa in prestito dai nostri bambini.
***************************************************
We do not inherit the Earth from our parents,
but borrow it from our children.
***************************************************




More information about the users mailing list