Home › Forums › WooCommerce Personalized Product Options Manager (PPOM) › SLL crashes everytime a costumer is attaching his photo to the order
Tagged: Image Upload, SSL-Problem
- This topic has 10 replies, 3 voices, and was last updated 5 years, 5 months ago by Jane Brian.
-
AuthorPosts
-
September 27, 2017 at 7:19 am #7923JörgParticipant
Hi,
My Name is Karl . A couple of months ago I purchased the “N-Media WooCommerce Personalized Product Options Manager” Plug-In for WordPress and i am really pleased with it.
I am using it to give my costumers the possibility to send us their photo. We are designing personalized T-Shirts so it is essential. So here is the problem:I have secured my website with a SSL-Cerizificate, and everything works fine. Until the costumer is uploading his photo… After uploading it is claimed that the website is not secured anymore. (and the “little green lock” disappears…). And even the checkout page that must be secured isn´t. The “little green lock” returns after deleting the current order from the shopping basket.
So I hope you might be able to help me out with that, it is very important. We can not start selling with this kind of problem.If you couldn´t get me, please check out by yourself:
(The language is in german, but i don´t think it`s going to be a problem)
I hope you can help me,
Thank you very much- This topic was modified 7 years ago by Jörg.
September 28, 2017 at 5:44 am #7926nmediaKeymasterHi,
we have found the bug and fixed and new version (will be released soon) for now please make following changes.
in classes/plugin.class.php file search function get_file_dir_url() and replace entire function with following
function get_file_dir_url($thumbs = false) { $upload_dir = wp_upload_dir (); $return_url = ''; if ($thumbs) $return_url = $upload_dir ['baseurl'] . '/' . $this -> product_files . '/thumbs/'; else $return_url = $upload_dir ['baseurl'] . '/' . $this -> product_files . '/'; return set_url_scheme( $return_url ); }
September 29, 2017 at 1:12 pm #7931JörgParticipantThanks NMedia for the fast answer!
But actually i don´t have idea of coding. I tried it but i failed… 🙂
No problem, i will wait until the new version is released.Thanks
October 24, 2017 at 7:25 pm #8017JörgParticipantHi NMedia,
It`s me again. A friend of mine could replace the code that you have sended me. But now i am facing another problem… The “little green lock” is not disapearing after uploading an image which is great (Thanks for that). But instead an error-message appears (Error #-200: HTTP-Error) everytime i am trying to uploud an image.
Please take a look by yourself…
Hope you can help me with this.October 25, 2017 at 3:37 am #8018nmediaKeymasterHi,
Ok i see, you have some server side issue, may be images are not being generated (GD) or image library is not active. Please see error log and send me latest errors.
October 25, 2017 at 9:16 pm #8019JörgParticipantHey,
Here is what i got… hope that it helps you.
ThanksOct 25, 15:35:18
PHP Notice: Undefined index: min_length in /homepages/14/d671086506/htdocs/clickandbuilds/SkillVend/wp-content/plugins/nm-woocommerce-personalized-product/templates/render.input.php on line 268Oct 25, 15:35:30
PHP Fatal error: Uncaught Error: Call to undefined method NM_PersonalizedProduct::get_file_dir_path() in /homepages/14/d671086506/htdocs/clickandbuilds/SkillVend/wp-content/plugins/nm-woocommerce-personalized-product/classes/plugin.class.php:1502Stack trace:
#0 /homepages/14/d671086506/htdocs/clickandbuilds/SkillVend/wp-content/plugins/nm-woocommerce-personalized-product/classes/plugin.class.php(2043): NM_PersonalizedProduct->size_in_kb(‘testphoto_1.jpg’)
#1 /homepages/14/d671086506/htdocs/clickandbuilds/SkillVend/wp-content/plugins/nm-woocommerce-personalized-product/classes/plugin.class.php(1972): NM_PersonalizedProduct->uploaded_html(‘/homepages/14/d…’, ‘testphoto_1.jpg’, true, Array)
#2 /homepages/14/d671086506/htdocs/clickandbuilds/SkillVend/wp-includes/class-wp-hook.php(298): NM_PersonalizedProduct->upload_file(”)
#3 /homepages/14/d671086506/htdocs/clickandbuilds/SkillVend/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)
#4 /homepages/14/d671086506/htdocs/clickandbuilds/SkillVend/wp-includes/plu in /homepages/14/d671086506/htdocs/clickandbuilds/SkillVend/wp-content/plugins/nm-woocommerce-personalized-product/classes/plugin.class.php on line 1502October 26, 2017 at 3:47 am #8020nmediaKeymasterHi,
well it’s very strange a well defined function is missing from plugin main class … Somebody must change this script. You need to download stable plugin file from client portal and install again. It will not effect your existing settings.
October 26, 2017 at 8:29 pm #8023JörgParticipantHey N-Media,
I have tried everything, i have reinstalled the plug-in for a few times now, but nothing happens. The problem reamains…
What can i do now? Any Idea?Regards
October 28, 2017 at 7:11 am #8025nmediaKeymasterHi,
please site login detail to sales@najeebmedia to investigate this issue.
October 28, 2017 at 7:21 am #8026nmediaKeymasterWell I have released version 8.7 please download from member area, I hope it will fix this issue.
April 17, 2019 at 11:24 am #11320Jane BrianKeymasterHI
It has been a long while for this topic, so we are closing this. -
AuthorPosts
- The topic ‘SLL crashes everytime a costumer is attaching his photo to the order’ is closed to new replies.