Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi all,

 

Was wondering if some OSC guru would be kind enough to help me out,

We are running osCommerce 2.2-MS2.

I know its totally outdated, but we have a custom template installed and everything works fine.

 

We have installed a contribution on a test shop 1st,

The Download_Controllerv5.3b_MS2.2_2 contribution.

 

On checkout, with items in cart or not, i get this error:

 

Fatal error: Cannot redeclare tep_get_configuration_key_value() (previously declared in /mounted-storage/home109b/sub001/sc50470-QQEH/www/shop2/includes/functions/downloads_controller.php:13) in /mounted-storage/home109b/sub001/sc50470-QQEH/www/shop2/includes/functions/downloads_controller.php on line 18

 

Further more, When i go to Admin, Config - Downloads, there is no settings link as described in the readme.txt

But i dont have any errors on the admin side,

This is the .sql file I imported in to the db, also got no errors, if I understood correctly, it was for the extra settings link that does not show up on the admin side.

 

#NEW FIELDS FOR DOWNLOADS CONTROLLER

 

INSERT INTO `configuration` ( `configuration_id` , `configuration_title` , `configuration_key` , `configuration_value` , `configuration_description` , `configuration_group_id` , `sort_order` , `last_modified` , `date_added` , `use_function` , `set_function` ) VALUES ('', 'Downloads Controller Update Status Value', 'DOWNLOADS_ORDERS_STATUS_UPDATED_VALUE', '4', 'What orders_status resets the Download days and Max Downloads - Default is 4', '13', '90', '2003-02-18 13:22:32', '', NULL , NULL);

INSERT INTO `configuration` ( `configuration_id` , `configuration_title` , `configuration_key` , `configuration_value` , `configuration_description` , `configuration_group_id` , `sort_order` , `last_modified` , `date_added` , `use_function` , `set_function` ) VALUES ('', 'Downloads Controller Download on hold message', 'DOWNLOADS_CONTROLLER_ON_HOLD_MSG', '<BR><font color="FF0000">NOTE: Downloads are not available until payment has been confirmed</font>', 'Downloads Controller Download on hold message', '13', '91', '2003-02-18 13:22:32', '', NULL , NULL);

INSERT INTO `configuration` ( `configuration_id` , `configuration_title` , `configuration_key` , `configuration_value` , `configuration_description` , `configuration_group_id` , `sort_order` , `last_modified` , `date_added` , `use_function` , `set_function` ) VALUES ('', 'Downloads Controller Order Status Value', 'DOWNLOADS_CONTROLLER_ORDERS_STATUS', '2', 'Downloads Controller Order Status Value - Default=2', '13', '92', '2003-02-18 13:22:32', '', NULL , NULL);

 

Obviously I am not php/mysql expert, in fact all i can do is install scripts, so please go easy on me :)

 

Many Many thanks in advance!

M.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...