Fresh install of 5.7.5.1, can't add/edit content/HTML blocks using OOTB Elemental theme - concrete5

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.

Related

Styling not refreshing for old visitors on WordPress

I’m working on correcting a styling of an element on an WP-based eCommerce site.
The site has both SCSS and CSS files.
To make things quick, I edited the CSS via Appearance -> Customize -> Additional CSS.
However, when I was done and published my changes (and solved the issue), only those new to the website sees the difference.
Those who have visited the site prior to the deployment of the solution, still see the distorted number layout
I also suspected that the SCSS gets compiled every refresh but when I checked the File Manager (cPanel), only the CSS files get modified.
I’m feeling this might be a cache-related issue. I have already disabled a cache plugin (WP Rocket). However, the problem still persists.
What possible issue am I experiencing?
Edit: I did try to use Incognito and the change did reflect. However, the users of the site are non-techy people and don't know how to refresh.
The site is using GoDaddy as the host. Is it possible the issue is on that part?
Thank you

wordpress Front page still showing up an old one

I changed the front page design and content, but the website is still showing the old one. Using Ctrl+F5 only gets me the new page. And it happens every time I enter the site. I tried other computers too and the same, an old version. It happens on other pages too.
The site:
Hi I think some server side cache are enabled for your site. While I test your url with caching checker then it says server level caches are enabled. please contact your server admin
There are two common causes for this issue. The first one is your browser cache. Sometimes your browser will show you a cached copy of your website instead of showing the new one. To resolve this issue, you need to simply hit CTRL + F5 (or Cmd + R in Mac) buttons on your keyboard to reload the page.
The second and most likely cause of this issue is poorly configured WordPress caching plugin. If you are using a cache plugin, then check it's settings and most of the plugin provide an option to exclude home page from caching. Please activate it.
more details can be available here
http://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-website-not-updating-right-away/

After moving the wordpress site to different server admin section is blank

I recently moved one wordpress site to a different server.
After moving to different server the frontend works well but the admin section is blank.
If I rename the plugins directory the admin section also works.
How to fix this?
You have a plugin that is triggered on admin page, that has an error. Try renaming the plugin's folder one by one and find out which plugin is causing the error.
You also might want to check your apache error log. I'm sure you'll find an answer there.
Fun Fact - That blank page is actually called a White screen of death in WordPress terminology.
Read more here - http://codex.wordpress.org/Common_WordPress_Errors#The_White_Screen_of_Death
After you find which plugin is causing problem, Check your plugin main php file (ex. - myplugin.php) and check whether php tag opening and closing is proper or not(<?php ,?>).
Some times because of that it can cause problem because may be your code outputting something before header sent ("Header already sent error") and you will get "White screen of death" so try by simply removing closing tag (?>) from end of file or check properly for tag. I hope it will work for you.

Wordpress: Links in Menu (Appearance) not entirely saved

Good day,
Just wanted to ask for possible solutions for my issue with Appearance > Menu, and to confirm if is this a server issue or not.
I transferred a WordPress site to another server, whenever I add more or less 100 links/items in the Menu and after clicking Save, only around 50-60 are left and saved, and appears on the website.
The WordPress site is just fine in its previous server (all links are saved), I assume that this is a server issue, but don't know what solutions to implement to resolve this.
By the way, the menu is displayed through Jquery Mega Menu, I tried disabling all plugins in the new server leaving the Mega Menu the only plugin enabled but still same results (only half of the links are saved).
No error messages appear after saving. php memory as I know is 256Mb, php version is 5.3.15 (according to our ISP). No fatal error messages. It just states that the menu is saved.. unfortunately cutting the number of links/pages dragged into the menu in half.
Anyone here know any solutions to this?
Thanks :)
Yes, confirmed that this is server issue - it is related to so called "Suhosin" variable, in order to fix the problem, you need to edit (or someone with access to server configuration file) and add the following lines in php.ini:
suhosin.post.max_vars = 5000
suhosin.request.max_vars = 5000
After that it is good idea to restart the Apache server (although it is not required).

Wordpress admin unresponsive in local dev environment

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.

Resources