Forums / Installing on a Windows Server / PHP Errors when under different IUSR account

PHP Errors when under different IUSR account

Locked

Started by coolnicks on 17 Dec 2007, 4:28 PM · Views: 1,892

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
17 Dec 2007, 4:28 PM
#1
coolnicks avatar

coolnicks

New Zenner

Join Date:
Dec 2007
Posts:
1
Plugin Contributions:
0

PHP Errors when under different IUSR account

Hello,

I'm having problems installing Zen cart, we run all sites under different IUSR accounts, installing it under the default IUSR works fine, but under a dedicated IUSR account I get very strange behaviour, sometimes it gives PHP errors, sometimes it tries to redirect back to the install, or the admin etc.

The PHP error I'm currently getting is the following:

Warning: require(DIR_WS_TEMPLATEStemplate_default/common/html_header.php) [function.require]: failed to open stream: No such file or directory in D:\Inetpub\foobar.co.uk\index.php on line 43

Fatal error: require() [function.require]: Failed opening required 'DIR_WS_TEMPLATEStemplate_default/common/html_header.php' (include_path='.;C:\php5\pear') in D:\Inetpub\foobar.co.uk\index.php on line 43

Very strange, looks like its not picking up the path variables. I've monitored file access with Filemon and cant see anything its being denied access to. Anybody have any ideas as to what would cause those PHP errors?

Let me know if you need any more information.

Many thanks

Nick

18 Dec 2007, 12:00 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: PHP Errors when under different IUSR account

coolnicks:

Warning: require(DIR_WS_TEMPLATEStemplate_blahblahblahblah.php) [function.require]: failed to open stream: No such file or directory

That's a classic symptom of the configure.php files not being configured properly, being incomplete, containing a PHP syntax error, or missing altogether (either physically missing or appearing to be invisible because of permissions settings).

.
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.