Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Easy Populate fatal call error


Recommended Posts

When I run Easy Populate I get a black screen when I highlight it i see the following error message

 

 

Fatal error: Call to a member function on a non-object in /home/content/m/e/d/medwarehouse/html/xoops/html/modules/osC/admin/includes/database_tables.php on line 13

 

 

help please

Link to comment
Share on other sites

When I run Easy Populate I get a black screen when I highlight it i see the following error message

Fatal error: Call to a member function on a non-object in /home/content/m/e/d/medwarehouse/html/xoops/html/modules/osC/admin/includes/database_tables.php on line 13

help please

 

 

<?php

 

/*

 

$Id: database_tables.php 57 2005-12-15 14:39:09Z Michael $

 

 

 

osCommerce, Open Source E-Commerce Solutions

 

http://www.oscommerce.com

 

 

 

Copyright © 2003 osCommerce

 

 

 

Released under the GNU General Public License

 

*/

 

// CCGV

 

define('TABLE_COUPON_GV_QUEUE', $xoopsDB->prefix('osc_coupon_gv_queue'));

 

define('TABLE_COUPON_GV_CUSTOMER', $xoopsDB->prefix('osc_coupon_gv_customer'));

 

define('TABLE_COUPON_EMAIL_TRACK', $xoopsDB->prefix('osc_coupon_email_track'));

 

define('TABLE_COUPON_REDEEM_TRACK', $xoopsDB->prefix('osc_coupon_redeem_track'));

 

define('TABLE_COUPONS', $xoopsDB->prefix('osc_coupons'));

 

define('TABLE_COUPONS_DESCRIPTION', $xoopsDB->prefix('osc_coupons_description'));

 

 

 

 

 

// define the database table names used in the project

 

define('TABLE_ADDRESS_BOOK', $xoopsDB->prefix('osc_address_book'));

 

define('TABLE_ADDRESS_FORMAT', $xoopsDB->prefix('osc_address_format'));

 

define('TABLE_BANNERS', $xoopsDB->prefix('osc_banners'));

 

define('TABLE_BANNERS_HISTORY', $xoopsDB->prefix('osc_banners_history'));

 

define('TABLE_CATEGORIES', $xoopsDB->prefix('osc_categories'));

 

define('TABLE_CATEGORIES_DESCRIPTION', $xoopsDB->prefix('osc_categories_description'));

 

define('TABLE_CONFIGURATION', $xoopsDB->prefix('osc_configuration'));

 

define('TABLE_CONFIGURATION_GROUP', $xoopsDB->prefix('osc_configuration_group'));

 

define('TABLE_COUNTER', $xoopsDB->prefix('osc_counter'));

 

define('TABLE_COUNTER_HISTORY', $xoopsDB->prefix('osc_counter_history'));

 

define('TABLE_COUNTRIES', $xoopsDB->prefix('osc_countries'));

 

define('TABLE_CURRENCIES', $xoopsDB->prefix('osc_currencies'));

 

define('TABLE_CUSTOMERS', $xoopsDB->prefix('osc_customers'));

 

define('TABLE_CUSTOMERS_BASKET', $xoopsDB->prefix('osc_customers_basket'));

 

define('TABLE_CUSTOMERS_BASKET_ATTRIBUTES', $xoopsDB->prefix('osc_customers_basket_attributes'));

 

define('TABLE_CUSTOMERS_INFO', $xoopsDB->prefix('osc_customers_info'));

 

define('TABLE_LANGUAGES', $xoopsDB->prefix('osc_languages'));

 

define('TABLE_MANUFACTURERS', $xoopsDB->prefix('osc_manufacturers'));

 

define('TABLE_MANUFACTURERS_INFO', $xoopsDB->prefix('osc_manufacturers_info'));

 

define('TABLE_ORDERS', $xoopsDB->prefix('osc_orders'));

 

define('TABLE_ORDERS_PRODUCTS', $xoopsDB->prefix('osc_orders_products'));

 

define('TABLE_ORDERS_PRODUCTS_ATTRIBUTES', $xoopsDB->prefix('osc_orders_products_attributes'));

 

define('TABLE_ORDERS_PRODUCTS_DOWNLOAD', $xoopsDB->prefix('osc_orders_products_download'));

 

define('TABLE_ORDERS_STATUS', $xoopsDB->prefix('osc_orders_status'));

 

define('TABLE_ORDERS_STATUS_HISTORY', $xoopsDB->prefix('osc_orders_status_history'));

 

define('TABLE_ORDERS_TOTAL', $xoopsDB->prefix('osc_orders_total'));

 

define('TABLE_PRODUCTS', $xoopsDB->prefix('osc_products'));

 

define('TABLE_PRODUCTS_ATTRIBUTES', $xoopsDB->prefix('osc_products_attributes'));

 

define('TABLE_PRODUCTS_ATTRIBUTES_DOWNLOAD', $xoopsDB->prefix('osc_products_attributes_download'));

 

define('TABLE_PRODUCTS_DESCRIPTION', $xoopsDB->prefix('osc_products_description'));

 

define('TABLE_PRODUCTS_NOTIFICATIONS', $xoopsDB->prefix('osc_products_notifications'));

 

define('TABLE_PRODUCTS_OPTIONS', $xoopsDB->prefix('osc_products_options'));

 

define('TABLE_PRODUCTS_OPTIONS_VALUES', $xoopsDB->prefix('osc_products_options_values'));

 

define('TABLE_PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS', $xoopsDB->prefix('osc_products_options_values_to_products_options'));

 

define('TABLE_PRODUCTS_TO_CATEGORIES', $xoopsDB->prefix('osc_products_to_categories'));

 

define('TABLE_REVIEWS', $xoopsDB->prefix('osc_reviews'));

 

define('TABLE_REVIEWS_DESCRIPTION', $xoopsDB->prefix('osc_reviews_description'));

 

define('TABLE_SESSIONS', $xoopsDB->prefix('osc_sessions'));

 

define('TABLE_SPECIALS', $xoopsDB->prefix('osc_specials'));

 

define('TABLE_TAX_CLASS', $xoopsDB->prefix('osc_tax_class'));

 

define('TABLE_TAX_RATES', $xoopsDB->prefix('osc_tax_rates'));

 

define('TABLE_GEO_ZONES', $xoopsDB->prefix('osc_geo_zones'));

 

define('TABLE_ZONES_TO_GEO_ZONES', $xoopsDB->prefix('osc_zones_to_geo_zones'));

 

define('TABLE_WHOS_ONLINE', $xoopsDB->prefix('osc_whos_online'));

 

define('TABLE_ZONES', $xoopsDB->prefix('osc_zones'));

 

define('TABLE_CUSTOMER_GROUP',$xoopsDB->prefix('osc_customer_group'));

 

define('TABLE_DISTRIBUTORS',$xoopsDB->prefix('osc_distributors'));

 

?>

Link to comment
Share on other sites

This is due to the fact that the $xoopsDB object is either not set or not accessible at this level. This is really more of a XOOPS module problem. You should look for help there:

 

http://www.xoops.org/modules/repository/si...22&lid=1616

 

There's probably a special file that needs to be included that EP does not include. You'll need to check and see if that's the case.

Contributions

 

Discount Coupon Codes

Donations

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...