I have got a very strange problem regarding one of my Joomla websites. The webpage seems to wait before it loads the actual content. So I did some research and I found out that there is a particular file (index.php/en/) that makes my request wait for over 5 seconds. See the image below.
https://imgur.com/JqlkNYq
I run on the latest version of Joomla and I haven't got any issues on other sites with plugins or components (DJ Imageslider is the only component here) so I'm really confused in where the problem can lie. I'll keep researching the problem but I hope someone may have had the same problem that can help me with this issue.
Ok, I fixed the issue. There was a module which was completely not loading anymore and giving multiple errors. With the use of debugging in the Joomla website I could track the issue.
Related
Front-end of WordPress doesn't work - shows a white box with no text, just body tags.
I'm using XAMPP, local development. When logged in everything works.
I don't know if it will be the same on a live server, haven't tried yet, but seems like a weirdly persistent issue.
It was working fine, until 5.1 updates, but I mostly was logged in during development, so cannot pinpoint the exact time when it started.
I have the WordPress reinstalled from the dashboard, the theme doesn't affect it - it has the same issue on WordPress standard themes. Plugins/no plugins - doesn't affect it either.
Cleaned cache multiple times (wp, browser).
My last resort would be to reinstall Wordpress completely in Xampp, but thought, maybe such drastic measure isn't required.
It is the same in every browser.
The has nothing in it, literally.
If anyone knows, what could be the issue? It doesn't show any errors.
TL;DR
Maintenance mode with missing maintenance.php was throwing white page with 500 Server Error.
This is probably not going to be helpful to many people, yet I feel that I have to update this as I found the problem causing this.
I have moved the theme a lot: from local to hosting, back to local dev, had my HDD replaced, etc. It's been a while and I overlooked one major thing. I haven't touched the theme code for almost 3 years, and a couple of days ago I decided to go through it with a completely fresh install of WordPress. And I have found after inspecting all the files, what was causing it now. I do feel a bit stupid for how simple the solution to my issue is.
It's the maintenance mode. I had maintenance mode activated and while moving the theme files around maintenance.php got removed. facepalm
There might be an error in your browser's console window. If there is any error then it might causes issue for loading stylesheets.
I have a weird issue where the browser returns the unformatted source code of the requested page instead of the html. The content type is set as application/rss+xml when it should be text/html. I'm running Joomla 3.5.1. As far as I know, there are no RSS feeds for the site.
This is resolved when clearing the Joomla cache, however, I haven't been able to find a way to replicate the issue so it's proving difficult to debug.
I'm not sure what other information I can provide.
Any ideas would be great.
This is an odd problem. The fact that the backend is running fine and that "sometimes" the frontend has this problem (while the backend is fine) makes it more complicated. Does the problem happen if you disable the cache completely on your Joomla website? Also, is the problem happening on all the pages?
I suggest the next time you have this problem is to contact your host or your developer immediately, and hopefully they will be able to fix the problem. It's very hard to suggest a solution here without more context.
Note: If you were able to solve it, then please post back the solution here as it will help others.
I have a news website used Joomla 2.5, and I'm beginner at Joomla and Apache server.
My problem is the first load take too long time and I tried all the ways I found it in the internet but nothing happening.
I know my problem goes around waiting time, but I don't know how I can fix it.
Please take a look on this report.
http://www.webpagetest.org/result/130605_X1_KVF/
http://gtmetrix.com/reports/alamnews.net/tQ4nGQ4Y
Thanks
Check more closely with proper tools.
Check Firebug. Also YSlow provides lots of good tips.
I have currently taken over the running of the following site:
http://www.claimsnational.co.uk.
However there seems to be some kind of issue with the loading of the homepage. It takes a good 11 seconds before the page even starts to load yet all other pages work fine.
For example:
http://www.claimsnational.co.uk/claim-type/personal-injury/
I am really at a loss as to what could be causing this as all other sites on the server are fine. Any help would be greatly appreciated!
Thanks
Andrew
I am working on a site now that seems to have an infinite loop for the wp-cron.php file. My host recently limited my account because they said that a certain query to my database was creating 1GB of error logs every 15 seconds. I am not sure why this is happening.
I wanted to know if anyone has encountered and successfully solved this issue. We were working on this site on a dev server with no problems, but now since we've moved to our production environment we've been getting this issue. I am thinking that maybe some files were lost in the transfer, however it does not seem so.
Thanks
OK So I have found a solution for this, and I figure that it would help to let everyone on here know as well.
Basically, after a lot of research, I have found that the MailChimp Archives plugin apparently fires off the naughty cron job in question every time someone visits the site. For whatever reason, it got thrown into an infinite loop which was creating huge log files (64MB in about 3 seconds). Once I discovered exactly where the issue was coming from, I did the following:
Disabled the plugin
Found a Wordpress function that removes selected hook that schedules the runaway cron job (http://codex.wordpress.org/Function_Reference/wp_clear_scheduled_hook).
Used that function to remove the hook in question, by inserting it into my theme's functions.php file, and reloading the page.
Removed the function once I reloaded the page a few times.
Found the corresponding data in the database, which was in the wp_options table. I just searched the name of that same hook that caused the problem, and found that the option value field contained 9.5MB of text in it! Obviously the cause of the massive slowdown, since this 9.5MB of text needed to be loaded and parsed every time someone visited the page. I removed this completely from the database.
Once this was done, I started to notice incremental increases in performance on my Wordpress site over about a half hour or so. I also did another test to see if the log files were accumulating, and they were now only fluctuating between 3-4Kb, which was way better.
I hope this helps. Even though this seems to be a fairly common problem, I don't see many detailed solutions for it, so let this be the first.
Thanks
I believe there was an issue where if the server would go into an infinite loop if you didn't have the wp_cron.php file, since returning the error calls the file again. It's worth checking for in this case.
It's also possible that a variant might be happening - you try to access a file from wp-cron, and the file isn't found.
Even if all the files were copied, their paths might not have been copied correctly.
The cron jobs of Wordpress were causing a high CPU consumption on the server. Even defining define ('DISABLE_WP_CRON', 'true'); does not work. Without using a plugin the way I found it was to include this in the theme's functions.php:
global $wpdb;
$wpdb->update("wp_options", array("option_value"=>""), array("option_name"=>"cron"));