WP File Manager got an error - wordpress

I think I messed up I don't have the Cpanel access to this site and I'm using the WP File Manager to edit the function.php and I made a mistake and save it now I can't open it and it's returning as a parse error. I can't open anything it keeps showing the error. Anyone know how to fix this without Cpanel? I don't really wanna let my client know that I messed up I think I'm not gonna ask for the CPanel is it possible?

In short: No.
Own your mistake. Tell the client as soon as you can. In future, Always ask for FTP or cPanel access beforehand.
If you cause a parse error in wordpress and have no FTP or SSH access, there's nothing that can be done.

Related

Wordpress: unable to connect to wp-admin (localhost can't provide a secure connection?)

I've got a MAMP (version 6.3) localhost using Apache running on a Mac Mini locally and i am in final testing before publishing a new plugin that i've created. I popped my plugin into my plugins directory (as i will when i go into production) and suddenly, I am unable to access wp-admin to look at Wordpress (as in 'localhost:8888/wp-admin). Localhost access works just fine (as in 'localhost:8888'), but when attempting to enter wp-admin, the page fails to be served up with the following messages:
"This site can't provide a secure connection
localhost sent an invalid response.
ERR_SSL_PROTOCOL_ERROR"
I cannot find ANY information that will help me find a solution. There is nothing in the Apache logs at all. I've got debugging set up and running on my site and there's nothing in there at all. I literally have NO idea how to proceed in finding the problem. I get the same messages in either Chrome or Safari.
I've searched this error and it seems it could be a few things, but the source seems to be a bad certificate or something. If so, i don't know how to correct that condition. IF my understanding is correct, localhost doesn't even require SSL (?), so even the "ERR_SSL_PROTOCOL_ERROR" is confusing.
Another suggestion that i've found is to disable your plugins folder by renaming it to essentially invalidate ALL plugins. I've tried that as well, no change in the error message that i am receiving.
Can anyone provide any concrete steps for how to resolve this so that i can get into the wp-admin facility on localhost? I admit that i know "not much" about certificates and SSL and the like. I literally don't know where to start.
thanks!
request via http, something like this
http://localhost:8888/wp-admin
open your wp-config.php file and add this online
define('FORCE_SSL_ADMIN', false );
save the wp-config.php file. You can add just above this line
/* That's all, stop editing! Happy publishing. */
Now try opening your localhost this should work.

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.

Cannot see front-end or login to back-end of WordPress

I'm working on a site for my client and the site is live and right now it is not viewable. When I try to login to a WordPress back-end, I can't see anything.
Here is the site: http://www.theselfloveproject.net/
Here is the back-end login: http://www.theselfloveproject.net/wp-admin/
What I was doing before it blanked out, was going into the editor (html editor) for one of my plugins. I updated it and then that's when it went blank. As if I messed up something with the overall coding of the site. I'm not sure what I did.
It sounds like the update you've made is preventing access. Try disabling or removing the plugin that you edited using FileZilla (or some equivalent) to check whether you can access the login screen again.
You got a php-error somewhere, and without access to the FTP you will not be able to solve it. So just get the information from the client, don't worry it happens to all of us sometimes, no need to feel ashamed.
Once you got the credentials and FTP-access, find the wp-config.php in the root and set define('WP_DEBUG', true); reload the page and you should see what error message you get and in which file at what line.
Sounds like you updated a plugin and something went wrong.
Basically, always have FTP-credentials for live sites you are responsible for. You don't know when you will need it.
please set
define('WP_DEBUG', true); at wp-config.php file and you will see where is issue.

WordPress SVN Commit Failed

My plugin has been approved in wordpress. But I am having trouble to upload the plugin via SVN. When I am filling out the username and passowrd and ticking on the save authentication this box is showing again and comes 4 times. Finally it shows Commit Failed! Please anyone help me how I can solve this issue.
Thanks
If your credentials aren't accepted, either you're entering them wrong (make sure you've got the correct case, as it's case-sensitive), you don't have the required permissions on the URL you're committing to, or the URL you're committing to is incorrect (again, it's case-sensitive, so make sure that you've got everything perfect).
But to get an authoritative answer, you need to ask the WordPress folks as they're running the server and granted you the access.

How to resolve a bad plugin server 500 error wordpress

I was just working on a Wordpress site and after updating a plug-in (which had not yet been activated, only installed) I activated it. Instead of the activation working, it gave me this error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete >your request.
Please contact the server administrator, webmaster#ibsmithmedia.com and inform them of >the time the error occurred, and anything you might have done that may have caused the >error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an >ErrorDocument to handle the request.
I am getting this error on every page of my wordpress site, not just the plugin page or my user admin area.
How can I fix this? Is there a way to undo this plugin activation (I'm pretty sure it's what's causing the issue).
I don't have access to the actual FTP files of the site, I'm working on it for a friend. But I can get access if that's the only way to fix this. Thanks!
I would get access and delete the plugin.
That would be the fastest solution.
I ended up having to delete the folder for the plugin and then going to my htaccess file and remove extra lines that the plugin had added there as well. That resolved the issue.
First you need to connect to your website using FTP client, or File Manager in cPanel. Once connected, you need to navigate to the /wp-content/ folder.
Inside wp-content folder, you will see a folder called plugins. This is where WordPress stores all plugins installed on your website.
Right click on the plugins folder and select Rename. Change the name of the plugins folder to anything that you like. In our example, we will call it “plugins.deactivate”. Once you do this, all of your plugins will be deactivated.
Usually, this method is used when you are locked out of your admin area. If the issue was with your plugins, then you should be able login to your WordPress admin area.
Once you do that, go back to your /wp-content/ folder and rename “plugins.deactivate” back to plugins.
Now you can activate one plugin at a time until your site breaks again. At which point, you will know exactly which plugin caused the issue.

Resources