rip Posted May 13, 2003 Posted May 13, 2003 Fatal error: Call to undefined function: tep_get_uploaded_file() in /long/path/httpdocs/catalog/admin/categories.php on line 525 Yesterday I installed the Canada Post Contrib. I didnt have any errors before that. Any ideas, help, comments would be great! Thanx Tammy
rip Posted May 13, 2003 Author Posted May 13, 2003 ~ I removed the contrib and error dissappeared. I think I will wait to reinstall the Canada Post Contrib. thanks
CrackaJax Posted June 21, 2003 Posted June 21, 2003 i believe this references functions that don't necessarily come with the MS1 default install. i know the tep_get_uploaded_file function will get installed if you have easypopulate installed, but you'll need to make a reference to easypopulate_functions.php (use include_once or require_once, to make sure it doesn't interfere with other places which might include the same file) my big question is this: where all would these files be included? are they default functions in later cvs snapshots of osc? i don't want to try and find these functions and then recreate them someplace only to find another contrib has them, and everything just gets messed! should i just create a file called my_custom_functions.php and have it check for functions that exist, etc.? seems like a lot of work to me...anyone else know what contribs the canada post shipping with dimensions requires users to have installed already? -- Pradeep K. Nair, B.Math deep multimedia pknair(at)deepmultimedia(dot)com
tammy Posted July 30, 2003 Posted July 30, 2003 Anyone have the Canada Post Contrib working? Who would post some tips on troubleshooting to get it to go? I am wondering if the error could be caused by not having a canada post account number of your own. I didn't have an account prior when I originally installed it. I do now, I am going to try again. Thanks in advance.
endee Posted July 31, 2003 Posted July 31, 2003 I'm working on it right now. Using MS2, had to modify files slightly to get it working, I'll post the files as soon as I've tested it properly. Still can't get it to add the handling fee which is returned by the Canadapost server (not OSC handling fee), if anyone has any useful tips??
tammy Posted July 31, 2003 Posted July 31, 2003 But I'll be here to help with my error codes etc.. :oops: I am installing ms2 it looks great so far! Thanks for responding.
canfone Posted August 4, 2003 Posted August 4, 2003 I have just made some modifications to the Canada Post Shipping Module allowing it to work with MS2. The contribution can be found here: http://www.oscommerce.com/community/contributions,1201 ------------------------ Chief Web Developer http://Canfone.com https://SecureLogoHosting.com
endee Posted August 13, 2003 Posted August 13, 2003 Trying to get the CanadaPost module to add the handling charge returned by the CanadaPost server? Gives much more flexibility in adding handling charges than the OSC one. The CP handling charge is returned ($33.00 below - just testing - I'm not that greedy!!) from the CanadaPost server as <handling>, so I assume I need some code to add the <handling> to the <rate> to give the correct total? Any help, pointers, tips anyone can give much, much appreciated - I'm slowly learning my way around php code, now I'm baffled by XML too!!! Neil <eparcel> - <ratesAndServicesResponse> <statusCode>1</statusCode> <statusMessage>OK</statusMessage> <requestID>24153</requestID> <handling>33.0</handling> <language>0</language> - <product id="1040" sequence="1"> <name>Priority Courier</name> <rate>29.26</rate> <shippingDate>2003-08-14</shippingDate> <deliveryDate>2003-08-15</deliveryDate> <deliveryDayOfWeek>6</deliveryDayOfWeek> <nextDayAM>true</nextDayAM> <packingID>P_0</packingID> </product> - <product id="1030" sequence="2"> <name>Xpresspost</name> <rate>14.3</rate> <shippingDate>2003-08-14</shippingDate> <deliveryDate>2003-08-15</deliveryDate> <deliveryDayOfWeek>6</deliveryDayOfWeek> <nextDayAM>false</nextDayAM> <packingID>P_0</packingID> </product>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.