can't install woocommerce plugin on LOCALHOST - wordpress

can someone who has experience with wordpress help me??
I have been trying to install WooCommerce - excelling eCommerce plugin on my wordpress theme, but since I'm working on localhost I think this is causing me some problems. When I try to download it directly from wordpress dashboard it starts with the normal procedure and then it just stays like this and nothing happens: Downloading install package from https://downloads.wordpress.org/plugin/woocommerce.2.1.12.zip…
while when I download the plugin separately and upload the .zip file in wordpress, I get this message: Are you sure you want to do this? Please try again.
when I click on Please try again, I get redirected in the step of choosing the file to upload and then if I do the same I get stuck on an infinite loop of doing the same things which lead me nowhere...

The solution to the problem is as follows:
Download the plugin as .zip
Unzip the .zip file
Copy the plugin files to the plugins folder of Wordpress
Open your Wordpress website and activate the plugin

Related

update failed during plugin installation of wordpress

I'm trying to install a woocommerce plugin on my wordpress website(locally) it is giving such error 'update failed' as you can see in picture,
how to fix this?
Go to wp-content/upgrade directory and change folder permission to 777 (chmod) or in windows make sure that the read only box is uncheck.
That only means you allow that directory to read write and execute without any restrictions.
You can also solve this error by increasing the execution time.
Just go to your Xampp Control Panel, Stop Apache server, click on config (Apache), then select PHP(php.ini) option, Press Ctrl+F type "execution" and hit enter, then just increase the size of execution time from 30 to 300, save the file and then start Apache again.
It Works for Me!
see sometimes there is compatibility problem of site effects. If you can not fix, you can install another similar plugin
or
install a plugin that stop the updates of plugins ot theme according to what you want, to stop only the update of this specific plugin, like
https://wordpress.org/plugins/block-specific-plugin-updates/
after when you fixed or come new version you restart the update procedure
An alternative that works for the installation of plugin is to upload the plugin via cPanel's File Manager or the FTP client (e.g FileZilla).
Download the WooCommerce Plugin from https://wordpress.org/plugins/woocommerce/. This will download a zipped file which can be uploaded onto the server.
After download, navigate your way to the wp-content/plugins folder on the cPanel. Upload the downloaded file, and extract the file to folder.
NOTE: remember to remove the version number from the name of the plugin after downloading e.g change woocommerce.4.0.1.zip to woocommerce.zip
It sounds like the files might have been corrupted during the update.
You’d need to access your site FILES, so that you can delete the WooCommerce plugin folder.
Locate the plugins folder, and remove the woocommerce folder from there. Once deleted, you should be able to go back to your site’s Dashboard and install the plugin again.
If you install any plugins/themes, this could be the reason for continuously fails. Add the below line of code in wp-config.php
define('FS_METHOD','direct');
Download .zip From wordpress org/plugins/woocommerce/

Wordpress install plugin redirect me to dashboard

When finding a plugin and clicking on install now, I am being redirected to the dashboard and can't install the pluging. Happen when I try to upload the plugin zip too.
download plugin and put extract it into your WordPress plugins directory and then go to wp-admin then plugin and activate .
You have to check in your browser console, may be it is server timeout issue due to plugin large file size. then you have to increase timeout limit in your server. or have to install plugin manually.

Alternate way to install plugins in wordpress

I am running wordpress on my local using Web Matrix. I am trying to install "Types - Custom Fields and Custom Post Types Management." plugin. But this is taking forever I am seeing message "Installing Plugin Types - Custom Fields and Custom Post Types Management (1/1)" from last one hour. The problem is I am not even getting error or installation fail notification. Anybody faced this kind of issue? and Is there any other way to install this plugin instead of doing it from UI available?
Hi TolerantCoder,
if you are not able to install plugins from admin than you can download plugins from wordpress plugins Directory than extract zip file and add in you wordpress project plugins directory.
I.e: D:\wamp\www\citicollege\wp-content\plugins\
in plugins directory you can copy paste plugins and activate from admin.

WordPress website doesn't load after installing theme

I have installed: http://themeforest.net/item/123ecology-corporate-ecommerce-wordpress-theme/4561597 on my domain. It stops working as I activated it. Now an empty page is loading, either I try to load dashboard or front-end. I faced this problem earlier on another site. But on that it occurs for a few time.
My Current website is: http://primeimports.ca/
This usually happens when their is a PHP error in the theme's code. If you have access to the files via FTP perhaps, just delete the theme folder and your Wordpress installation will work again.

how to install downloaded wordpress theme in xampp

I am trying to install a theme I downloaded from this website.
I am using XAMPP and I am not sure how to install this dowloaded theme using XAMPP.
I tried installing this theme with the zip folder (in zip format) in Wordpress but I get the error
” The package could not be installed. The theme is missing the style.css stylesheet.
Theme install failed. “
I found a similar on Wordpress website but they mentioned using FTP but I don’t know how to use FTP with XAMPP
I want to install the theme and test it out locally before I make it live or buy a domain name.
This is my first time doing this (I am a student) so I don’t totally know how things work together, don’t know if I am using the description/terms but I hope I described the problem well enough.
How to go about this? Any help will be appreciated.
Thanks
OK so its a bit weird that the theme you downloaded is missing the CSS file. When you upload it Wordpress is trying to find that file and failing. For now, let's assume that the creator of the theme put the CSS file in a different location than usual.
To install a theme manually via XAMPP do the following:
Locate XAMPP's htdocs folder. This is normally Applications>>XAMPP>>HTDOCs on Mac or My Computer>>C:>>XAMPP>>HTDOCs on Windows (I think - someone might need to correct me on that).
If your site is installed in a sud-directory in htdocs, go there. If not skip to next step.
Open the wp-content folder
Open the themes folder
Copy in your downloaded theme and extract it there (if its zipped)
Go to your Wordpress Dashboard and go to the Appearance button on the left and click Themes from the drop down. Find your newly installed theme and hit Activate.
That should do the trick unless your theme is missing some vital elements
(PS: what your are doing here - moving (theme) files from one location to another - is essentially the same as FTP. Difference is FTP allows you to transfer files accross the internet from computer to computer: say your computer to a web server hosting your site.)
Add this lines to your wp-config.php file
//** To add the direct installation of the themes **//
define('FS_METHOD', 'direct');
Then go to wp-admin and click on customize your site. Press on change button on the active theme and browse for your favorite theme from wordpress.org and install then enjoy

Resources