How To Fix FTP Connection Error on Localhost WordPress

How To Fix FTP Connection Error on Localhost WordPress

Hey, In this tutorial, we are going to solve FTP connection error on localhost. When I log into my dashboard and try to customize it, I found some error like connection information and it asks for FTP username and password.ftp connection error localhost

In the previous tutorial, we locally host WordPress on Mac. Now, we are ready to create a website. So, let’s get started. 1st of all, you have to log into the backend of your website. For that, open your web browser and type localhost/name of your database/wp-admin and hit enter. Enter your credentials and log in. Now, you are at the backend of your website. Here, you can customize your website and make it more responsive. But when I log in here and try to customize my website, I found some error. To check error exist or not, click on plugins and try to delete default plugins. I’m sure you will find some error like enter your FTP username nad password to continue. If you don’t have this issue then you are ready to go but if you have this issue then stick with this tutorial till the end. I’m sure, you will solve FTP connection error on localhost with your own.

There are several reasons for having this error but we are solving this by two methods, if you fail while trying 1st method then you should try 2nd method or both. In my case, when I found this error I tried both and then I solved it. So, let’s get started.

Change the file permissions of the database

Ist you have to locate this file. For that, you have to go to Applications- Xampp- xampfiles- htdocs- wordpress (in my case). Once you locate this file, right click on it or simply press Command+I. So, the info window will open. Go to last option, Sharing & Permissions. Click on the drop down button. Now, 3 options will open. ftp connection error localhost

These all have same privileges Read & Write or something else but you have to change these to Read Only. Once you do that, click on the lock icon, which is located on the bottom right corner. Enter your credentials and unlock it. Again you have to change the permissions from Read Only to Read & Write for all.

Read More: How To Install WordPress Locally With XAMPP

Now, click on setting button right there and select Applied to Enclose Items. It will ask your permission because you can’t undo that process. Once you were done you are ready to go!ftp connection error localhost

Now, it’s time to check, log into the backend of your website and go to plugins and try to delete anyone. If you delete it, it means your problem is solved. Otherwise, try another method.

Insert the code into wp-config.php fileftp connection error localhost

You will find this file here; Applications- Xampp- xampfiles- htdocs- wordpress (in my case)- wp-config.php make sure only use wp-config.php not wp-config-sample.php. Once you get this file, open it in the text editor. Now, insert this code into starting of the command on the wp-config.php file.

define(‘FS_METHOD’, ‘direct’);

Once you insert this code into wp-config.php, save this file. Now, you are ready to go! Again check on your website by deleting any plugin. I’m damn sure, you will succeed. Now, you are ready to customize your website.ftp connection error localhost

I hope you like this tutorial. Thumbs if you like and share if you love. Leave your comments below and tell me you having the same issue and you solved it or not?

Subscribe newsletter/RSS for latest updates.

See you in the next one.

Thank You.

I’m Electrical Engineer, Author, YouTuber, Blogger, Techie, Gadget Reviewer, Web Content Writer & Founder & CEO of lokesharyan.com

The New Razer Blade Stealth Ultrabook 2016

The New Razer Blade Stealth

Super thin & well-built ultrabook!

12.5″ IGZO Touch Display

2560*1440 resolution

70% Adobe RGB

Intel Core i7 7th generation

Read the complete description, specification & detailed review of The New Razer Blade Stealth here.

Check it out now;

The New Razer Blade Stealth – QHD (128GB)
The New Razer Blade Stealth – 4K (1TB)
Razer Core
Check out latest Graphic Cards & Accessories

I’m Electrical Engineer, Author, YouTuber, Blogger, Techie, Gadget Reviewer, Web Content Writer & Founder & CEO of lokesharyan.com

Razer Blade Stealth – Full Review and Benchmarks

Razer Blade Stealth – Full Review and Benchmarks

Super thin & well-built ultrabook!

The top surface is made of black aluminum, which is very smooth & different material from last year model but is shows fingerprint on it. On the top surface, it has green-lighted Razer logo. The bottom surface is made of same material. At the bottom part, there are some intake vents & rubber strips, which allows air circulation. This is the best-built quality ultrabook I ever used.razer blade stealth

The display is very rigid & less flex. The hinges are very solid and perfectly tuned. It is one-handed open. The display is 12.5” Quad HD Touch Display. The resolution is 2560*1440. The bezels are very thick. The viewing angle & contrast of the display is excellent.

The color accuracy is also awesome. You can do the color accurate work on it like video editing & photoshop. The screen is glossy and it also shows some reflections but the display is bright enough so you can use this outdoors.razer blade stealth

The webcam is good and it is 2MP. It is very sharp & image quality is good.

The keyboard chassis area is little flexible. The material is same here and it leaves fingerprints on it. The keyboard is Razer Chroma. You can change the color of particular every key from the software. The keyboard has anti-ghosting it means once you press any key, it lights all keys.

So much fun from the keyboard side! The key travel is short but I feel good trying. If you are not comfortable with short key travel, it takes the time to get comfortable. The layout is good. The typing experience is also good.

razer blade stealth

The trackpad is good. It is made of glass, which I like most. The texture is good. The tracking is not so good because it skips sometimes. The buttons are smooth and very responsive.

On the right side, you have USB C, which supports Thunderbolt 3, which you using to charge this laptop and you can also connect external GPU. Next is USB 3 and audio jack. On the other side, HDMI port & a single USB 3 port. There is no SD card slot.razer blade stealth

It is very easy to get in internal parts. There is 8GB RAM which is sorted on the motherboard so you can’t upgrade it. You have to stick with 8GB RAM! Storage drives are replaceable. The drives are very slow. The write speed is relatively slow. So, in my recommendation, you should replace this with faster drives.

The gaming performance is good, not excellent because of integrated graphics. But still, you can play low-end games at 53-55 FPS at lowest graphics on the 1080p screen. For demanding games are also playable at 42-45 FPS, for better performance you should low the graphics and resolution. High-end games re not playable on integrated graphics.

Read More: Razer Blade: The Pinnacle of Portable Gaming

If you want to play games very smoothly you should go for Razer Core, which is external GPU. You can boost graphics and play games very smoothly. For that, you have to purchase Razer Core, put your favorite video card into it and you are ready to go! So, this is the option for gaming.

The battery performance is excellent. It has a 45WH battery. It requires 2 hours to get a full charge. For normal daily usages it gives 6-7 hours of battery life and for gaming, it gives 1-2 hours of battery life.

The speakers are not so good. Speakers are on the both sides of the keyboard. The sound is not loud and the bass is also bad but at maximum volume, sound doesn’t distort.razer blade stealth

The Razer Blade gets very hot because of GTX 960M and super thin design but this model has low volt CPU & integrated graphics, it stays cool. Overall this device is thermal comfortable.razer blade stealth

The fans are good. It cools system very well. Under full load, fans are very quiet.

Read More: MacBook Pro 13 vs Dell XPS 13 vs Razer Blade Stealth: Which Should I Buy?

This unit runs on 2.5GHz Intel Core i7-6500U processor, which provides excellent performance. It has integrated Intel HD graphics 520 that allows decent gaming. Thunderbolt 3 supports external GPU for the amazing gaming experience. The 8GB DDR3 RAM is sorted on the motherboard and 128 GB SSD, which has lower, write speed.

This is very well built with black aluminum. The display is 12.5” Quad HD Touch that is awesome. The webcam is good. The keyboard & trackpad is also good. The speakers are in a good place but the sound is bad. The battery performance is excellent. This Razer Blade stealth will cost you around $1000.razer blade stealthIn my opinion, I really like this ultrabook. If you are a student then this laptop is for you because it has all features at decent price rate. You can play games and also use it for daily basis. You can also do regular laptop work on it and the best part is you don’t need to upgrade any components of this ultrabook. The battery performance is also good; you don’t need to take the charger with you every time.

If you are a content creator or video editor or gamer then you can use this Ultrabook but you should upgrade some of the components like you have to use faster drives, 4K display, and Razer Core.

That’s it for this review. I hope you like it. Thumbs if you like and share if you love. Leave your thought below and tell me did you liked it or not? What you think about it and you gonna purchase this ultrabook or not?

That’s it for this review. I hope you like it. Thumbs if you like and share if you love. Leave your thought below and tell me did you liked it or not? What you think about it and you gonna purchase this ultrabook or not?

Subscribe newsletter/RSS for latest updates.

See you in the next one.

Thank You.

Check it out now;

The New Razer Blade Stealth – QHD (128GB)
The New Razer Blade Stealth – 4K (1TB)
Razer Core
Check out latest Graphic Cards & Accessories

I’m Electrical Engineer, Author, YouTuber, Blogger, Techie, Gadget Reviewer, Web Content Writer & Founder & CEO of lokesharyan.com

How To Install WordPress Locally With XAMPP

How To Install WordPress Locally With XAMPP

Hey, Once again I’m back with another amazing tutorial. Today I’m going to talk about how you can host WordPress on your Mac. So, you don’t need to pay for domain and web hosting. So, let’s get started.

You should know before hosting website on your device;

If you want to create a website for your own then you should locally host it on your system. In this case, your system is work as a server and your website will host on it. All the data of your website will save on it. So, If you shutdown the server then you can access your website. You don’t even access it on other devices.

No one can open your website. If you want to make a website/blog which lives on search engines, you have to host it on other servers like GoDaddy, HostGator, Bluehost etc. For that, you have to pay some charges called hosting charges. So, these tutorial is for them who want to make a website for own.

To host your website on your system you should have 4 important things;

Suitable System [PC/Mac/Notebook]

Xampp [Open Source Web Server]

Latest version of WordPress

Text Editor

Suitable System:

Xampp is available for different platforms like Windows, MacOS & Linux. You can select a proper system, which you can play with it like if you are comfortable with PC [I mean Windows!] then choose it but in this tutorial, I’m using Mac.

Xampp:

Xampp is the open source cross-platform web server solution stack developed by Apache Friends. We will host a website using Xampp. You can download the form here.

The latest version of WordPress:

WordPress is the best CMS to create responsive websites and we will use WordPress to create our website. It’s open-source software. Click here to download.

Text Editor:

We will use a text editor to change the coding of PHP files. You can use whatever you like but I’m using Sublime Text or you can use default text editor. It’s open source software.

1st of all you have to download Xampp for the respective operating system. I’m using Mac. Click here to download. Click on download other versions & select latest PHP version. It takes time.

Now, it’s time to download the latest version of WordPress. Click here to download.

Open Xampp. It will ask your permission. install wordpress xamppNow, go to Manage Servers. 3 servers are available there & all are stopped. install wordpress xamppNow, click on MySQL Database & Apache Web Server make it start. No need to start ProFTPD server. install wordpress xamppIt takes the time to start both servers. Now, minimize this window and open a web browser.

Now, enter localhost and hit enter. It will redirect you to localhost/dashboard. install wordpress xamppOnce you get this page it means Xampp is properly installed on your system.

Now, it’s time to setup database. For that, you have to click on phpMyAdmin.

install wordpress xamppClick on the database. Enter the name of the database and create. Your database is created & now you are ready to install WordPress.

install wordpress xampp

Extract WordPress.zip file which you download from WordPress website. Open the extracted folder.

install wordpress xamppSearch for wp-config-sample.php and now we edit this file in text editor.

install wordpress xamppOnce you open it, you will see coding there and now search for

define (‘DB_NAME’ , ‘database_name_here’);

define (‘DB_USER’ , ‘username_here’);

define (‘DB_PASSWORD’ , ‘password_here’);

And change it with;

install wordpress xampp

define (‘DB_NAME’ , ‘wordpress’); [in my case, wordpress is the databsse]

define (‘DB_USER’ , ‘root’);

define (‘DB_PASSWORD’ , ‘’); [leave it blank]

Once you were done, save as this file & rename it with wp-config.php Please do not save it, save as it.

install wordpress xampp

It means there are 2 files;

wp-config-sample.php

wp-config.php

install wordpress xamppNow, close this window and move this wordpress folder to

Applications/XAMPP/xamppfiles/htdocs/wordpress

To check, go to your web browser and enter

localhost/wordpress [instead of wordpress use your database name]

Read More: FTP Connection Error on localhost [Fixed]

If you get WordPress installation window it means you have successfully installed WordPress on Xampp.

install wordpress xampp

Now, enter site title, username, and password, email id and Install WordPress.

install wordpress xampp

Login to your WordPress dashboard to get access to the backend of your website. Click on Visit Site to open your website.

install wordpress xampp

I hope you like this tutorial. Thumbs if you like and share if you love. Leave your comments below and tell me you liked it or not and if you have any questions regarding this tutorial you can ask me via tweet and comments. I love to hear from you!

Subscribe newsletter/RSS for latest updates.

See you in the next one.

Cheers!

I’m Electrical Engineer, Author, YouTuber, Blogger, Techie, Gadget Reviewer, Web Content Writer & Founder & CEO of lokesharyan.com

How to Sign up For a DreamHost Account

How to Sign up For a DreamHost Account

DreamHost
Hey, Today’s tutorial is about Dreamhost. In this tutorial, I’m gonna talk about Dreamhost hosting, how you can create an account, how to purchase web hosting plan, how you can connect your existing domain with Dreamhost. So, let’s get started.

DreamHost

Dreamhost is the Award Winning Web & WordPress Hosting Provider Company. They provide different services like website builder, domain name, hosting and servers, dedicated hosting, VPS hosting and much more.

Dreamhost offers 1-year free domain with a purchase of 1-year web hosting. But when you create a free trial account, you have to pay for domain or you can use your existing domain to free sign up for 15 days with Dreamhost [Now, they don’t give trial account access].

So, If you want to try Dreamhost then you should try for the 1-month plan and after using it, if you find it helpful and want to continue then you should upgrade your account.

I’m using Dreamhost and I really like it, they provide 24*7 customer services & best uptime servers at least prices.

DreamHost

How to purchase web hosting on DreamHost?

Click here to open Dreamhost. Now, click on Hosting & Servers and choose Web Hosting. Scroll down or click on see our shared hosting plans. Before choosing a proper plan you have to read this.

Read More: How to choose proper and best-suited hosting plan?

If you want to try Dreamhost then choose 1-month plan otherwise select 1 or 3-year plan. Please remember, If you purchase more, you will get better value like if you purchase for 1-month then you have to pay $10.95/mo, 1-year plan at $9.95/mo & 3-year plan at $7.95/mo. So, check properly before selecting the plan.

Once you choose the plan, click on sign up!

How to create an account with Dreamhost?

Once you click on sign up, enter your email, password & hit continue. Now, select the domain name of your website or if you have a domain name, you can connect with it. Dreamhost gives you 1-year free domain in the purchase of 1-year web hosting. So, if you don’t have a domain name, choose one. Enter the name whatever you like and you can continue if it available.

Now, again choose the plan, which you select earlier & hit continue. Next are additional options, MySQL VPS. You don’t need this if you are beginners. Uncheck this button and continue. You can purchase this further. Enter your personal details. Please add correct details. Once you are done click on Place Order Now!

Now, your account is created and you just purchase web hosting with Dreamhost. To log in, connect to your web panel. Please check your email and you will find some emails from Dreamhost billing, account info, and id/password etc. Now, you can build your website. Before building your website, 1st you need to do is connect your old domain with Dreamhost. If you select a new domain with Dreamhost then you don’t need to connect it but if you purchase a domain from other providers then you have to connect it with Dreamhost.

How to connect existing domain with Dreamhost?

When you are on choose your domain page and you want to connect your old domain with Dreamhost then click on I will set this up letter. Log in to your dashboard of Dreamhost web hosting. Click on Manage Domains from the toolbox. Select Add New Domain.

Now, enter your domain name/website name whatever. Add user, if you don’t have then create a user. Once you add user then you don’t need to do anything, Dreamhost will take care of it. Click on Fully Host This Domain. It takes 4-5 mins to get access.

So, in this way, you can connect domain with Dreamhost.

Now, you are ready to install WordPress and create your website. Login to your Dreamhost dashboard and choose One-Click Installs & select WordPress. Now, select the domain on which you want to install WordPress. Leave empty subdomain box. Select Automatically Create Database from Select Database. Leave Deluxe Install and Install it For Me Now!

Now, WordPress is installed on your domain. You can check it by clicking on the link. This is your website but you can make it more creative by following this articles. Click here for these articles.

After 10-15 min opens your website and you will see WordPress installation. Choose your language and continue. Create id/password for WordPress & you are done!

Read More: How to create website/blog? [Complete Tutorial For Beginners]

I hope you like this tutorial. If you have any questions feel free to ask me. Thumbs if you like and share if you love. Leave your thoughts below and tell if you like this or not, do you want to try Dreamhost or not and if you current user of Dreamhost then shares your experience with me. I love to hear from you!

See you in the next one.

Subscribe newsletter/RSS to get latest updates.

Thank You.
DreamHost

I’m Electrical Engineer, Author, YouTuber, Blogger, Techie, Gadget Reviewer, Web Content Writer & Founder & CEO of lokesharyan.com