Drupal: No themes are rendering - css

I had a similar problem once after activating Ubercart modules. Certain pages would not render the theme, though all the content was there. I went into performance settings and optimized CSS and all was fine. I heard this was due to too many css files being called at once. The optimize CSS setting streamlines them.
Today though I went tweak a css file and the theme broke again. I restored my edits and still no luck. So I tried other themes including zen and garland and still they all seem to be broken; none of them are rendering though all my contend is there. I've also tried various settings under performance and cleared the cache.
I should also note I'm having the same issues in various web browsers.
I'm not sure it is relevant but I this is a pre-production site online. I moved the directory path recently, but other than a few absolute links I had to change all came out OK. But I wonder if the path to my themes somehow might be an issue?
Thanks in advance for any advice...

Without seeing your broken site we cannot say that happen.

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

Why is the browser trying to load a /none page (with Wordpress)?

I'm building a Wordpress theme and one of the things I noticed is that the browser requests a page /none (example.com/none). I see this in the Network part of the inspector:
(This is Chrome). As you can see, the browser spends 676 ms loading it and during that time it almost doesn't do/load anything else.
In a theme check (with a WP plugin) I also encountered the absence of /none as an error.
Is this usual browser behaviour for every website or is this pure Wordpress?
And what should I do to fix it (be it WP or browser behaviour)?
Thanks a lot in advance!
This should be related to your theme files. You can have a look at the wordpress template hierarchy to find out all parts of your theme. https://developer.wordpress.org/themes/basics/template-hierarchy/
Deactivate your theme and use a standard theme. Deactivate all plugins. This way you can make sure that it has nothing to do with your wordpress installation or plugins, but is an issue caused by your theme.
The inspector of your browser might give you the right hints where you can start your search.

Joomla modules styles and script not included in template head

I encountered a very strange issue today with Joomla. I developed a site on my local machine and everything seem to be working fine.
See Image of the source head element below:
All the modules were displaying as expected. However, when I moved the site to my host on the remote server, strangely the styles and scripts for the modules could not be found and my modules are scattered without styling.
What could this mean? I have searched everywhere on google and here on StackOverflow, but it seems no one had experienced such an issue. Could somebody please help me out? what should I look out for?
The template I am using (zeta) is a custom template renamed from the original Joomla Protostar template.
I am using Joomla! 3.9.13, PHP 7.3.1, and Ipage.com Servers.
Thank you in Advance.
I got it. It was a caching issue! I disabled the plugin page cache, disabled the system caching in the global configuration, disabled Gzip compression in the global configuration and there you go. everything returns to normal. If you ever experience a similar issue, just try the above out. Thank you to anyone who saw the question.

Can't edit fonts in WordPress Theme

I am using the X-Theme with Cornerstone, and it's up-to-date. The website is kelseycopywriter.com
For about a month, the fonts on my website have not been rendering correctly. The sizes are wrong, the font-family is incorrect, and so is the color. The settings in the theme haven't changed, and I've tried overwriting it with CSS. Nothing is working.
I believe this had to do with the Hummingbird optimization app after the most recent WordPress update. For a while, my images were not showing up. Somehow I fixed that, but now the fonts are having issues. I tried un-minifying everything and deleting hummingbird, but nothing is working.
when you use a plugin cache probably you have to clear the cache to see changes. If that not works try to disable each plugin one by one until problem is solved. To do that you can disable plugin from wordpress or if you have FTP access, you cane rename the plugin folder like _hummingbird and wordpress will not load the plugin. Keep me updated

Wordpress breaking only in IE9

I was recently hired by a new company and one of my duties is upkeep on old sites. It's recently been brought to my attention that one of Wordpresses is broken in IE9.
www.nexoslatinos.com
I've tried deactivating all plugins, no fix.
I've tried switching to default themes, even they appear broken.
I've opened the developer tools in IE9 and it's rendering the site in what it calls "Quirks Mode"??
The theme is for the most part identical to the theme found in the spanish translation version:
www.nexoslatinos.com/espanol
which is rendering fine in IE9. When taking the Spanish translation theme and applying it to the first wordpress, it breaks. The two themes also run identical plugins. They are however, different wordpress installations.
When I view the source for the page, I am getting a strange line of code before the doctype:
<!--331c6883dd6010864b7ead130be77cd5-->
Could this be throwing off IE9? I haven't been able to locate the code's origin, but it stuck out when reviewing the site in my initial troubleshooting.
The code for the theme is a bit of a mess and isn't valid, but despite that is displaying fine in Chrome, FF, and Safari.
Thoughts? Insights?
That comment (not code) is an MD5 hash of "pizda" -- which is a eastern european pejorative meaning vagina in various languages. You can see this http://en.wiktionary.org/wiki/pizda for ethnological details.
Check your WP theme for code fragments that might look suspicious. If it's not there, check apache configuration for a site-wide server-side include (SSI).
Don't mean to alarm you as I didn't look at the site, but I would check files, database for malware, whether server-side, client side, or both. Not 100% sure, but additionally there is a pizda kernel exploit - you may want to have the hosting machines checked.
This sounds to me like it could be a file encoding issue. I would recommend checking to make sure all of the php files that make up the theme as well as all Wordpress core files that might have been modified are UTF-8. You can do that in your code editor, or by checking each file here: http://people.w3.org/rishida/utils/bomtester/
A quicker way to narrow down the scope of potentially problematic files might be to create a clean dummy Wordpress installation and activate the seemingly problematic theme. If the problem is still there, it's got to be a problem with one of your theme files. If it's not there, I suspect that there might have been some unsound edits made to the Wordpress core files.

Resources