Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Call to undefined function: tep_get_uploaded


rip

Recommended Posts

Posted

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

Posted

~ I removed the contrib and error dissappeared. I think I will wait to reinstall the Canada Post Contrib.

 

thanks

  • 1 month later...
Posted

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

  • 1 month later...
Posted

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.

Posted

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

Posted

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.

  • 2 weeks later...
Posted

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>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...