Wordpress site doesn't stop loading - wordpress

I have a big problem. My Wordpress site doesn't stop loading. The blue circle in Firefox always shows loading and I don't know why. Could it be a loop? Do you now a way to track whats loading there?
Thanks you.

You can have a look to your browser dev tools and the console, network tab.
The page is maybe trying to get some external (or internal) assets that doesn't exists anymore or unavailable.
You can, also install a plugin like Query Monitor to see different details about the page loaded.

Have you checked the http daemon error log? the php error logs? these should show give you an indication of what if anything is going wrong.

Related

How to fix elementor update causes Server error

When i update my home page using elementor I am getting a server error (503 error). However, my other page updates seems to be fine. Can someone help me find out the root cause? where can i find the logs?
So far i tried,
Clear the cache
Enabled the editor load method in elementors advanced settings.
Deactivated and reactivated the elementor plugin.
***UPDATE: When using developer tools, i get these error upon clicking update.
This link could help explain what's going on:
https://wordpress.org/support/topic/13-feb-update-elementor-error-503/
It recommends trying Elementor safe mode first and foremost.
I would also recommend trying the operation that fails with your developer tools open. Right click on the page, select Inspect (or similar), the tools appear. Click the Network tab and then reload the page and restart the update process that fails. Look at the files being requested
If you see anything that turns red there, or a file that has any other http status code than 200, it may be the error right there. If you click on that file you may be able to get more information about why it doesn't load. Try the headers or response tabs in the panel that opens up.
Where your server logs are located depends on your website hosting service. Read on their pages where to locate them or get in touch with their customer service. Try to post the relevant part of the log here if you see something out of the ordinary.
just add a single line in wp-config.php
define('WP_MEMORY_LIMIT','2048M');

Issues with Django and VSCode

I am trying to practice building a website with Django and run into an issue trying to save my VSCode work and update my local browser, but only some things change. When I delete some code in my css file, the vscode is save but the elements in Google Chrome stay the same.
When I inspect the element in the developer tools, the code that was deleted in vscode is still in the elements of the developer after the page is refreshed.
Does anyone have any suggestions as to what could be causing this issue?
Any help would be greatly appreciated
If i got your question, the problem is with the caching. Your browser is caching the things, thus not getting updated when you change the code. So you should try this;
Go to the site settings in your browser and delete the cache (site data) of your website(represented by the domain, if running locally, it will be 127.0.0.1).

Something went wrong WordPress File Editor Error

When I update a file in WordPress admin editor, I get an error.
Something went wrong. Your change may not have been saved. Please try
again. There is also a chance that you may need to manually fix and
upload the file over FTP.
Please help me how to resolve this error.
Thanks in advance!
Try using the Health Check plugin for general troubleshooting. This can determine is a plugin is causing the issues. If its not a plugin then most likely a server permissions issue.
Is it taking a good while for the message to appear (i.e. the ajax request times out)?
I had that issue and enabled PHP-FPM slowlog to found out it was a specific plugin causing the timeout.

Wordpress edit post/page screen is messed up

I've transferred my wordpress website from a shared hosting to a linux VPS.
Everything is working fine instead of one thing. I'm getting realy weird pages for editing posts/pages.
I'm not sure how to name it and can't find anything on google about it, so I hope someone here can send me in the right direction.
Screenshot
At a quick glance, looks like a browser caching issue. Try the following:
Clear browser cache/cookies etc. and restart the browser/PC
Check with a different browser
Depending on how you migrated (transferred) the site, it is possible that all files did not get transferred fully and/or the database did not get imported fully. If 1. and 2. above fail, delete everything from the VPS and try again.
I'm sure when you check the network tab or console in inspect element on chrome, you will receive a lot of 404 errors because it is not able to load the required files for some reason.
What you can try is to add define('CONCATENATE_SCRIPTS', false) into your wp-config.php file. What this does is load all the javascript files individually, instead of one concatenated file.
Question: Are you using the same domain on your VPS? Or are you accessing the site on your VPS through a different domain? If so, you might want to update your database to correspond with the domain you're testing with now. Because this can cause strange behavior as well.

apache responding 403 to wordpress tinyMCE js requests

there is something strange happening on my server. It has worked like a charm with wordpress from 2.3 version, and I update it regularly.
Today I updated to wordpress 4.1 and, when I tried to write a post, I found the tinyMCE editor completely unloaded.
I then checked the console and I have a bunch of 403 errors, for requests like
http://www.ilparticolarenascosto.it/wp-content/plugins/jetpack/modules/after-the-deadline/tinymce/plugin.js?v=20140527&wp-mce-4107-20141130
infact my hosting answers with a courtesy page (that doesn't even explain what's happening).
the strange thing is that if i try
http://www.ilparticolarenascosto.it/wp-content/plugins/jetpack/modules/after-the-deadline/tinymce/plugin.js
(without the ending ?v=20140527&wp-mce-4107-20141130 ! ) I can download the file regoularly.
What's happening? what can I do?
I have already reinstalled it, and the problem occours with firefox and chrome, so I think it's a server issue.
And, also, if the first link works to you, maybe it's not working because I'm behind a proxy? but,again, why?
Yes, The first link works for me. I am not sure why it is not working for you.
Clear your browser cache to rule out your browser as a cause
Check you webserver access logs. Access logs will have a response status for every request. It may be possible that some one is overwriting the 200 OK sent by apache
I had the same problem.
It was a security setting on the server, blocking urls with variables.
Wordpress inludes tinymce files with variable in the end:
wp-includes/js/tinymce/themes/modern/theme.min.js?wp-mce-4203-20150730
call your hoster to fix it
it seems that the problem is ... Adblock.
Disable it, clean the browser cache, and reload the page. The Wordpress Editor will suddently appear.

Resources