Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Just moved servers ... this is strange !

Just moved servers ... this is strange !

Locked

Views: 2,353

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
5 Nov 2008, 11:02 PM
#1
accurax avatar

accurax

New Zenner

Join Date:
Mar 2008
Posts:
67
Plugin Contributions:
0

Just moved servers ... this is strange !

Ive just moved my zen cart install from my testing area to a live setup... i followed the instructions precisly, but now im getting some wierd errors.

there are quite a lot of them... could someone please take a look because im at a loss as to how this worked perfectly on my test domain and now is completely messed up.

to make things even wierder.... the admin part of my store works perfectly... no problems at all..... i just get this when i try to reach my homepage:

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/init_includes/init_templates.php on line 41

Notice: Use of undefined constant ENABLE_SSL - assumed 'ENABLE_SSL' in /home/theigcc/public_html/includes/functions/html_output.php on line 26

Notice: Use of undefined constant ENABLE_SSL - assumed 'ENABLE_SSL' in /home/theigcc/public_html/includes/functions/html_output.php on line 36

Notice: Use of undefined constant ENABLE_SSL - assumed 'ENABLE_SSL' in /home/theigcc/public_html/includes/functions/html_output.php on line 65

Notice: Use of undefined constant ENABLE_SSL - assumed 'ENABLE_SSL' in /home/theigcc/public_html/includes/functions/html_output.php on line 26

Notice: Use of undefined constant ENABLE_SSL - assumed 'ENABLE_SSL' in /home/theigcc/public_html/includes/functions/html_output.php on line 36

Notice: Use of undefined constant ENABLE_SSL - assumed 'ENABLE_SSL' in /home/theigcc/public_html/includes/functions/html_output.php on line 65

Notice: Use of undefined constant ENABLE_SSL - assumed 'ENABLE_SSL' in /home/theigcc/public_html/includes/functions/html_output.php on line 26

Notice: Use of undefined constant ENABLE_SSL - assumed 'ENABLE_SSL' in /home/theigcc/public_html/includes/functions/html_output.php on line 36

Notice: Use of undefined constant ENABLE_SSL - assumed 'ENABLE_SSL' in /home/theigcc/public_html/includes/functions/html_output.php on line 65

Notice: Constant OFFICE_IP_TO_HOST_ADDRESS already defined in /home/theigcc/public_html/includes/languages/english/email_extras.php on line 52

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 46

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 51

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 46

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 51

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 46

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 51

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 46

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 51

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 46

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 51

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 46

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 51

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 46

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 51

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 46

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 51

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 46

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 51

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 46

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 51

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 46

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 51

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 46

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 51

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/functions/html_output.php on line 182

Notice: Constant TEXT_MAIN already defined in /home/theigcc/public_html/includes/languages/english/index.php on line 10

Notice: Constant TEXT_GREETING_GUEST already defined in /home/theigcc/public_html/includes/languages/english/index.php on line 14

Notice: Constant TEXT_GREETING_PERSONAL already defined in /home/theigcc/public_html/includes/languages/english/index.php on line 19

Notice: Constant TEXT_INFORMATION already defined in /home/theigcc/public_html/includes/languages/english/index.php on line 21

Notice: Constant HEADING_TITLE already defined in /home/theigcc/public_html/includes/languages/english/index.php on line 52

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 46

Notice: Use of undefined constant DIR_WS_TEMPLATES - assumed 'DIR_WS_TEMPLATES' in /home/theigcc/public_html/includes/classes/template_func.php on line 51

Warning: require(DIR_WS_TEMPLATEStemplate_default/common/html_header.php) [function.require]: failed to open stream: No such file or directory in /home/theigcc/public_html/index.php on line 43

Warning: require(DIR_WS_TEMPLATEStemplate_default/common/html_header.php) [function.require]: failed to open stream: No such file or directory in /home/theigcc/public_html/index.php on line 43

Fatal error: require() [function.require]: Failed opening required 'DIR_WS_TEMPLATEStemplate_default/common/html_header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/theigcc/public_html/index.php on line 43

Any and all advice on this is greatly appreciated.... sorry guys im totally lost on this one :(

6 Nov 2008, 6:43 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Just moved servers ... this is strange !

Your configure.php files are damaged.

If you "just moved servers", then you should have done a clean install, as explained in this FAQ article on the topic: https://www.zen-cart.com/tutorials/index.php?article=100

6 Nov 2008, 6:48 AM
#3
accurax avatar

accurax

New Zenner

Join Date:
Mar 2008
Posts:
67
Plugin Contributions:
0

Re: Just moved servers ... this is strange !

Yes... as stated i followed the instructions exactly... comlete clean install... then overwrite all files EXCEPT configure.php(s).

What part of them do you think is corrupt?

6 Nov 2008, 6:55 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Just moved servers ... this is strange !

Well, since it's not recognizing the value of ENABLE_SSL, that means your define() statements for HTTP_SERVER or HTTPS_SERVER are wrong ... perhaps missing a ' or ; or ) .... and if that's the case, you've been editing the file after the installer generated it for you.

7 Nov 2008, 3:55 PM
#5
accurax avatar

accurax

New Zenner

Join Date:
Mar 2008
Posts:
67
Plugin Contributions:
0

Re: Just moved servers ... this is strange !

Thanks :)

somehow i ended up with 2 copies of the admin config...:oops:.. no idea how, but its fixed now.

I have some new errors which may be down to php settings, ill look into these tonight and see how i get along.

Thanks again