Zen Cart Logo
Forums / Installing on a Windows Server / Includes Failing

Includes Failing

Locked

Views: 2,250

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
25 Jun 2008, 3:21 PM
#1
snipersteve avatar

snipersteve

New Zenner

Join Date:
Jun 2008
Posts:
1
Plugin Contributions:
0

Includes Failing

Hey,

I'm installing ZenCart on a Windows Server 2003 w/ PHP version: 4.4.7 and MySQL version: 5.0.45 and Zencart install version: 1.3.8a

I was able to install okay (the config files have the correct info in them, and the files are on the site in the correct locations), however, when I go to the zencart index or the admin index, I get the following error messages on the admin index:

Warning: main(/nawinfs06/home/users/web/XXXX/ipw.wjdinet/zencart/includes/autoload_func.php) [function.main]: failed to open stream: No such file or directory in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\admin\includes\application_top.php on line 130

Warning: main(/nawinfs06/home/users/web/XXXX/ipw.wjdinet/zencart/includes/autoload_func.php) [function.main]: failed to open stream: No such file or directory in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\admin\includes\application_top.php on line 130

Fatal error: main() [function.require]: Failed opening required '/nawinfs06/home/users/web/XXXX/ipw.wjdinet/zencart/includes/autoload_func.php' (include_path='.;c:\php\includes') in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\admin\includes\application_top.php on line 130

On the zencart index the error messages are not displayed, so this is what I get when I have script installed from this site that logs the error messages:

[25-Jun-2008 11:06:04] PHP Warning: main(/nawinfs06/home/users/web/XXXX/ipw.wjdinet/zencart/includes/classes/class.base.php) [function.main]: failed to open stream: No such file or directory in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\includes\autoload_func.php on line 60 
[25-Jun-2008 11:06:04] PHP Warning: main(/nawinfs06/home/users/web/XXXX/ipw.wjdinet/zencart/includes/classes/class.base.php) [function.main]: failed to open stream: No such file or directory in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\includes\autoload_func.php on line 60 
[25-Jun-2008 11:06:04] PHP Warning: main() [function.include]: Failed opening '/nawinfs06/home/users/web/XXXX/ipw.wjdinet/zencart/includes/classes/class.base.php' for inclusion (include_path='.;c:\php\includes') in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\includes\autoload_func.php on line 60 
[25-Jun-2008 11:06:04] PHP Warning: main(/nawinfs06/home/users/web/XXXX/ipw.wjdinet/zencart/includes/classes/class.notifier.php) [function.main]: failed to open stream: No such file or directory in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\includes\autoload_func.php on line 60 
[25-Jun-2008 11:06:04] PHP Warning: main(/nawinfs06/home/users/web/XXXX/ipw.wjdinet/zencart/includes/classes/class.notifier.php) [function.main]: failed to open stream: No such file or directory in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\includes\autoload_func.php on line 60 
[25-Jun-2008 11:06:04] PHP Warning: main() [function.include]: Failed opening '/nawinfs06/home/users/web/XXXX/ipw.wjdinet/zencart/includes/classes/class.notifier.php' for inclusion (include_path='.;c:\php\includes') in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\includes\autoload_func.php on line 60 
[25-Jun-2008 11:06:04] PHP Fatal error: Cannot instantiate non-existent class: notifier in \\nawinfs06\home\users\web\XXXX\ipw.wjdinet\zencart\includes\autoload_func.php on line 79 

I'm somewhat at a loss here, as the files are in the propper directories, and the error messages say there is no file there, but there is.

Any help would be appreciated.

Thanks,
Stephen Elmendorf

25 Jun 2008, 4:23 PM
#2
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Includes Failing

Try this.

Open the problem file, scroll to the end and see if there any blank/extra lines after the final code. If there are - remove them and see if that fixes your problem.

Tina

25 Jun 2008, 7:19 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Includes Failing

The issue is that it's seeing \nawinfs06 as /nawinfs06 because it typically strips out backslashes and converts them to forward slashes during install-time.

You can probably work around it by editing your configure.php files after you've finished installation and altering the path settings from /nawinfs06 back to \nawinfs06

Or, you can probably get around it by running it from a physical drive on your server directly, instead of serving it off an external server like you're doing.