-
AuthorPosts
-
October 14, 2019 at 2:34 pm #35305
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
October 15, 2019 at 12:45 pm #35313Hi 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.
October 20, 2019 at 3:19 pm #35339Hi 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.4October 21, 2019 at 1:00 am #35341October 21, 2019 at 7:04 pm #35346My 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
October 21, 2019 at 9:30 pm #35347October 21, 2019 at 10:39 pm #35351I 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.
October 21, 2019 at 10:57 pm #35352October 22, 2019 at 11:16 pm #35355How 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?
October 23, 2019 at 2:41 am #35358October 23, 2019 at 7:23 pm #35365Ok, 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?
-
AuthorPosts
You must be logged in to reply to this topic.