Can't access site's PRO editor

Hello,

We recently migrated one of our clients site from one server to another. literally cloning everything to the same domains just on different servers and for some reason everything works on the front-end but i can’t edit anything or access anything at all either.

I changed the license to a staging one, thinking that could’ve changed something (i’m still waiting for the original license to be transferred over from the client’s account so in the meantime we’re using one of our own)

Could you give me a hand figuring out what could it be? i think the problem started once i updated from 2.5.5 to the most recent version 3.0.4

it’s not the child theme either and i disabled all caches and plugins on the server and on the site (flushing them first).

EDIT:

Upon debugging i found out this: http://prntscr.com/psa9ht

it seems the problem is an authentication problem but how on earth would i be able to even access the editor page if i wasn’t a valid user? i am correctly logged in and i deleted all the caches (server caches and plugins)

EDIT 2:
I have recreated the WP Salts, recreated the .htaccess and that didn’t change either.

Just to be more precise, i’m using plesk and i have deactivated NGINX caching (we are not using apache), i have also deactivated OPCACHE, which was our initial suspect, yet the problem is still there.

EDIT 3:
I just got this in the server log:

Error 95.252.240.6 18273#0: *539031 open() “/var/www/vhosts/theiop.org/httpdocs/cornerstone-endpoint” failed (2: No such file or directory)

so it seems it’s something with the endpoint. any thoughts?

The problem was the PHP version. i don’t know why but it doesn’t work on 7.3, do you happen to know if it’s not yet compatible with one of the 7.3 version?
the one i had was 7.3.11

Ok, the problem appeared again on another site. i know it’s a server issue, but can you tell me what are the minimum requirements or the most likely cause why this issue would happen? i see that there are a few threads about it, sometimes it’s solved by it’s own, sometimes it’s solved by doing something else.

I can see in the logs a 404 error on the cornerstone endpoints which might be but i don’t really know why or what would trigger such an error.

Problem solved.

For future readers:

The problem was NOT PHP.

The problem was regarding APACHE and NGINX (i have a reverse proxy setup). This issue will happen when FPM is coming from NGINX but the site is using Apache and viceversa.

This is very common in PLESK installations, and you might be using a white label one (this wasn’t my case, though). so if this is your case, you just have to make sure to set the reverse proxy option if you want to use apache and nginx.

Otherwise make sure you have fpm passing through nginx and then make sure you correctly configure the .conf file.

Hey Alejandro,

Thank you for sharing the solution with us and we’re glad you’ve sorted it out.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.