Forum Replies Created
-
AuthorPosts
-
Serge
ParticipantHi Mbr,
I think I’ll leave the whole code out. Caching pages are causing other issues. I’ll update this post if I do something.thanks,
SergeSerge
ParticipantHi MBR,
I found the issue. Your initial clue helped me. It was the expire from htaccess. I removed the following and it started working well again:
ExpiresActive On
ExpiresByType image/jpg “access 1 year”
ExpiresByType image/jpeg “access 1 year”
ExpiresByType image/gif “access 1 year”
ExpiresByType image/png “access 1 year”
ExpiresByType text/css “access 1 month”
ExpiresByType application/pdf “access 1 month”
ExpiresByType application/x-javascript “access 1 month”
ExpiresByType application/javascript “access 1 month”
ExpiresByType application/x-shockwave-flash “access 1 month”
ExpiresByType image/x-icon “access 1 year”
ExpiresDefault “access 2 days”Maybe you can point me to which of these line I could keep to save on bandwidth.
thanks,
SergeSerge
ParticipantDeactivating plugins did not make any change. I did not deactivate woocommerce because it was there early and the issue is relatively recent. Is there a trace or a way to find out what is the issue? Is there another way more sure to log out by link?
What is the file that does the log out? I would have a look.thanks,
SergeSerge
ParticipantHi mbr,
no error is displayed. It just goes back or stays in the login page. I see a console error but may not be the cause:
JQMIGRATE: Migrate is installed, version 3.4.0
(index):236 Uncaught TypeError: Cannot set properties of null (setting ‘oninput’)
at (index):236:83
(anonymous) @ (index):236
content.bundle.js:1 observingNo cache plugin but have cache in htaccess because the website was causing errors at the server:
ExpiresByType application/x-javascript “access 1 month”
ExpiresByType application/javascript “access 1 month”thanks,
SergeSerge
ParticipantHi,
no loss of members today. It is possible that incidents occurring previously caused the loss of members if the database was reinstated. I’ll keep it posted here if I get a loss of members without noticeable incident.
Now that I know how to use SQL, I find it better than the bulk import plugin.
thanks,
SergeSerge
ParticipantHi Admin,
I did reinstall the plugin and it did work properly again. I checked my edits and found out that the order of replaceable tags was the issue. I would like to use the tag {member_number} in emails. Wouldn’t it possible now?
Here are the replaceable tags in class.swpm-utils-misc.php :
//Define the replacable tags
$tags = array(
‘{member_id}’,
‘{user_name}’,
‘{first_name}’,
‘{last_name}’,
‘{membership_level}’,
‘{membership_level_name}’,
‘{account_state}’,
‘{email}’,
‘{phone}’,
‘{member_since}’,
‘{subscription_starts}’,
‘{company_name}’,
‘{password}’,
‘{login_link}’,
‘{reg_link}’,
‘{primary_address}’,
‘{extra_info}’,
‘{notes}’,
‘{member_number}’,
);thanks,
SergeSerge
ParticipantHi mbr,
actually I only changed the joinus url and I did update the url in the settings.Note that the registration process still works fine. The only issue id the reg_link not in the email.
I changed a few files to add the field member_number. For example this one that refers to reg_link: class.swpm-utils-misc.php
But all I did was add in line 325:
‘{member_number}’,
and in line 348:
$user_record->member_number,
There are a few other files I edited but nothing more than add this field.
What would help to know is which files inserts reg_link in the email. Btw, reg_link is showing in the page and it can be created with the tool (see tool tab)thanks,
SergeSerge
ParticipantHi there,
maybe another clue. I did a test registration and the confirmation email is missing the email but, again, has the correct username. See:
A new member has completed the registration.Username: Sergetestmember
Email:Please login to the admin dashboard to view details of this user.
Thank You
===========
If I could be pointed to the php file involved in picking the data for email, I could probably find out the bug.thanks,
SergeSerge
Participantmbr: no, form builder addon is not added.
admin: I have changed the registration page for one of mine. The url is different. I did edit the code in the plugin (just to display two more fields) but I want to keep my edits. Instead of reinstalling, I would rather find the source of the issue. Is there a trace I could add in code to find out where the plugin lost it’s track that I could see in debug?thanks,
SergeSerge
ParticipantI forgot to mention that first name and last name were showing up normally.
Serge
ParticipantHi mbr,
this is it:
Dear {first_name} {last_name}Thank you for joining us!
Please complete your registration by visiting the following link:
{reg_link}Thank You
{reg_link} is there. I can look in the php files and edit them but can’t find where the issue could be.
thanks,
Serge -
AuthorPosts