You are here: Re: install.php giving a not found error « All PHP « IT news, forums, messages
Re: install.php giving a not found error

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация