Reply to Re: install.php giving a not found error

Your name:

Reply:


Posted by Nospam on 04/12/06 20:02

The locations of the install.php and const.php scripts are the same for
other scripts that have worked I do not understand why this isn't working
basically I have a sub domain http://www.example.com/subdomain in here I
have uploaded all the files required for the script, in the install.php file
to an install_files folder within the subdomain and chmodded everything to
777 but still no luck getting "no such file or directory"
install_files/consts.php, install_files/funcs.php,install_files/header.tpl,
install_files/step_1.tpl trying to run install.php


"stacy" <stacy@smvsolutions.co.uk> wrote in message
news:fO5%f.18336$ic1.13055@newsfe5-win.ntli.net...
> what are the locations of the install.php & consts.php if they are in the
> same folder then change he path in your install.php script.
>
> "Nospam" <nospam@home.com> wrote in message
> news:SUfWf.24$Cl4.9@newsfe5-gui.ntli.net...
> >
> > "Janwillem Borleffs" <jw@jwscripts.com> wrote in message
> > news:44251a02$0$79797$dbd4b001@news.euronet.nl...
> >> 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
> >>
> >>
> > I created a directory called install_files and moved all the required
fles
> > to this directory I am still getting the same error
> >
> >
>
>

[Back to original 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

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