Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Installing on a Windows Server / Lots of Error for new installation

Lots of Error for new installation

Started by wlyhly on 1 Dec 2010, 1:41 PM · Views: 1,293

Results 1 to 9 of 9
1 Dec 2010, 1:41 PM
#1
wlyhly avatar

wlyhly

New Zenner

Join Date:
Dec 2010
Posts:
5
Plugin Contributions:
0

Lots of Error for new installation

I just intalled the latest version of zen cart and I get a blank page when I try to access my index page at http://www.hawleys.com/catalog/index.php and I get this message when I try to access the admin/index.php file

IISPassword
The page cannot be displayed

I found the following error messages in the logs:

PHP Warning: main(/nawinfs06/home/users/web/b2069/ipw.wlyhly/hawleys.com/catalog/includes/classes/class.base.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in \nawinfs06\home\users\web\b2069\ipw.wlyhly\hawleys.com\catalog\includes\autoload_func.php on line 60

PHP Warning: main() [<a href='function.include'>function.include</a>]: Failed opening '/nawinfs06/home/users/web/b2069/ipw.wlyhly/hawleys.com/catalog/includes/classes/class.base.php' for inclusion (include_path='.;c:\php\4\pear') in \nawinfs06\home\users\web\b2069\ipw.wlyhly\hawleys.com\catalog\includes\autoload_func.php on line 60

PHP Warning: main(/nawinfs06/home/users/web/b2069/ipw.wlyhly/hawleys.com/catalog/includes/classes/class.notifier.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in \nawinfs06\home\users\web\b2069\ipw.wlyhly\hawleys.com\catalog\includes\autoload_func.php on line 60

PHP Warning: main() [<a href='function.include'>function.include</a>]: Failed opening '/nawinfs06/home/users/web/b2069/ipw.wlyhly/hawleys.com/catalog/includes/classes/class.notifier.php' for inclusion (include_path='.;c:\php\4\pear') in \nawinfs06\home\users\web\b2069\ipw.wlyhly\hawleys.com\catalog\includes\autoload_func.php on line 60

PHP Fatal error: Cannot instantiate non-existent class: notifier in \nawinfs06\home\users\web\b2069\ipw.wlyhly\hawleys.com\catalog\includes\autoload_func.php on line 79

PHP Warning: main(/nawinfs06/home/users/web/b2069/ipw.wlyhly/hawleys.com/catalog/includes/autoload_func.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in \nawinfs06\home\users\web\b2069\ipw.wlyhly\hawleys.com\catalog\admin\includes\application_top.php on line 149

PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required '/nawinfs06/home/users/web/b2069/ipw.wlyhly/hawleys.com/catalog/includes/autoload_func.php' (include_path='.;c:\php\4\pear') in \nawinfs06\home\users\web\b2069\ipw.wlyhly\hawleys.com\catalog\admin\includes\application_top.php on line 149

I have reloaded the application_top.php and the autoload_func.php files but still get the same results. I am really not familiar with php language so I may be missing something obvious and I am very nervous about making any incorrect coding entries, so any help would be greatly appreciated.

1 Dec 2010, 1:48 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Lots of Error for new installation

PHP Warning: main(/nawinfs06/home/users/web/b2069/ipw.wlyhly/hawleys.com/catalog/includes/classes/class.base.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in \\nawinfs06\home\users\web\b2069\ipw.wlyhly\hawleys.com\catalog\includes\autoloa d_func.php on line 60
```If this is the first error log entry it is most likely the /includes/classes/class.base.php fileand this spawns all the rest

What/How have you used to upload files?

Zen-Venom Get Bitten

1 Dec 2010, 7:11 PM
#3
wlyhly avatar

wlyhly

New Zenner

Join Date:
Dec 2010
Posts:
5
Plugin Contributions:
0

Re: Lots of Error for new installation

Well I reloaded the class.base.php and I no longer get the IISPassword This page cannot be displayed

But I am still getting the following errors:

PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening '/nawinfs06/home/users/web/b2069/ipw.wlyhly/hawleys.com/catalog/includes/classes/class.base.php' for inclusion (include_path='.;c:\php\5\pear') in \nawinfs06\home\users\web\b2069\ipw.wlyhly\hawleys.com\catalog\includes\autoload_func.php on line 60

PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening '/nawinfs06/home/users/web/b2069/ipw.wlyhly/hawleys.com/catalog/includes/classes/class.notifier.php' for inclusion (include_path='.;c:\php\5\pear') in \nawinfs06\home\users\web\b2069\ipw.wlyhly\hawleys.com\catalog\includes\autoload_func.php on line 60

PHP Fatal error: Class 'notifier' not found in \nawinfs06\home\users\web\b2069\ipw.wlyhly\hawleys.com\catalog\includes\autoload_func.php on line 79

I reloaded class.notifier.php and class.base.php using wsftp software but still get blank pages. I checked configure.php files for errors, but do not see anything unusual.

Still need help

1 Dec 2010, 7:16 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Lots of Error for new installation

You either have corrupt files locally or a bad upload

Zen-Venom Get Bitten

1 Dec 2010, 7:34 PM
#5
wlyhly avatar

wlyhly

New Zenner

Join Date:
Dec 2010
Posts:
5
Plugin Contributions:
0

Re: Lots of Error for new installation

Thank you for your help.

Should I just re upload all files except configure.php, since it has been altered due to the install process, or do a new reinstall altogether?

Or something else?

Thanks in advance for your help

1 Dec 2010, 8:37 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Lots of Error for new installation

wlyhly:

I found the following error messages in the logs:

PHP Warning: main(**/nawinfs06/home/users/web/b2069/ipw.wlyhly/hawleys.com/catalog/includes/classes/class.base.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in \nawinfs06**home\users\web\b2069\ipw.wlyhly\hawleys.com\catalog\includes\autoload_func.php on line 60
If you look carefully, the problem is that your "share" name is not an acceptable path.
Map a drive letter to your server/share volume and use that for your paths instead.
ie: instead of \nawinfs06\ use f:\ or whatever letter you map it to.
(in configure.php files)

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

1 Dec 2010, 8:58 PM
#7
wlyhly avatar

wlyhly

New Zenner

Join Date:
Dec 2010
Posts:
5
Plugin Contributions:
0

Re: Lots of Error for new installation

If this were an invalid path name, how does it know there is a problem on line 60 in the autoload_func.php file. It would never get there, would it?

Besides, this was the path the hosting company provides, and I cannot map to anything above my URL root.

1 Dec 2010, 9:06 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Lots of Error for new installation

I'm not here to defend how line 60 works, but the short version is that when line 60 is executed, it's trying to load the files to bootstrap your site, and it does that by combining the paths in your configure.php file with the files it's attempting to load. When PHP is requesting the server to find and load those files, the server filesystem is rejecting the request, saying that an invalid path has been specified and thus no file can be found at that path.

It's definitely one big inconvenience of using shared windoze hosting.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

1 Dec 2010, 9:32 PM
#9
wlyhly avatar

wlyhly

New Zenner

Join Date:
Dec 2010
Posts:
5
Plugin Contributions:
0

Re: Lots of Error for new installation

Hey great news. When you said the path was wrong, I started studying it closely and all I had to do was add another / in front the /nawinfs06/etc. so that it looks like //nawinfs06/etc. and now am no longer getting blank pages.

Thank you very much, Everyone