How Install woocommerce plugin in WordPress on godaddy server - wordpress

I am running WordPress website on godaddy server. I am not able to install woocommerce plugin due to 500 internal server error.

500 error come for lots of reasons for the main reason is MEMORY_LIMIT increase your MEMORY_LIMIT to 98M
For that, Open wp-config.php, which by default is located in the root WordPress directory.
Find the following line near the end of the file:
/* That's all, stop editing! Happy blogging. */
Just above that line, add the following line:
define('WP_MEMORY_LIMIT', '64M');
Save your changes.
For Manual Upload you can do with FTP just
connect with FTP and go to a wp-include folder -> plugin folder you
can upload your plugin here.

Related

WordPress: Having a problem in plugin uploading

I have one problem in WordPress. I need to install SEO plugin. I see an error in dashboard, Update Failed and ask me to download a plugin in the .zip format.
Plugin Uploading Error
1. Enable WP_DEBUG in wp-config file.
2. Check your error.log for more details.
3. Disable open_basedir in php.ini.
4. Increase WP_MEMORY_LIMIT in wp-config file or memory_limit in php.ini.
5. Increase upload_max_size, post_max_size and max_execution_time in php.ini.
6. The 500 internal server error can be the result of a faulty plugin or two conflicting plugins. To test it rename plugins folder to something like plugins_old to deactivate all plugins at once.
7. Repair your WordPress core files by uploading fresh versions of wp-admin and wp-includes folders.
8. If none of the above points solved your problem, contact your webhost support.

Can't install wordpress on localhost

Every time I'm trying to install wordpress from the address: localhost/wordpress
It's showing the "Parent Directory"
Apache/2.4.29 (Win32) OpenSSL/1.0.2l PHP/7.1.11 Server at localhost Port 80.
Can anybody give me a solution?
From your screenshot, it looks like you have no files in your localhost/wordpress directory. You can follow the steps on this Codex page - https://codex.wordpress.org/Installing_WordPress - to guide you through the install process. You first need to download and unzip the WordPress files from https://wordpress.org/download/ into your local folder. You also need to have PHP installed locally, set up a database and a user, and edit your wp-config.php file before you can access localhost/wordpress to run the install. It's all detailed in that Codex page.

Install Wordpress Multisite on MAMP 3.5

I have followed every tutorial and I still don't have a solution for setting up a wordpress multisite on MAMP 3.5 that points to subdomains. If anyone has any success I would be willing to hear it.
1.install WordPress in the normal way. Download WordPress and use the ‘famous 5 minute install’ to install it on your server or local machine.
2.Open your wp-config.php file which you’ll find in the folder where you installed WordPress. Find the line that :
/* That's all, stop editing! Happy blogging. */
3.Immediately above that line, create a new line that reads as follows:
define( 'WP_ALLOW_MULTISITE', true );
4.Now save your wp-config.php file.
For more info about config installation & manging site.
Go to:
https://premium.wpmudev.org/blog/ultimate-guide-multisite/

Wordpress Import WXR

I have tried multiple times to import my old blog hosted on wordpress to my custom domain site running wordpress, however, everytime I try importing the file,it ends up with a blank screen, I have checked the upload folder to contain the same but it is not showing up in my website. Please help.
My site is hosted on a parallel plesk shared hosting.
Most probably that WordPress theme is not applied for this website.
Try to do following:
Open Wordpress Toolkit and scan for installations.
Press Themes section on desired website.
Apply one of listed themes.
It may be that your file is having trouble uploading completely. If you have php 5 or newer running try to create a file called .user.ini and place it in your Wordpress installation folder with the following in it.
upload_max_filesize = 64M
post_max_size = 64M
memory_limit = 64M
max_execution_time = 300
You can also add this to your php.ini file or if you do not have access to the php.ini file create a new file called php5.ini and upload it to the root of your Wordpress install with the above in it. Good luck.

Getting a 500 internal server error for wordpress?

I already tried doing the php.ini memory=20MB solution but it did not work. I uploaded it under the wp-admin/ folder.
I'm not really sure what else to try. Help?
The memory bump doesn't go into an .htaccess file in wp-admin. It goes into the .htaccess in web root. Use FTP to find and delete the .htaccess file you put in wp-admin.
Then forget about .htaccess files and try adding the line below near the top of your wp-config.php file, a few lines after the opening <?php
define('WP_MEMORY_LIMIT', '64M');
Renaming plugin directory temporary solved the problem for me
This problem occurs because your php dont't have any xml or has a deprecated version xml, so if you manually instal or update your xml, the problem will be solve.
If you using Ubuntu, try execute this code in your terminal:
sudo apt-get install php-xml
After this you need to restart apache so it takes effect, for this execute the command:
sudo service apache2 restart
Go to setting -> permalink and then select any common setting after that save it.
Reload the website. Everything will be fine.
Then reset it to previous common setting so that it will not effect for URL.
A 500 error is an Internal Server Error, which sometimes can be a hosting configuration problem, but in WordPress it is often a fatal PHP error.
First, just remove that php.ini file - some web hosts do not allow you to modify the PHP settings, so let's take that out of the mix first.
If it is a server error, temporarily rename your .htaccess file to something else (to take it out of the mix as well). Also, check for an error_log file in your filesystem, or the Error Logs in your hosting control panel.
If that doesn't tell you anything, it is likely a PHP issue. Turn on WordPress Debugging by adding the following code to your wp-config.php file:
// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
#ini_set( 'display_errors', 0 );
// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define( 'SCRIPT_DEBUG', true );
Make sure you comment out the line that says:
define( 'WP_DEBUG', true );
Now, when you refresh the page and get the error, WordPress will write any PHP errors to wp-content/debug.log. Check that log for a fatal PHP error - it will tell you which file is causing the error, often a theme or plugin file.
Once you know the cause, rename that theme or plugin to temporarily remove it from WordPress. That should restore normal functionality.
Another important fix for the internal server error is to try and upload a fresh version of wp-admin and wp-includes to your site.
This step should be a last resort, but if you’ve used the above solutions and still cannot find one that works, it’s worth a try. Backup your site, and download a fresh version of WordPress from the main site.
Extract the files from the ZIP file, and open the extracted folder. Open your site’s root directory in an FTP client, and upload the wp-admin and wp-includes from your fresh version of WordPress to your site’s directory, overwriting the older versions.
Refresh the client, and refresh your site. If the error is gone, it was likely caused by a corrupted core file. If you still see the error, you may have no other option than to contact your host. Check it out for more WordPress internal server error fixes.

Resources