Категории |
Ошибка базы данных при подтверждении заказа - последний шагнверсия 2 4 5 платная 15/12/2009 10:12:29 | 1146 - Table 'jnow.os_affiliate_affiliate' doesn't exist | select affiliate_commission_percent from os_affiliate_affiliate where affiliate_id = '' | /checkout_process.php 15/12/2009 10:12:27 | 1146 - Table 'jnow.os_affiliate_affiliate' doesn't exist | select affiliate_commission_percent from os_affiliate_affiliate where affiliate_id = '' | /checkout_process.php тут есть os_ но у меня все таблици без превикса в phpmyadmin CREATE TABLE os_affiliate_affiliate( affiliate_id int( 11 ) NOT NULL AUTO_INCREMENT , affiliate_lft int( 11 ) NOT NULL , affiliate_rgt int( 11 ) NOT NULL , affiliate_root int( 11 ) NOT NULL , affiliate_gender char( 1 ) NOT NULL default '', affiliate_firstname varchar( 32 ) NOT NULL default '', affiliate_lastname varchar( 32 ) NOT NULL default '', affiliate_dob datetime NOT NULL default '0000-00-00 00:00:00', affiliate_email_address varchar( 96 ) NOT NULL default '', affiliate_telephone varchar( 32 ) NOT NULL default '', affiliate_fax varchar( 32 ) NOT NULL default '', affiliate_password varchar( 40 ) NOT NULL default '', affiliate_homepage varchar( 96 ) NOT NULL default '', affiliate_street_address varchar( 64 ) NOT NULL default '', affiliate_suburb varchar( 64 ) NOT NULL default '', affiliate_city varchar( 32 ) NOT NULL default '', affiliate_postcode varchar( 10 ) NOT NULL default '', affiliate_state varchar( 32 ) NOT NULL default '', affiliate_country_id int( 11 ) NOT NULL default '0', affiliate_zone_id int( 11 ) NOT NULL default '0', affiliate_agb tinyint( 4 ) NOT NULL default '0', affiliate_company varchar( 60 ) NOT NULL default '', affiliate_company_taxid varchar( 64 ) NOT NULL default '', affiliate_commission_percent DECIMAL( 4, 2 ) NOT NULL default '0.00', affiliate_payment_check varchar( 100 ) NOT NULL default '', affiliate_payment_paypal varchar( 64 ) NOT NULL default '', affiliate_payment_bank_name varchar( 64 ) NOT NULL default '', affiliate_payment_bank_branch_number varchar( 64 ) NOT NULL default '', affiliate_payment_bank_swift_code varchar( 64 ) NOT NULL default '', affiliate_payment_bank_account_name varchar( 64 ) NOT NULL default '', affiliate_payment_bank_account_number varchar( 64 ) NOT NULL default '', affiliate_date_of_last_logon datetime NOT NULL default '0000-00-00 00:00:00', affiliate_number_of_logons int( 11 ) NOT NULL default '0', affiliate_date_account_created datetime NOT NULL default '0000-00-00 00:00:00', affiliate_date_account_last_modified datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY ( affiliate_id ) , KEY affiliate_root( affiliate_root ) , KEY affiliate_rgt( affiliate_rgt ) , KEY affiliate_lft( affiliate_lft ) ) ENGINE = MYISAM DEFAULT CHARSET = utf8 COLLATE utf8_general_ci видимо таблицы os_affiliate_affiliate - нет или в файле checkout_process.php require_once(_INCLUDES.'affiliate_checkout_process.php'); на //require_once(_INCLUDES.'affiliate_checkout_process.php'); это не зависит от платности-бесплатности. Так ошибка понятна вроде, база есть, проверил, можно конечно не проверять и закоментировать инклюд. это уже в 2.4.5 поправлено define('TABLE_AFFILIATE', DB_PREFIX.'affiliate_affiliate'); define('TABLE_AFFILIATE_BANNERS', DB_PREFIX.'affiliate_banners'); define('TABLE_AFFILIATE_BANNERS_HISTORY', DB_PREFIX.'affiliate_banners_history'); define('TABLE_AFFILIATE_CLICKTHROUGHS', DB_PREFIX.'affiliate_clickthroughs'); define('TABLE_AFFILIATE_SALES', DB_PREFIX.'affiliate_sales'); define('TABLE_AFFILIATE_PAYMENT', DB_PREFIX.'affiliate_payment'); define('TABLE_AFFILIATE_PAYMENT_STATUS', DB_PREFIX.'affiliate_payment_status'); define('TABLE_AFFILIATE_PAYMENT_STATUS_HISTORY', DB_PREFIX.'affiliate_payment_status_history'); Тогда где то у тебя при скачке глюк, |
|