Support

Home Forums Event Espresso Premium Can't access messages templates tab, I get logged out

Can't access messages templates tab, I get logged out

Posted: August 6, 2018 at 6:16 am


duarte

August 6, 2018 at 6:16 am

Hi,

I bought the plugin, installed it in my website, but 1 or 2 days after the website went live I noticed 2 problems.

1 – In the back office, if I go to the section EE > Messages > Default Message Templates, after clicking on the last tab, I get logged out automatically and get redirected to a log in page!
I’ve done this many times without any problems. I even checked this section after the website went live, and everything was ok.
By the way, not sure if important but recently the website went from this:
web.example.com
to this
http://www.example.com

2 – While trying to figure this out, I noticed I hadn’t added the Support License Key yet, so I tried to and in return I get a blank page with only a link saying Nonce Fail, which redirects me to Youtube.

Now I’m completely lost.
What can cause the first error, and why can’t I add the license?

Thanks


Tony

  • Support Staff

August 6, 2018 at 7:33 am

Hi there,

In the back office, if I go to the section EE > Messages > Default Message Templates, after clicking on the last tab, I get logged out automatically and get redirected to a log in page!

Hmm, when this happens is the URL correct for the page?

By the way, not sure if important but recently the website went from this:
web.example.com
to this
http://www.example.com

How exactly was this change made?


duarte

August 6, 2018 at 8:15 am

The URL seems correct to me.
And the problem is much worse than I thought:
From my back office, I can only access the items that are directly in the EE sub menu.
As soon as I click in any tab, event, etc, that should take me to another page, I get logged out.

Regarding migration, I think it was an ordinary process. URLs and WP settings were changed, files moved inside the same server, and in the end everything was working fine.


duarte

August 6, 2018 at 9:33 am

Still regarding your question

Hmm, when this happens is the URL correct for the page?

The only thing that caught my attention was the lack of “www”.
The items in the EE submenu have www and these work, as well as every other link in the back office.
The ones that force the log out don’t.
Not sure if relevant, but that’s what I noticed regarding URLs


Josh

  • Support Staff

August 6, 2018 at 10:05 am

It sounds like you need to follow this guide:

https://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-keeps-logging-out-problem/


duarte

August 6, 2018 at 11:05 am

The WP and Site Address URLs were already defined in wp-config.php, and are both consistent, both have “www”.

On the other hand, almost all links inside the EE section don’t have it.
And I can confirm that’s the problem, because if I copy any EE link and add www to it, it works.

What can cause this?

The back office can’t really function like this


Josh

  • Support Staff

August 6, 2018 at 11:19 am

What can cause this is an incorrect site configuration. Did this break after the wp-config.php file was edited?


duarte

August 14, 2018 at 3:54 am

The wp-config.php was edited at least a few days before this error appeared


Tony

  • Support Staff

August 14, 2018 at 5:40 am

Is this site a part of a multi site network?

EE uses the wp core function admin_url() to build those links, that function uses get_site_url() to pull the url for the site direcly from your site options.

So either $url = get_option( 'siteurl' ); is returning the url without www, or something else on the site is hooking into the admin_url filter and removing the www from the URL.

If you go to Dashboard -> Settings -> General and just save the settings as is.

Then comment out the code used to define WP and Site Address URL from wp-config.php and refresh the Settings page, what happens to those URLs on the page?

The support post ‘Can't access messages templates tab, I get logged out’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 2 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!