Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem Installing "Mo Pics"


Recommended Posts

I installed as instructed, using the new version of /admin/categories.php for my Aug 28 snapshot.

 

Everything apears to be working in the cataglog, however in the admin, although all of the text boxes for the different images appear, when I click on "preview", I get the following error:

 

Fatal error: Call to undefined function: tep_get_uploaded_file() in /home/wizardsa/public_html/admin/categories.php on line 563

 

I have searched, but have been unable to locate tep_get_uploaded_file(). I thought that it should be in amin/includes/functions/general.php, but it is not.

 

Any help anyone could provide would be greatly appreciated.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

The function tep_get_uploaded_file is located in the /includes/functions/general.php

 

Check and see when this function was added and the changes you might need to make to use it.

Link to comment
Share on other sites

I'm afraid that it is not in the /includes/functions/general.php file.

 

I even downloaded a new snapshot, and it is not in that one either. :shock:

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

OK, I found it. I was looking at so many different copies of the file I guess I got confused.

 

I apologize for ever doubting. When I downloaded a new 'snapshot', I had actually accidentally dowloaded 2.1, in which that fuction doesn't exist.

 

I think that I tried to install 'Mo Pics' at first, and had some problems. So then , I tried to restore it from my back up, but I inadvertantly resored this file from and old 2.1 copy I had laying around.

 

I always back everything up, but in this case, I didn't have my backups organized.

 

Once again, I apologize.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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