[imp] Problems with include_path
Wilder Hernan Tafur
wilder@insitel.com
Tue, 13 Nov 2001 14:53:04 -0500
Hi, thanks for the answer... the file have read access for all user, group,
other with chmod 644... all the archives and directories in /horde and
/horde/imp have this...
additionally i have this in httpd.conf
Alias /horde /var/www/html/horde
Alias /horde/imp /var/www/html/horde/imp
<Directory "/var/www/html/horde/imp">
Options Indexes FollowSymLinks
AllowOverride None
order allow,deny
allow from all
<IfModule mod_php3.c>
php3_include_path
.:var/www/phplib:/var/www/html/horde/imp:/var/www/html/horde
php3_auto_prepend_file /var/www/phplib/prepend.php3
php3_magic_quotes_gpc off
php3_track_vars On
</IfModule>
<IfModule mod_php4.c>
php_value include_path
.:/var/www/html/horde:/var/www/html/horde/imp:/var/www/phplib
php_value auto_prepend_file /var/www/phplib/prepend.php3
php_flag magic_quotes_gpc Off
php_flag track_vars On
</IfModule>
</Directory>
Thank you very much...
Wilder
----- Original Message -----
From: "Jan Schneider" <jan@horde.org>
To: <imp@lists.horde.org>
Sent: Tuesday, November 13, 2001 1:54 PM
Subject: Re: [imp] Problems with include_path
> Do you by chance have no read access for the web server on this file?
>
> Jan.
>
> Zitat von Wilder Hernan Tafur <wilder@insitel.com>:
>
> > Hi, i am trying to configure IMP in my company...
> > After large days of work... when i go to
> > htttp://www.mycompany.com/horde/imp
> > show the message:
> >
> > Warning: Failed opening './templates/index/frames_mode.inc' for
> > inclusion
> >
>
(include_path='.:/var/www/html/horde:/var/www/html/horde/imp:/var/www/phplib
> > ') in /var/www/html/horde/imp/index.php3 on line 29
> >
> > i try to solve the problem changing the path in php.ini file and in
> > httpd.conf file... adding all possible paths to horde, phplib and IMP,
> > but
> > donīt work....
> >
> > Please help me.....
> >
> > Thanks,
> >
> > Wilder
> >
> >
> >
> > The Test.php3 page show:
> >
> > View phpinfo() screen
> > Horde Versions
> > Horde: 1.2.7
> > IMP: 2.2.7
> > PHP Version
> > PHP Version: 4.0.3pl1
> > PHP Major Version: 4
> > PHP Minor Version: 3pl1
> > PHP Version Classification: release
> > You are running a supported release of PHP4. Enjoy the ride!
> > PHP Module Capabilities
> > IMAP Support: Yes
> > LDAP Support: No
> > MySQL Support: No
> > PostgreSQL Support: Yes
> > PHPLIB Configuration
> > track_vars: Yes
> > PHPLIB (is page_open() defined): Yes
> > I am now going to try to create a HordeSession class. If this line is
> > the
> > last thing that you see, then you do not have class HordeSession defined
> > in
> > the phplib local.inc file. Fix that before proceeding.
> > Created a HordeSession instance successfully.
> > Click here to test PHPLIB for Horde (If this link results in "Document
> > Contains No Data" or "Fatal error...", then you probably have not
> > defined
> > the HordeSession class in the PHPLIB local.inc file).
> > Miscellaneous PHP Settings
> > register_globals set to On: Yes
> > magic_quotes_gpc set to Off: Yes
> > magic_quotes_runtime set to Off: Yes
> >
> > And the tetst Phplib test page show:
> >
> > Reload this page to see the counters increment.
> > Go back to the test.php3 page.
> > View the output of phpinfo().
> >
> > Per Session Data: 10
> > Session ID: b2869515e34a290e94e14e195c370886
> > If this page works correctly, then you have a correctly configured
> > HordeSession class. You should be done with PHPLIB setup.
> >
> >
> >
> > the packages installed are:
> >
> > apache-1.3.14-3
> > freetype-1.3.1-7
> > Horde-1.2.7
> > imp-2.2.7
> > Phplib included in Horde
> > Php-4.0.3pl1-1
> > mod_php-4.0.3pl1-1
> > php-pgsql-4.0.3pl1-1
> >
> >
> >
> >
> >
> > --
> > IMP mailing list: http://horde.org/imp/
> > Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> >
> >
>
>
> ::::::::::::::::::::::::::::::::::::::::
> AMMMa AG - discover your knowledge
> :::::::::::::::::::::::::::
> Detmolder Str. 25-33 :: D-33604 Bielefeld
> fon +49.521.96878-0 :: fax +49.521.96878-20
> http://www.ammma.de
> ::::::::::::::::::::::::::::::::::::::::::::::
>
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org