Zen Cart Logo
Forums / Installing on a Windows Server / Warning: main and fatal error when installing

Warning: main and fatal error when installing

Locked

Views: 1,617

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
16 May 2008, 4:46 PM
#1
sandystender avatar

sandystender

New Zenner

Join Date:
May 2008
Posts:
2
Plugin Contributions:
0

Warning: main and fatal error when installing

I'm ready to scream!
I bought the zencart manual to install it on my computer. We're installing locally and using example.com. So, I've very carefully followed each instruction, and now in the middle of the installation, I'm getting these error messages and I don't know what they mean or how to fix them. I've been reading through the other threads and I'm not finding any answers. IF someone knows, please help me. I'm sure it's something simple, and I'm just somehow not doing it.
Thanks so much!
Sandy

This is what it says

Warning: main(includes/templates/template_default/templates/system_setup_default.php) [function.main]: failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\store\zc_install\includes\templates\template_default\common\tpl_main_page.php on line 29

Fatal error: main() [function.require]: Failed opening required 'includes/templates/template_default/templates/system_setup_default.php' (include_path='.;C:\Program Files\xampp\php\pear') in C:\Program Files\xampp\htdocs\store\zc_install\includes\templates\template_default\common\tpl_main_page.php on line 29

17 May 2008, 1:48 AM
#2
branch avatar

branch

New Zenner

Join Date:
Feb 2008
Location:
Denmark, Maine USA
Posts:
8
Plugin Contributions:
0

Re: Warning: main and fatal error when installing

Were you setting up an override before this happened?

17 May 2008, 2:24 AM
#3
sandystender avatar

sandystender

New Zenner

Join Date:
May 2008
Posts:
2
Plugin Contributions:
0

Re: Warning: main and fatal error when installing

no. Somehow the files I needed weren't in the folder. After I added the files it was magically fixed. I hope this helps anyone else that might get confused. Thanks for taking time to reply. I was at my whit's end!!!

17 May 2008, 2:31 PM
#4
branch avatar

branch

New Zenner

Join Date:
Feb 2008
Location:
Denmark, Maine USA
Posts:
8
Plugin Contributions:
0

Re: Warning: main and fatal error when installing

Same thing happened to me. I uploaded folders and files were omitted and I got something like 20 warning messages.
Glad to here that you worked it out.

17 May 2008, 7:59 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: Warning: main and fatal error when installing

The number one cause of problems during installation is failed or incomplete FTP uploads ... which can be caused by timeouts or delays from your internet connection, resulting in missing files on your server. Using a reliable FTP program is your best guard against that happening. FileZilla is generally viewed as trustworthy (unlike SmartFTP and cuteFTP etc).

18 May 2008, 2:15 AM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Warning: main and fatal error when installing

I've always had good luck with SmartFTP.

Something that makes a lot of sense to me is this - if your host's control panel's file manager has an 'Extract' option, upload the Zencart zip file, and extract it there. I've never had a corrupted file this way, and it's much faster.