close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Multiple Images data record not entering

Thread began 3/05/2016 7:05 pm by Kumel | Last modified 3/08/2016 1:44 pm by Ray Borduin | 290 views | 8 replies |

Kumel

Multiple Images data record not entering

Under Products table i created MainImage, MainImageThumb, Image2, Image2Thumb, Image3, Image3Thumb.

I added 3 file upload server behaviour.

I add insert record as well. & i have linked each very well to its product's folder ie thumb folder to thumbs columns.
But when i insert only MainImage, MainImageThumb & Image2 records are entered. Not rest.
I don't know whats wrong with it.

FIle attached.

Attached Files
add-product.php
Sign in to reply to this post

Ray BorduinWebAssist

It looks like it should work. Can I get FTP access and a url to reproduce to debug it?

Sign in to reply to this post

Kumel

Sorry its not online. Just on local server

Sign in to reply to this post

Ray BorduinWebAssist

Your bindings aren't right. It looks like there is a bug in the syntax it uses when there is more than one upload that has more than one version. You will probably have to correct them manually.

You have:
$WA_DFP_UploadStatus["WA_UploadResult1"]["WA_UploadResult1_1"]["serverFileName"]
$WA_DFP_UploadStatus["WA_UploadResult1"]["WA_UploadResult1_2"]["serverFileName"]
$WA_DFP_UploadStatus["WA_UploadResult2"]["serverFileName"]
$WA_DFP_UploadStatus["WA_UploadResult2"]["WA_UploadResult1_2"]["serverFileName"]
$WA_DFP_UploadStatus["WA_UploadResult3"]["WA_UploadResult1_1"]["serverFileName"]
$WA_DFP_UploadStatus["WA_UploadResult3"]["WA_UploadResult1_2"]["serverFileName"]

The first two are correct, which is why they work. The others are not. It should be:
$WA_DFP_UploadStatus["WA_UploadResult1"]["WA_UploadResult1_1"]["serverFileName"]
$WA_DFP_UploadStatus["WA_UploadResult1"]["WA_UploadResult1_2"]["serverFileName"]
$WA_DFP_UploadStatus["WA_UploadResult2"]["WA_UploadResult2_1"]["serverFileName"]
$WA_DFP_UploadStatus["WA_UploadResult2"]["WA_UploadResult1_2"]["serverFileName"]
$WA_DFP_UploadStatus["WA_UploadResult3"]["WA_UploadResult3_1"]["serverFileName"]
$WA_DFP_UploadStatus["WA_UploadResult3"]["WA_UploadResult3_2"]["serverFileName"]

I'll get the bindings fixed.

Sign in to reply to this post

Kumel

unable to fix. i update the file. Image3 & Image3Thumb records not saving.. will be uploading in 5mins. pvt msg..

Sign in to reply to this post

Ray BorduinWebAssist

Please send a current copy of the file and I'll see if I can spot the problem.

Sign in to reply to this post

Kumel

i just updated add-product page.
For MainImage i chose 23.jpg
Data entered in MainImage = 23.jpg MainImageThumb= 23_thumb.jpg
For Image2 i chose: 24.jpg
Data entered in Image2 =24.jpg & Image2Thumb = 24_thumb.jpg25.jpg25_thumb.jpg (something wrong here )
For Image3 i chose 25.jpg
Data entered in Image3 = 1 & nothing in Image3Thumb
file attached here.

Sign in to reply to this post

Ray BorduinWebAssist

It looks like you updated the code by hand and removed the . $WA_AB_Split . code between the values so that they got concatenated into the same field.

Sign in to reply to this post

Kumel

Perfect! Thanks

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