News:

Support the VirtueMart project and become a member

Main Menu

"cart" page not working on https

Started by mauriziomomix, October 19, 2016, 23:35:02 PM

Previous topic - Next topic

mauriziomomix

Hi all,
I just loaded my forthcoming webshop on the live secured domain.

This is the website environment:
Joomla! version: 3.6.2 Stable [ Noether ] 4-August-2016 23:41 GMT
Database version: 5.5.5-10.1.17-MariaDB
PHP version: 5.6.23
VirtueMart: 3.0.14
Live Address: https://www.maklik.it

When the website was on test domain (http) everythink was working correctly, purchase process included, but once transferred on live domain, the Cart page, and ONLY the cart page, has stopped working after the 4th step (the final one), resulting in a blank page.

In the Global Configuration I have set "Force SSL" to Yes for both Administration and front side.
The same I did in the VM Control Panel for SSL.

I saw several thread regarding this type of problem but it seems none of them is about VM3.x release

Can please someone help me fix the problem?

Many thanks in advance

Maurizio

Studio 42

It seems that you have some server problems in the mime encoding.
All is returned as HTML and javascript and CSS fiels are not always loaded properly.

mauriziomomix

Hi, thanks for replying me.
So, is probably due to the Hosting configuration?

I really don't know what to tell them. Can you please give some more details?

Thanks in advance
Maurizio

AH

Assuming that you want everything to be https :-)

Tell them to serve everything as https

They should be able to configure this for you in your domain config file for port 80 (http)

A very (incomplete) example - here


<VirtualHost *:80>
    ServerAdmin youradmin@yourdomain
    ServerName your site domain

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}


Regards
A

Joomla 3.10.11
php 8.0

Studio 42

I have do a full cart, to check, You have an error 500, this mean an internal PHP Error.
Change the PHP debug level in the Joomla config, so you can display the error or check in your php error log, the problem.

AH

Regarding HTTPS

I also would not rely on the joomla/vm settings for https.

Ensure that you force https using server level settings - that way you do not need to adjust anything in the configurations of Vm or Joomla.

This will also prevent any accidental fallback to https.
Regards
A

Joomla 3.10.11
php 8.0

mauriziomomix

Hi all,
the problem has been solved. By my side I just updated the Virtuemart release (to the 3.0.18) and the cart complete the purchase process correctly.

The Hosting Provider has also done some checks on the domain configuration, so I don't know if the solution is due to the VM update or to the domain settings.

I have to gratefully thank Studio 42 and AH for their precious reply.

Best regards
Maurizio



AH

mauriziomomix

Thanks for the update - glad you were able to resolve your issue  :)
Regards
A

Joomla 3.10.11
php 8.0