DMXzone Database Updater ASP Support Product Page

Solved

First trial

Reported 26 Jul 2016 00:02:28
1
has this problem
26 Jul 2016 00:02:28 User  posted:
I have been trying to get this working for 2 days. I have a form with a bunch of fields and 2 file upload inputs for images to be uploaded. I have gone through and added Server Connect steps, the Update Executor, etc but the form does nothing. I am now stumped and am thinking or requesting my money back as I have paid for all the required stuff but it's still no go!

Replies

Replied 26 Jul 2016 19:41:23
26 Jul 2016 19:41:23 User  replied:
I tried it this morning and still no go for me.
The Database Updater Action Builder shows Blog.thumbnail - {{uploadThumb.name}}. Is that correct?
Bit frustrated now
Replied 26 Jul 2016 20:53:18
26 Jul 2016 20:53:18 Teodor Kuduschiev replied:
Not sure what are you referring to ...
Your upload step MUST be like:
as this is your upload field.

Your update step MUST use:
as this is the uploaded file name.

I have uploaded your action file to the server, make sure to download the dmxConnect folder from the server, with the fixed values. Your site is working fine now.
Replied 26 Jul 2016 21:41:34
26 Jul 2016 21:41:34 User  replied:
I have tried to change the image using the edit page but it is not changing in the database and doesn't upload to the server. That's all I'm trying to do at the moment. I have downloaded the changed files from the server. I have tried in a couple of browser incase it is a caching issue so am not sure. The 'Step' and setting in the DMXConnect show as your screenshots but the image upload part is not working for me.
Replied 26 Jul 2016 21:44:32
26 Jul 2016 21:44:32 User  replied:
I have found that the image filenames can't have dashes in them as well so have tested that and it works.
Will add in the main image function and see how it goes. Thanks
Replied 26 Jul 2016 22:00:39
26 Jul 2016 22:00:39 User  replied:
I've added in the Main Image as per previous instructions and they now both don't update the database for the images and don't upload them so am not sure. Is this situation unique to me or has anyone else had these problems?
Replied 27 Jul 2016 07:02:00
27 Jul 2016 07:02:00 Teodor Kuduschiev replied:
I do not really see any issue with your page.
I just downloaded your action file, checked it and uploaded it to the server, to make sure it is okay. I just changed the thumb and main image of record with id=1. I tested with dashes, spaces etc - all is fine.
Replied 27 Jul 2016 07:18:41
27 Jul 2016 07:18:41 User  replied:
I've tried to add a 'uploading' progress div and the page doesn't submit now so am not sure what is happening.
I used your tutorial to make sure I wasn't doing anything out of the ordinary.
Can you check the page? Or action files?
Replied 27 Jul 2016 07:28:58
27 Jul 2016 07:28:58 User  replied:
In the Database Update Properties it is showing 'Output' as checked. This wasn't checked before. Has this been changed for a reason and would it affect the submit?
Replied 27 Jul 2016 07:45:27
27 Jul 2016 07:45:27 Teodor Kuduschiev replied:
I checked the Output option for debug purposes. It just outputs info for the step it is enabled for.
I will check the progress bar problems you are having now ...
Replied 27 Jul 2016 07:49:16
27 Jul 2016 07:49:16 Teodor Kuduschiev replied:
I don't see any progress bars on your page, as well as the form submits just fine as you can see i've just submitted two new photos ....
Replied 27 Jul 2016 08:07:34
27 Jul 2016 08:07:34 User  replied:
The updated page didn't upload so will add progress bars, bind and re upload
Replied 27 Jul 2016 08:24:58
27 Jul 2016 08:24:58 User  replied:
Nope. Doesn't upload an image for me. Not sure if it's image name issue, or a Mac v PC issue?
I using a Mac and Chrome browser
Replied 27 Jul 2016 08:46:45
27 Jul 2016 08:46:45 Teodor Kuduschiev replied:
Please tell me the exact name of the image you are trying to upload? Is it maybe too long and your database field is configured to have smaller amount of characters? Can you check the database field properties for the files?
Replied 27 Jul 2016 09:23:53
27 Jul 2016 09:23:53 User  replied:
The image is called thumbtest.jpg so should be fine
The DB length for that field is set to alot higher than that.

I've added in the progress bar which shows in this page
www.cruzjimenez.nz/_admin/blog-edit.asp?id=1

I have added the 'bind' but it doesn't seem to work.

Replied 27 Jul 2016 10:01:04
27 Jul 2016 10:01:04 Teodor Kuduschiev replied:
You have bound a wrong value. Please get your blog-edit.asp from the server and see what the correct values must be.
Everything appears to be working just fine - i uploaded several images again and again. Try with some different images, i cannot recreate the problem you have (an no, it is not OS/browser related).
Replied 27 Jul 2016 10:48:56
27 Jul 2016 10:48:56 User  replied:
OK, must be my 2 computers then as I have tried to upload another image and it doesn't work or show the progress bar but goes to the list page. So will try on my phone and tablet. Is it a cache issue for me? I was hoping to add in image resize functionality and 'display selected image' functions.

It seems to work for you but when I refresh the page and try it doesn't upload any images. The database updates the other fields fine, just not the image field.
Replied 27 Jul 2016 11:21:45
27 Jul 2016 11:21:45 Teodor Kuduschiev replied:
Please clear the cache of your browsers and try again. Also please try with another browser, if yours is somehow corrupted ...
Replied 27 Jul 2016 11:23:57
27 Jul 2016 11:23:57 User  replied:
I tried with one of your images and it worked fine. I can't see how there is a difference? Are you able to test with one of my images to see if that is an issue somehow? If it is, any ideas on how to fix it?
Replied 27 Jul 2016 11:29:39
27 Jul 2016 11:29:39 Teodor Kuduschiev replied:
Please send a few of your images to where i can get them and try, before they get uploaded to the server.
Replied 27 Jul 2016 19:25:32
27 Jul 2016 19:25:32 User  replied:
It seems the Overwrite function is causing the issue? If I remove the file from the server first, then upload, it seems to work fine
Replied 28 Jul 2016 06:40:46
28 Jul 2016 06:40:46 Teodor Kuduschiev replied:
I will check if there is something wrong with the overwrite function, but i don't think it is causing the issues. Maybe some permissions problem with your upload folder?
Replied 28 Jul 2016 09:23:41
28 Jul 2016 09:23:41 User  replied:
The permissions are set to Read/Write/Modify for the images folder and subfolders so all is good there
We'll have to add a Delete function first?
Replied 28 Jul 2016 10:06:59
28 Jul 2016 10:06:59 Teodor Kuduschiev replied:
No, there is no need to add delete first that is the whole point of using overwrite option. I am checking this now and will let you know.
Replied 31 Jul 2016 00:33:14
31 Jul 2016 00:33:14 User  replied:
Any luck on the overwrite issue?
Replied 31 Jul 2016 21:48:06
31 Jul 2016 21:48:06 User  replied:
Hopefully you're still working on the Overwrite issue? Next on the list is the Image Processor extension. How do I get the images resized for Add and Update pages?

Reply to this topic