![How To Fix FTP Error When Installing Plugins [WordPress]](https://img.howtoclicks.com/vi_webp/oEHZrmaYkXY/sddefault.webp)
How To Fix FTP Error When Installing Plugins [WordPress]
How To Fix FTP Error When Installing Plugins [WordPress]
In this video, you will learn how to fix FTP Error When Installing Plugins on WordPress.
There can be many reasons for an FTP error when installing plugins on WordPress. In this video, we will show you how to troubleshoot the most common causes of this error and how to fix it quickly and easily.
00:00 Intro
01:00 Fixing FTP Error
02:00 Editing and uploading wp-config.php file
03:00 Testing FTP issue
Code: https://websensepro.com/blog/how-to-f…
Content
0.24 -> Hello guys welcome to WebSensePro I'm your host
Bilal Naseer with another video and in this video,
6.36 -> I'm gonna teach you guys how you can fix an FTP
error when you're trying to upload a new Plugin
11.88 -> or try to update a new plugin in your WordPress
website so this is one of our client website
16.68 -> which we built and after a couple of months
client came back to us saying that they are
21.72 -> unable to update any plugins or add any new
plugins and they are having an FTP error so
27.3 -> that FTP Adder looks like this so when you click
on update now it will ask for FTP credentials or
34.02 -> if you try to add new plugin it will give you
the same error so if I click on install now for
41.46 -> new plugin it will give me the same error so in
this video I'm gonna teach you guys how you can
47.22 -> fix this issue with a small line of code and
if you want to learn stick to the video don't
51.54 -> forget to comment and subscribe to my channel so
without further Ado let's fix this park foreign
61.74 -> TP error issue and this type of issue normally
show up when you're using Wordpress managed
70.08 -> hosting because it's being managed by managed
WordPress environment and sometimes you get
75.3 -> that FTP error normally uh you can contact your
hosting to fix this issue but if you want to fix
81 -> that on your own I'm gonna give you a small line
of code which you can add in your WP Dash config
87.3 -> file in order to fix this issue normally it's best
to contact your hosting support to fix that issue
93.54 -> on your behalf but if it's if you are on a hurry
and they are giving uh giving you a low response
99.42 -> very slow response then you can fix that on your
own so uh first of all try to login to FTP and
107.04 -> if you don't have nftp access you can go to file
manager in your cpanel and from there on the root
115.38 -> of a WordPress you will simply download the wp
config file so let's download the wp config file
126.72 -> and there we go the wp config file is downloaded
so what I'm gonna do I'll open it on my uh
134.22 -> code editor and that's my code editor and below
142.26 -> WP debug false I suggest you to
add the line of code which is
148.62 -> this so Define FSH FS underscore method direct I'm
going to copy this and paste it below my WP debug
157.92 -> uh statement you can also add it to the bottom
of the file but if it doesn't work I suggest
163.14 -> you guys to put it below uh WP debug okay after
adding that I'm Gonna Save it and re-upload it
173.34 -> so let's upload it back I'm using filezilla
client for FTP now it's asking to override
180.96 -> the file as the file is already there I'm going
to click on OK and now let's test our website
187.44 -> that that if we are able to update the plugins
or not so I'm gonna go to installed plugins and
193.74 -> try to update the plugin which we need to okay
so that's the plugin now click on update now
205.08 -> and as you can see the issue has been
resolved now if I try to add a new plugin so
214.98 -> let me add a new plugin as
well in order to show you guys
219.78 -> so I'm gonna install the woocommerce
plugin to see if it's working
236.76 -> okay our plugin has been installed
and now I'm activating the plugin
251.46 -> okay my plugin has been successfully activated as
254.7 -> we don't need the woocommerce plugin
so I'm just gonna delete the plugin
261.18 -> it's also to test that we were able
to update the plugin we were able
265.26 -> to install a new plugin and now
we can delete the plugin as well
271.38 -> okay delete
280.26 -> okay our plugin has been deleted if in some
cases your issue does not get does not get
286.86 -> resolved by adding this line of code what you
can do you can add additional these two lines
294 -> below below this line so
you can add these two lines
301.26 -> Define FSC chmod dir you can add these
two lines as well below your FS method
310.26 -> which will definitely fix your issue let me
know in the comments below if you were able
314.58 -> to fix the issue if you are still having the
same FTP upload error please do let me know
318.6 -> in the comments and I'll try to help as soon
as possible until next video have a great day
Source: https://www.youtube.com/watch?v=oEHZrmaYkXY