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

PHP Errors when under different IUSR account

Locked

Views: 1,868

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
17 Dec 2007, 16:28
#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, 00:00
#2
drbyte avatar

drbyte

Sensei

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

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