VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Tryer on December 03, 2020, 10:29:45 AM

Title: Registration Email Error
Post by: Tryer on December 03, 2020, 10:29:45 AM
I am using Joomla 3.9.23, VM 3.8.6 and PHP 7.3.19.

When a new user registers an account the details are correctly entered into the database etc but the user sees the message"COM_VIRTUEMART_REG_COMPLETE_ACTIVATE_ADMIN" and no email verification message is sent to either the user or to admin. This is a recent occurrence seemingly related to Joomla or VM upgrades -the sytem worked well previously.

I have searched the forums and found a couple of related posts but nothing helps beyond the suggestion to check the language files. The file en_GB.com_virtuemart.ini contains the following entries:

COM_VIRTUEMART_REG_COMPLETE="<div class='componentheading'>Registration Complete!</div>"
COM_VIRTUEMART_REG_COMPLETE_ACTIVATE="<div class='componentheading'>Registration Completed!</div> <br />Your account has been created and an activation link has been sent to the e-mail address you entered. Note that you must activate the account by clicking on the activation link when you get the e-mail before you can login."

That is really as far as I have got. Please can anyone help?
Title: Re: Registration Email Error
Post by: GJC Web Design on December 03, 2020, 11:28:09 AM
COM_VIRTUEMART_REG_COMPLETE_ACTIVATE_ADMIN

would be when an activation email is sent to the admin to complete the registration

COM_VIRTUEMART_REG_COMPLETE_ACTIVATE_ADMIN="<div class='componentheading'>Registration Completed!</div> <br />Your account has been created and is awaiting approval by an administrator."

it is in my   administrator\components\com_virtuemart\language\en-GB\en-GB.com_virtuemart.ini  v3.8.6
Title: Re: Registration Email Error
Post by: Jörgen on December 03, 2020, 12:14:33 PM
Are you checking the admin language file and are your language files upp to date ? Are You using another language ?

Jörgen
Title: Re: Registration Email Error
Post by: Tryer on December 03, 2020, 12:30:15 PM
Thank you for the comments.

I am using the English language file which I assumed was up to date because VM is up to date. I am checking the file components/com_virtuemart/language/en-GB/en-GB.com_virtuemart.ini. This file is dated 22/11/2020.
Title: Re: Registration Email Error
Post by: Tryer on December 03, 2020, 12:33:35 PM
Sorry, I forgot to add that my original post contained an error. The user does receive the registration email (plus ann error message) but the admin authorisation email is not received. It seems the user is able to logi in to the new account by clicking on the link in the email although the account is still not authorised by admin.
Title: Re: Registration Email Error
Post by: Jörgen on December 03, 2020, 12:34:50 PM
Quote from: GJC Web Design on December 03, 2020, 11:28:09 AM
COM_VIRTUEMART_REG_COMPLETE_ACTIVATE_ADMIN

would be when an activation email is sent to the admin to complete the registration

COM_VIRTUEMART_REG_COMPLETE_ACTIVATE_ADMIN="<div class='componentheading'>Registration Completed!</div> <br />Your account has been created and is awaiting approval by an administrator."

it is in my   administrator\components\com_virtuemart\language\en-GB\en-GB.com_virtuemart.ini  v3.8.6

Try John' s suggestion and look in the right place.

Jörgen
Title: Re: Registration Email Error
Post by: Tryer on December 03, 2020, 12:48:36 PM
OK, thanks. I have check the file in admin and the relevant entries are below:

COM_VIRTUEMART_REG_COMPLETE="<div class='componentheading'>Registration Complete!</div>"
COM_VIRTUEMART_REG_COMPLETE_ACTIVATE="<div class='componentheading'>Registration Completed!</div> <br />Your account has been created and an activation link has been sent to the e-mail address you entered. Note that you must activate the account by clicking on the activation link when you get the e-mail before you can login."
COM_VIRTUEMART_REG_COMPLETE_ACTIVATE_ADMIN="<div class='componentheading'>Registration Completed!</div> <br />Your account has been created and is awaiting approval by an administrator."
COM_VIRTUEMART_REG_VENDOR_COMPLETE="<div class='componentheading'>Registration of vendor complete!</div>"
COM_VIRTUEMART_REG_VENDOR_COMPLETE_ACTIVATE="<div class='componentheading'>Registration of vendor Completed!</div> <br />Your account has been created and an activation link has been sent to the e-mail address you entered. Note that you must activate the account by clicking on the activation link when you get the e-mail before you can login."

This file is also dated 22/11/2020
Title: Re: Registration Email Error
Post by: Jörgen on December 03, 2020, 13:20:53 PM
I think I remember something about the browsers language is used instead of the english language. Could that be it ? What language does You customer use ?

Maybe tick use english as fallback language could help ?

Jörgen @ Kreativ Fotografi
Title: Re: Registration Email Error
Post by: Tryer on December 03, 2020, 14:47:02 PM
Thanks for the suggestion, but it does not seem to change anything.

One additional symptom of the problem is that when the user clicks on the verification link they receive an error message stating that the verification code was not recognised.
Title: Re: Registration Email Error
Post by: Tryer on December 03, 2020, 15:18:07 PM
One further factor is that even though new users receive a verification email that incorporates a verification code that is not accepted, the user still gets immediate access to the account (without even clicking on the email verification link).

I really don't see what is going on here.
Title: Re: Registration Email Error
Post by: GJC Web Design on December 03, 2020, 15:59:01 PM
QuoteOne further factor is that even though new users receive a verification email that incorporates a verification code that is not accepted, the user still gets immediate access to the account (without even clicking on the email verification link).

normal ...  verification isn't really supported in VM

why do u want to drive away your customers by having them jump thru multiple hoops b4 giving u their money?

If u really want to control who can buy from your shop I would use the Joomla registration and have the shop or at least the add to carts behind a login
Title: Re: Registration Email Error
Post by: Tryer on December 03, 2020, 16:10:22 PM
Thanks again for your reply. That is the arrangement I use - Joomla registration with the shop (actually part of it) behind a registered user login. It has worked for several years and thru various upgrades of Joomla and VM. Nothing has been changed as far as setup is concered to produce the current problem.

However, the error message I now get comes from VM as quoted in previous posts. Yes, I am confused and that's why i am seeking expert help.
Title: Re: Registration Email Error
Post by: GJC Web Design on December 03, 2020, 16:27:23 PM
have u disabled the redirect to VM in the snappily named plugin Plugins: VM Framework Loader during Plugin Updates
Title: Re: Registration Email Error
Post by: jenkinhill on December 03, 2020, 16:32:47 PM
An issue with Joomla registration has been described by a couple of other users.

I never use required registration (so have never tested it) but for me it has always been the case that the user is automatically registered as a shopper in VM despite the Joomla user settings so can continue to complete the sale. The last thing I want is for someone to have to wait for an email before being allowed to hand over their cash.

However, after completing the payment they can't log in again to the cart to make a new purchase if not enabled in Joomla.

And check the VM Framework Loader during Plugin Updates setting (GJC beat me to that!)
Title: Re: Registration Email Error
Post by: Tryer on December 03, 2020, 16:58:01 PM
No, I have not disabled the redirect. It is set as shown in GJC's image above.
Title: Re: Registration Email Error
Post by: GJC Web Design on December 03, 2020, 19:03:41 PM
you should try with it disabled
Title: Re: Registration Email Error
Post by: Tryer on December 04, 2020, 11:07:00 AM
The details shown in the error log at the time the "Create account" button is clicked are as follows:

mysite.co.uk [Fri Dec 04 09:17:57 2020] [error] [client 81.141.21.222:0] PHP Warning:  Invalid argument supplied for foreach() in /home/sites/mysite.co.uk/public_html/administrator/components/com_virtuemart/models/user.php on line 1524

Line 1524 of file user.php is highlighted by my added asterisks below:

if(vmAccess::manager('user.delete')){
         $_status = true;
         $superVendor = vmAccess::isSuperVendor();
         if(VmConfig::get('multixcart',0)=='byvendor' and $superVendor>1){

            $vm_vendor = $this->getTable('vendor_users');
            foreach($userIds as $userId) {
               if (!$vm_vendor->delete($userId)) {
                  vmError('remove user did not work for '.$userId);
               }
            }
         } else {
            $userInfo = $this->getTable('userinfos');
            $vm_shoppergroup_xref = $this->getTable('vmuser_shoppergroups');
            $vmusers = $this->getTable('vmusers');

            **********    foreach($userIds as $userId) {   **************

               $_JUser = JUser::getInstance($userId);

               if ($this->getSuperAdminCount() <= 1) {
                  // Prevent deletion of the only Super Admin
                  //$_u = JUser::getInstance($userId);
                  if ($_JUser->get('gid') == __SUPER_ADMIN_GID) {
                     vmError(vmText::_('COM_VIRTUEMART_USER_ERR_LASTSUPERADMIN'));
                     $_status = false;
                     continue;
                  }
               }

Please can anyone shed some light on this?
Title: Re: Registration Email Error
Post by: GJC Web Design on December 04, 2020, 11:44:05 AM
this has nothing to do with your post subject .. this is deleting users...

have u tried with redirection disabled?
Title: Re: Registration Email Error
Post by: Tryer on December 04, 2020, 11:48:42 AM
OK, I tried with the Redirect Joomla to Virtuemart Registration disabled. The result is that there are no longer any error messages and the account is correctly created. However, when the email verification link in the user's message is clicked, the status of the account is not changed. Admin emails are now sent correctly, but the authorisation link in the email does not alter the status of the account - ie login attepmts are blocked because the account has not been activated.
Title: Re: Registration Email Error
Post by: Tryer on December 04, 2020, 15:22:55 PM
Is there any point in re-installing an earlier version of VM to get a temporary solution to this?
Title: Re: Registration Email Error
Post by: GJC Web Design on December 04, 2020, 16:14:50 PM
You would be better off fully documenting step by step and screen shooting what happens so the team can have a starting point to debug this if there is a bug.

I can tell you that validation is rarely if ever used by any of the dev or testing team.

You can try re-installing a lower VM but I have no experience of this...   so I would do it on a clone site first

Title: Re: Registration Email Error
Post by: Tryer on December 04, 2020, 16:19:33 PM
Thanks for the advice. I need help with this so I can try to fully document/screenshot the problem, but would it be easier at both ends for someone good enough to help to have admin access?
Title: Re: Registration Email Error
Post by: Tryer on December 04, 2020, 21:12:17 PM
OK, here is a summary of the problem I am experiencing. The problem seems to have arisen from recent updates of either (or both) VM and Joomla as it was previously working well.

When new users attemps to create an account on the site they see the following message:
COM_VIRTUEMART_REG_COMPLETE_ACTIVATE_ADMIN (as seen in attached image 03.jpg.
The account is created but is immediately accessible to the user - the account is created "Enabled" but not "Activated"

An email incorporating a verification link is received by the user but when the link is clicked the following error message is displayed : "403 - Verification code not found. Check if your account is already activated and try to log in." Presumably this is because the new account is already enabled.

No email is received by either of the two superadmins, one of whom who would normally authorise the new account.

See image04.jpg for the User Options set on the site.

I tried with the Redirect Joomla to Virtuemart Registration disabled(in the plugin). The result was that there were no longer any error messages and the account was correctly created. However, when the email verification link in the user's message was clicked, the status of the account was not changed. Admin emails were now sent correctly, but the authorisation link in the email did not alter the status of the account - ie login attepmts were blocked because the account had not been activated.

I have also set Englisgh as a fallback language allthough this did not seem to make any difference.

The language file administrator\components\com_virtuemart\language\en-GB\en-GB.com_virtuemart.ini  v3.8.6 is up-to-date (dated 22/11/20)

The FPA output for the site follows in the next post (forum post wocharacter limit).:

Title: Re: Registration Email Error
Post by: Tryer on December 04, 2020, 21:14:09 PM
Here is the FPA output:

Quote from: Forum Post Assistant (v1.4.9 (lambrusco)) : 4th December 2020
Quote from: Problem Description :: [size=85]Create account operation fails [/size]
Quote from: Log/Error Message :: [size=85]Notice COM_VIRTUEMART_REG_COMPLETE_ACTIVATE_ADMIN[/size]
Quote from: Basic Environment ::[size=85]Joomla! Instance :: Joomla! 3.9.23-Stable (Amani) 24-November-2020
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Read-Only (444) | Owner:  --protected-- . (uid: 1/gid: 1) | Group:  --protected--  (gid: 1) | Valid For: 3.9
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: true | .htaccess/web.config: Yes | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite:  | Session lifetime: 120 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: 5 | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.9.23: Yes | Database Supports J! 3.9.23: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux |  OS Version: 2.6.32-754.29.1.el6.x86_64 | Technology: x86_64 | Web Server: Apache/2.4.41 (Unix) | Encoding: gzip, deflate | Doc Root: --protected-- | System TMP Writable: Yes |   Free Disk Space : 2410.44 GiB |

PHP Configuration :: Version: 7.3.19 | PHP API: cgi-fcgi | Session Path Writable: Yes | Display Errors:  | Error Reporting: 22519 | Log Errors To:  | Last Known Error:  | Register Globals:  | Magic Quotes:  | Safe Mode:  | Allow url fopen: 1 | Open Base:  | Uploads: 1 | Max. Upload Size: 64M | Max. POST Size: 64M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 128M

Database Configuration :: Version: 5.5.5-10.1.27-MariaDB (Client:mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $) | Host:  --protected-- (--protected--) | default Collation: utf8_general_ci (default Character Set: utf8) | Database Size: 31.25 MiB | #of Tables: 298[/size]
Quote from: Detailed Environment ::[size=85]PHP Extensions :: Core (7.3.19) | date (7.3.19) | libxml (7.3.19) | openssl (7.3.19) | pcre (7.3.19) | zlib (7.3.19) | filter (7.3.19) | hash (7.3.19) | pcntl (7.3.19) | readline (7.3.19) | Reflection (7.3.19) | SPL (7.3.19) | session (7.3.19) | standard (7.3.19) | cgi-fcgi () | bcmath (7.3.19) | bz2 (7.3.19) | calendar (7.3.19) | ctype (7.3.19) | curl (7.3.19) | dba (7.3.19) | dom (20031129) | enchant (7.3.19) | mbstring (7.3.19) | fileinfo (7.3.19) | ftp (7.3.19) | gd (7.3.19) | gettext (7.3.19) | gmp (7.3.19) | iconv (7.3.19) | imap (7.3.19) | intl (7.3.19) | json (1.7.0) | ldap (7.3.19) | exif (7.3.19) | mysqlnd (mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $) | odbc (7.3.19) | PDO (7.3.19) | pgsql (7.3.19) | Phar (7.3.19) | posix (7.3.19) | pspell (7.3.19) | recode (7.3.19) | shmop (7.3.19) | SimpleXML (7.3.19) | soap (7.3.19) | sockets (7.3.19) | sqlite3 (7.3.19) | sysvmsg (7.3.19) | sysvsem (7.3.19) | sysvshm (7.3.19) | tidy (7.3.19) | tokenizer (7.3.19) | xml (7.3.19) | xmlwriter (7.3.19) | xsl (7.3.19) | zip (1.15.4) | mysqli (7.3.19) | pdo_dblib (7.3.19) | pdo_mysql (7.3.19) | PDO_ODBC (7.3.19) | pdo_pgsql (7.3.19) | pdo_sqlite (7.3.19) | wddx (7.3.19) | xmlreader (7.3.19) | xmlrpc (7.3.19) | ionCube Loader () | Zend OPcache (7.3.19) | Zend Engine (3.3.19) |
Potential Missing Extensions ::

Switch User Environment (Experimental) :: PHP CGI: Yes | Server SU: Yes |  PHP SU: Yes |   Custom SU (LiteSpeed/Cloud/Grid): Yes
Potential Ownership Issues: No [/size]
Quote from: Folder Permissions ::[size=85]Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (755) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) |

Elevated Permissions (First 10) :: [/size]
Quote from: Database Information ::[size=85]Database statistics :: Uptime: 13465568 | Threads: 21 | Questions: 21226501533 | Slow queries: 0 | Opens: 2659907739 | Flush tables: 1 | Open tables: 511 | Queries per second avg: 1576.353 | [/size]
Quote from: Extensions Discovered ::[size=85]Components :: SITE ::
Core :: com_mailto (3.0.0)  1 | com_wrapper (3.0.0)  1 |
3rd Party::

Components :: ADMIN ::
Core :: com_actionlogs (3.9.0)  1 | com_admin (3.0.0)  1 | com_ajax (3.2.0)  1 | com_associations (3.7.0)  1 | com_banners (3.0.0)  1 | com_cache (3.0.0)  1 | com_categories (3.0.0)  1 | com_checkin (3.0.0)  1 | com_config (3.0.0)  1 | com_content (3.0.0)  1 | com_contenthistory (3.2.0)  1 | com_cpanel (3.0.0)  1 | com_fields (3.7.0)  1 | com_finder (3.0.0)  1 | com_installer (3.0.0)  1 | com_joomlaupdate (3.6.2)  1 | com_languages (3.0.0)  1 | com_login (3.0.0)  1 | com_media (3.0.0)  1 | com_menus (3.0.0)  1 | com_messages (3.0.0)  1 | com_modules (3.0.0)  1 | com_newsfeeds (3.0.0)  1 | com_plugins (3.0.0)  1 | com_postinstall (3.2.0)  1 | com_privacy (3.9.0)  1 | com_redirect (3.0.0)  1 | com_search (3.0.0)  1 | com_tags (3.1.0)  1 | com_templates (3.0.0)  1 | com_users (3.0.0)  1 | com_weblinks (3.7.0)  1 |
3rd Party:: com_advancedmodules (7.13.3)  1 | Akeeba (7.4.0.1)  1 | COM_ARTCALENDAR (3.2.4)  1 | COM_COALAWEBTRAFFIC (1.1.8)  1 | COM_FOXCONTACT (3.9.1)  1 | Freestyle FAQs: FAQs (1.10.0.1668)  1 | plg_finder_fsf_faq (1.11.9.1786)  0 | COM_FSF (1.12.0)  1 | Freestyle Testimonials: Testimonial (1.11.8.1718)  ? | COM_FST (1.14.0)  1 | plg_editors-xtd_imageeffectckbutton (1.2.4)  1 | Image Effect CK (2.2.5)  1 | com_imageeffectck (2.1.1)  1 | JoomGallery (3.3.4)  1 | COM_OSMAP (4.2.39)  1 | tcpdf (1.0.9)  1 | ECB Currency Converter (1.0)  ? | VIRTUEMART (-)  1 | VirtueMart_allinone (-)  1 | COM_JLSITEMAP (1.11.0)  1 | AcyMailing (5.10.16)  1 | COM_EVENTGALLERY (3.11.4)  1 | Cookies CK (2.1.4)  1 | com_cookiesck (2.1.5)  1 | COM_FWGALLERY (5.12.0)  1 |

Modules :: SITE ::
Core :: mod_articles_archive (3.0.0)  1 | mod_articles_categories (3.0.0)  1 | mod_articles_category (3.0.0)  1 | mod_articles_latest (3.0.0)  1 | mod_articles_news (3.0.0)  1 | mod_articles_popular (3.0.0)  1 | mod_banners (3.0.0)  1 | mod_breadcrumbs (3.0.0)  1 | mod_custom (3.0.0)  1 | mod_feed (3.0.0)  1 | mod_finder (3.0.0)  1 | mod_footer (3.0.0)  1 | mod_languages (3.5.0)  1 | mod_login (3.0.0)  1 | mod_menu (3.0.0)  1 | mod_random_image (3.0.0)  1 | mod_related_items (3.0.0)  1 | mod_search (3.0.0)  1 | mod_stats (3.0.0)  1 | mod_syndicate (3.0.0)  1 | mod_tags_popular (3.1.0)  1 | mod_tags_similar (3.1.0)  1 | mod_users_latest (3.0.0)  1 | mod_weblinks (3.7.0)  1 | mod_whosonline (3.0.0)  1 | mod_wrapper (3.0.0)  1 |
3rd Party:: Art Calendar Events Module (3.2.2)  1 | BM Articles Grid Slider (1.0.0)  1 | MOD_COALAWEBTRAFFIC (1.1.8)  1 | Cycle news display (3.7)  1 | EasyCookieInfo (1.1)  1 | EVO frontpage (5.0)  0 | EVO frontpage PRO (5.0)  1 | FancyButtons (1.1)  1 | MOD_FOXCONTACT (3.9.1)  1 | Freestyle FAQs: FAQ/KB category/pro (1.11.9.1786)  ? | Freestyle FAQs: FAQs (1.10.0.1668)  1 | Freestyle Testimonials: Testimonial (1.12.3)  ? | Hot Counters (3.6.4)  1 | Hot Maps (3.5.1)  ? | Hot Responsive Lightbox (3.7.0)  1 | Hot Slicebox (3.5.1)  1 | Hot Swipe Carousel (3.6.4)  1 | Img CandyVertical Menu (10.0)  1 | Vina Treeview for VirtueMart (1.2)  1 | mod_virtuemart_cart (3.8.6)  1 | mod_virtuemart_category (3.8.6)  1 | mod_virtuemart_currencies (3.8.6)  1 | mod_virtuemart_manufacturer (3.8.6)  1 | mod_virtuemart_product (3.8.6)  1 | mod_virtuemart_search (3.8.6)  1 | MOD_WEBSITE_POLICY (3.6.0)  1 | Page scroll buttons (1.3)  1 | AcyMailing 5 module (3.7.0)  ? | MOD_EVENTGALLERY_CART (3.11.4)  1 | MOD_EVENTGALLERY_EVENT (3.11.4)  1 | MOD_EVENTGALLERY_LATEST (3.11.4)  1 | MOD_EVENTGALLERY_EVENTS (3.11.4)  1 | MOD_EVENTGALLERY_CATEGORIES (3.11.4)  1 | MOD_EVENTGALLERY_CUSTOM (3.11.4)  1 | AcyMailing subscription form (6.9.2)  1 | PopUp Aholic (1.3.4)  1 | smaccorgrid (1.2)  1 |

Modules :: ADMIN ::
Core :: mod_custom (3.0.0)  1 | mod_feed (3.0.0)  1 | mod_latest (3.0.0)  1 | mod_latestactions (3.9.0)  1 | mod_logged (3.0.0)  1 | mod_login (3.0.0)  1 | mod_menu (3.0.0)  1 | mod_multilangstatus (3.0.0)  1 | mod_popular (3.0.0)  1 | mod_privacy_dashboard (3.9.0)  1 | mod_quickicon (3.0.0)  1 | mod_sampledata (3.8.0)  1 | mod_stats_admin (3.0.0)  1 | mod_status (3.0.0)  1 | mod_submenu (3.0.0)  1 | mod_title (3.0.0)  1 | mod_toolbar (3.0.0)  1 | mod_version (3.0.0)  1 |
3rd Party:: VirtueMart Administrator Menu (3.8.6)  ? |

Libraries ::
Core ::
3rd Party:: file_fof30 (3.6.2)  ? | Regular Labs Library (20.10.18795)  1 | Free Mono (-)  ? | Helvetica (-)  ? |

Plugins ::
Core :: PLG_ACTIONLOG_JOOMLA (3.9.0)  1 | plg_authentication_cookie (3.0.0)  1 | plg_authentication_gmail (3.0.0)  0 | plg_authentication_joomla (3.0.0)  1 | plg_authentication_ldap (3.0.0)  0 | plg_captcha_recaptcha (3.4.0)  1 | plg_captcha_recaptcha_invisible (3.8)  0 | plg_content_confirmconsent (3.9.0)  0 | plg_content_emailcloak (3.0.0)  1 | plg_content_fields (3.7.0)  1 | plg_content_finder (3.0.0)  0 | plg_content_geshi (2.5.0)  0 | plg_content_joomla (3.0.0)  1 | plg_content_loadmodule (3.0.0)  1 | plg_content_pagebreak (3.0.0)  1 | plg_content_pagenavigation (3.0.0)  1 | plg_content_vote (3.0.0)  1 | plg_editors-xtd_article (3.0.0)  1 | plg_editors-xtd_fields (3.7.0)  1 | plg_editors-xtd_image (3.0.0)  1 | plg_editors-xtd_menu (3.7.0)  1 | plg_editors-xtd_module (3.5.0)  1 | plg_editors-xtd_pagebreak (3.0.0)  1 | plg_editors-xtd_readmore (3.0.0)  1 | plg_editors-xtd_weblink (3.7.0)  0 | plg_extension_joomla (3.0.0)  1 | plg_fields_calendar (3.7.0)  1 | plg_fields_checkboxes (3.7.0)  1 | plg_fields_color (3.7.0)  1 | plg_fields_editor (3.7.0)  1 | plg_fields_imagelist (3.7.0)  1 | plg_fields_integer (3.7.0)  1 | plg_fields_list (3.7.0)  1 | plg_fields_media (3.7.0)  1 | plg_fields_radio (3.7.0)  1 | plg_fields_repeatable (3.9.0)  1 | plg_fields_sql (3.7.0)  1 | plg_fields_text (3.7.0)  1 | plg_fields_textarea (3.7.0)  1 | plg_fields_url (3.7.0)  1 | plg_fields_user (3.7.0)  1 | plg_fields_usergrouplist (3.7.0)  1 | plg_finder_categories (3.0.0)  1 | plg_finder_contacts (3.0.0)  1 | plg_finder_content (3.0.0)  1 | plg_finder_newsfeeds (3.0.0)  1 | plg_finder_tags (3.0.0)  1 | plg_finder_weblinks (3.7.0)  1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0)  1 | plg_installer_packageinstaller (3.6.0)  1 | PLG_INSTALLER_URLINSTALLER (3.6.0)  1 | plg_privacy_actionlogs (3.9.0)  1 | plg_privacy_consents (3.9.0)  1 | plg_privacy_content (3.9.0)  1 | plg_privacy_message (3.9.0)  1 | plg_privacy_user (3.9.0)  1 | plg_quickicon_extensionupdate (3.0.0)  1 | plg_quickicon_joomlaupdate (3.0.0)  1 | plg_quickicon_phpversioncheck (3.7.0)  1 | plg_quickicon_privacycheck (3.9.0)  1 | plg_search_categories (3.0.0)  1 | plg_search_contacts (3.0.0)  1 | plg_search_content (3.0.0)  1 | plg_search_newsfeeds (3.0.0)  1 | plg_search_tags (3.0.0)  0 | plg_search_weblinks (3.7.0)  1 | PLG_SYSTEM_ACTIONLOGS (3.9.0)  0 | plg_system_cache (3.0.0)  0 | plg_system_debug (3.0.0)  1 | plg_system_fields (3.7.0)  1 | plg_system_highlight (3.0.0)  1 | plg_system_languagecode (3.0.0)  0 | plg_system_languagefilter (3.0.0)  0 | plg_system_log (3.0.0)  1 | plg_system_logout (3.0.0)  1 | plg_system_logrotation (3.9.0)  1 | plg_system_p3p (3.0.0)  1 | plg_system_privacyconsent (3.9.0)  0 | plg_system_redirect (3.0.0)  1 | plg_system_remember (3.0.0)  0 | plg_system_sef (3.0.0)  1 | plg_system_sessiongc (3.8.6)  1 | plg_system_stats (3.5.0)  1 | plg_system_updatenotification (3.5.0)  1 | plg_system_weblinks (3.7.0)  0 | plg_twofactorauth_totp (3.2.0)  0 | plg_twofactorauth_yubikey (3.2.0)  0 | plg_user_contactcreator (3.0.0)  0 | plg_user_joomla (3.0.0)  1 | plg_user_profile (3.0.0)  1 | plg_user_terms (3.9.0)  0 |
3rd Party:: PLG_ACTIONLOG_AKEEBABACKUP (7.4.0.1)  0 | plg_actionlog_advancedmodules (7.13.3)  1 | AcyMailing : trigger Joomla Content (3.7.0)  ? | AcyMailing Manage text (1.0.0)  1 | AcyMailing Tag : Website links (3.7.0)  1 | AcyMailing : share on social networ (1.0.0)  ? | AcyMailing : Statistics Plugin (3.7.0)  0 | AcyMailing table of contents genera (1.0.0)  ? | AcyMailing Tag and filter : Communi (3.7.2)  ? | AcyMailing Tag and filter : Communi (3.7.2)  ? | AcyMailing Tag : content insertion (3.7.0)  1 | AcyMailing Tag : Subscriber informa (5.10.16)  ? | AcyMailing Tag : Manage the Subscri (5.10.16)  ? | AcyMailing Tag : Date / Time (5.10.16)  1 | AcyMailing Tag : Joomla User Inform (5.10.16)  ? | AcyMailing Template Class Replacer (5.10.16)  1 | plg_content_contentpassword (3.0.0)  0 | plg_content_foxcontact (3.9.1)  1 | Content - Freestyle FAQs Glossary (1.11.12)  0 | AllVideos (by JoomlaWorks) (6.1.0)  1 | AllVideos (by JoomlaWorks) (6.1.0)  1 | Content - Responsive Lightbox (2.7.5)  1 | Content - Retina Images (2.7.5)  1 | Simple Picture Slideshow (1.5.8)  1 | Content - XTypo (3.0.2)  1 | PLG_EVENTGALLERY_CONTENT (3.11.4)  1 | PLG_EVENTGALLERY_MULTILANGCONTENT (3.11.4)  1 | EVENTGALLERY_FIELDS_CATEGORY (3.11.4)  1 | Content - Simple Pop-Up (2.1)  0 | plg_editors_codemirror (5.56.0)  1 | plg_editors_tinymce (4.5.12)  1 | AcyMailing Editor (5.10.16)  1 | plg_editors-xtd_imageeffectckbutton (1.2.4)  1 | plg_editors-xtd_sourcerer (8.4.2)  1 | plg_editorsxtd_xtypo (1.0.2)  1 | PLG_EDITORS-XTD_EVENTGALLERY (3.11.4)  1 | PLG_EDITORS-XTD_EVENTGALLERYIMAGE (3.11.4)  1 | plg_finder_fsf_faq (1.11.9.1786)  0 | plg_finder_fsf_glossary (1.11.9.1786)  0 | PLG_EVENTGALLERY_FINDER (3.11.4)  0 | PLG_INSTALLER_EVENTGALLERY (3.11.4)  1 | PLG_INSTALLER_COOKIESPOLICYNOTIFICA (3.9.0)  ? | PLG_OSMAP_JOOMLA (4.2.39)  1 | plg_quickicon_akeebabackup (7.4.0.1)  1 | Search - Freestyle FAQs: FAQs (1.11.9.1786)  0 | Search - Freestyle FAQs: Glossary (1.11.9.1786)  0 | Search - VirtueMart (3.8.6)  ? | PLG_EVENTGALLERY_SEARCH (3.11.4)  0 | PLG_SYS_ADMINEXILE (3.16.3)  1 | plg_system_advancedmodules (7.13.3)  1 | PLG_SYSTEM_PICASAUPDATER (3.11.4)  1 | PLG_SYSTEM_AKEEBAUPDATECHECK (7.3.0)  0 | AMAZON (3.8.6)  ? | PLG_SYSTEM_BACKUPONUPDATE (7.4.0.1)  0 | PLG_CWGEARS (0.6.1)  1 | PLG_CWTRAFFICCLEAN (1.1.8)  1 | PLG_CWTRAFFICCOUNT (1.1.8)  1 | PLG_CWTRAFFICONLINE (1.1.8)  1 | Flexible - Virtuemart Zoom Effect (4.0)  1 | System - Button Go to Top (2.0.0)  1 | PLG_SYSTEM_GWEJSON (3.4.44)  1 | Image Effect CK (2.2.5)  1 | System - JHacker Watch Trial (2.2.1.0)  0 | System - JH Splash Screen (0.7.0)  0 | System - JU BlockIP (1.2)  0 | System - Marco's SQL Injection - LF (1.2.1)  ? | plg_system_ossystem (1.3.1)  1 | System - Easy Popup (1.8)  1 | plg_system_regularlabs (20.10.18795)  1 | plg_system_sourcerer (8.4.2)  1 | System - Sparky On Save (2.7.5)  1 | PLG_SYSTEM_VMLOADERPLUGINUPDATE (1.0.2)  ? | PLG_SYSTEM_JLSITEMAP_CRON (1.11.0)  1 | System - itcs Scroll2Top (1.3.1)  0 | plg_sys_topofthepage (3.1)  0 | AcyMailing : (auto)Subscribe during (5.10.16)  ? | PLG_SYSTEM_EVENTGALLERY_CAPABILITIE (3.11.4)  ? | AcyMailing - Joomla integration (6.9.2)  1 | AcyMailing - JCE integration (6.9.2)  1 | AcyMailing JCE integration (5.10.16)  1 | Cookies CK (2.1.4)  1 | VM - Calculation Avalara Tax (3.8.6)  ? | plgvm_specification (3.8.6)  ? | VMCustom - textinput (3.8.6)  ? | VM - Custom, Virtuemart Simple Down (${PHING.VERSI)  ? | NameYourPrice VMCustom field for Vi (1.2.5)  ? | VM Payment - eway (3.8.6)  ? | AMAZON (3.8.6)  ? | Authorize.net AIM (3.8.6)  ? | Heidelpay (16.11.07)  ? | Klarna (3.8.6)  ? | Klarna Checkout (3.8.6)  ? | VM Payment - klikandpay (3.8.6)  ? | VM Payment - Paybox (3.8.6)  0 | PayPal (3.8.6)  ? | realex_hpp_api (3.8.6)  ? | Skrill (3.8.6)  ? | Sofort (3.8.6)  ? | Sofort Ideal (3.8.6)  ? | Standard (3.8.6)  ? | 2Checkout (3.8.6)  ? | By weight, ZIP and countries (3.8.6)  ? | Realex_hpp_api (3.8.6)  ? | PLG_JLSITEMAP_CONTENT (1.11.0)  1 | PLG_JLSITEMAP_K2 (1.11.0)  0 | PLG_JLSITEMAP_KUNENA (1.11.0)  0 | PLG_JLSITEMAP_TAGS (1.11.0)  0 | PLG_JLSITEMAP_VIRTUEMART (1.11.0)  1 | PLG_EVENTGALLERY_SUR_STANDARD (3.11.4)  0 | PLG_EVENTGALLERY_PAY_STANDARD (3.11.4)  0 | PLG_EVENTGALLERY_PAY_PAYPAL (3.11.4)  0 | PLG_EVENTGALLERY_PAY_PAYPALBASIC (3.11.4)  1 | PLG_EVENTGALLERY_PAY_BRAINTREE (3.11.4)  0 | PLG_EVENTGALLERY_PAY_STRIPE (3.11.4)  0 | PLG_EVENTGALLERY_SHIP_STANDARD (3.11.4)  0 | PLG_EVENTGALLERY_SHIP_EMAIL (3.11.4)  0 | PLG_EVENTGALLERY_SHIP_DOWNLOAD (3.11.4)  1 | FW_GALLERY_VIDEO (1.5.0)  1 | [/size]
Quote from: Templates Discovered ::[size=85]Templates :: SITE :: beez3 (3.1.0)  1 | protostar (1.0)  1 | sparky_framework (2.7.9)  1 | vmbeez3 (3.2.0)  1 |
Templates :: ADMIN :: hathor (3.0.0)  1 | isis (1.0)  1 | [/size]
Title: Re: Registration Email Error
Post by: diri on December 05, 2020, 09:03:56 AM
Quote from: Tryer on December 04, 2020, 21:12:17 PM
When new users attemps to create an account on the site they see the following message:
COM_VIRTUEMART_REG_COMPLETE_ACTIVATE_ADMIN (as seen in attached image 03.jpg.
The account is created but is immediately accessible to the user - the account is created "Enabled" but not "Activated"
Did you ever check configuration settings in Joomla related to registration and activation?
Title: Re: Registration Email Error
Post by: Tryer on December 05, 2020, 11:02:44 AM
Thanks for your reply.

Yes, I have checked them all I think. Anyway, they have not been changed for a couple of years to bring about recent problems.
Title: Re: Registration Email Error
Post by: Tryer on December 07, 2020, 20:26:18 PM
Does anyone have any more thoughts about this issue?
Title: Re: Registration Email Error
Post by: GJC Web Design on December 08, 2020, 12:13:28 PM
It would seem to be a bug and will need to be addressed by the dev team when they have time.
But as I have mentioned the use of verified logins are as rare as hen's teeth in my experience .. I have never been asked to use it on an ecommerce site.
If the site is private normally users simply apply to join or are invited and mods approve them .. I really don't see what verifying adds to this?

So I assume working on this problem will not be a top priority for the dev team atm.
Title: Re: Registration Email Error
Post by: Tryer on December 08, 2020, 12:56:17 PM
Thanks for the feedback. I understand you comments re verification but I am the webmaster rather than the site owner. The site/business owner regards the verification process as essential and I cannot really argue with the requirement.

Incidentally, I have just tried this on a completely different site using a different template etc, but with the same versions of VM and Joomla, and the same error occurs in the same circumstances.
Title: Re: Registration Email Error
Post by: GJC Web Design on December 08, 2020, 13:36:33 PM
what if u go back to VM3.8.4 till its fixed?
Title: Re: Registration Email Error
Post by: Tryer on December 08, 2020, 17:11:18 PM
Not sure - can I just reload the older version without database problems or losing data?
Title: Re: Registration Email Error
Post by: GJC Web Design on December 08, 2020, 20:25:48 PM
I would try on a clone first ...  all files are always replaced during updating but of course any DB changes are not reverted...

It is whether there are any DB changes and if so do they break the site is the question
Title: Re: Registration Email Error
Post by: Tryer on December 08, 2020, 20:53:38 PM
Thanks for the advice. I'll try on a clone and see what happens!
Title: Re: Registration Email Error
Post by: Tryer on December 08, 2020, 21:17:00 PM
OK, I re-installed VM3.8.4 on a clone and the site seems to be working - ie nothing seems to be broken. However, the registration error ("COM_VIRTUEMART_REG_COMPLETE_ACTIVATE_ADMIN") is still displayed to the new user. The account is now correctly created in that it is neither enabled nor activated - ie the user has no access. The user email is sent correctly and, when clicked, the account returns a message that the new account email has been verified and awaits admin approval. The admin email is correctly received and when the link is clicked the account is correctly enabled and activated.

In other words, everything works properly apart from the fact that the error message ("COM_VIRTUEMART_REG_COMPLETE_ACTIVATE_ADMIN") is still seen by the new user.

Any thoughts appreciated.
Title: Re: Registration Email Error
Post by: jenkinhill on December 09, 2020, 15:57:50 PM
This is the language string you may be missing

/administrator/components/com_virtuemart/language/en-GB/en-GB.com_virtuemart.ini

COM_VIRTUEMART_REG_COMPLETE_ACTIVATE_ADMIN="<div class='componentheading'>Registration Completed!</div> <br />Your account has been created and is awaiting approval by an administrator."

If you don't have it then create an override.
Title: Re: Registration Email Error
Post by: Tryer on December 09, 2020, 16:31:58 PM
Thanks again for the reply. The mystery is that I do have ithis string - it precisely as you state in your post but the quoted error (COM_VIRTUEMART_REG_COMPLETE_ACTIVATE_ADMIN) is still displayed when a new account is created.

I appreciate the time you have given to this.
Title: Re: Registration Email Error
Post by: Jörgen on December 09, 2020, 17:10:01 PM
Make override in VM back end tick use also in front end.
Jörgen
Title: Re: Registration Email Error
Post by: Tryer on December 10, 2020, 18:14:41 PM
I'm sure this is good advice but please could you explain a bit more what I should do?
Title: Re: Registration Email Error
Post by: GJC Web Design on December 10, 2020, 22:55:12 PM
img
Title: Re: Registration Email Error
Post by: Tryer on December 11, 2020, 21:13:08 PM
Sorry to labour this but something is still wrong. When I try to create the override, searching for value "Registration Completed!</div> <br />Your account has been created and is awaiting approval by an administrator." or the constant "COM_VIRTUEMART_REG_COMPLETE_ACTIVATE_ADMIN" produces "No matching texts found". Any other constant IS found. Am I going mad? - please don't answer that bit!
Title: Re: Registration Email Error
Post by: GJC Web Design on December 11, 2020, 22:41:32 PM
just make an over ride anyway for COM_VIRTUEMART_REG_COMPLETE_ACTIVATE_ADMIN whether the search finds it or not

Title: Re: Registration Email Error
Post by: Tryer on December 12, 2020, 10:43:54 AM
OK, the site is now working well again thanks to the received advice. Thank you so much to all who contributed to this - I could not have sorted it out on my own. I am very grateful.
Title: Re: Registration Email Error
Post by: GJC Web Design on January 07, 2021, 20:00:14 PM
to fix non verification in VM3.6.6 see

http://forum.virtuemart.net/index.php?topic=146092.msg519513#msg519513