![]() |
|
no such file or directory (synology nginx mariadb) - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: no such file or directory (synology nginx mariadb) (/thread-12967.html) |
no such file or directory (synology nginx mariadb) - mikapi - 2017-08-10 I am stuck on this error of the setup script while trying to install zenphoto on a synology nas with nginx php 5.6.30 mariadb10 I have tried to manually define webpath to /volume1/web/zenphoto without success. I am looking for clues and help. regards, no such file or directory (synology nginx mariadb) - sbillard - 2017-08-10 Is there more details of the error message? Maybe a line number, etc.? What is the link address shown for phpmyadmin in the browser? What is the link address shown for setup when you have all the checkmarks? no such file or directory (synology nginx mariadb) - mikapi - 2017-08-10 setup.log file say: +0200 Web guy say: http://nasrennes/zenphoto/zp-core/setup/index.php?refresh http://nasrennes/phpMyAdmin/index.php?token=afcffc7402df896b4bc76f57aa33091b no such file or directory (synology nginx mariadb) - acrylian - 2017-08-11 None of your links work with a "server not found". Zenphoto generally should work on Nginx (this site currently is on Nginx as well). MariaDB should also generally work although we don't test it (I once could briefly a few months ago and there were no issues). I have no access or experience with Synology but are you sure you installed Zenphoto in the location you are trying to access? no such file or directory (synology nginx mariadb) - mikapi - 2017-08-11 The server is not routed to internet. I think that the problem may be with webpath and serverpath options in the .cfg If someone had already make it run under DSM 6.x I would be pleased to have information about theses paths. no such file or directory (synology nginx mariadb) - acrylian - 2017-08-11 I assumed the links are local only. I have no idea how synology works. If the local server on it works like local servers like MAMP, LAMP etc. (on these you normally don't need to set anything via the config file) there should be some info about that somewhere. Again I have no knowledge about synology but installing Zenphoto cannot be that different as from other toods… no such file or directory (synology nginx mariadb) - mikapi - 2017-08-11 Finally, I don't know if this is a path problem because setup page say (in french): How can I do more simple than that: I have created a "zenphoto" user with a "zenphoto" database without password at localhost. I have modified the paths in the .cfg.php file, with no difference of the error message. Arrrgghhhh .... no way ! here the setup screenshot: http://petitscubes.free.fr/zenphoto/zenphoto.jpg no such file or directory (synology nginx mariadb) - acrylian - 2017-08-11 Now we are getting nearer. So it is the database credentials that are wrong and not paths.. I didn't know you can access databases without any password at all. No "real host" will allow that so just define a password for that user and enter it there. Zenphoto in any case expects one. If that doesn't work, it may also be that PHP is not correctly configured to use MySQL. I can't help with that as I never setup my own servers. no such file or directory (synology nginx mariadb) - mikapi - 2017-08-11 I have tried first with password, but no differences. PhpMyAdmin can connect to mariadb10 but not adminer. no such file or directory (synology nginx mariadb) - acrylian - 2017-08-11 It still might be an issue between the PHP extension PDO and the database itself. Maybe try MySQLi instead. I fear you need someone who actually has knowledge in server setup itself. Zenphoto generally works with standard setups as found on shared hosting, so nothing really complicated should be needed normally. no such file or directory (synology nginx mariadb) - mikapi - 2017-08-11 I have tried different engines MsSLi/PDO/SQL ... same results no such file or directory (synology nginx mariadb) - acrylian - 2017-08-11 Sorry, no idea then except the mentioned possible not correctly setup server regarding the databse. no such file or directory (synology nginx mariadb) - mikapi - 2017-08-11 It's ok with mariadb5, and adminer can connect to it ! |