|
Posted by Janwillem Borleffs on 03/25/06 12:22
Nospam wrote:
> I am getting this error trying to run an install.php script:
>
> Warning: main(install_files/consts.php): failed to open stream: No
> such file or directory
>
> What should I edit the install.php file to say (I am assuming that
> the path to consts.php is not found, since I am installing on a
> subdomain what should I edit the path to say?)
>
Just a guess, but I assume that the installation script resides in the
install_files directory and you have cd't to this directory before calling
the script. Move one dir up and call it like 'install_files/install.php'
might fix it.
When this doesn't help, change all relative paths in the script to absolute
paths ('/full/path/to/install_files' instead of 'install_files').
Alternatively, you could also set the include_path directive in your php.ini
file.
JW
Navigation:
[Reply to this message]
|