Zen Cart Logo
Forums / General Questions / Help! Whole site down

Help! Whole site down

Locked

Views: 1,410

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
22 Jan 2008, 10:59 AM
#1
samuels27921 avatar

samuels27921

New Zenner

Join Date:
Jan 2008
Posts:
10
Plugin Contributions:
0

Help! Whole site down

I tried to update ImageHeader and now I get errors in Admin and the main site.

Errors:

Admin > Warning: main(includes/functions/general.php) [function.main]: failed to open stream: No such file or directory in /home/waresale/public_html/admin/includes/application_top.php on line 187

Warning: main(includes/functions/general.php) [function.main]: failed to open stream: No such file or directory in /home/waresale/public_html/admin/includes/application_top.php on line 187

Warning: main(includes/functions/general.php) [function.main]: failed to open stream: No such file or directory in /home/waresale/public_html/admin/includes/application_top.php on line 187

The Main SIte

Fatal error: main() [function.require]: Failed opening required 'includes/functions/general.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/usr/local/bin/php') in /home/waresale/public_html/admin/includes/application_top.php on line 187

Fatal error: Call to a member function on a non-object in /home/waresale/public_html/includes/functions/html_output.php on line 270

22 Jan 2008, 1:26 PM
#2
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Help! Whole site down

The error msg. is telling you that this file is missing:
includes/functions/general.php

Reupload that file and/or reupload the whole module again, in case some other files were missed as well.

Although not uncommon to have an upload fail, it takes a good FTP program to let you know. Might want to check if yours offers that feature.

22 Jan 2008, 3:13 PM
#3
samuels27921 avatar

samuels27921

New Zenner

Join Date:
Jan 2008
Posts:
10
Plugin Contributions:
0

Re: Help! Whole site down

Ok I uploaded the general.php in the zc_install/includes/functions directory and it now shows a different error and still shows the html_output.php error on the main page.

Admin

Fatal error: Cannot redeclare zen_db_prepare_input() (previously declared in admin/includes/functions/database.php:81) in /home/waresale/public_html/admin/includes/functions/general.php on line 283

Main Page

Fatal error: Call to a member function on a non-object in /home/waresale/public_html/includes/functions/html_output.php on line 270

22 Jan 2008, 3:50 PM
#4
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Help! Whole site down

After installing Zen Cart, you are supposed to 'delete' the zc_install dir.

If you do need to reupload the file it should go here:
/home/waresale/public_html/includes/functions/html_output.php

22 Jan 2008, 3:55 PM
#5
samuels27921 avatar

samuels27921

New Zenner

Join Date:
Jan 2008
Posts:
10
Plugin Contributions:
0

Re: Help! Whole site down

i extracted the file general.zip from the zip file on my computer. I dont understand whats wrong.

22 Jan 2008, 4:24 PM
#6
samuels27921 avatar

samuels27921

New Zenner

Join Date:
Jan 2008
Posts:
10
Plugin Contributions:
0

Re: Help! Whole site down

samuels27921:

i extracted the file general.zip from the zip file on my computer. I dont understand whats wrong.

I meant general.php

23 Jan 2008, 2:21 AM
#7
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Help! Whole site down

What's confusing is that you say you were updating IH2 which means your Zen Cart was already installed which means you should not have a 'zc_install' dir. -- nor any error msg. related to that dir.

Have you deleted the 'zc_install' dir.?

Have you confirmed this file is on your Hosting account:
includes/functions/general.php