Author Topic: error after registration  (Read 423 times)

rezaei.m.p

  • Beginner
  • *
  • Posts: 20
  • A beginner
error after registration
« 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

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9650
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: error after registration
« Reply #1 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?
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27730
  • Always on vacation
    • Jenkin Hill Internet
Re: error after registration
« Reply #2 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
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.8.0 10314 on Joomla 3.9.16 PHP 7.0.33