Drupal - Keep getting logged out on front page only - drupal

Drupal 7.19
Acquia hosting
using Yottaa for optimization and monitoring
Problem: when trying to log in from home, we're experiencing something odd: we keep getting "logged out" ONLY on the front page. When you click anywhere inside the site, we get the admin toolbar and contextual links back. But we can't update the front page at all because it acts like it's logged out only for the front page.
This only happens when we're at home working on the site. This does not happen when we're in the work office.
Anyone experienced this? Don't know at what level is this occurring in...drupal, yottaa?

Found out the issue. It was a specific caching for the homepage on Yottaa's CDN. Once I turned this off, I was able to edit the home page again.
Note: They said that turning it off is not recommended. Instead, they recommend to flush the cache. Either way, found out what was causing the issue.

Related

Can't access the Wordpress dashboard when logged in

I migrated the company's website on a new hosting server. Since then, I cannot access my Wordpress dashboard when I'm logged in.
When connected, I see my website and the classic Wordpress top bar. But when I click on the button with the name of my website (usually that sends me to the dashboard) it just sends me back to the home page.
I add that the top bar isn't really like the classic top bar since it doesn't contain any option.
Here's a screenshot.
The top of my website when logged with the top bar of the admin wordpress
Clicking "Bonjour Signature_Beta" doesn't do anything. I can only log out.
Going to the /wp-admin page gives me an error saying "Sorry, you do not have authorization to reach this page". Except, I'm supposed to have authorization since my profile has a wp_content value of a:1:{s:13:"administrator";b:1;} and wp_user_level of 10.
I have tried multiple things I found online that didn't come to fruition sadly :
Renaming plugin's folder (nothing changes except page breaking because they're made with Elementor)
Renaming theme's and child theme's folder (page goes blank, top bar still there though)
Replaced .htaccess file (nothing)
Checking my account didn't lose admin privilege through phpmyadmin (it didn't, it's at level 10 + it has the weird administrator code
Added a new admin account through function.php (can log in with it, still can't access dashboard)
Increased memory limit
Repair database tables
Kind of desperate and frustrated about it.
Thank you in advance for the help :)
Ok with a fresh pair of eyes, I found out what was the problem. Tables prefix! I followed what was described here : After moving Wordpress, login works, but no admin access anymore
For the record, I never found it when googling or searching my answer here before posting. When posting my question I review the post stackoverflow suggested and it wasn't there either. But now it's suggested next to my post, so... great!

Experiencing a weird caching issues without any caching plugins

I have a site that I made updates to, however none of the changes show up when I log out. I can see all the changes on the pages when I am logged in, but I even went as far as to remove a link from the top menu and I still see the link when I log out.
It's almost like I'm seeing a different instance of WordPress when logged in, but I have no idea how that would happen. There's only one database so that can't be the case right?
The URL is https://CXForward.com
I tried removing the "Our Services" link from the top menu, and everything looks fine while I'm logged in, but as soon as I hit log out or view it from a different browser, the link is still there. I'm hosted on SiteGround. Has anybody experienced anything like this?
EDIT: I've found that I can upload a file that is visible in both the browser I'm logged in with as well as another browser that is not logged into the site: https://cxforward.com/wp-content/uploads/testing.txt
So it would appear that I am pointed to the same code base at the very least.
I figured it out. There's a SiteGround Optimizer plugin that apparently does caching for the site. It's bizarre. I deactivated the plugin, then reactivated it and all my changes appeared on the site when logged out. So weird.

Unwanted login popup when I access my website

So I got a login popup when I try to access my website. I may have done a mistake configuring my WP, but I don't know what could have been wrong here. Additionally, I'm using Divi as visual page builder.
I would like to remove it since everyone gets it when they try to access the website.
I'm using the latest version of WordPress, which is 5.7.2
Does any of you know how to remove this popup ?
Our customer had the same problem and it turned out that the popup was inserted via hosting provider because there was a maintenance on the page before which wasn't switched off. Maybe you could to ask your hoster if there is anything active.

Logged-in Users need to Refresh page to see content

Hi I'm having an issue with a site where visitors need to be members to access certain pages, but once logged in they go to these pages and still see the 'not logged in' page and need to refresh to view the actual content.
This obviously leads to a lot of bounces and I'd like to fix so that they see the content right away.
The root issue comes from some cache settings or something from the host - unfortunately we can't change host (and it's not a regular hosting company with a website but a design company reseller) for the time being. This issue does not occur in our offline environment of the same site.
I've already had to add a ?randomnumber to the stylesheet so it loads new versions properly. I was wondering if something like this would work - but dynamically as pages are being added all the time by different admins.
Or any other solutions also appreciated!
Thanks
Like you said, tweaking the caching settings would be the most ideal. But since that's not an option, I'd suggest adding a random, meaningless query string to the URL of the member pages so that it's seen as a 'new page' and (likely) won't cache.
So instead of /member-page
Direct them to /member-page?cache-buster=randomlyGeneratedStringHere

404 page showing phishing. how to fix it?

I am using wordpress and I needed a application which is made with codeigniter.
I was useing facebook sdk 4 to let my user login but after few day it got phishing by google chrome. Then I delete the application, now it's 404 page.... I request a review in google but no help.
my only one directory got effected by phishing where the application was located else everything is fine. I have talked with google forum but they are all idiots saying i have problem in my 404 page. if the problem in 404 page then my hole site would effected not one directory. I am using popup add from www.popads.net
I think popup is not the problem can i am useing popup in my full site....
http://www.ogx1.com/addme
this link will show 404 but if you add a / it will show phishing... i have no idea what is wrong
http://www.ogx1.com/addme/
guys need help if you can suggest me with any thing....
and can you tell me how many day google take to remove the flag??
thanks :)
It's very likely that the user activity in that page have caused it to be blocked. If users post links to pishing websites, your website will be blocked as well.
If your pages had comments or posts, use CodeIgniter's XSS Clean or any equivalent WP function to prevent malicious code/URLs from being posted by users/bots.
I'm not sure if google will ever unlock the page, so you should consider renaming the "addme" page.
Regards.

Resources