cgarlick Posted July 13, 2006 Share Posted July 13, 2006 I am haveing a problem with ./ and ../.Both are not saying EX:/var/www/ai/mydomain.com/web/php acts like its just reading it as part of the directory...like this..EX:Warning: main(../moduels/Roster/settings.php): failed to open stream: No such file or directory The file is in :/var/www/ai/mydomain.com/web/moduels/Roster/settings.phpand if I state this it works for that instance...I have read a bit about open_basedir but if I try to set it with htaccess it breaks htaccess.http://www.avatarhero.com/modules/Roster/install.php?mode=phpinfoThanks for any help and let me know if you have any questions.Claude Quote Link to comment Share on other sites More sharing options...
akitchin Posted July 13, 2006 Share Posted July 13, 2006 what are you using to express the path? single quotes will not translate the path, so maybe try using double quotes to enclose the filename/path. either way, seeing some code might help. Quote Link to comment Share on other sites More sharing options...
cgarlick Posted July 13, 2006 Author Share Posted July 13, 2006 require_once( '../moduels/Roster/settings.php' );Thats how it is looking Quote Link to comment Share on other sites More sharing options...
akitchin Posted July 13, 2006 Share Posted July 13, 2006 then try using double quotes, as i'd said:[code]require_once( "../moduels/Roster/settings.php" );[/code] Quote Link to comment Share on other sites More sharing options...
ShogunWarrior Posted July 13, 2006 Share Posted July 13, 2006 Are you sure "moduels" is spelt right? Should it be "modules". Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.