A screenshot of the error message
I have been having the same error all night. Trying to install joomla on XAMPP. I even went ahead to uninstall my xampp and install WAMP and i am still having the same issue. Please help me out.
This is the error message I get:
Warning
Problem running post-install step. Installation may not complete
correctly
| Error running C:\Bitnami\WAMPST~1.1-O\mysql\bin\mysql.exe
--user=root -- host=localhost --port=3306 --database=bitnami_joomla "--password=****" -e “SOURCE
C:/Bitnami/WAMPST~1.1-0/apps/joomla/htdocs/INSTAL~1/sql/
mysql/joomla.sql;": mysql: [Warning] Using a password on the command
line interface can be insecure. . ERROR 1062 (23000) at line 33 in
file: ‘CA\Bitnami\WAMPST~1.1-O\apps\joomla l \htdocs\INSTAL~
1\sql\mysql\joomla.sql': Duplicate entry '1' for key ‘jos_assets.
PRIMARY’
Related
I am using OS X Yosemite
I ran the following command in Composer because Laravel fails to download and install properly all the time:
composer diagnose
result:
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: FAIL
[Composer\Downloader\TransportException] The "https://packagist.org/packages.json" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
Checking github.com rate limit: FAIL
[Composer\Downloader\TransportException] The "https://api.github.com/rate_limit" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
Checking disk free space: OK
Checking composer version:
[Composer\Downloader\TransportException]
The "https://getcomposer.org/version" file could not be downloaded: SSL ope
ration failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
failed
Failed to enable crypto
failed to open stream: operation failed
The main line I want to focus on is:
SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
How can I fix this. I have tried several solutions on the web and none have worked. I am totally new to the use of the command line.
When downloading and installing Laravel with the following command: composer create-project laravel/laravel --prefer-dist can't I just manually download the stuff myself and place it in the correct folder to avoid this SSL problem?
Note: I am running OS X Yosemite. I believe this works with Mavericks too.
After looking a several answers and combining them mixing and matching etc. Here is a rough explanation on what I did.
Open the command line and run:
locate cacert.pem
This will list all the locations where your certificates are.
My result:
/Applications/Adobe Dreamweaver CS6/Configuration/Certs/cacert.pem
/Applications/MAMP/Library/lib/python2.7/test/pycacert.pem
/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pip/_vendor/requests/cacert.pem
/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/test/pycacert.pem
/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/test/test_asyncio/pycacert.pem
/Users/robert/.composer/cacert.pem
/opt/vagrant/embedded/cacert.pem
/usr/ssl/certs/cacert.pem
I downloaded the most recent one from curl
http://curl.haxx.se/docs/caextract.html
I made a directory in /usr/ssl/certs/
and put the downloaded cert there /usr/ssl/certs/cacert.pem
I opened up my php.ini file and placed this line at the top of the file:
openssl.cafile=/usr/ssl/certs/cacert.pem
Restart apache (stop apache and start it again)
Everything worked out for me.
Now one thing that I do believe needs to be done is you need to tell the command line which PHP you are referring to. I am running PHP under XAMPP and not natively on my OS X. So the command line will think that you are referring to the native PHP on OS X and not the one running on XAMPP. This needs to be changed I believe for this to work. If not then it should be good.
As mentioned this solution worked for me.
I faced this issue while executing composer install in Magento 2 , on MAMP , Mac m1 the issue was fixed after I replaced the file in path : /Applications/MAMP/Library/OpenSSL/cert.pem
with the pem file downloaded from the :
http://curl.haxx.se/docs/caextract.html
hope this helps someone on .
The easiest way without the need to change the php.ini file:
DEBIAN/UBUNTU:
# apt-get install ca-certificates
FEDORA:
# dnf install ca-certificates.noarch
CENTOS/REDHAT
# yum install ca-certificates.noarch
Source:
https://linuxconfig.org/routines-ssl3-get-server-certificate-certificate-verify-failed
Another possible reason is that the server's SSL cert has expired. If it is your server, check the /etc/apache2/ssl (for ubuntu). The certs usually last for 365 days. See 'https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-14-04' on how to create one.
Getting this error when I run the command - vagrant up
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list emacs' returned 1:
Error: Cannot retrieve repository metadata (repomd.xml) for
repository: nodesource. Please verify its path and try again
Although some details around OS etc. would have helped but the error seems to be coming when trying to do an "yum update". Similar error has been answered here. So technically it is not even a Puppet error. If you need a basic sandbox for trying puppet using Vagrant then you can use the repo here
So after install OSX Mavericks, i'm trying to start mysql installed by homebrew
the error when i'm trying to do mysql -u root or mysqld
mysql: Can't read dir of '/usr/local/etc/my.cnf.d' (Errcode: 20)
Fatal error in defaults handling. Program aborted
I'm researching for a lot of stacks, but i didn't find any error like my, someone can help?
I am using OSX 10.8 ( looks like some version on Postgres is installed by default ) but still I did these steps one by one and they all succeeded .
brew install postgresql
initdb `brew --prefix`/var/postgres -E utf8
touch Gemfile
bundle config build.pg --with-pg-config=`brew --prefix postgresql`/bin/pg_config
And this is a screen shot of the last success message I saw:
Then I ran this one:
postgres -D `brew --prefix`/var/postgres
And that's the error I get:
postgres cannot access the server configuration file
"/usr/local/var/postgre/postgresql.conf": No such file or directory
I think your whole problem is with a short typo. Compare your error message with what you are doing. Your error message is:
postgres cannot access the server configuration file "/usr/local/ var/postgre/ postgresql.conf": No such file or directory
Your command is
postgres -D brew --prefix/var/postgres
My guess is you are accidently running
postgres -D `brew --prefix`/var/postgre
I woork on my local site with MAMP. Everything was going right till yesterday. Now, when I run my code, I get a : "Fatal error: Uncaught exception 'PDOException' with message 'could not find driver'..." It seems that I have non installed driver but it worked well until this day. How can I fix this problem ?
Best,
Newben
Have you installed MacPorts? If your answer is "yes" open your Shell and type:
cd ~/
sudo nano .profile
change:
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
replace with:
export PATH=/Applications/MAMP/Library/bin/:/Applications/MAMP/bin/php/php5.3.6/bin/:$PATH
close your Shell and re-open it
This is all. I found the solution here: thewebfactory
I had a similar problem. Sfblaauw's solution didn't work but it helped me identify the problem. First I installed php5-mysql using MacPorts:
sudo port install php5-mysql
During installation, I got the following warning:
Your php.ini contains a line that will prevent php5-mysql
and other PHP extensions from working. To fix this,
edit /opt/local/etc/php5/php.ini and delete this line:
extension_dir = "/usr/lib/php/extensions/no-debug-non-zts-20090626"
I commented out the line and restarted Apache. Everything seems to work fine now.