arjitc / DCIMStack

Datacenter Inventory Management System
31 stars 8 forks source link

PHP errors on install.php in docker container #87

Open pth0rn opened 6 years ago

pth0rn commented 6 years ago

Started up the docker container to check out the app, and I just get these errors

Warning: include(config/db.php): failed to open stream: No such file or directory in /www/install.php on line 10

Warning: include(): Failed opening 'config/db.php' for inclusion (include_path='.:/usr/local/lib/php') in /www/install.php on line 10

Warning: mysqli_real_escape_string() expects parameter 1 to be mysqli, null given in /www/install.php on line 41

Warning: mysqli_real_escape_string() expects parameter 1 to be mysqli, null given in /www/install.php on line 42

Warning: mysqli_real_escape_string() expects parameter 1 to be mysqli, null given in /www/install.php on line 43
arjitc commented 6 years ago

Hey @Vicvinegar0 I've made some changes to the path now, can you give it a try now?

pth0rn commented 6 years ago

Thanks. However I'm still getting the same error. Maybe I am misunderstanding. Do I still need to configure the database for the docker container? I was assuming the DB stuff was already pre-configured for the container.

arjitc commented 6 years ago

Hmm @xakraz any ideas on this? I haven't used the docker build :/

xakraz commented 6 years ago

I will try to give a look this weekend. Stay tune !

xakraz commented 6 years ago

@Vicvinegar0 :