Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Is there an easy fix for this error?


Sharon123

Recommended Posts

Posted

Hi All

 

I know this is an easypopulate error however I am hopping it may be a simple general problem, that could be answered here. :)

 

The error reads

 

Fatal error: Call to undefined function: tep_get_uploaded_file() in /www/virtual/crownk1w1/htdocs/admin/easypopulate.php on line 708

 

Does this make any sense to anyone?

 

Thanks

 

Sharon

I know more than I did yesterday...If thats any help!

Posted

Did you copy the easypopulate_functions.php file to the admin folder?

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

Do you know what version (more importantly the date) of osC you are using?

 

If it is after Nov 1, perhaps the easypopulate_functions.php file is interfering with the function defined in the admin/includes/functions/general.php file.

 

Otherwise, the only thing that I can think of is the permissions on the admin/easypopulate_functions.php file might not be 644.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

Hi Daemonj

 

I changed the permissions and no luck.

 

How do I find the date of OSC

 

Sharon

I know more than I did yesterday...If thats any help!

Posted

Hi

 

Yes, its about a week old.

 

I am nearly there after less sleep but much wiser!

 

SO CLOSE!!! :shock:

 

Sharon

I know more than I did yesterday...If thats any help!

Posted

Unfortunately there is now way to determine the date of your osC unless you still have the archive that was downloaded from osC. In that case, the file contains the date.

 

Otherwise, look in your admin/includes/application_top.php file and around line 36 should read:

// Define the project version

 define('PROJECT_VERSION', 'osCommerce 2.2-MS2-CVS');

What does your project_version line read?

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted
Hi

 

Not yet

 

Sharon

Could you elaborate a bit on that response?

 

I do not understand your intent. :?

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

she aint got the payment mods working........

 

like 1/2 the board members in here.....and no one want to tackle the subject when obviously its a problem

Posted

Hi Daemon

 

I was answering StarCaser about payment modules.

 

My version is

// Define the project version

 define('PROJECT_VERSION', 'osCommerce 2.2-MS2-CVS');

 

Hope this helps :(

 

Sharon

I know more than I did yesterday...If thats any help!

Posted

Remove the admin/easypopulate_functions.php file and tell me what happens.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

Hi

 

I have removed the file and get this error

 

Fatal error: Call to undefined function: tep_get_uploaded_file() in /www/virtual/crownk1w1/htdocs/admin/easypopulate.php on line 692

 

Sharon

I know more than I did yesterday...If thats any help!

Posted

Okay, that verifies that you do not have the tep_get_uploaded_file function defined in your admin/includes/functions/general.php file.

 

Now the question is why is the easypopulate script not finding the function in the easypopulate_functions.php file?

 

Please copy the easypopulate_functions.php file to your admin folder again so that everything is correct.

 

Your admin/easypopulate.php file around line 309 should be:

if (!function_exists(tep_get_uploaded_file)){

include ('easypopulate_functions.php');

}

change it to:

if (!function_exists(tep_get_uploaded_file)){

   echo "including functions filen";

include ('easypopulate_functions.php');

}

and let me know if you see the message including functions file on your screen.

 

Also, at what point are you receiving this error message?

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

Hi

 

I will try...

 

The erorr comes after i choose to upload the file.

 

I downloaded file no probs inserted one item and desr and so on then uploaded it then the error :oops:

 

Sharon

I know more than I did yesterday...If thats any help!

Posted

You do have the end of record indicator at the end of every record in your file correct?

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Archived

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

×
×
  • Create New...