Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Website Homepage and Admin Not Opening


mhelmer

Recommended Posts

Posted

Hello,

 

This website has been active for over a year with no problems. No changes or updates have been made for several months, then a couple of days ago the home page and admin page won't open.

 

The site is bulldogboddies.com. For the homepage I get this error:

 

----------------------------------------------------------------------------------------------------------------------

 

Warning: require(includes/functions/database.php) [function.require]: failed to open stream: No such file or directory in /home/bulldogb/public_html/includes/application_top.php on line 65

 

Warning: require(includes/functions/database.php) [function.require]: failed to open stream: No such file or directory in /home/bulldogb/public_html/includes/application_top.php on line 65

 

Fatal error: require() [function.require]: Failed opening required 'includes/functions/database.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bulldogb/public_html/includes/application_top.php on line 65

-----------------------------------------------------------------------------------------------------------------------

 

For the admin, I get:

 

-------------------------------------------------------------------------------------------------------------------------

 

Warning: require(includes/functions/database.php) [function.require]: failed to open stream: No such file or directory in /home/bulldogb/public_html/admin/includes/application_top.php on line 61

 

Warning: require(includes/functions/database.php) [function.require]: failed to open stream: No such file or directory in /home/bulldogb/public_html/admin/includes/application_top.php on line 61

 

Fatal error: require() [function.require]: Failed opening required 'includes/functions/database.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bulldogb/public_html/admin/includes/application_top.php on line 61

 

 

--------------------------------------------------------------------------------------------------------------------------

 

Any help or insight would be greatly appreciated.

Posted

That error is very clear and tells you exactly what the problem is.

 

catalog/includes/functions/database.php

 

and

 

catalog/<admin>/includes/functions/database.php

 

Are not there.

 

Also you have just posted to the world that your admin directory is called "admin" you should change this directory name then in admin/includes/configure.php change all references to admin to the new directory name.

Posted

Thanks for the insight- I'm very new at this, so the information is very helpful. I have restored the files from backup, but I just don't understand how the files could have just dissapeared. Thanks again for the help.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...