Pure PHP Upload 3 Support Product Page

Solved

image field set to null on update

Reported 18 Apr 2013 12:27:42
5
have this problem
18 Apr 2013 12:27:42 phil barnett posted:
I have upgraded to 3.01

Everything works ok when I do an insert record
However when I update the record the image field is set to null

- this occurs if I leave the 'image' field in the form unchanged
(i.e I want to update the text in the record but not the image)

- if I change the 'image' field (i.e I want to update the text field in the record and image) it works ok

Replies

Replied 22 Apr 2013 06:42:00
22 Apr 2013 06:42:00 Miroslav Zografski replied:
Hello Phil,

Do you bind to the file field the corresponding database table to set as default value?

Regards.
Replied 22 Apr 2013 10:31:15
22 Apr 2013 10:31:15 phil barnett replied:
Hi Miroslav,

My file field binds to the column 'image' in the database - there is no default value set for this column. The 'null' checkbox is checked for this column

- does this answer your question?

Regards,

Phil


Replied 22 Apr 2013 10:56:20
22 Apr 2013 10:56:20 Miroslav Zografski replied:
Hello Phil,

As per each other field in update form the file field default value needs to be set to the corresponding column value.

Regards.
Replied 19 Jan 2014 11:45:24
19 Jan 2014 11:45:24 Jim Elliott replied:
I have this problem and I have bound the column to the file input:

<input name="newimage" type="file" id="newimage" onchange="<?php echo $ppu->getValidateCode() ?>;return document.MM_returnValue" value="<?php echo $row_Recordset1['newimage']; ?>" size="32" />

It is blanking the field in the database.
Replied 17 Feb 2014 02:47:39
17 Feb 2014 02:47:39 Luke Johnson replied:
I also have this issue. I am able to upload and insert an image successfully, but when the page is edited a second time (e.g., if I update a text field instead of the file field), the file field value is erased.

I have tried binding the data to the field as its value, but that has no effect.

I've also tried replacing $editFormAction; with $DMX_uploadAction, but no success.
Replied 27 Feb 2014 17:56:34
27 Feb 2014 17:56:34 tim martyn replied:
Same issue here. If I update only one of the images (say, thumbnail), any other images or uploads are overwritten with null value. Very frustrating. Help please...!
Replied 27 Feb 2014 18:07:29
27 Feb 2014 18:07:29 tim martyn replied:
Oh, one more thing. It isn't possible to set a default value to a file field, so that's not a solution.
Replied 27 Feb 2014 19:41:47
27 Feb 2014 19:41:47 tim martyn replied:
Hi
I've looked at the post history of this topic - nobody from the development team has bothered to respond for two weeks. Do you guys think that people buy extensions in the hope they might work? I think that offering an extension on the basis it works with Dreamweaver's Update Record behaviour where it obviously doesn't, is poor. I think the fact that if you don't specify an image to upload then the script adds 'null' values to replace any existing images in the db is a a very basic flaw in the extension, and on that basis I think you guys need to either sort out a fix or remove the extension from sale until you do.
Basically, it's useless until you do.
Replied 10 Mar 2014 14:16:26
10 Mar 2014 14:16:26 David Woolley replied:
I'm also having this problem with updating records using PPU3 & Zip Processor PHP, but with WebAssist Databridge Update Record server behavior. Fine for the first file upload, but loses the filename on the next update. Need to get this working!
Replied 20 Mar 2014 14:23:54
20 Mar 2014 14:23:54 David Woolley replied:
A solution at last!
I reposted the problem here after changing back to DW Update Record:
www.dmxzone.com/support/21571/topic/59365/
Teodor came back with a quick reply.

Cheers
Dave
Replied 26 Mar 2014 16:21:34
26 Mar 2014 16:21:34 Teodor Kuduschiev replied:
Hello,
The issue is fixed in the latest version of the extension. Please update.
Replied 15 Jun 2024 21:44:27
15 Jun 2024 21:44:27 User ban replied:
To connect a Canon printer to a smartphone or tablet, start by ensuring that your Canon printer supports mobile printing, which is common in most modern models. Next, download and install the Canon printer by ij.start.canon now.
Ij start canon is the website where you can find and download Canon printer drivers. Installing the correct drivers ensures that your printer functions properly with your computer or device. By visiting ij.start.canon and following the instructions provided, you can easily install the necessary drivers for your Canon printer.
Replied 15 Jun 2024 21:57:12
15 Jun 2024 21:57:12 User ban replied:
ij.start.canon is the website provided by Canon for users to set up, install, and manage their Canon printers and multifunction devices. It serves as a centralized platform to access various resources, tools, and services related to Canon printers.
ij.start.canon is the website provided by Canon for users to set up, configure, and manage their Canon printers and multifunction devices. It's a dedicated website where users can find various resources and tools tailored to their Canon printer model.
Replied 15 Jun 2024 21:59:20
15 Jun 2024 21:59:20 User ban replied:
Enter the YouTube activation code displayed on your device by login into yt.be/activate. By this you can activate YouTube on Smart TV by login to the webpage yt.be and enter the activation code.
Replied 15 Jun 2024 22:00:13
15 Jun 2024 22:00:13 User ban replied:
To activate a Disney Plus subscription or redeem a code, you typically need to visit the disneyplus.com/begin website or use the Disney Plus app and follow the instructions provided during the activation or subscription process.
Replied 15 Jun 2024 22:04:32
15 Jun 2024 22:04:32 User ban replied:
Go to the official website of the vanilla gift card balance. On the website, you'll typically find a section to check your vanilla gift card balance. You'll need to enter the card number and the card's expiration date, which are usually printed on the front of the card.
Go to the website of the vanilla gift balance. On the website, you'll typically find a section to check your vanilla gift card balance. You'll need to enter the card number and the card's expiration date, which are usually printed on the front of the card.
Replied 15 Jun 2024 22:06:47
15 Jun 2024 22:06:47 User ban replied:
If you have a vanilla visa gift card and want to check the vanilla gift card balance and other details. Simply go to vanilla gift card balance offcial page.
To check your Vanilla Visa Gift Card balance on the vanilla gift card balance. Navigate to the Vanilla Visa Gift Card’s website, input all of the required information to check your card balance.
Replied 15 Jun 2024 22:12:10
15 Jun 2024 22:12:10 User ban replied:
To check your vanilla gift card balance,go to balance.VanillaGift.com and enter the card number and the card's expiration date, which are usually printed on the front of the card. Tap on the "Check Balance" button to view your Vanilla Gift card's current balance.
Go to the website of the Vanilla Gift card. On the website, you'll typically find a section to check your vanilla gift balance. You'll need to enter the card number and the card's expiration date, which are usually printed on the front of the card.
Replied 15 Jun 2024 22:13:23
15 Jun 2024 22:13:23 User ban replied:
checking your Vanilla Gift Card balance. Find out how to access your balance information via the official website vanilla gift balance or customer service hotline with ease
Using the benefits of your Vanilla Gift Card And check the balance of your Vanilla Gift Card, visit the vanilla gift card balance website and enter your card number, expiration date, and CVV. Certain retail establishments also allow you to check your balance. Make sure your card is operative and safeguard the information on it. Follow our detailed instructions to ensure a trouble-free and excellent activation process.
Replied 15 Jun 2024 22:16:07
15 Jun 2024 22:16:07 User ban replied:
Open your browser and navigate to Walmart gift card balance page. This webpage is specifically designed for customers like you who want to know their remaining funds before making any purchases.
Wanted to check your Walmart gift card balance on eGifter to see how much money you have remaining on your gift card.
To check the balance of your Walmart gift card online, visit the Walmart gift card balance check page on their official website.
Replied 15 Jun 2024 22:19:30
15 Jun 2024 22:19:30 User ban replied:
To check your credit score on Credit Karma, first, sign up for a free account on their website Creditkarma or through their app.
Checking your credit score with Creditkarma is a simple process. By offering this service, Credit Karma empowers you to grasp your financial well-being and make strides toward enhancement. It's a hassle-free method to remain updated on your credit standing, all at no charge.
Replied 15 Jun 2024 22:22:21
15 Jun 2024 22:22:21 User ban replied:
Credit Karma is a platform that provides free credit scores, credit monitoring, and personalized financial recommendations to help users manage their finances.​ Go to the Credit karma website.
Credit Karma offers a convenient way to check your credit score for free. By signing up for a Credit karma account, you can access your credit score from TransUnion and Equifax, along with credit monitoring and personalized financial tips. It's a simple and helpful tool for keeping track of your credit health and understanding factors affecting your creditworthiness.
Replied 15 Jun 2024 22:24:06
15 Jun 2024 22:24:06 User ban replied:
Credit Karma provides free access to your credit scores from TransUnion and Equifax, updated regularly. This allows you to track your credit health without having to pay for it. go to their website Credit karma and click "Sign Up." Input your personal information, including your email, name, date of birth, and Social Security number.
Credit karma is a free online service offering credit scores, reports, and personalized financial recommendations. It helps users track their credit health and make informed financial decisions.
Replied 15 Jun 2024 22:29:29
15 Jun 2024 22:29:29 User ban replied:
Want to activate youtube using tv.youtube.com/start code? Call us anytime to get an instant solution.
Replied 15 Jun 2024 22:31:32
15 Jun 2024 22:31:32 User ban replied:
Open your web browser and go to the geek suppoort customer services website. You can usually find it by searching for geek squad contact number on your preferred search engine or by going directly to the Best Buy website and navigating to the Geek Squad section.
We provide assistance with a wide range of technical issues, including troubleshooting, device setup, repair services, and ongoing technical support. Whether it's fixing a computer glitch, installing a home theater system, or setting up a smart home device, geeksquadcontactnumber technicians are available to help customers both in-store and remotely.

Reply to this topic