Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » RADICORE Installation Issues » Problem with setting include paths
Problem with setting include paths [message #14] Wed, 19 April 2006 13:57 Go to next message
augustin is currently offline  augustin
Messages: 7
Registered: April 2006
Junior Member
Hello

I have read your instructions.

my php configuration you can find here:
http://www.augustin.it/radicore/index2.php

i have done a standard installation

i see these messages after trying to login

Warning: main(include.general.inc): failed to open stream: No such file or directory in /home/httpd/vhosts/augustin.it/httpdocs/radicore/menu/logon. php on line 19

Warning: main(include.general.inc): failed to open stream: No such file or directory in /home/httpd/vhosts/augustin.it/httpdocs/radicore/menu/logon. php on line 19

I think i shoud use the path from SERVER["DOCUMENT_ROOT"]

but that does not function.

Anny ideas?

Many thanks in advance

Erik
Re: Problem with setting include paths [message #15 is a reply to message #14] Wed, 19 April 2006 15:09 Go to previous messageGo to next message
AJM is currently offline  AJM
Messages: 2275
Registered: April 2006
Location: Surrey, UK
Senior Member
Your $_SERVER['DOCUMENT_ROOT'] is shown as "/home/httpd/vhosts/augustin.it/httpdocs", therefore you need the following in your include path:

1) /home/httpd/vhosts/augustin.it/httpdocs/radicore/includes
2) /home/httpd/vhosts/augustin.it/httpdocs/radicore/menu
3) /home/httpd/vhosts/augustin.it/httpdocs/radicore/audit
4) /home/httpd/vhosts/augustin.it/httpdocs/radicore/workflow

I note on our entry for (1) you have a leading '.' before '/home', which makes the path relative, not absolute.

Note also that you may wish to place the 'includes' directory outside of your web root so that it cannot be accessed from any browser.


Re: Problem with setting include paths [message #16 is a reply to message #14] Wed, 19 April 2006 15:42 Go to previous messageGo to next message
augustin is currently offline  augustin
Messages: 7
Registered: April 2006
Junior Member
Thanks for the info.

I tried that already with no succes

i got these messages:

Warning: main(config.inc): failed to open stream: No such file or directory in /home/httpd/vhosts/augustin.it/httpdocs/radicore/includes/in clude.general.inc on line 12

Fatal error: main(): Failed opening required 'config.inc' (include_path='/home/httpd/vhosts/augustin.it/httpdocs/radic ore/includes:/home/httpd/vhosts/augustin.it/httpdocs/radicor e/menu:/home/httpd/vhosts/augustin.it/httpdocs/radicore/audi t:/home/httpd/vhosts/augustin.it/httpdocs/radicore/workflow: /home/httpd/vhosts/augustin.it/httpdocs/radicore/dict') in /home/httpd/vhosts/augustin.it/httpdocs/radicore/includes/in clude.general.inc on line 12

I have also attached the new .htaccess file

Any other ideas?
  • Attachment: htaccess.txt
    (Size: 0.65KB, Downloaded 679 times)
Re: Problem with setting include paths [message #17 is a reply to message #14] Wed, 19 April 2006 15:46 Go to previous message
augustin is currently offline  augustin
Messages: 7
Registered: April 2006
Junior Member
oops i see i need to rename the config.inc.default

Please ignore previous message
Next Topic: Radicore installation problem
Goto Forum:
  


Current Time: Fri Dec 03 16:37:48 EST 2021

Total time taken to generate the page: 0.01074 seconds