Not signed in (Sign In)
 
Jul 22nd 2009
 

Hello all, I'm using WebFaction and I've created a CGI app to run Indxr inside, called noah. I've uploaded everything properly, and CHMODed 'cache' and 'config.php'. When I visit http://noahkasper.org/.indxr/system.php, I get the following error:

Warning: require(/home/chrisodonnell/webapps/_/.indxr/config.php) [function.require]: failed to open stream: No such file or directory in /home/chrisodonnell/webapps/noah/.indxr/system.php on line 5

Fatal error: require() [function.require]: Failed opening required '/home/chrisodonnell/webapps/_/.indxr/config.php' (include_path='.:/usr/local/lib/php') in /home/chrisodonnell/webapps/noah/.indxr/system.php on line 5

I managed to temporarily fix the issue so I could see the config/setup screen, by changing the ROOT_DIRECTORY in system.php, but wen I submitted the form, it threw another error. The problem is obviously with the underscore in the path (or is it? I don't know anything about PHP, I'm a Python guy).

The correct path to config.php is /home/chrisodonnell/webapps/noah/.indxr/config.php, but it seems to want /home/chrisodonnell/webapps/_/.indxr/config.php, which suggests that $DOCUMENT_ROOT = getenv("DOCUMENT_ROOT"); is returning the wrong string.

Just wondering if anyone has had similar issues and can help me out, that would be very highly appreciated.

Thanks,
Chris