While I try to change WordPress language on localhost Mac OS machine, I got this Warning message and I couldn't find Site Language option on General Settings page.
Warning: An unexpected error occurred. Something may be wrong with
WordPress.org or this server’s configuration. If you continue to have
problems, please try the support forums. (WordPress could not
establish a secure connection to WordPress.org. Please contact your
server administrator.) in
/opt/lampp/htdocs/wordpress/wp-admin/includes/translation-install.php
on line 65
My WordPress is the latest version 4.9.1
Some people in WordPress support suggest to check the installation of curl in XAMPP web server and I check it and it works well. link
I also checked the privilege of ../wordpress/wp-content/languages/ directory and chmod to 777
Any help, please?
I switched from XAMPP to MAMP and this problem is solved.
Related
when i'm entering the domain-name or IP on the browser for setup of magento2, then its shows me this error.
please check htaccess file. Rename htaccess file then again check.
check your php install or not. If installed then check its version beacuse magento 2.0 version working on 7.0.2 php.
check here requirement
I have a localhost development environment using MAMP Pro, with a Wordpress website working successfully using PHP 5.6.8. Changing the host to PHP 7.0.13 (and changing nothing else) results in the error:
Warning: mysqli_real_connect(): (HY000/2002): No such file or
directory in [edited path]/wp-includes/wp-db.php on line 1538
Error establishing a database connection
This either means that the username and password information in your
wp-config.php file is incorrect or we can’t contact the database
server at localhost:3306. This could mean your host’s database server
is down.
Screenshot of Complete Error
wp-config.php definitely has correct username, password, hostname and the database is running. Solutions to similar issues/warnings suggest the MySQL socket path in php.ini file could be wrong, but I have compared that file across the two php versions and they are the same.
I am using the latest versions of MAMP Pro (4.1) and Wordpress (4.7.4), as well as OS X (10.12.4). Also, the website works fine again when changing the host back to PHP 5.6.8.
No idea what else to do/check. Any thoughts are much appreciated.
Wordpress 4.6 later version is not supported in Php 7.0 So please Reinstall Php 5.6 and check .so working
After updating to PHP7 you need to check the path to the mysql.sock.
Open the php.ini file and correct the path
mysql.default_socket = /Applications/MAMP/bin/IDONTKNOW...../mysql.sock
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.
Working on a MacbookPro OS 10.6.6 , using MAMP Pro 1.9.4.
I'm attempting to install Acquia's Drupal Commons locally. The installation progress bar goes all the way, I can check in phpMyadmin that the database has been populated, but before the site configuration screen , I get a 500 Server Error!
Standard Drupal 6 or 7 install without any problem & I was able to install Drupal Commons on my web server. So it seems that some form of conflicts happens between my server configuration ( Mamp Pro ) and Drupal Commons.
Thanks in advance for any suggestions!
Did you check that your sites/default/default.settings.php file was copied to settings.php and not just renamed?
I remember having problems setting up Drupal when I just renamed it, both files need to be there.
I solved the issue by raising the PHP limit in Mamp to 96M.
File > Edit Template > PHP > PHP Version
//Search for 'memory_limit' & edit the value
memory_limit = '96M';
then restart the server.
After dong this Drupal Commons should install without any problems.
I just installed WAMP on my new eeePC and I am trying to install Drupal, I unzipped the drupal file in the www directory and went to localhost/drupal-x.xx
I get the following error for a couple hundred lines :
Deprecated: Function ereg() is deprecated in C:\wamp\www\drupal-6.15\includes\file.inc on line 902
then the regular drupal install interface appears at the bottom of the page, I tryed to go through with the installation but the problem remains, I looked through google and the drupal web site and I can find no answer (I found similar problem (in french), but no answer).
I have installed wamp and drupal on other computers (win XP and Mac OS) and it seems to work all right so it makes me think it might be related to the eeePC or windows 7 (running on windows 7 starter edition). Any idea ?
Thx
Ok it just seems that Drupal does not support PHP 5.3, which was installed in the latest version of WAMP, which I did not have on my other computers. I have to go back to 5.2, which you can do by installing a php 5.2.x addon from the wampserver website
If phpmyadmin doesn't work after installing your add, you will have to modify the php.ini file with the right path
; Directory in which the loadable extensions (modules) reside.
extension_dir = "c:/wamp/bin/php/php5.x.x/ext/"
replace php5.x.x by the version of php you downloaded and installed
My bad :)
Please try with PHP 5.6 or PHP7 installtion,otherwise it will put depcrated notice on header area.