Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Fatal error: Website Homepage and Admin Not Opening


2 replies to this topic

#1 mhelmer

  • Community Member
  • 2 posts
  • Real Name:Max Helmer

Posted 21 November 2009, 14:48

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.

#2 FWR Media

  • Community Member
  • 6,463 posts
  • Real Name:Robert Fisher
  • Gender:Male
  • Location:Stowmarket - Suffolk - UK

Posted 21 November 2009, 15:05

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.

Edited by FWR Media, 21 November 2009, 15:07.

Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls

KissMT Dynamic SEO Meta & Canonical Header Tags

KissER Error Handling and Debugging

If you found my post useful please click the green + sign to the right

Please only PM me for paid work.


#3 mhelmer

  • Community Member
  • 2 posts
  • Real Name:Max Helmer

Posted 21 November 2009, 21:18

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.