-
Would you happen to know this error which I am currently experiencing. I have apache2 and mysql running. However, through some research i have learned that it might be related to the php.ini issue I have this error message while trying to access una that is currently hosted in the docker container. Error message: SQLSTATE[HY000] [2002] No such file or directory The issue is that the database tables and user has already been configured and given access. I have also declared the path for mysql.default_socket = and restarted the service and it still didnt work. The una app, phpmyadmin and database are all in a single docker container.
However, when I change it to the new user that allows this since they say do not use root, I get a localhost refused connection instead and the entire site wont be able to be accessed. Currently my docker environment is using the default env settings as there are no php.ini files. I do not have a php.ini file that is suitable for docker environment either. accessing through localhost now like localhost:port/una-
I would suggest you to try to specify patch to MySQL socket directly in UNA inc/header.inc.php file or specify it during UNA installation.
-
Hi I have managed to solve this issue thanks to your guidance, however after I have managed to start up the app and login I realised that I am unable to upload any picture or video during the creation of the post at the public timeline. Is there a particular configuration or settings that I am required to change to allow the uploading? It mentioned Oops an error occured with xx.png file: error occured. May I know what is the issue with this?
This is what I have included in my php.ini
echo "memory_limit=192M \n\ post_max_size=100M \n\ upload_max_filesize=100M \n\ error_log=/var/www/php_error.log \n\ error_reporting=E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT \n\ display_errors=Off \n\ log_errors=On \n\ sendmail_path=/usr/sbin/sendmail -t -i \n\ date.timezone=UTC" > /var/www/php.ini
Is there any other configuration that I am missing or not done to cause this Oops an error occured with xx.png file: error occured error?
-