VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: rezaei.m.p on April 29, 2020, 22:11:47 PM

Title: error after registration
Post by: rezaei.m.p on April 29, 2020, 22:11:47 PM
When I fill the registration form(for VirtueMart) and submit it, the site comes back an error:

TEXT_ERROR_JUSTICE
Undefined class constant 'TLS_IGNORE

It is possible to hint me how to solve this error?
thanks
best regard

Joomla version: Joomla! 3.9.5 Stable
VirtueMart Version:VirtueMart 3.6.10 10211
Title: Re: error after registration
Post by: GJC Web Design on April 29, 2020, 23:05:07 PM
there is a constant TLS_IGNORE used in the function register() of

administrator\components\com_virtuemart\models\user.php

$linkMode = $config->get('force_ssl', 0) == 2 ? Route::TLS_FORCE : Route::TLS_IGNORE;

more I don't know sorry - perhaps should be set in Joomla?
Title: Re: error after registration
Post by: jenkinhill on April 30, 2020, 11:15:27 AM
A couple of thoughts. Have you got Force HTTPS turned on in Joomla and/or VirtueMart - but no SSL on the server?

Or it could be your mail settings since submit will try to send an email to vendor & registrant if user setting require it.

Your Joomla is old - current version is  ‎3.9.18