The page options.php in wordpress gives 403 error - php

The options.php file inside wp-admin which was working fine few days ago is now giving me 403 error suddenly. There was no change made and it gives me this error out of nowhere.
Here are few things I tried
Checking and regenerating .htaccess file.
Checking file permissions(wp-admin has 755 and options.php has 644) and ownership details which all seemed to be fine.
Deactivating and activating plugins one by one.
Checked user permissions in wordpress database. I made sure to have administrator role.
None of these helped me resolve the issue. It would be of great help if something can be suggested on solving this issue.
Note that I'm able to access other files within wp-admin folder except for options.php, Thanks.

Related

Wordpress error: 'The uploaded file could not be moved to wp-content/uploads'

I've tried updating permissions to every possible combination for both the wp-content folder and also the uploads folder within it and it hasn't remedied the issue.
I also saw in a few threads of similar issues that adding
define('FTP_PUBKEY','/home/wp-user/wp_rsa.pub');
define('FTP_PRIKEY','/home/wp-user/wp_rsa');
define('FTP_USER','wp-user');
define('FTP_PASS','');
define('FTP_HOST','127.0.0.1:22');
to the wp-config file could help, so I tried that and now my site is getting an error 500 and not loading at all despite me having since removed the above code.
I know this question has been asked before but I've tried most of the solutions and have only managed to make the problem worse... any suggestions how to get the site working again after my blunder?
Posting incase this happens to anyone else. The hosting account for the site was at its data limit so the error for uploading was because there was no space to upload the files to and not the expected read/wright permissions.
When I updated the code on the page, instead of saving it saved the page as a blank template because again - no room left to save the file to.

wordpress: ERR_TOO_MANY_REDIRECTS

My website is setup on a linux server and behind WAF. The files are placed in root folder of apache server. The .htaccess contains rules as specified by wordpress.
The issue is that when I try to access my website as https://www.example.com, it gives ERR_TOO_MANY_REDIRECTS error. But when I try to access the website as https://www.example.com/index.php, it loads and works perfectly fine.
The couple of things I tried to pinpoint the error:
Deleted all files and folders from root folder and created a test index.php file. When I tried to access https://www.example.com, it displayed the contents of this test file
I also tried deleting .htaccess but this didnt help
I am still unable to figure out what the issue is. Can anyone please help out?
disable all your plugins.
in your theme if you using redirect code in your functions or other page , use exit() or die() after your redirect code.
After trying a LOT of suggested solutions online, I fixed the issue by using the plugin Redirection. This plugin solved my issue within minutes!!
Here is the link to the article which helped me.

Wordpress permission issue

I'm having a weird issue that is stopping me from automatically updating wordpress and installing new plugins from the admin panel.
For example, I get a notification at the top that says:
Sorry, but you do not have the correct permissions to update the Contact Form 7 plugin. Contact the administrator of this site for help on getting the plugin updated.
Please contact the administrator of this site for help.
I've set the permissions to wp-content to 755 and all it's enclosed folders. I've never had this problem before. Any one know what to do?
Well, I've never had this issue before. But after digging into wp-config.php I found both:
define('DISALLOW_FILE_EDIT', true);
define('DISALLOW_FILE_MODS',true);
All I did was change true to false, and everything works as normal.

Wordpress admin is blank

Previously, the site was working fine up until a couple of days ago (there was no changes to the site within these few days). When I go to /wp-admin I see the login form, however it's whenever I try to enter any details, that it redirects me to wp-login.php with a blank screen. I have already tried the following:
Renaming the plugins folder to disable all plugins
Renaming the themes folder to disable any problematic themes
Enabling WP_DEBUG in the config to show any errors on wp-login.php, however none found.
I'm stumped. I've been trying to fix this for hours but I have no clue on the issue.

magento homepage gives a blank screen

I was working on my magento page www.samsungtelefoonhoesjes.com and suddenly my homepage that normally works perfectly only shows everything until the home slider. after that everything is white....
The page worked 30 mins ago.
What is the best way to troubleshoot this?
Can I use firebug or something for this where should I start?
cleared cache
reindexed
removed cache
disabled the slider (this was my last change i did)
Firebug shows 500 Internal Server Error.
Try following solutions:
Check apache error_log, it should be in /var/log/apache2/error.log in most cases.
Check for permissions to your files and folders. Files should be 644 and folders should be 755. Reset permissions using magento cleanup script.
Check your .htaccess file.
Check out this article. http://techjam.gr/2012/magento/solve-magento-500-internal-server-errors/
Try restarting apache on the server, this worked for me.

Categories