Code

Discussion on WooCommerce Upload Files

Discussion on WooCommerce Upload Files

Cart 7,577 sales
Recently Updated

vanquish supports this item

Supported

4908 comments found.

Hello, we require an additional domain to debug a woocommerce problem which is not related to the upload files plugin. Currently it says we have the plugin installed on webspaceconfig and cannatree.de but we own no istallation on webspaceconfig anymore.

Could you delete the registry for webspaceconfig.de please?

The new stagingdomain we are using is http://backup.cannatree.de.dedi1836.your-server.de

thank you

Hello,
please send me a private message (click on my name then use the low right box) sending your email and the purchase code in order to perform further verifications. Thank you.

Doesn’t work on mobile. just resets over and over again after upload. https://fpinsoles.com/product/concierge/

What do you mean for reset? Could you link a specific page where the issue could be experienced?

to be sure the issue is actually related to the plugin, please use the following clean installation: https://codecanyondemo.work/wcuf/ (user: demo, pass: demo) to recreate your scenario and report to me how to experience the issue. Thank you for your collaboration.

Hi absolutely fabulous plugin by the way. I am trying to update and it says I have to purchase support. Can you let me know what is happening Kind regards wayne

Hi Wayne,
thank you for your appreciation. To use the automatic updater and be able to update the plugin directly from the “Plugins” page, you need to have a valid support license active.

Renewing it supports my job and my family, contributing to keeping the development and the updates alive and I would greatly appreciate it.

As an alternative, you can manually download the latest available version on CodeCanyon via the Download area of your profile.

hello, after last update i have a purchace code and if i try to verify a plugin write me this : Purchase code is invalid! but a purchase code i have from txt file in download section.waht is this ?

Hi,
ensure you are using a fully HTML5 compliant browser like Chrome or Firefox and that during the activation process there are no 3rd party plugin interfering.

Hi.

We have selected “Attach files to the “New Order” email sent to the admin”.

Thus we need “Options -> Checkout – Files to order association method the When the order is placed option to be selected”.

However when the payment gateway fails (e.g. invalid credit card), we are taken back to the checkout page, but then the images are missing and “Upload %s for product %s has not been performed.” error is at the top of the checkout page.

Is there any way to fix or work around this or is this to be expected?

With kind regards

Hi,
I’m sorry, it is not possible. When the user clicks the “place order” button, WooCommerce creates the order, marking it as “pending” and then redirects the customer to the payment gateway.

If the user fails the payment, WooCommerce marks the order as canceled (you will find it in the order lists) creating a new cart containing the same data as the just canceled order.

When using that association method, the plugin copies the files into the canceled order because it is unaware of the payment result. There isn’t any reliable method to avoid that. Simply checking the order status is not enough (for example: every time the order switches to canceled) and there isn’t proper action to hook when the payment is performed (payment that could be performed much time later the order has been placed and files stored in the user session might be deleted in the meanwhile).

To avoid this, you need to switch the association method, but you would lose the option to have files attached to the “new order” email (that is sent before the customer lands on the thank you page, that is the time when files are associated with the order).

Hey, I am having trouble translating the new “Preview” button for the pdf flipbook.

Hi,
please update to the latest plugin version, I’ve forced the file translation update.

Once done, make sure you are using a proper Po editor. You should find the string to translate without problems: https://www.dropbox.com/scl/fi/a2f7o0635trs46kafl0s0/wcuf_translation_3.png?rlkey=r8jlpdkgeaf04f3ve5w193k0o&dl=0

we are trying to add a new filed and try to delete old field but it was not working. You can refer the below video link

https://screenrec.com/share/CogU4VmzZq

To ask for support you need to renew your support license.

I have WP6.5.5 and WC9.1.2.

I removed your module a couple months ago and get clean of error logs for testing. I will reinstall your Last Update 5 July 2024 module to see if it creates any error logs. I will let you know here.

Hello, I purchased the license in 2018, but it says it is active on other sites, but I only use it on this site. I don’t know if it was when I changed hosting and they doubled my license.

But I would like to know where I deactivate the licenses and leave only the .canecas24horas.com.br website active.

Hello,
The Envato usage license policy allows you to use the software in only one end product (website), not one end product at a time. This means that license cannot be migrated from one product to another.

Websites are uniquely identified by the associated domain. Once you register a domain that will become the end product for which you are licensed to use the software.

The plugin activation system, however, allows you to activate the license in two domains (the second one should be for testing purposes). In each domain, you can activate unlimited subdomains and subfolders.
If you consumed all these options, you need to buy another license in order to be compliant with the Envato usage policy.

Hi,

I have WooCommerce Upload Files installed – when installed, I am occasionally getting Wordpress errors stating “Your Site is Experiencing a Technical Issue.” I am running PHP 8.2, Wordpress 6.5.5. Plugins in use are Elementor Pro, Woocommerce, Payment Plugins for Stripe WooCommerce, Discount Rules Core, WP SMTP. The issue goes away when I disable the Upload Files plugin. Here is what is in the WP Debug log when the errors occurs:

[04-Jul-2024 20:01:23 UTC] PHP Warning: scandir(/sites/dccardprinting.com/files/wp-content/uploads/wcuf/tmp/): Failed to open directory: No such file or directory in /sites/dccardprinting.com/files/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_File.php on line 1315

[04-Jul-2024 20:01:23 UTC] PHP Warning: scandir(): (errno 2): No such file or directory in /sites/dccardprinting.com/files/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_File.php on line 1315

[04-Jul-2024 20:01:23 UTC] PHP Fatal error: Uncaught TypeError: array_search(): Argument #2 ($haystack) must be of type array, bool given in /sites/dccardprinting.com/files/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_File.php:1316

Stack trace:

0 /sites/dccardprinting.com/files/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_File.php(1316): array_search()

1 /sites/dccardprinting.com/files/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_Session.php(104): WCUF_File->delete_expired_sessions_files()

2 /sites/dccardprinting.com/files/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_Session.php(48): WCUF_Session->delete_expired_sessions()

3 /sites/dccardprinting.com/files/wp-includes/class-wp-hook.php(324): WCUF_Session->manage_session()

4 /sites/dccardprinting.com/files/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()

5 /sites/dccardprinting.com/files/wp-includes/plugin.php(517): WP_Hook->do_action()

6 /sites/dccardprinting.com/files/wp-settings.php(717): do_action()

7 /sites/dccardprinting.com/files/wp-config.php(106): require_once(’...’)

8 /sites/dccardprinting.com/files/wp-load.php(50): require_once(’...’)

9 /sites/dccardprinting.com/files/wp-admin/admin.php(34): require_once(’...’)

10 /sites/dccardprinting.com/files/wp-admin/index.php(10): require_once(’...’)

11 {main}

thrown in /sites/dccardprinting.com/files/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_File.php on line 1316

Any thoughts on what could be causing this? If this can’t be easily resolved I might want to just get a refund a try a different solution. Thanks!

Hi,
it seems that sometimes the temp directory (where files are stored) doesn’t existing.

Please update to the latest plugin version, it should avoid that warning.

Hi Vanquish and thanks for the great plugin

I have bought this for 3 of my websites and the setup went fine for the first two. I am struggling a bit with the latest one. Could you possibly provide some support on the following please,,,

1. On the product page I get the message “Please upload all the required file(s). Once done you will be able to add the product to cart.” despite the uploads being limited to one at a time. Pretty sure it’s my mess up in the settings but it doesn;t do this on the other sites which have the same setup.

2. How do I replace the upload symbol in the middle of the upload box? Can you provide the CSS class that controls this area for me please?

3. The admin / orders pages are not showing the thumbnails of the images that were uploaded with the order. Instead I get the browser’s “missing image icon”. Again, pretty sure this is me getting the settings wrong but could you point me in the right direction please?

I would love to send you screen shots of these but sadly this comments doesn’t allow it.

Thanks again

Geoff

Hi Geoff,
  1. If the settings are the same of the other server, it means that something is interfering. Could you try giving a look at the browser error console and see if any error is reported? Could you also try disabling the other plugins?
  2. That an SVG image that has the “wcuf_drag_and_drop_area_icon” class associated with it. The tag is defined in the checkout_cart_product_page_template.php (template used for the product, cart, and checkout pages) and the view_order_template.php (order details) templates. You can eventually modify them and insert them into the “wcuf/” folder inside your theme
  3. This happens only in the third installation? Try eventually to enable the WordPress debug mode and debug log ( https://wp-staging.com/docs/enable-wordpress-debug-log-mode/ ) and see if in the debug.log located in the wp-content folder are reported more clues

Hi Vanquish and thank you

1. Today I spotted my newest install of WCUF had an update pending so I did that and it magically fixed the problem. Perfect! 2. I will tackle this when I get time, sounds simple enough with your instructions. 3. This one was fixed by changing cloud Static Preview to yes. This wasn’t a setting available on my other installations and I don’t use a cloud service so it wasn’t obvious.

Which leads on to my new (and hopefully last) question. What’s the easiest way to update to the latest version if it’s not showing as an update is available in wp plugins? I now have 3 different versions with different settings available. Would be great to have them all running the same (latest version).

Thanks again Geoff

Glad to hear that!

The easiest way is to update via the Plugins area. If you are not receiving any notification, try to disable and renable any plugin, this will force WordPress to perform update check.

If that’s all, I would ask you to help me: If you enjoyed my efforts to assist you and/or my plugin please consider leaving the 5 stars…It would help me with sales, I would really appreciate it! :)
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate your purchases. You can also leave the rating through the plugin description page: https://www.dropbox.com/s/v6zaoe0p6cs4x2o/rating.png?dl=0 )

Have a great day!

We have made image uploads mandatory for purchasing products. The image uploads are working fine, allowing users to add items to their cart and proceed to checkout. However, the uploaded images are not appearing in the order details for the admin in WooCommerce orders.

Its saying : “Here you find the uploaded files grouped per upload field. Click the order Update button after one or more files has been deleted, rejected or approved in order to save changes. Customer hasn’t uploaded any file…yet.”

Even in the cart and checkout page the uploaded image preview is not showing despite enabling the plugin to show there.

I’m sorry, but if the demo is working and yours is not, most likely, it is due to a server issue that prevents the user session from being properly managed (so the references to the just uploaded files are not properly stored).

This however is a server issue that must be fixed by the server maintainer, I cannot provide assistance for that.

If you send me via private message (click on my name and then use the low-right box) the following data:
  1. your email address
  2. full admin access to the wp-admin area
  3. FTP access
  4. A detailed step by step guide on how to experience the issue

I can eventually perform some further tests to see IF I can provide some more additional info to eventually report to the server maintainer.

I have all the details, please check and do the needful.. Awaiting your reply..

Got it. On Monday I’ll perform some tests and I’ll let you know.

Hi, I’ve tried to update the plugin and it shows: An error occurred while updating WooCommerce Upload Files: The support license has expired on June 28, 2023, 8:00 pm, please renew it by clicking here to continue receiving automatic updates. Your contribution would support the development of the plugin and I would greatly appreciate it.

Do we need to renew the support to update the plugin to the latest version? This is new to me.

Hope you can clarify this, thanks!

Hi,
that’s the new automatic updater, if you wish to use that feature, you need to have a valid support license.

Latest plugin version, once approved, are also available on CodeCanyon and can be manually downloaded.

If we download and upload manually, will the current settings preserved?

yes, they are stored in the WordPress options database, and are maintained even if the plugin is deleted.

Hi,

I’ve got your woo upload plugin and have just updated it on one of my sites (already installed) but its saying this.,.

Max number of domains reached! You have to purchase a new license.

I have updated the plugin on a site the plugin was installed and only have this plugin installed on two sites.. how can I resolve this?

thanks

Hi,
please note that one of the two sites must be a staging site, not a production.

Unfortunately, I have no clue. You need to renew your support license and then send me via private message (click on my name and then use the low-right box) the following data:
  1. your email address
  2. full admin access to the wp-admin area
  3. FTP access
  4. purchase license code

I can perform some further tests to see to which sites the license is associated and if there was some issue with the domain detection system.

NOTE: all the requested points are mandatory, do not forget to report any of them.

Thank you for your collaboration.

Thanks for your reply but I am not looking for plugin support, more a licence reset please. I have sent you DM

HI, since a few days, i can’t upload any files from wcuf, however my settings have not changed. The upload message stay on my custom text “0% – save in progress, please wait …”. I use WP 5.5 and woocommerce 9.1. (server php8.2) An Idea ?

Hi,
I’m sorry, but without any further clues, it is quite hard to determine the cause. It sounds strange that without any change, the same code suddely stop working.

If you have performed any update, try to roll back to the last known configuration. Try also to enable the WordPress debug mode and debug log ( https://wp-staging.com/docs/enable-wordpress-debug-log-mode/ ). To do that insert the following lines in the wp-config.php you find on the root of your site:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
reperform the test and see if more clues are reported in the debug.log located in the wp-content folder.

Thank you.

Hi I found an issue on multisite version Some static langage dependent js files embed static url to first site (wcuf_ajaxurl var) because they are generated from generate_assets, so other sites failed with CORS

I think that

echo admin_url(‘admin-ajax.php’);

could be repalce with something like

echo str_replace(get_site_url(), ””, admin_url(‘admin-ajax.php’));

Hi,
to be sure about that, I need to perform some tests on your specific installation.

If you renew your license and send me via private message (click on my name and then use the low-right box) the following data:
  1. your email address
  2. full admin access to the wp-admin area
  3. FTP access
  4. a detailed step by step guide on how to experience the issue

I can perform some further tests

NOTE: all the requested points are mandatory, do not forget to report any of them.

Thank you for your collaboration.

Hey, sometimes the uploaded files are missing from the order.

We get the following PHP errors:

PHP Fatal error: Uncaught Error: Call to a member function get_cart() on null in /home/wp/disk/wordpress/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_Cart.php:151 Stack trace: #0 /home/wp/disk/wordpress/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_Session.php(95): WCUF_Cart->remove_item_from_cart() #1 /home/wp/disk/wordpress/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_Session.php(48): WCUF_Session->delete_expired_sessions() #2 /home/wp/disk/wordpress/wp-includes/class-wp-hook.php(324): WCUF_Session->manage_session() #3 /home/wp/disk/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/wp/disk/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/wp/disk/wordpress/wp-settings.php(718): do_action() #6 /home/wp/disk/wordpress/wp-config.php(62): require_once(’...’) #7 /home/wp/disk/wordpress/wp-load.php(50): require_once(’...’) #8 /home/wp/disk/wordpress/wp-cron.php(46): require_once(’...’) #9 {main} thrown in /home/wp/disk/wordpress/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_Cart.php on line 151

PHP Deprecated: Implicit conversion from float 14.166666666666666 to int loses precision in /home/wp/disk/wordpress/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_Globals.php on line 52

PHP Warning: fopen(/home/wp/disk/wordpress/wp-content/uploads/wcuf/27797/index.html): Failed to open stream: No such file or directory in /home/wp/disk/wordpress/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_File.php on line 318

PHP Warning: filesize(): stat failed for /home/wp/disk/wordpress/wp-content/uploads/wcuf/tmp/2611024.pdf in /home/wp/disk/wordpress/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_Media.php on line 499

readfile(/home/wp/disk/wordpress/wp-content/uploads/wcuf/tmp/2611024.pdf): Failed to open stream: No such file or directory in /home/wp/disk/wordpress/wp-content/plugins/woocommerce-upload-files/classes/com/WCUF_Media.php on line 515

Do you have any idea what we could do? The issue appears on PHP 8.1 and 8.2 – 8.3 is not available for us.

Hi, please update to the latest 79.8 version, it addresses that issue. You should get the notification on the Plugins page of your WordPress admin area.

Hi i have this problem. İ didnt solve it. İ uploaded a picture about problem https://ibb.co/hmTKPVh can you help

Hi,
I’m sorry but without any further clue, it is quite hard to determine the cause.

Try switching the preview method option you find in the options menu, from new to old.

For further support, you need to renew your support license. Once done, if you provide wp-admin and FTP access, I can login in your system and perform further analysis.

When i tested on a local installation, the uploads worked but when I put it on a live site, they didnt. Im not sure why. I tried dropbox, and google drive endpoints also. Uploads just dont work. Any advice here?

So, I see the problem is, the plugin is referencing the old “localhost” URL. I cannot find a database table to change this. I also remove the plugin and reinstall but it retains the old information. Is there a way to remove the plugin and all database references entirely, so that I can install it and get it to use the correct URL ?

well, now it says my purchase code is invalid because i uninstalled and reinstalled the plugin a few times on the same URL. I dont understand why everything has to be such a pain.it said i could re-activate it unlimited times on the same url. there goes several hours of my life and now I have to buy something else.

Hello,
The plugins doesn’t store any reference to the site URL on the database. Ensure you have not defined in you WordPress config.php some constants like WP_HOME that might alter the URL generation. Ensure also that there isn’t any caching level interfering.

It might happen that if you overflow of activation requests the Envato API, for security reasons, it will deny temporary the activation. This, however doesn’t depend on the plugin. Retry in a while and ensure to be using a fully HTML5 compliant browser like chrome or Firefox.

Hey – installed my purchase Woocommerce Upload Files

Looks good but files are not uploading or attaching to the email ?

Please help.

Con

Hi,
ensure that no other plugin is interfering and that the file size is not exceding the one that can be managed by the email services. For example, Gmail attachment size limit is 25 MB, while the Outlook attachment size limit is 20 MB.

Try also to enable the WordPress debug mode and debug log ( https://wp-staging.com/docs/enable-wordpress-debug-log-mode/ ). To do that insert the following lines in the wp-config.php you find on the root of your site:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
reperform the test and see if more clues are reported in the debug.log located in the wp-content folder.

Thank you

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey