WordPress website down - wordpress

I'm new to programming & I have learned how to create websites using WordPress technology. I have created a website www.popstudio.in and it was working fine before.
Recently when I try to access the website, I get the following error.
The popstudio.in page isn’t working
popstudio.in is currently unable to handle this request.
HTTP ERROR 500
I have attached a screenshot, refer screenshot
Note:
This is WordPress based website.
I have renamed the plugins folder and still the website was down.
I have renamed the themes folder still the website was down.

Common Solutions for the 500 Internal Server Error.
The two most common causes of this error are a corrupted .htaccess file and exceeding your server’s PHP memory limit.
The .htaccess file in your WordPress directory can become corrupted after you install a plugin or make another change to your WordPress site. The fix is simple. All you need to do is create a new .htaccess file.
PHP memory limit issues often occur as the result of a poorly-coded plugin running on your site or a site that’s grown considerably over time and is using too many plugins. You’ll begin to exceed the PHP memory limits set by your hosting provider once either of these things happen. The result is a 500 internal server error.

Error 500 is a very generic error message. The information you're providing is not enough for someone here to help you.
The first place you want to look at is the log file. On an Apache server it is a file called error_log in the directory of your site.
You can check if your .htaccess file is properly configured.
Otherwise get in touch with your web host support!
Good luck

Have you tried to delete (after make a backup) the .htaccess file on the root path of the site? If it work, just resaved permalinks from the back-office after that.
Most of the 500 errors on WordPress are due to a problem with this file (corrupted, rights problem ...).

Go to wp-config.php and update it
define( 'WP_DEBUG', false);
to
define( 'WP_DEBUG', true );
Make sure that once you have found your issue, to return it back to 'false'. Just as a security 'best practice'.

Related

Elementor Plugin on Wordpress keeps loading and I get a console error /wp-admin/admin-ajax.php 500

how are you?
My website was working well and now I'm unable to create or edit pages using elementor because the 'loading' keeps spinning and nothing happens.
I see a console error where I get /wp-admin/admin-ajax.php 500
How can I fix this? I don't know what caused it.
Thanks!
there are many reason for this. But the common one is WP memory limit issue.
To handle this, first you need to edit the wp-config.php file on your WordPress site. It is located in your WordPress site’s root folder, and you will need to use an FTP client or file manager in your web hosting control panel.
Next, you need to paste this code in wp-config.php file just before the line that says ‘That’s all, stop editing! Happy blogging.’
define( 'WP_MEMORY_LIMIT', '256M' );
This code tells WordPress to increase the PHP memory limit to 256MB.
Once you are done, you need to save your changes and upload your wp-config.php file back to your server.
I had this problem too, I just disabled plugins one by one and I found the problem!
one of my plugins caused this problem.

Connection_time_out error when trying to access my wordpress site - tried all solutions

I have a website that is hosted with gandi, the website was only showing initially for the wordpress admin and anyone who was not an admin could not see the website. After I tried somewhat haphazardly to find solutions, the website got completely disabled with a connection_timed_out error and I don't know if this was due to my actions. I remember disabling and enabling DNS records, Disabling and enabling DNSSEC. Deleting my HTTPS free SSL certificate and requesting another. I've reuploaded a version of the website that is from a week before the problem occurred using FTP a couple of days ago but the problem still persists. I now only have access through FTP and have deactivated all the plugins, renamed all the theme folders so Wordpress defaults to the original theme. I've increased the memory limit on wp-config.php file by adding 'define( 'WP_MEMORY_LIMIT', '64M' );' at the end, set the debug mode to true in that same file and I've also added'php_value max_execution_time 60' in .htaccess file but to no avail the website continues to give the connection timed out error.
I also bought the domain as deeraadesign.com, I remember the website completely crashing after I changed the site url on wordpress to deeraadesign.com from www.deeraadesign.com and I'm thinking that may have thrown off wordpress and now it is redirecting back and forth to a domain that is not the wordpress website? maybe DNSSEC destroyed the domain? Maybe I have too many themes on the website even though I have tried to deactivate them? I just don't know and all the solutions online are the saying the same things that I have already tried and not telling me anything new.
I mean, I have around 5 websites on gandi but it can't be the memory limit either as my hosting company says I only have 7GB/20GB and it also says my website is published and accessible?? so the problem is on Wordpress's end? Any help would be very much appreciated...
Thank you,
Hameed
Try this
add
php_value max_execution_time 300
in .htaccess file
Hope it will work

Changing URL Wordpress- still not working despite checking/editing database

As much as may sound like a broken record - I changed the URLs on my WP site, and now I get a 404.
What I wanted to do:
Change site URL from www.SiteA.com to www.SiteB.com
All WP files were at the time in another directory in the same hosting account. I needed them in the root directory, accessible by www.SiteB.com
What I did:
Backed up locally and remotely - Database and files.
Edited URL's through dashboard on WP - got a login error afterward, but seemed to do it anyway.
Moed ALL old site files from root to backup folder.
Moed ALL wordpress files from original directory to root directory.
Then I got a 404 error and was unable to access WP-admin or login through the new or old URL.
What I tried to fix the issue:
Noticed http should be https - changed this in 'options' within phpmyadmin, both at 'siteurl' and in 'home'.
Still 404
Then I tried defining the db_name in the wp-config file.
Still 404
Then I gae up, changed the URL's back using myphpadmin, and moed the filed back to their original directory. Now I can login to WP as usual and eerything is fine.
Why can't I access the site when I moe it into the root directory - I thought I had all the steps right!
Thanks in adance for any help
oh..and apologies, my keyboard is missing a few keys :(
Wordpress stores url/permalinks on database field values as well, changing only the configuration files will not be enough.
I am pretty sure there are other options, on my case i use often perform Wordpress website migrations, and the following tool becomes really handy when search and replacing domains on the database records.
https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
Hope it helps.
Jose
This happened to be an SSL issue where the host for our SSL certificate was conflicting with the stylesheet somehow. 0_o

getting 404 error on wordpress pages

I've seen some other people with the same issue on net,
but the solution that worked for them (updating the .htacess file), didn't go very well for me!
I used buddypress to migrate my wordpress site to my local pc, but after everything is setup, only the home page is working, other posts or pages are getting 404 errors, I also tried to deactivate plugins and changing the theme, but nothing worked.
I'm on windows 10 and i'm using wampserver 2.5.
I think that the issue is caused by Apache, but I don't know how to fix it!
my Apache version is 2.4.9
Thanks in advance guys :)
Your site’s permalink (WordPress Admin > Settings > Permalink) is set as Default, please change it to any of the other option available below. e.g: Day and name, Post name etc.
Then you’ll be able to access the board instead of the 404 error.
Another way is troubleshooting:
WordPress sites can complicate the 404 troubleshooting process. Why? WordPress is a content management system that processes its own internal rewrite array as a part of its permalinks feature.
The first step to troubleshooting 404s is to figure out whether the 404 is being caused by the web server or by WordPress.
Static file
If your file is static (e.g. a jpg image) open your FTP client and verify that the file exists.
As an example, let’s say that the URL http://example.com/wp-content/uploads/picture.jpg is producing a 404 error. You will want to:
Open FTP Client and connect to your server (if you don’t know how to do so, read this.)
Navigate to the file’s location
Verify that the file exists
If it is does not exist, you have found the source of your 404.
However, it it does exist, yet pulling the URL up in a browser results in a 404 error, continue on to find out whether the issue is web server-based or WordPress-based.
Reference Link: http://websynthesis.com/fixing-wordpress-404-errors/

Wordpress admin login gives me blank page back

Hi all I am having this problem with Wordpress admin login and W3 Total Caching.
Lets start from the beginning. When I visit the website it appears to be working just fine.
When I try to login on the Wordpress admin page it returns me a blank page. No errors nothing just a blank page.
This is not the first time it happens, so I called my hostings provider to check if anything is going on with the servers. So we solved the problem last time by just rebooting the server. That worked website was running again and could login in to wp admin area.
Now today same thing happens again. We did some research my hostings provider comes up with this error from wordpress.
mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 64 bytes) in /public_html/wp-includes/functions.php on line 3559.
I have no idea what this problem is and where it comes from.
Probably this is not the only problem with this site. We are also using W3 Total Caching for this site. Are there any issue's know with this plug-in that can make the server do strange things?
Kind regards
Using
define( 'WP_DEBUG', true );
is definitely the way to go.
We had recently removed a cacheing plugin but it had left behind some pieces of code in wp-settings that needed removing.
The fact that the wp-login page is blank means there's a code error somewhere (probably in a recently added/updated plugin). If you can, FTP onto your server, go to wp-content/plugins/, rename a directory that holds the contents of a plugin, then refresh your login page.
Once it loads, the directory you've just renamed is the one causing problems. Rename all of the other plugin directories to what they were previously, and either find an alternative plugin, or attempt to fix the plugin yourself if you know PHP.
The blank page means there's a server error, check the error logs, or add the following line to your wp-config.php file to get them to show on screen.
define( 'WP_DEBUG', true );
That will show you the errors so you can start debugging.
Create a phpinfo.php file with only this line of code
<?php phpinfo(); ?>
Upload the file to your server using an FTP Program (e.g FileZilla).
Look for the value of memory_limit.
If that value is lower than 64M, you should increase it to 92M (or 128M).
According to the WordPress documentation, here are some ways to change this:
Increase the amount of memory a PHP script may consume.
Note: If using a shared hosting service, you may need to ask your host to increase the limit.
Increase the memory limit setting in php.ini (e.g. memory_limit = 128M ;).
Increase the memory limit via .htaccess (e.g. php_value memory_limit 128M).
Increase the memory limit via wp-config.php (e.g. define('WP_MEMORY_LIMIT', '128MB');)
Check if it works.

Resources