Zen Cart Logo
Forums / General Questions / upgrade has taken the site down

upgrade has taken the site down

Views: 503

Results 1 to 5 of 5
2 Jun 2011, 1:10 PM
#1
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

upgrade has taken the site down

Upgrading as normal but error message is ```
PHP Warning: require(DIR_WS_TEMPLATEStemplate_default/common/html_header.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/eclectic/floatingdockshop.com/store/index.php on line 43


Note the S at the end of DIR_WS_TEMPLATES - I assume that's where the problem lies but looking at both the index.php and the config file, everything looks normal with no extra S added anywhere.  Thinking this is related to the config file but have compared it with a working one and see no problems.

Anybody have an idea what's wrong?
2 Jun 2011, 1:18 PM
#2
donal avatar

donal

Zen Follower

Join Date:
Jan 2009
Location:
Ireland
Posts:
442
Plugin Contributions:
0

Re: upgrade has taken the site down

a stab in the dark:

line 36 in your config file: ?

2 Jun 2011, 1:19 PM
#3
donal avatar

donal

Zen Follower

Join Date:
Jan 2009
Location:
Ireland
Posts:
442
Plugin Contributions:
0

Re: upgrade has taken the site down

oops:

 define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
2 Jun 2011, 1:24 PM
#4
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: upgrade has taken the site down

no, was wrong - supposed to have an S at the end of templates.

In a panic here. I ended up deleting the config file and uploading one that looked correct and that fixed it.

I have no earthly idea what went wrong!

Thanks for responding, Donal!

2 Jun 2011, 1:46 PM
#5
donal avatar

donal

Zen Follower

Join Date:
Jan 2009
Location:
Ireland
Posts:
442
Plugin Contributions:
0

Re: upgrade has taken the site down

define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

I think you where missing the ** ',** between templates and DIR