Upload digital woocommerce product

This topic contains 12 reply and 3 voices, and was last updated by hpidriver 10 years, 7 months ago
Viewing 12 Posts - 1 through 12 (of 12 total)
Author Posts
August 6, 2013 at 5:25 pm 6687
hpidriver Could you let me know what the custom field is for setting the file path, download limit, and download expiry for a woocommerce digital item? Thank you
August 7, 2013 at 1:26 am 6694
Tareq Hasan Tareq Hasan

Download limit: _download_limit
Download Expiry: _download_expiry
File Path: _file_paths. _file_paths is not a simple field. It’s a serialized array, that puts the file path as value, and the hash of the file path as keys.

August 7, 2013 at 5:00 am 6702
hpidriver hpidriver

Thank you Tareq. Is it possible to use the file upload form element with the _file_paths meta key?

August 8, 2013 at 10:22 am 6732
hpidriver hpidriver This reply has been marked as private.
August 8, 2013 at 2:35 pm 6745
Mahi Mahi

what does it says on your error log?

August 8, 2013 at 3:02 pm 6754
hpidriver hpidriver

Here are the corresponding errors from the log:

PHP Warning:  ini_set() has been disabled for security reasons in /mysite/public_html/wp-includes/load.php on line 276
PHP Warning:  ini_set() has been disabled for security reasons in /mysite/public_html/wp-includes/load.php on line 275
PHP Warning:  ini_set() has been disabled for security reasons in /mysite/public_html/wp-includes/load.php on line 270
August 8, 2013 at 3:04 pm 6755
Mahi Mahi

i think your server doesn’t allow zip file type then. Check your allowed mime types with server administrator.

August 10, 2013 at 6:43 am 6790
hpidriver hpidriver

I will check with my server administrator about.

I tried resolving the issue with this tip – http://wordpress.org/support/topic/disabled-for-security-reasons
It removed the previous errors from occurring but now I get this, is it related?
PHP Warning: Illegal string offset 'total_users' in /home/mysite/public_html/wp-content/plugins/wp-user-frontend-pro/class/updates.php on line 264

August 18, 2013 at 6:13 am 7097
hpidriver hpidriver

My server host has allowed zip file upload, however I am still getting the same issue. Any other ideas? Thank you again

August 18, 2013 at 6:27 am 7098
Mahi Mahi

Check this tutorial: http://docs.wedevs.com/woocommerce-downloadable-product/

August 18, 2013 at 7:03 am 7101
hpidriver hpidriver

Thanks Mahi

August 18, 2013 at 8:40 am 7106
hpidriver hpidriver

I’m still having the same issue as before when uploading zip files

August 18, 2013 at 12:42 pm 7112
hpidriver hpidriver

Issue solved with server host. Thanks again for the help.

Viewing 12 Posts - 1 through 12 (of 12 total)