Log message #4174870

# At Username Text
# Jan 24th 2019, 16:31 adsc i have to ask the previous owner of the project for a db dump, because I can't really get this thing to work, it seems it's missing stuff in this .sql file
# Jan 24th 2019, 16:30 adsc is it possible to let the db be created by cakephp?
# Jan 24th 2019, 16:27 adsc seems to be more of a notes file with some statements in it that are supposed to be run manually, maybe along with importing some data or something
# Jan 24th 2019, 16:26 adsc i guess it's not really a ddl dump
# Jan 24th 2019, 16:23 adsc it creates tables with fields, then it is followed by an alter statement that tries to add fields it already created in the create statement
# Jan 24th 2019, 16:22 adsc wow this dump is terrible
# Jan 24th 2019, 16:08 NeoThermic|WorkI yeah, once you get a valid db running, and you point the config at it, then the cake install you have should "just work" (in theory)
# Jan 24th 2019, 16:07 adsc NeoThermic|WorkI: anyway, thx for your help, I guess I have to sort out the db issues first
# Jan 24th 2019, 16:06 adsc fuck my life
# Jan 24th 2019, 16:06 adsc i get syntax errors trying to import it
# Jan 24th 2019, 16:06 adsc hmmm, it seems the dump is not a mysql dump
# Jan 24th 2019, 15:58 NeoThermic|WorkI it's better to get that over to UTF8 now before you have major issues :D
# Jan 24th 2019, 15:58 NeoThermic|WorkI oh and uncomment the encoding line
# Jan 24th 2019, 15:56 NeoThermic|WorkI just fill out the default
# Jan 24th 2019, 15:56 NeoThermic|WorkI for now don't worry about the test variable in there
# Jan 24th 2019, 15:55 NeoThermic|WorkI use that as your database.php file, fill in the missing details :)
# Jan 24th 2019, 15:55 adsc ah, nice
# Jan 24th 2019, 15:55 NeoThermic|WorkI https://raw.githubusercontent.com/cakephp/cakephp/2.x/app/Config/database.php.default (herp, it's database.php.default as the example file)
# Jan 24th 2019, 15:55 adsc but it only contains mysql statements, don't I also need a database.php that tells cakephp how to connect to the db?
# Jan 24th 2019, 15:54 NeoThermic|WorkI ahh, so import that to somewhere that your vagrant can access
# Jan 24th 2019, 15:54 adsc i do have a mysql dump somewhere
# Jan 24th 2019, 15:54 adsc and there is no database.example.php either
# Jan 24th 2019, 15:54 adsc no
# Jan 24th 2019, 15:53 NeoThermic|WorkI when you inherited this project, did they also furnish you with a database? :)
# Jan 24th 2019, 15:53 NeoThermic|WorkI ok, so there might be a database.example.php in there
# Jan 24th 2019, 15:53 adsc i get the exact same error message...and it seems the file database.php is really missing in the Config folder
# Jan 24th 2019, 15:48 adsc ah, ok, i'll do that
# Jan 24th 2019, 15:48 adsc it seems I'm lacking db configuration
# Jan 24th 2019, 15:48 NeoThermic|WorkI ah, you need to point the webroot at /app/webroot
# Jan 24th 2019, 15:47 adsc https://hastebin.com/cawigeluxi.rb
# Jan 24th 2019, 15:45 adsc how do I get it to run, i put it onto a lamp stack server and put apache's webroot to the project's app directory, but I get some problems when i request any url...i'll paste you the error message
# Jan 24th 2019, 15:45 NeoThermic|WorkI what's stopping you from getting it to run?
# Jan 24th 2019, 15:44 NeoThermic|WorkI so that's not too far behind
# Jan 24th 2019, 15:44 NeoThermic|WorkI 2.10.14 is the latest version of the 2.x series
# Jan 24th 2019, 15:44 adsc i'm just trying to get it to run so I can reverse-engineer it
# Jan 24th 2019, 15:44 NeoThermic|WorkI that's not too terrible
# Jan 24th 2019, 15:44 adsc 2.7.0-RC
# Jan 24th 2019, 15:43 NeoThermic|WorkI oh. In the cake directory, there's a VERSION.txt file
# Jan 24th 2019, 15:43 adsc yup
# Jan 24th 2019, 15:43 NeoThermic|WorkI ok, go into Lib, is there a Cake directory?
# Jan 24th 2019, 15:43 adsc yes