-
AuthorPosts
-
March 5, 2018 at 3:09 pm #921506
Hi there,
our customer just informed us, that some woocommerce products won’t load. Checking the apache error log shows a not very helpful entry: “Premature end of script headers: index.php”I could limit the error to the following factors:
1. The product is a variable product
2. The Advanced Layout Builder is in use
3. The Product Purchase Button seems to produce the errorThe site is running on WP 4.9.4, Woocommerce was at 3.2.5 and in search of a solution I have updated to 3.3.3. Enfold version is 4.2.5
I have duplicated one of the affected products and turned of the Advanced Layout Builder in one version and removed only the Product Purchase Button in another version:
Original: http://pfeil-verlag.de/publikationen/ichthyological-test-100/ (Crashes, Apache throws Internal Error 500)
No Avia: http://pfeil-verlag.de/publikationen/ichthyological-test-100-no-avia/ (Works)
No Button: http://pfeil-verlag.de/publikationen/ichthyological-test-100-no-button/ (Works)Did you encounter this anywhere else yet? Can you help or point me in the right direction?
March 6, 2018 at 6:11 am #922056Hey Michael,
Thank you for using Enfold.
I can’t reproduce the issue on my own installation. Please try to deactivate the plugin except for WooCommerce then check the page again.
Best regards,
IsmaelMarch 6, 2018 at 12:48 pm #922208Hi Ismael,
deactivating all plugins except for Woocommerce results in a very strange page. I’ll have to send you a screenshot, as the shop is live and can’t be offline for too long: https://cloud.deinhardt.com/index.php/s/zPJHrlIKduCJ4vO
So, the problem is less drastic, but it’s there. The same page, but without Button works fine, as before: https://cloud.deinhardt.com/index.php/s/tMuWCQlIb0t6DYdCheers,
MichaelMarch 7, 2018 at 8:19 pm #923280Hi,
Can you please go to the theme settings options, select unselect the minified and re-save.
Let us know if that will fix the problem.Best regards,
BasilisMarch 8, 2018 at 4:59 am #923538Hey!
Thank you for thte update. Please try the solution that we provided in the following thread.
// https://kriesi.at/support/topic/4-2-5-woocommerce-issue/#post-923535
Cheers!
IsmaelMarch 8, 2018 at 11:14 am #923741Hi Ismael,
perfect, it works. So this will go into the next update I assume?
@Basilis: There is no setting re minfying, or is there? Just interested…Thanks for your help.
Michael
March 8, 2018 at 2:50 pm #923905We got our hopes up too soon :(
The products are now shown as sold out instead of the variable prices, e.g. http://pfeil-verlag.de/publikationen/ichthyological-exploration-of-freshwaters-band-28-2017/
March 9, 2018 at 10:08 am #924362Hi,
One of the users reported the same problem with variable products. Please give us access to the Appearance > Editor panel so that we can debug the issue.
Best regards,
IsmaelMarch 9, 2018 at 10:13 am #924369Hi Ismael,
you have the login details in the first post.
Let me know, if I can help in any way.
Cheers,
MichaelMarch 10, 2018 at 10:13 pm #925040Hi,
Yes you have provided, but what Ismael is saying is that the Access does not allow us to edit the files at all.
For example, we cant access editor under Appearance -> Editor.Please add to wp-config.php the following:
define( 'DISALLOW_FILE_EDIT', true );
and let us know if editor is enabled so we can review.
Best regards,
BasilisMarch 12, 2018 at 10:44 am #925425Ah, now I undestand you. I’d prefer to give you real FTP access.
March 15, 2018 at 5:15 am #927017Hi,
Thank you for the info. Our developers fixed the issue and it’s going to be included in the upcoming patch. For now, please edit the enfold/config-templatebuilder/avia-shortcodes/product_snippet_button.php, remove everything and replace it with this code.
// https://pastebin.com/eKQ7RS08
Best regards,
IsmaelMarch 15, 2018 at 11:11 am #927205Hi Ismael,
yep, seems to work fine. Thank you very much for your help!
Cheers,
MichaelMarch 15, 2018 at 1:21 pm #927289Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)Best regards,
Vinay -
AuthorPosts
- The topic ‘Avia Editor & Product Purchase Button crash the page at variable products’ is closed to new replies.