Warning: main(includes/configure.php): failed to open stream: No such file directory
We started getting this error a few hours ago.. I get similar errors while trying to log onto the admin section. The site has been working fine for several months with hundreds of orders. I have not changed any files and not sure if the host changed anything. The rest of my site works fine. I have confirmed that the files are there with an unchanged time stamp.
Warning: main(includes/configure.php): failed to open stream: No such file or directory in /var/www/vhosts/palmer-pursuit.com/httpdocs/cart/includes/application_top.php on line 60
Warning: main(): Failed opening 'includes/configure.php' for inclusion (include_path='\') in /var/www/vhosts/palmer-pursuit.com/httpdocs/cart/includes/application_top.php on line 60
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/palmer-pursuit.com/httpdocs/cart/includes/application_top.php:60) in /var/www/vhosts/palmer-pursuit.com/httpdocs/cart/includes/application_top.php on line 67
Warning: main(DIR_WS_INCLUDESauto_loaders/config.core.php): failed to open stream: No such file or directory in /var/www/vhosts/palmer-pursuit.com/httpdocs/cart/includes/application_top.php on line 90
Warning: main(): Failed opening 'DIR_WS_INCLUDESauto_loaders/config.core.php' for inclusion (include_path='\') in /var/www/vhosts/palmer-pursuit.com/httpdocs/cart/includes/application_top.php on line 90
Warning: dir(DIR_WS_INCLUDESauto_loaders): failed to open dir: No such file or directory in /var/www/vhosts/palmer-pursuit.com/httpdocs/cart/includes/application_top.php on line 91
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/palmer-pursuit.com/httpdocs/cart/includes/application_top.php:60) in /var/www/vhosts/palmer-pursuit.com/httpdocs/cart/includes/application_top.php on line 112
Re: Warning: main(includes/configure.php): failed to open stream: No such file direct
Has your host made any changes to the server?
Re: Warning: main(includes/configure.php): failed to open stream: No such file direct
If so I wouldn't know.. They dont notify customers of any changes. I submited a support ticket but that can take a while.
Re: Warning: main(includes/configure.php): failed to open stream: No such file direct
Two likely causes:
a) Your includes/configure.php file's permissions are set too low to be readable. Anything lower than 644 may be problematic.
b) (include_path='\') is an odd setting for include_path. Usually it would also contain a single period and a separator such as a semicolon or colon so that paths can be built relative from the current location. You might ask your host if they've made any changes in that PHP setting and if they'll allow you to override that for your own use.
Re: Warning: main(includes/configure.php): failed to open stream: No such file direct
Problem solved.... I forwarded your reply to my host and it was fixed the next day.
Of course there was no reply to what caused it from my host.
Thanks again.
Re: Warning: main(includes/configure.php): failed to open stream: No such file direct
Would Plesk and a split ssl directory have anything to do with the odd setting? IE... My httpdocs and httpsdocs are not linked.
Re: Warning: main(includes/configure.php): failed to open stream: No such file direct
Quote:
Originally Posted by
Gamer
Would Plesk and a split ssl directory have anything to do with the odd setting? IE... My httpdocs and httpsdocs are not linked.
While that's not directly related, if your host is willing to link them, you'll save yourself a lot of duplication when managing your site.