Forums / General Questions / Where do images get uploaded to with a new order?

Where do images get uploaded to with a new order?

Locked

Views: 1,065

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
17 Nov 2008, 6:05 PM
#1
metahugh avatar

metahugh

New Zenner

Join Date:
Oct 2008
Posts:
5
Plugin Contributions:
0

Where do images get uploaded to with a new order?

I can't seem to find this anywhere in the FAQs. I have a product on my site where the client uploads a photograph. When you add the item to your cart it says Success: file saved successfully. Where does this get uploaded to?

I checked Images/uploads and I did a search of all directories. Is this being added into the database itself?

Thanks so much for any assistance !!

17 Nov 2008, 8:39 PM
#3
metahugh avatar

metahugh

New Zenner

Join Date:
Oct 2008
Posts:
5
Plugin Contributions:
0

Re: Where do images get uploaded to with a new order?

Thanks Misty, that was a great help. The uploads still aren't working. I made sure read and write permissions exist on the /images/uploads directory and I modified the upload.php file in includes/classes to 777. I tried changing the file upload path but can't get that to work. So it seems it is uploading something but I am not sure where it is going.

I wonder if you have to put the path in, if you don't does it default to the images/uploads directory?

I'm still searching the forums.

17 Nov 2008, 8:42 PM
#4
metahugh avatar

metahugh

New Zenner

Join Date:
Oct 2008
Posts:
5
Plugin Contributions:
0

Re: Where do images get uploaded to with a new order?

misty:

Try
http://www.zen-cart.com/forum/showpost.php?p=528100&postcount=30
and
http://www.zen-cart.com/forum/showthread.php?t=11023

Oh WOW I am so dense. It is uploading the files in there. It just uses the order # by itself for the filename! I thought it would have appended the original filename to that since it does show the file name that was uploaded in the invoice. Problem solved, you are an angel Misty!

18 Nov 2008, 5:19 AM
#5
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Where do images get uploaded to with a new order?

Pleased to hear files found
:clap:

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

24 Nov 2008, 2:10 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Where do images get uploaded to with a new order?

NOTE: the value used for the uploaded image only "appears" to be the orders_id ...

Over time, you will see that this is not the case ... the value used in the number of the files_uploaded_id value in the files_uploaded table and if you were to upload multiple images it will eventually be unsynced to the orders_id as there is no relationship there and it is just an illusion that the two match ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!