close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Image not uploading

Thread begun 4/15/2009 12:46 pm by neileisen207079 | Last modified 4/15/2009 1:59 pm by neileisen207079 | 3359 views | 5 replies |

neileisen207079

Image not uploading

I checked all the posts and still cant get this to work. I added a file field to the Checkout page of ecart and then applied the file upload behavior to it following all the instructions.

When I get to the confirm page, I wanted to display the image. I tried first just trying to display the file name, and neither works.

I set a session vairiable for it along with all the other session variables that are set for that page, and i used the posted file field to set it.

The folder I am uploading to has its permissions set to 777 just in case as well.. but nothing is happening. I saw the debugging bindings in the checkout page, but they dont do any good there (Thats where the upload field is) but when I look on the confirm page, they are not available in the bindings panel.

I tried adding them to the checkout page and then copying that code to the next page but that didnt work.

All in all... its not working.

Sign in to reply to this post

neileisen207079

If it matters, when I select an image file to upload, it only shows the file name and not the whole path in the file field. I have never used this tool before so this may be normal.

Sign in to reply to this post

Ray BorduinWebAssist

That is normal. Our code doesn't really have anything to do with the way the uplaod field itself works.

In php the file should be automatically uploaded the the default location, then the DFP code moves it to the directory you specified. Both the default upload folder specified in the php.ini as well as the final destination folder need to have read write privilages for an anonymous internet user.

Sign in to reply to this post
Did this help? Tips are appreciated...

neileisen207079

I have no idea how to get to the php.ini file or what the default file would be.... but even so, shouldnt the file name be being passed? Also why arent thos bindings codes visible on the confirm page? I think thats 3 different problems there.

Sign in to reply to this post

Ray BorduinWebAssist

The bindings are only available on the page where the upload takes place. That actually could be your problem.... try moving the upload code to the confirm page. I think the checkout page submits directly to the confirm page, so any functionality including upload would have to be applied on that page to work.

Sign in to reply to this post
Did this help? Tips are appreciated...

neileisen207079

Wow... great call Ray. I applied the upload code to the confirm page but KEPT the actual upload on the checkout page (I tried it both ways actually) but putting the upload code on the confirm page made everything work. Now I can upload from the checkout page apply the image name to a session variable in the confirm page and display the actual image using the session variable as the image name on that same confirm page - which is exactly what I was trying to do.

Hopefully this will help others as well... but you sure helped me. Thanks again.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...