This is a discussion on please helpe me..another newbie within the Apache Web Server forums, part of the Web Server and Related Forums category; hi sorry for my english (i'm ita and don't speack english very well) I've problem with the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
hi
sorry for my english (i'm ita and don't speack english very well) I've problem with the installation of oscommerce that use Apache/PHP/Mysql The error is: Warning: main(includes/configure.php): failed to open stream: No such file or directory in /srv/www/htdocs/www.mysite.it/includes/application_top.php on line 29 Fatal error: main(): Failed opening required 'includes/configure.php' (include_path='/usr/share/php') in /srv/www/htdocs/www.mysite.it/includes/application_top.php on line 29 The file configure.php is in /srv/www/htdocs/www.mysite.it/includes/configure.php but application_top.php with require('includes/configure.php) don't find it. Why? Under windows xp with another installation of Apache with the same instruction (require('includes/configure.php')) the file was find it. pls help me with simple word. THX |
|
|||
|
visto che sei ita...parla tricolore
almeno capisco bene. Perchè non è leggibile da apache...e sopratutto come faccio a renderlo leggibile? "Davide Bianchi" <davideyeahsure@onlyforfun.net> ha scritto nel messaggio news:slrndo1gh9.373.davideyeahsure@fogg.onlyforfun .net... > On 2005-11-20, Stefano <patrecord@fastwebnet.it> wrote: >> The error is: >> Warning: main(includes/configure.php): failed to open stream: No such >> file >> or directory in >> /srv/www/htdocs/www.mysite.it/includes/application_top.php >> on line 29 > >> Why? > > Because you eitner failed to properly configure the application. > The file is not there or is not readable by apache. > > This has nothing to do with apache. > > Davide > > -- > Are you tired of being a crash test dummy for Microsoft? Discover Linux. > -- Gareth Barnard |
|
|||
|
Davide Bianchi wrote:
> On 2005-11-20, Stefano <patrecord@fastwebnet.it> wrote: >> The error is: >> Warning: main(includes/configure.php): failed to open stream: No such >> file or directory in >> /srv/www/htdocs/www.mysite.it/includes/application_top.php on line 29 > >> Why? > > Because you eitner failed to properly configure the application. > The file is not there or is not readable by apache. > > This has nothing to do with apache. > > Davide Stefano, the problem is probably with php, I have had exactly the same errors on a LAMP platform. I edited the mentioned files to do include("file.inc"); instead of include("includes/file.inc"). This helped me get past the first couple of screens, then you get more errors, just keep on editing and removing the 'include' directory. There is probably a much better solution, but this worked for me, I Think the problem has to do with a php.ini directive (/etc/php.ini) which has 'include' as part of the include path. I set the path previously to get phplib working. Since this is an Apache group, please follow up on alt.php before we step on anybody's toes :) Etienne Marais Cosmic Link South Africa |