failed to open stream: No such file or directory

I have 2 sites I am putting together hosted on Windows Server 2012, IIS8 + PHP5.4.16 and PHP5.5 Tried both with same results.  Both sites are producing the 2 errors in the PHP logging listed below.  Both errors always occur at the same time.  I am not sure what exactly producing these errors.  I am not seeing any visual errors when using the site or seem to be having any obvious issues.

[24-Jun-2013 17:31:15 US/Pacific] PHP Warning:  require_once(C:\WWW\NB/modules/classes/Config.php): failed to open stream: No such file or directory in C:\WWW\NB\inc\classes\BxDolModule.php on line 64

[24-Jun-2013 17:31:15 US/Pacific] PHP Fatal error:  require_once(): Failed opening required 'C:\WWW\NB/modules/classes/Config.php' (include_path='.;C:\Utulity\PHP\pear') in C:\WWW\NB\inc\classes\BxDolModule.php on line 64

Should this be a valid path? C:\WWW\NB/modules/classes/  as this folder structure does not exist on either site.
 
Any guidance as to what might be causing these or how to troubleshoot this is appreciated.
Quote · 25 Jun 2013

It would be best to ditch Windows IIS.  However, there are those using IIS to run Dolphin sites, I would seek them out.

What I find strange is the change in slashes.  Windows and Unix uses different slashes.

C:\WWW\NB/modules/classes/Config.php

I have no idea so someone else needs to chime in here.

Geeks, making the world a better place
Quote · 25 Jun 2013

Yes I agree the different slashes in the same line was the first thing I noticed so its possible that this needs to be fixed in one of the configuration files.

I do remember that the other place I saw the use of 2 different slashes was during the install of Dolphin, The Directory Root was detected at the following location C:\WWW\NB/

So maybe the trailing slash is causing issues?  Any ideas where this is set?  Can it be changed after installation?

Quote · 25 Jun 2013

I have no real knowledge of using IIS.  My first step would be to search out on the net.  Webspaces use / for defining web addresses.  Linux uses the same / for local paths.  The Dolphin php scripts uses / when stating paths for includes and such.  I assume that some translation must have to take place when using IIS.  I am clueless here, just thinking out loud.  Most of the users here will be using Linux and Apache, or Nginx (very few Nginx but I feel the Nginx user base will be growing).  So there will be limited feedback on your issue.  Maybe some of the Dolphin developers can help.

Geeks, making the world a better place
Quote · 25 Jun 2013

'C:\WWW\NB/modules/classes/Config.php'

This file does not exist, which is correct. Assuming this comes from an installed module, you should check that the module you're using is compatible with the version of Dolphin you're running. If it's not from a 3rd party module, are you trying to include classes from one module to another? Just wondering what it is, you're trying to do.

 

According to me, this file should be found in 'C:\WWW\NB/modules/[VENDOR NAME]/[MODULE NAME]/INSTALL/Config.php'

And not in the classes folder.

Dedicated servers for as little as $32 (28 euro) - See http://denre.com for more information
Quote · 25 Jun 2013

Yes you are correct that folder does not exist.  Most the modules I am running are default right out of the 7.1.3 install and I have a few 3rd party modules that are all supposed to be 7.1.3 compatible.  The strange thing is the sites are running fine and I am not having any issues that I am aware of however the errors continue in the PHP logging.

I seen a similar post in the forums here, http://www.boonex.com/forums/topic/Error-public-html-inc-classes-BxDolModule-php.htm

How do I track down what might be causing this error or determine what module it is?  I do not want to go live as long as these error continue. I am prepared to pay to have this resolved if necessary.

[03-Jul-2013 09:16:16 US/Pacific] PHP Fatal error:  require_once(): Failed opening required 'C:\WWW\NB/modules/classes/Config.php' (include_path='.;C:\php\pear') in C:\WWW\NB\inc\classes\BxDolModule.php on line 64

[03-Jul-2013 10:16:59 US/Pacific] PHP Warning:  require_once(C:\WWW\NB/modules/classes/Config.php): failed to open stream: No such file or directory in C:\WWW\NB\inc\classes\BxDolModule.php on line 64

[03-Jul-2013 10:16:59 US/Pacific] PHP Fatal error:  require_once(): Failed opening required 'C:\WWW\NB/modules/classes/Config.php' (include_path='.;C:\php\pear') in C:\WWW\NB\inc\classes\BxDolModule.php on line 64

[03-Jul-2013 10:19:13 US/Pacific] PHP Warning:  require_once(C:\WWW\LB/modules/classes/Config.php): failed to open stream: No such file or directory in C:\WWW\LB\inc\classes\BxDolModule.php on line 64

[03-Jul-2013 10:19:13 US/Pacific] PHP Fatal error:  require_once(): Failed opening required 'C:\WWW\LB/modules/classes/Config.php' (include_path='.;C:\php\pear') in C:\WWW\LB\inc\classes\BxDolModule.php on line 64

[03-Jul-2013 11:13:23 US/Pacific] PHP Warning:  require_once(C:\WWW\LB/modules/classes/Config.php): failed to open stream: No such file or directory in C:\WWW\LB\inc\classes\BxDolModule.php on line 64

[03-Jul-2013 11:13:23 US/Pacific] PHP Fatal error:  require_once(): Failed opening required 'C:\WWW\LB/modules/classes/Config.php' (include_path='.;C:\php\pear') in C:\WWW\LB\inc\classes\BxDolModule.php on line 64

[03-Jul-2013 11:35:31 US/Pacific] PHP Warning:  require_once(C:\WWW\LB/modules/classes/Config.php): failed to open stream: No such file or directory in C:\WWW\LB\inc\classes\BxDolModule.php on line 64

[03-Jul-2013 11:35:31 US/Pacific] PHP Fatal error:  require_once(): Failed opening required 'C:\WWW\LB/modules/classes/Config.php' (include_path='.;C:\php\pear') in C:\WWW\LB\inc\classes\BxDolModule.php on line 64

[03-Jul-2013 11:43:31 US/Pacific] PHP Warning:  require_once(C:\WWW\NB/modules/classes/Config.php): failed to open stream: No such file or directory in C:\WWW\NB\inc\classes\BxDolModule.php on line 64

[03-Jul-2013 11:43:31 US/Pacific] PHP Fatal error:  require_once(): Failed opening required 'C:\WWW\NB/modules/classes/Config.php' (include_path='.;C:\php\pear') in C:\WWW\NB\inc\classes\BxDolModule.php on line 64g it is a module.  

Quote · 3 Jul 2013

I recall that both kinds of slashes are converted to whatever the environment requires in PHP. I don't think your issue is there. At inc\classes\BxDolModule.php, this routine triggers your error:

        $sClassPath = BX_DIRECTORY_PATH_MODULES . $aModule['path'] . 'classes/';
        $sClassName = $sClassPrefix . 'Config';
        require_once($sClassPath . $sClassName . '.php');
It looks like one of your modules, routed through the module handler, is missing the full module path, as in /[VENDOR]/[MODULE], which I reckon is defined as the 'home_dir' variable under /[MODULE]/install/config.php. As a first step, you could try uninstalling all your 3rd party modules, one by one, and see when the error stops happening.
 
I wonder though, why your error message reports a call for /Config.php. Config file names are lower case only in default modules. Are you sure all your 3rd party modules are in working order? (Got a Linux platform to test if the problem repeats?)
Quote · 9 Jul 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.