Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ADMIN -ERROR


Rocketgirl

Recommended Posts

Can't Log in to admin' this is the error'

What should i do? ANY HELP GREATLY APPRECIATED! Thanks

 

Warning: main(includes/database_tables.php): failed to open stream: No such file or directory in /home/content/nameofstorehere/admin/includes/application_top.php on line 49

 

Warning: main(includes/database_tables.php): failed to open stream: No such file or directory in /home/content/nameofstorehere/admin/includes/application_top.php on line 49

 

Fatal error: main(): Failed opening required 'includes/database_tables.php' (include_path='.:/usr/local/lib/php') in /home/content/nameofstorehere/admin/includes/application_top.php on line 49

 

 

****

admin/includes/application_top.php on line 49 Reads:

// include the list of project database tables

require(DIR_WS_INCLUDES . 'database_tables.php');

Link to comment
Share on other sites

Try and upload a fresh copy of "database_tables.php" to your /includes folder.
I just did and get same errors' are you able to tell me if the database_tables.php /includes folder

should be the same in the admin/includes folder

Link to comment
Share on other sites

in the includes/database_tables.php , but i don't see anything wrong with it?
<?php


 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2007 osCommerce

 Released under the GNU General Public License
*/

// define the database table names used in the project
 define('TABLE_ADDRESS_BOOK', 'address_book');
 define('TABLE_ADDRESS_FORMAT', 'address_format');
 define('TABLE_ADMINISTRATORS', 'administrators');
 define('TABLE_BANNERS', 'banners');
 define('TABLE_BANNERS_HISTORY', 'banners_history');
 define('TABLE_CATEGORIES', 'categories');
 define('TABLE_CATEGORIES_DESCRIPTION', 'categories_description');
 define('TABLE_CONFIGURATION', 'configuration');
 define('TABLE_CONFIGURATION_GROUP', 'configuration_group');
 define('TABLE_COUNTER', 'counter');
 define('TABLE_COUNTER_HISTORY', 'counter_history');
 define('TABLE_COUNTRIES', 'countries');
 define('TABLE_CURRENCIES', 'currencies');
 define('TABLE_CUSTOMERS', 'customers');
 define('TABLE_CUSTOMERS_BASKET', 'customers_basket');
 define('TABLE_CUSTOMERS_BASKET_ATTRIBUTES', 'customers_basket_attributes');
 define('TABLE_CUSTOMERS_INFO', 'customers_info');
 define('TABLE_LANGUAGES', 'languages');
 define('TABLE_MANUFACTURERS', 'manufacturers');
 define('TABLE_MANUFACTURERS_INFO', 'manufacturers_info');
 define('TABLE_ORDERS', 'orders');
 define('TABLE_ORDERS_PRODUCTS', 'orders_products');
 define('TABLE_ORDERS_PRODUCTS_ATTRIBUTES', 'orders_products_attributes');
 define('TABLE_ORDERS_PRODUCTS_DOWNLOAD', 'orders_products_download');
 define('TABLE_ORDERS_STATUS', 'orders_status');
 define('TABLE_ORDERS_STATUS_HISTORY', 'orders_status_history');
 define('TABLE_ORDERS_TOTAL', 'orders_total');
 define('TABLE_PRODUCTS', 'products');
 define('TABLE_PRODUCTS_ATTRIBUTES', 'products_attributes');
 define('TABLE_PRODUCTS_ATTRIBUTES_DOWNLOAD', 'products_attributes_download');
 define('TABLE_PRODUCTS_DESCRIPTION', 'products_description');
 define('TABLE_PRODUCTS_NOTIFICATIONS', 'products_notifications');
 define('TABLE_PRODUCTS_OPTIONS', 'products_options');
 define('TABLE_PRODUCTS_OPTIONS_VALUES', 'products_options_values');
 define('TABLE_PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS', 'products_options_values_to_products_options');
 define('TABLE_PRODUCTS_TO_CATEGORIES', 'products_to_categories');
 define('TABLE_REVIEWS', 'reviews');
 define('TABLE_REVIEWS_DESCRIPTION', 'reviews_description');
 define('TABLE_SESSIONS', 'sessions');
 define('TABLE_SPECIALS', 'specials');
 define('TABLE_TAX_CLASS', 'tax_class');
 define('TABLE_TAX_RATES', 'tax_rates');
 define('TABLE_GEO_ZONES', 'geo_zones');
 define('TABLE_ZONES_TO_GEO_ZONES', 'zones_to_geo_zones');
 define('TABLE_WHOS_ONLINE', 'whos_online');
 define('TABLE_ZONES', 'zones');
 define('TABLE_COUPONS', 'coupons');
 define('TABLE_COUPONS_TO_CUSTOMER', 'coupon_to_customer');
 define('TABLE_COUPONS_TO_CUSTOMER', 'coupon_to_customer');
 define('TABLE_UPS_BOXES_USED', 'ups_boxes_used');
 define('TABLE_PRODUCTS_SPLIT', 'products_split');
/*** Begin Header Tags SEO ***/
 define('TABLE_HEADERTAGS', 'headertags');
 define('TABLE_HEADERTAGS_DEFAULT', 'headertags_default');
 /*** End Header Tags SEO ***/

Link to comment
Share on other sites

This is from admin/includes/database_tables.php and now i'm confused should this two be the same?

because i have 'Em different, if that's not the issue i don't know what is? The errors Don't make sence ...

<?php
/*
 $Id: database_tables.php 1739 2007-12-20 00:52:16Z hpdl $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2007 osCommerce

 Released under the GNU General Public License
*/

// define the database table names used in the project
 define('TABLE_ADDRESS_BOOK', 'address_book');
 define('TABLE_ADDRESS_FORMAT', 'address_format');
 define('TABLE_ADMINISTRATORS', 'administrators');
 define('TABLE_BANNERS', 'banners');
 define('TABLE_BANNERS_HISTORY', 'banners_history');
 define('TABLE_CATEGORIES', 'categories');
 define('TABLE_CATEGORIES_DESCRIPTION', 'categories_description');
 define('TABLE_CONFIGURATION', 'configuration');
 define('TABLE_CONFIGURATION_GROUP', 'configuration_group');
 define('TABLE_COUNTRIES', 'countries');
 define('TABLE_CURRENCIES', 'currencies');
 define('TABLE_CUSTOMERS', 'customers');
 define('TABLE_CUSTOMERS_BASKET', 'customers_basket');
 define('TABLE_CUSTOMERS_BASKET_ATTRIBUTES', 'customers_basket_attributes');
 define('TABLE_CUSTOMERS_INFO', 'customers_info');
 define('TABLE_LANGUAGES', 'languages');
 define('TABLE_MANUFACTURERS', 'manufacturers');
 define('TABLE_MANUFACTURERS_INFO', 'manufacturers_info');
 define('TABLE_NEWSLETTERS', 'newsletters');
 define('TABLE_ORDERS', 'orders');
 define('TABLE_ORDERS_PRODUCTS', 'orders_products');
 define('TABLE_ORDERS_PRODUCTS_ATTRIBUTES', 'orders_products_attributes');
 define('TABLE_ORDERS_PRODUCTS_DOWNLOAD', 'orders_products_download');
 define('TABLE_ORDERS_STATUS', 'orders_status');
 define('TABLE_ORDERS_STATUS_HISTORY', 'orders_status_history');
 define('TABLE_ORDERS_TOTAL', 'orders_total');
 define('TABLE_PRODUCTS', 'products');
 define('TABLE_PRODUCTS_ATTRIBUTES', 'products_attributes');
 define('TABLE_PRODUCTS_ATTRIBUTES_DOWNLOAD', 'products_attributes_download');
 define('TABLE_PRODUCTS_DESCRIPTION', 'products_description');
 define('TABLE_PRODUCTS_NOTIFICATIONS', 'products_notifications');
 define('TABLE_PRODUCTS_OPTIONS', 'products_options');
 define('TABLE_PRODUCTS_OPTIONS_VALUES', 'products_options_values');
 define('TABLE_PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS', 'products_options_values_to_products_options');
 define('TABLE_PRODUCTS_TO_CATEGORIES', 'products_to_categories');
 define('TABLE_REVIEWS', 'reviews');
 define('TABLE_REVIEWS_DESCRIPTION', 'reviews_description');
 define('TABLE_SESSIONS', 'sessions');
 define('TABLE_SPECIALS', 'specials');
 define('TABLE_TAX_CLASS', 'tax_class');
 define('TABLE_TAX_RATES', 'tax_rates');
 define('TABLE_GEO_ZONES', 'geo_zones');
 define('TABLE_ZONES_TO_GEO_ZONES', 'zones_to_geo_zones');
 define('TABLE_WHOS_ONLINE', 'whos_online');
 define('TABLE_ZONES', 'zones');
 define('TABLE_COUPONS', 'coupons');
 define('TABLE_UPS_BOXES_USED', 'ups_boxes_used');
 define('TABLE_PRODUCTS_SPLIT', 'products_split');

 /*** Begin Header Tags SEO ***/
 define('TABLE_HEADERTAGS', 'headertags');
 define('TABLE_HEADERTAGS_DEFAULT', 'headertags_default');
 /*** End Header Tags SEO ***/
?>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...