Farrukh Posted February 18, 2003 Share Posted February 18, 2003 Hiya Ajeh Since MS1 has been released, would you be updating Quantity Controller 5.1 according to MS 1 as to remove any incompatibility between the both. Link to comment Share on other sites More sharing options...
Ajeh Posted February 18, 2003 Share Posted February 18, 2003 At some point ... Not sure when. Link to comment Share on other sites More sharing options...
Farrukh Posted February 18, 2003 Author Share Posted February 18, 2003 I have installed the contribution on Milestone its works fine but when I go to Admin => Modules => Payment i get this error: Fatal error: Call to undefined function: tep_get_free_charger() in e:inetpubwwwrootmilestoneincludesmodulespaymentauthorizenet.php on line 22 The error can be removed by commenting the line in all the payment modules. // BOF: WebMakers.com Added: Free Payments and Shipping if ( tep_get_free_charger($this->code) ) { $this->enabled = ((MODULE_PAYMENT_AUTHORIZENET_STATUS == 'True') ? true : false); } I have to comment the above to remove the error. ===== Also, the same sort of error arises when I go to Admin => Modules => Shipping Fatal error: Call to undefined function: tep_get_free_shipper() in e:inetpubwwwrootmilestoneincludesmodulesshippingflat.php on line 23 ===== Another error at Admin => Catalog => Categories/Products Fatal error: Call to undefined function: tep_get_categories_name() in e:inetpubwwwrootmilestoneadmincategories.php on line 1266 === Another error I get in in the Main Catalog Page, at the bottom: Error! Unable to determine connection method on a link! Known methods: NONSSL SSL In the milestone release the NonSSL has been removed from the files. guess this is what creating this error. Link to comment Share on other sites More sharing options...
Ajeh Posted February 18, 2003 Share Posted February 18, 2003 You could just load the function files that contain those two functions and then you do not have to comment out the code. Link to comment Share on other sites More sharing options...
Ajeh Posted February 18, 2003 Share Posted February 18, 2003 You might want the other functions in there as well. If you already have this file, then update the new functions into it: CHANGES TO /admin/includes/application_top.php Add to the bottom of the file just before the ?> : // BOF: WebMakers.com Added: Functions Library include(DIR_WS_FUNCTIONS . 'webmakers_added_functions.php'); // EOF: WebMakers.com Added: Functions Library This will add additional functions and additional filename definitions Link to comment Share on other sites More sharing options...
Farrukh Posted February 18, 2003 Author Share Posted February 18, 2003 I made the above changes to the application_top.php This is the error i got : Parse error: parse error, unexpected T_STRING in e:inetpubwwwrootmilestoneadminincludesapplication_top.php on line 257 Fatal error: Call to undefined function: tep_href_link() in e:inetpubwwwrootmilestoneadminindex.php on line 17 Link to comment Share on other sites More sharing options...
Farrukh Posted February 18, 2003 Author Share Posted February 18, 2003 You could just load the function files that contain those two functions and then you do not have to comment out the code. Ajeh, I didnt understand what you meant by the above quote. Link to comment Share on other sites More sharing options...
Ajeh Posted February 18, 2003 Share Posted February 18, 2003 Somewhere your function files might be mixed up. tep_href_link is a function that has been a part of osC forever Sounds like you have a typo. Did you add the code *before* the ?> in application_top.php or after it? Link to comment Share on other sites More sharing options...
Farrukh Posted February 18, 2003 Author Share Posted February 18, 2003 This is where I added the code : // check if a default language is set if (!defined('DEFAULT_LANGUAGE')) { $messageStack->add(ERROR_NO_DEFAULT_LANGUAGE_DEFINED, 'error'); } // BOF: WebMakers.com Added: Functions Library ? ? include(DIR_WS_FUNCTIONS . 'webmakers_added_functions.php'); // EOF: WebMakers.com Added: Functions Library ?> Link to comment Share on other sites More sharing options...
Ajeh Posted February 18, 2003 Share Posted February 18, 2003 Check your /includes/functions/html_output.php file and compare it to your orignal and then to the one I modified. That is where that function is. Link to comment Share on other sites More sharing options...
Farrukh Posted February 18, 2003 Author Share Posted February 18, 2003 There is some difference between the original one and the one which is modified by Quantity COntroler. Link to comment Share on other sites More sharing options...
Ajeh Posted February 18, 2003 Share Posted February 18, 2003 The changes related to Quantity Controller you want in there. The others are due to version differences and you do not want them. I mark my code so you can see where I touch things. This should help you decide what to include/exclude/update. Link to comment Share on other sites More sharing options...
Farrukh Posted February 19, 2003 Author Share Posted February 19, 2003 I have made changes according to the code you have marked. Everything works fine but except Freecharger and the error message about NONSSL on the main page Link to comment Share on other sites More sharing options...
jkonecn Posted February 19, 2003 Share Posted February 19, 2003 The changes related to Quantity Controller you want in there. The others are due to version differences and you do not want them. I mark my code so you can see where I touch things. This should help you decide what to include/exclude/update. I could be wrong but you don't mark everything correct? Link to comment Share on other sites More sharing options...
Farrukh Posted February 19, 2003 Author Share Posted February 19, 2003 Alright Ajeh i have made the changes in Ian's Loaded 5.0 for MS1. i am gettin this on the catalog page Can you explain a bit as how to correct the error Link to comment Share on other sites More sharing options...
Ajeh Posted February 19, 2003 Share Posted February 19, 2003 You are missing fields like products_price_rebate and perhaps products_price_list Link to comment Share on other sites More sharing options...
Farrukh Posted February 19, 2003 Author Share Posted February 19, 2003 So can you tell me as what should I enter in phpmyadmin to enter the fields below. Link to comment Share on other sites More sharing options...
Ajeh Posted February 19, 2003 Share Posted February 19, 2003 Based on the README.txt file I wrote, where I said: Database Changes:NOTE: There is a database changes text file with the Alter Table commands included for the products and products_attributes tables ... So you might go through that Database Changes file and see what fields you are missing from your tables. It contains the alter commands, just find the missing field(s), paste it into your phpMySQL and it should fix it. Link to comment Share on other sites More sharing options...
Ajeh Posted February 19, 2003 Share Posted February 19, 2003 err ... phpMyAdmin ... long night setting up networks ... :roll: Link to comment Share on other sites More sharing options...
Farrukh Posted February 19, 2003 Author Share Posted February 19, 2003 I did make the changes through phpomyadmin and followed the instructions as you had written in readme file. I tried to add these lines to database : ALTER TABLE products ADD products_price_list decimal(15,4) NOT NULL Default "0.0000" AFTER products_quantity_order_units; ALTER TABLE products ADD products_price_rebate decimal(15,4) NOT NULL Default "0.0000" AFTER products_price_list; and this is what i got Error SQL-query?:? ALTER TABLE products ADD products_price_list decimal( 15, 4 ) NOT NULL Default "0.0000" AFTER products_quantity_order_units MySQL said: Unknown column 'products_quantity_order_units' in 'products' Link to comment Share on other sites More sharing options...
Ajeh Posted February 19, 2003 Share Posted February 19, 2003 If you get an unknown field then that field is missing too ... start higher in the list. Check each new field one by one. Link to comment Share on other sites More sharing options...
Farrukh Posted February 19, 2003 Author Share Posted February 19, 2003 Got it working now :) I have uploaded it to my temp site and will post the link when I get it installed so that you can have a look at it. Thanks for the help Linda :) Most Appreciated Link to comment Share on other sites More sharing options...
Farrukh Posted February 20, 2003 Author Share Posted February 20, 2003 HIya Linda Can you please test my shop. http://www.ajnabiz.com/catalog/default.php I have installed Quantity Controller 5.1 in Ian's Loaded CRE 5.0. Link to comment Share on other sites More sharing options...
Farrukh Posted February 20, 2003 Author Share Posted February 20, 2003 One more thing Linda How can I get my catalog into Down For Maintenance mode.? Link to comment Share on other sites More sharing options...
Farrukh Posted February 20, 2003 Author Share Posted February 20, 2003 sorry forgot the user and password for Admin username: default password : admin Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.