Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

can't open admin area


Recommended Posts


I've just installed oscommerce the catalog part seems to be working fine but when I go to the admin area i'm getting the following error:


Fatal error: Failed opening required 'includes/functions/database.php' (include_path='.:/usr/share/pear') in /var/websites/spacedog.com.au/www/fastsignsnstickers/catalog/admin/includes/application_top.php on line 58


any ideas?



Link to comment
Share on other sites

hmm, seems that your admin/includes/functions/database.php file is either missing or in the wrong directory. Check your paths in admin/includes/configure.php and filenames in admin/includes/filenames.php

Line 58 in /admin/includes/application_top.php should read "require(DIR_WS_FUNCTIONS . 'database.php');"

Link to comment
Share on other sites

Sorry, above post is abit wrong. there's no database.php path in filenames.php.

The pointers to that are located in configure.php : define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

Check your DIR_WS_FUNCTIONS and DIR_WS_INCLUDES in admin/includes/configure.php

Link to comment
Share on other sites


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

  • Create New...