Menu

#3 Permission error.

open
nobody
5
2003-01-27
2003-01-27
Anonymous
No

I get the following error after I have installed everything.
I have double checked all permissions and they are
correct. Any ides would be great.

Warning: Failed opening '/inc/secure.inc.php' for
inclusion (include_path='.:/usr/share/pear')
in /var/www/html/mantis/index.php on line 2

Warning: Failed opening '/inc/header.inc.php' for
inclusion (include_path='.:/usr/share/pear')
in /var/www/html/mantis/index.php on line 3

Fatal error: Call to a member function on a non-object
in /var/www/html/mantis/index.php on line 5

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I got this problem too

     
  • Mathias Klette

    Mathias Klette - 2003-03-29

    Logged In: YES
    user_id=541657

    Hi,

    are you sure that Apache (or whatever you are using for
    directory based webserver options - htaccess ;) ) is
    interpreting the ".htaccess" ?

    I got this problem and solved it by making a apropriate entry in
    my httpd.conf.

    Regards

    Mateo

     
  • Nobody/Anonymous

    Logged In: NO

    Regarding the error:

    Warning: Failed opening '/inc/secure.inc.php' for
    inclusion (include_path='.:/usr/share/pear')
    in /var/www/html/mantis/index.php on line 2

    *****************************************************

    It looks like you have the right (inc) paths which is a good thing, but
    what I see is that it is possible you did not edit the (common.inc.php).

    In the (common.inc.php) there is a line about mid-way through the file
    that states this.

    define("__BASE_DIR__", "/*****/*******/*****/home_folder/
    helpdesk"); // Path to the main files. No Trailing Slash

    define("__URL__", "http://*******/~******/home_folder/helpdesk");

    These two attributes HAVE to be changed for your enviornment. In my
    setup /var/www/html/ was not the actual path...so I had to edit the
    __BASE_DIR___ to point to my actual path to the Mhelpdesk folder.

    I also had to edit the __URL__ path to where my actual apache (HTTP:/
    /localhost/**whatever user**/**whatever dir**/Mhelpdesk.

    Hope this helps you out a bit.....

    Good luck
    sean.

     
  • Nobody/Anonymous

    Logged In: NO

    Im not so sure about the http.conf configuration.
    But it worked fine just to edit the include_path VAR in the
    php.ini configuration. I had to do this anyway because I don
    t use Apache at the moment.

    The VAR should look like:
    include_path = ".:/php/includes:/var/www/html/mantis/inc"

    If you use php as a module you shoud restart your webserver
    after changing php.ini

    cheers Mike mike_at_ride-free.de

     

Log in to post a comment.

MongoDB Logo MongoDB