Home Forums Plugin Support WP User Frontend Pro Upload digital woocommerce product

This topic is: resolved

This topic contains 12 replies, has 3 voices, and was last updated by  hpidriver 5 years, 10 months ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #6687

    hpidriver
    Participant
    Post count: 15

    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

    #6694

    Tareq Hasan
    Keymaster
    Post count: 2831

    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.

    #6702

    hpidriver
    Participant
    Post count: 15

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

    #6732

    hpidriver
    Participant
    Post count: 15
    This reply has been marked as private.
    #6745

    Mahi
    Member
    Post count: 1555

    what does it says on your error log?

    #6754

    hpidriver
    Participant
    Post count: 15

    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
    #6755

    Mahi
    Member
    Post count: 1555

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

    #6790

    hpidriver
    Participant
    Post count: 15

    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

    #7097

    hpidriver
    Participant
    Post count: 15

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

    #7098

    Mahi
    Member
    Post count: 1555
    #7101

    hpidriver
    Participant
    Post count: 15

    Thanks Mahi

    #7106

    hpidriver
    Participant
    Post count: 15

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

    #7112

    hpidriver
    Participant
    Post count: 15

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

Viewing 13 posts - 1 through 13 (of 13 total)

The topic ‘Upload digital woocommerce product’ is closed to new replies.