VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: VlDrbal on December 31, 2019, 11:34:47 AM

Title: Ask a question about this product - form don't send email (with SSL)
Post by: VlDrbal on December 31, 2019, 11:34:47 AM
Hi,

after I enabled https on my website, ask question form on product don't send email. Before I enabled https, emails were leaving.

Browser console write : Mixed Content: The page at 'https://xxxx.xx/eshop/xxxxx/g8561035-detail' was loaded over HTTPS, but requested an insecure script 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'. This request has been blocked; the content must be served over HTTPS.

What and why call http://ajax.googleapis.com/ajax/... and not https://ajax.googleapis.com/ajax/...  ?

Test mail from Joomla worked. SSL certificat is valid. Enable SSL for sensitive areas (recommended) is checked.

Core Css Styles & Javascripts (only for experts)
Use Fancybox (Recommended)   - checked
Use the VirtueMart CSS      - checked
Use Joomla jQuery framework in FE      - checked
Use VirtueMart jQuery UI scripts      - checked
Use the product scripts      - checked
Use the script ajax Countries / Regions      - checked
Use jQuery chosen for dropdowns in FE      - checked
Use ajax for product content      - checked
Use external Google jQuery library (deprecated)      - unchecked


Thanks for your help

Vlada

Joomla!       3.9.14
VirtueMart   3.6.10 10211
PHP-Version 7.3.1
Title: Re: Ask a question about this product - form don't send email (with SSL)
Post by: jenkinhill on December 31, 2019, 12:46:27 PM
jQuery 1.4.2 is not used/called by VM 3.6.10  - you should look elsewhere, maybe your template or another extension.
Title: Re: Ask a question about this product - form don't send email (with SSL)
Post by: Studio 42 on December 31, 2019, 12:48:30 PM
Are you sure that http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js (http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js) is loaded by Virtuemart ?
This should only be the case if you check "Use external Google jQuery library (deprecated) "
If you checked this before, then perhaps you have to clear the Joomla cache.
If it's not solve the problem, then check your template and plugins(try to disable plugins and try protostar default Joomla template)
Title: Re: Ask a question about this product - form don't send email (with SSL)
Post by: VlDrbal on December 31, 2019, 13:24:09 PM
Thank jenkinhill for info about not used this version in VM and Studio 42 for you tips. I will try them.

Vlada