Can not download wordpress themes locally - wordpress

I have installed wordpress in my xampp server.
everything looks great.
I am using proxy so i have added below snippet in wp_config.php to use proxies.
/* Configure proxy Server */
define('WP_PROXY_HOST', '192.56.14.2');
define('WP_PROXY_PORT', '5656');
define('WP_PROXY_USERNAME', 'xxxx');
define('WP_PROXY_PASSWORD', 'xxxx');
when i try to INSTALL any theme. It shows following Error.
Installation failed: Download failed. cURL error 56: Proxy CONNECT aborted Like this_Error image
I couldn't find much on this.Any help please?

Related

installation of wordpress with xampp

I want to install Wordpress on my pc so first, I need to install xampp.
After installation when I'm trying to start apache it is automatically shutting down. So I changed the localhost port number to 8080 then it started.
But now the problem is when I'm trying to run Wordpress it is not opening correctly.
Here is a screenshot of my error. Please help with installation of Wordpress with the xampp
I think you have to check first if any other html file is working fine or not on the root directory inside (www) folder. If its working fine then try with http://localhost/wpfive
see my example screenshot for this.
Best of luck

WP2Static cURL error: Could not resolve host: statics.mydomain.com

I have a problem, with the plugin WP2Static in wordpress, when generating statics files, the folder is created well but not the files.
Export log:
cURL error: Could not resolve host: statics.mydomain.com
I'm using a VPS with Debian 9.
wordpress version: 5.2.1
WP2Static version: 6.6.5
I use Docker to generate my wordpress.
PS: The domain name used does not exist (statics.mydomain.com), I add it to the hosts file.
Target Directory:
/var/www/html/statics/site1
I installed the project on a VirtualBox and the plugin works fine. The problem must come from the DNS but I can not find the solution!
Have you ever had this problem ? Do you have any suggestions?
Thank you so much!
This is as you suspect a DNS resolution issue.
When you add the entry to your hosts file, I presume this is on your host.
The docker container running your application also needs to know where statics.mydomain.com resolves to.
Add an entry to the hosts file within your container running WordPress. You can then test by running cURL on CLI within that container.
WP2Static uses WordPress's knowledge of the Site URL and Home URLs from its Settings area. Ensure that these are also set to statics.mydomain.com and not overridden via wp-config.php.

how to fix missing transport error in wordpress?

Whenever I try to Install any plugin or theme WordPress gives an error as:
Installation failed: Download failed. No working transports found
Please Help!
This error message occurs when there are missing extensions on a development server, so the WordPress is unable to make external HTTP requests.
The solution is pretty simple. The missing extensions that make those HTTP requests possible are already installed with Wamp Server, By default,they are just disabled. To enable them, we need to edit the php.ini configuration file.
Editing php.ini file
The php.ini file contains a list of many extensions with some of them disabled by default. The only one I had to enable was the openssl extension.
Here are the steps to enable that extension:
Start Wamp Server.
click on Wamp Server Icon and move to PHP->php.ini option.
double click on php.ini. so, it will open php.ini file in your default Text Editor.
search for php_openssl.dll in php.ini file. ->You Will see that the extension is commented out: ;extension=php_openssl.dll
Uncomment that line by removing semicolon(;)
Save the changes.
Restart Wamp Server.

Ubuntu 16.04 - Cannot Open PhpMyAdmin after do full installation

I have minor problem here. I try to install phpmyadmin in my machine. Before I start install phpmyadmin, I have done installing LEMP.
Details:
Ubuntu 16.04
Nginx 1.9.15
MySQL 14.14
PHP 7.0.4
Steps for install phpmyadmin I follow here:
How To Install and Secure phpMyAdmin with Nginx on an Ubuntu 14.04 Server
After I done with installing phpmyadmin then I go to my web browser and click this http://server_domain_or_IP/phpmyadmin. It should show up interface of phpmyadmin. But mine show a pop out like this.
I do not have an idea what is happening. Hope anyone can help me.
thank you!
It seems like nginx is running but doesn't know how to handle the PHP processing. Try
service nginx restart
If that doesn't work, try making a basic PHP file in the server root, something like:
<?php echo "PHP is working"; ?>
And see if you can get that to load properly.
If you pass those two steps and still have trouble, my next guess is that the phpmyadmin site is not properly enabled. Check that the link for the site points to the right place. This talks about virtual hosts (albeit for Ubuntu 12.04 but should work):
https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-virtual-hosts-server-blocks-on-ubuntu-12-04-lts--3
If it still doesn't work, you can download the tar.gz of phpMyAdmin and manually configure to see that it gets going.

Can't install Themes in Wordpress 4.1 (cURL failure)

In Wordpress V4.1 I am trying to install a new Theme. Wordpress throws the following error message:
Download failed. error:0D0C50A1:asn1 encoding
routines:ASN1_item_verify:unknown message digest algorithm
I think it is the cURL transport which is failing. I installed the "Core Control" plugin and tested the curl functionality. This test tells me, that cURL and PHP-Stream is working.
I now found out that SSH2 is not available on the server.
Is it possible to use Wordpress without SSH2?
You could switch the installations and updates to using FTP rather than the built in downloader. Because of the way the server is setup, some of my sites automatically use it unless overridden.
You can force wp to use FTP for installing/updating plugins and themes by adding this line into the wp-config.php file:
define('FS_METHOD', 'ftpext');

Resources