My local dev environment consists of MAMP, Chrome and Firefox. In certain places in the admin any of my wordpress installs are unreponsive, even with a completely fresh install with no plugins or themes enabled.
What I mean is that once I click a button like "save menu" under appearance->menus, or when I for example try to add three pages to a menu, an request is fired without response. One is an ajax request (the add to Menu Button that is) and another one is just a normal post request (save menu), both actions lead to no response.
I tried to
Upgrade MAMP
INcrease my memory_limit in php.ini
And I of course also searched the Internet like crazy for somebody who had a similar problem, to no avail.
Anybody having/had a similar issue?
Turned out this had to do with too much messing around with packages on OSX and nothing with php apache or wordpress for that matter. It behaved quite strangely.
Related
I have a small WordPress (v5.7.2) site running on an AWS Lightsail instance. Cloudflare is managing the DNS. Everything seemed to be running smoothly until today when I went to edit a post. The dashboard was working normally, but when I click to edit a post, I landed on a white screen of death. I viewed the source and saw that it is Cloudflare's 521 error page. All other pages seem to work fine. If I turn on "Developer Mode" in Cloudflare, the problem goes away, but when I turn it back on it returns. I don't have any caching plugins installed.
I tried Purging the cache in cloudflare and it didn't fix it. I tried changing the SSL setting to flexible (instead of full) and it didn't fix it. I logged into the AWS instance and clicked around the Plesk panel and didn't notice any issues. I tried rebooting the instance and it didn't fix it. Although, now when I view the source it seems to be the login screen.
Any ideas why this is happening?
There's some errors in the console that may or may not be relevant:
Confusingly / frustratingly... this issue resolved its self without any further troubleshooting by me. This makes me think it must have been some kind of Cloudflare hiccup. đ
I have a strange problem with Wordpress. I needed to move the site to another domain and had issues setting everything up again. It works now, but for some reason the themes are not loading images or their CSS.
I thouhgt there is an error with the source links to the images/css, but nope. Installed fresh Wordpress on the server, even on my localhost with XAMPP, but same issue there. Currently only 1 theme is working properly. All the others, when I install them, or click on live demo when installing them from the admin panel in WP, they show only the text. No images, no CSS (at least for the text colors etc..) is being shown. Do you know what could be the reason for that? Even on a freshly installed WP it should work, right?
Thanks!
Have you tried clearing your server cache and browser cache?
I am having a really weird issue with one of my clients' WP installations.
Site behaves as if there was some kind of caching active. And it's the most noticeable in wp-admin area.
When I open plugin config page, what I see there does not correspond with what's really happening: wrong plugins are marked as active and some, that are active are not even visible (as if not even installed).
Hitting F5 usually helps and correct information is displayed, but when I go back to the dashboard (or any other page) and return to the plugin management, again wrong information is shown. If I click to enable/disable any of the present plugins, page is either not updating at all or is loading incorrect statuses.
What I have done so far to try to solve this:
disabled all of the plugins
switched to the "stock" theme (Twenty Seventeen)
changed the language to EN (oddily enough, when toggling plugins, language switched back to the previous one)
checked nginx configs for any cache-related settings and disabled those
checked for presence of Varnish / Redis etc (not present)
disabled OPcache
checked whether the site is served via CDN (is not)
checked if wp-config.php is containing settings like define('WP_CACHE', true); (it does, but commented out)
switched PHP versions
changed PHP workers
disabled nginx to Apache proxying
wiped the "plugin" directory clean
Nothing seems to be helping.
Other websites, hosted on that server, do not experience any issues. Has anyone experienced anything like that? Any ideas how to fix it?
Here you can see "live" what I mean:
In case anyone else had issues like I did, here is what I did to finally solve it:
wiped all server-side cache
wiped wp cache files
uninstalled all the plugins
uninstalled the style
reinstalled WP
rebuild all user configs / permissions etc
reinstalled style
reinstalled all the plugins
ta-daaa!
it's working now. What a mess this was... o_O
Iâm using the latest version of Wordpress (4.7.4).
I have something very weird going on in my Dashboard. Not sure when this started.
Canât say for sure it started with the latest version of Wordpress or not.
My Dashboard became completely useless.
Itâs like itâs showing me a flashback of a Dashboard from a few days or hours ago:
Comments Iâve deleted in the Dashboard (hitting âtrashâ) are suddenly back there, awaiting my moderation.
Plugins Iâve deactivated or even deleted are all back there and according to Dashboard still running (while in my FTP folder theyâre certainly gone).
The plugin page cannot be trusted anymore as it shows some plugins are activated that arenât and vice versa. I have to check on my actual website to confirm which ones are running.
Updates arenât shown correctly. Once Iâve updated a plugin, a few minutes later it shows me again that thereâs a new update.
As you can tell itâs all pretty much the same phenomenon.
Itâs as if Iâm seeing an older version of my Dashboard.
Not sure what else is broken.
The only other thing I noticed is that even on my actual blog I still see a comment. Blog post says â1 commentâ, but the actual comment doesnât show up.
At first, this all sounds like a âcache problemâ.
But Iâve already turned off all caching:
No caching plugin installed
Turned off server caching via htaccess
Disabled leverage browser caching
Emptied my own browser cache
Other things I tested:
Turn off all plugins.
Switch to the standard Wordpress theme âTwenty Twelveâ
I tried WP_DEBUG, but nothing related shows up.
I researched the internet, but nobody has described a similar problem, so I suppose this is not a common Wordpress issue.
The issue remains.
Unfortunately Iâm not a developer and donât know too much about the Wordpress codex etc.
But to me it sounds that the mistake is definitely not in the plugin or theme folder.
The problem is that Iâve reached the point where I really cannot turn off plugins via Dashboard properly anymore. Itâs so annyoing!
My questions are:
Is it safe to assume that this is related to the Wordpress core
files?
What files exactly are in âcharge ofâ the Dashboard?
Should I just try to re-download the newest Wordpress version and replace a few files (if so which ones)?
Should I do a clean Wordpress re-install or would that be too drastic?
Any other suggestions?
EDIT:
Additionally I tried now:
I manually downloaded the newest version of Wordpress and did just as
described on the Wordpress.org website. I manually replaced wp-admin,
wp-include folders and all root files. The issue remains...
The way my Dashboard is right now, I really canât use it.
Please advice!
I contacted my host service again.
They just gave me the same line to insert into my .htaccess file and I told them I already tried it and it didn't work.
I then showed them my .htaccess file and they deleted the whole part that concerned their server caching.
Now server caching is completely off and everything works again.
Still not sure why this previously never caused issues.
In the end, it had nothing to do with Wordpress.
I hope this answer will help people who run into similar problems.
I'm having issues adding and editing content blocks in a main area using the out of the box Elemental theme. I've made no modifications to the theme or global areas whatsoever. Concrete5 installs and configures with no errors (green checkmarks on all required items) and looks great until I try to edit a page to add or edit a content block to an area.
This is my first foray into the world of Concrete5 and I have to say I'm definitely impressed so far. I'm just hoping I can get this resolved so I can really use it, so any help is definitely appreciated!
Things I've tried
At first I suspected it was just a matter of waiting for any weird page locks to clear, but I logged out and left it overnight and I'm having the same problem this afternoon.
Next I came across suggestions that it could be an issue with a parent or other element having too high of a Z-index, but I was unable to find a parent with a higher index.
I've checked the JavaScript console and only have one error which I don't believe is related, but I could be wrong.
Error: jquery.js.pagespeed.jm.iDyG3vc4gw.js:1 - "Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience."
Checked my webserver's error log, nothing but a missing file (iphone4.jpg).
Verified that the MD5 checksum of my zip file matches that listed on the Concrete5 website.
I've installed Concrete5 from the same zip file on a different domain and am seeing the exact same issue.
Installed Concrete5 5.7.4.2 in my test environment. Exact same symptom.
The environment
Host: Dreamhost
Cloudflare: NOT enabled
PHP version: 5.6 (5.3.3 in the environment I was testing the install in)
Web server: Apache 2.2.22
Database: mysql 5.1.56
Browser: Chrome v44, Microsoft Edge v20, Firefox v40
Reproducing the issue
Here's one way I can reproduce the issue:
Create a new Empty Page.
Click the Empty Main Area and select Add Block.
Click Content in the left block menu.
After a consistent 6 second delay, the content editor appears. A bit weird to see a delay, but the editor looks OK.
Add content. Nothing fancy, for testing I've just been typing "This is my edit."
Click Save.
The editor toolbar disappears, but everything but the Content block is still greyed out and inactive/inaccessible. (See screenshot)
Refresh the page and everything is accessible again, I'm still in edit mode, but my Content Block is gone.
I get the same result if I add a Content Block to an existing page (Home), if I edit an existing Content Block. Clicking Cancel on the editor toolbar has the same result, but leaves me viewing the HTML of the content in the editor.
HTML, Feature, and Form blocks all seem to go in just fine.
This works just fine on my 5.7 sites on Dreamhost
.htaccess
<IfModule pagespeed_module>
# ----- Google's mod_pagespeed can break c5 request URLs
ModPagespeedDisableFilters trim_urls
# ModPagespeed off
</IfModule>
Whelp, Dreamhost has a feature called Page Speed Optimization turned on by default. This feature uses an Apache module developed by Google called mod_pagespeed. Disabling this eliminates the issue.
Error: jquery.js.pagespeed.jm.iDyG3vc4gw.js:1 - "Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience."
As we do plan on using Google Analytics, I'm testing that now to make sure I can still use it with mod_pagespeed by pasting the Google tracking code into the Tracking Codes section of C5's settings. If I can't, I'll be asking another question!
Edit: I tried disabling mod-pagespeed's url re-writing as per this suggestion, but to no avail.
Edit 2: Google Analytics works just fine if I put the tracking code into Concrete5 instead of Dreamhost.