Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #35305
    Profile photo of Greg
    Greg
    Participant

    Hi, I have set my download setting in WooCommerce Downloadable products to be available after payment (Grant access to downloadable products after payment).

    However when the order details after payment is displayed the link on the right when clicked on goes to a temp.com url and fails. Is this not possible with Symbiostock? Does the download have to first go through the Symbiostock Processor (cron job) first? So that means I can;t use the grant access to download products after payment?

    Thanks

    #35313
    Profile photo of Robin
    Robin
    Keymaster

    Hi Greg – yes, it absolutely has to run through the processor first. Images cannot be resized in real time for the customer else they would literally have to sit on the order complete page for 1-3 minutes, and it may crash during that time. This is one of the reasons Symbiostock is so robust in that it bridges that front end website environment with a backend server environment through the cron job.

    #35339
    Profile photo of info60
    info60
    Participant

    Hi Robin,

    In my case the download goes to temp.com when the customer clicks the link in the Completed Order email

    Any idea what could be wrong?.

    Using:
    Symbiostock Pro 5.0.4
    WooCommerce 3.4.4
    Wordpress 5.2.4

    #35341
    Profile photo of Robin
    Robin
    Keymaster

    Hi there – do you have the processor running every minute?

    #35346
    Profile photo of info60
    info60
    Participant

    My processor is running every 2 min, however it seems to fail. I need to run it manually through the WP backend.

    In debug mode I get a lot of warning and note here they are:

    Notice: variation_id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Download_Handler::download_product, do_action(‘woocommerce_download_product’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, ss_manage_file_download, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /mypath/wp-includes/functions.php on line 4667

    Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Download_Handler::download_product, do_action(‘woocommerce_download_product’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, ss_manage_file_download, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /mypath/wp-includes/functions.php on line 4667

    Warning: Cannot modify header information – headers already sent by (output started at /mypath/wp-includes/functions.php:4667) in /mypath/wp-content/plugins/symbiostock-pro/tools-manage-download.php on line 53

    Warning: Cannot modify header information – headers already sent by (output started at /mypath/wp-includes/functions.php:4667) in /mypath/wp-content/plugins/symbiostock-pro/tools-manage-download.php on line 54

    Warning: Cannot modify header information – headers already sent by (output started at /mypath/wp-includes/functions.php:4667) in /mypath/wp-content/plugins/symbiostock-pro/tools-manage-download.php on line 55

    Warning: Cannot modify header information – headers already sent by (output started at /mypath/wp-includes/functions.php:4667) in /mypath//wp-content/plugins/symbiostock-pro/tools-manage-download.php on line 56

    Warning: Cannot modify header information – headers already sent by (output started at /mypath/wp-includes/functions.php:4667) in /mypath/wp-content/plugins/symbiostock-pro/tools-manage-download.php on line 57

    #35347
    Profile photo of Robin
    Robin
    Keymaster

    Those warnings are not problems.

    However, if you do not have the processor running every minute via a cron job, Symbiostock will not operate correctly. There is no point attempting to debug any issues if this is not first resolved.

    #35351
    Profile photo of info60
    info60
    Participant

    I setup the processor cron on another server. turns out my server does not allow scheduling taks with frequency of 1 minute. I setup my scheduled task on a seperate OSX server with launchd and the processor seems to now generate the emails with download links.

    #35352
    Profile photo of Robin
    Robin
    Keymaster

    Perfect, thanks for sharing the resolution. 🙂

    #35355
    Profile photo of info60
    info60
    Participant

    How do we now resolve all the errors/warnings 😉

    From what I can tell they relate to the way $products->id is referred to. It should be $products->get_id(). Same applies to the variant. I found a dozen locations in the scripts where this is the case. Should be easy to update?

    #35358
    Profile photo of Robin
    Robin
    Keymaster

    Notifications and warnings that do not hinder the software is irrelevant. You should not have error reporting enabled on a live site anyways. Just disable it in your WordPress settings and you should be good to go.

    #35365
    Profile photo of info60
    info60
    Participant

    Ok, I guess the next version will have these resolved.

    I have another question bout the processor. When I run it with no orders pending or uploaded images to precess, then it takes about 20sec. If I am running it every minute, what will happen if the cron process starts to run over itself?

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

You must be logged in to reply to this topic.