michael_lwt@xxxxxxxxxxxx wrote:
> Dear All :
>
> I got this message when I tried to load index.php
>
>
> Warning: main(constants.inc): failed to open stream: No such file or
> directory in /var/www/emilda/index.php on line 44
>
> Fatal error: main(): Failed opening required 'constants.inc'
> (include_path='.:/usr/share/php:/usr/share/pear') in
> /var/www/emilda/index.php on line 44
>
> and login.php
>
> Warning: main(config.inc): failed to open stream: Permission denied in
> /var/www/emilda/login.php on line 44
>
> Fatal error: main(): Failed opening required 'config.inc'
> (include_path='.:/usr/share/php:/usr/share/pear') in
> /var/www/emilda/login.php on line 44
>
> I setup the database and put a config file on emilda directory. Please help.
>
> Regards,
>
> Michael
Hi Michael,
You need to configure your Apache to provide Emilda with the
include_path. There is a .htaccess file in the Emilda source directory
that specifies that variable. You need to make sure your Apache allows
.htaccess files under the Emilda directory. Also make sure you have such
a file there.
Optionally, you can configure the required variables in you Apache
config, like so:
http://www.emilda.org/node/14
--
Mattias Nordstrom
CTO
Realnode Oy
nordstrom@xxxxxxxxxxxx
www.realnode.com
|