# |
Aug 19th 2019, 09:18 |
neon1024 |
What is Illuminator? |
# |
Aug 19th 2019, 09:16 |
neon1024 |
@dereuromark Not sure I’d be able to do that! :bow: |
# |
Aug 19th 2019, 09:16 |
neon1024 |
Thanks @spriz |
# |
Aug 19th 2019, 09:16 |
alexdd55976 |
ok.. cake4 has a twig error message thrwoing out on `bake model all` |
# |
Aug 19th 2019, 09:13 |
alexdd55976 |
wasn't there a `bake All All` command? |
# |
Aug 19th 2019, 09:11 |
alexdd55976 |
@conehead htanks.. i have a different php.ini for cli ... totally forgot that |
# |
Aug 19th 2019, 09:10 |
spriz |
@neon1024 maybe you can tweak https://github.com/josegonzalez/cakephp-version/ into the associations thingy? |
# |
Aug 19th 2019, 09:08 |
conehead |
even with `php -m`? |
# |
Aug 19th 2019, 09:08 |
conehead |
Check your php.ini file if required extensions are enabled |
# |
Aug 19th 2019, 09:08 |
alexdd55976 |
mysqli mysqlpdo.. all there |
# |
Aug 19th 2019, 09:06 |
dereuromark |
@neon1024 Sounds like a job for IdeHelper Illuminator tasks. You can add it. |
# |
Aug 19th 2019, 09:06 |
alexdd55976 |
xamp |
# |
Aug 19th 2019, 09:06 |
conehead |
What is your php server? |
# |
Aug 19th 2019, 09:06 |
alexdd55976 |
i know |
# |
Aug 19th 2019, 09:06 |
conehead |
It is not a cake error |
# |
Aug 19th 2019, 09:05 |
conehead |
Check phpinfo |
# |
Aug 19th 2019, 09:04 |
alexdd55976 |
and let me just mention *i hate windows* |
# |
Aug 19th 2019, 09:04 |
alexdd55976 |
where is that message coming from |
# |
Aug 19th 2019, 09:04 |
alexdd55976 |
i had this issue on just calling the site... which i had fix |
# |
Aug 19th 2019, 09:03 |
slackebot |
[Cake\Database\Exception\MissingExtensionException] Database driver Cake\Database\Driver\Mysql cannot be used due to a missing PHP extension or unmet dependency in C:\webroot\next-gen\vendor\cakephp\cakephp\src\Database\Connection.php on line 179 Exception Attributes: array ( 'driver' => 'Cake\\Database\\Driver\\Mysql', )``` |
# |
Aug 19th 2019, 09:03 |
alexdd55976 |
```C:\webroot\next-gen\bin>php cake.php bake all cake.phpBake All --------------------------------------------------------------- Possible model names based on your database: Exception: Database driver Cake\Database\Driver\Mysql cannot be used due to a missing PHP extension or unmet dependency in [C:\webroot\next-gen\vendor\cakephp\cakephp\src\Database\Connection.php, line 179] 2019-08-19 09:01:41 Error: |
# |
Aug 19th 2019, 09:03 |
alexdd55976 |
need some help in setting up cake |
# |
Aug 19th 2019, 08:09 |
neon1024 |
Probably use PHP Tokenizer or similar |
# |
Aug 19th 2019, 08:09 |
neon1024 |
Re-baking can lose validation and stuff |
# |
Aug 19th 2019, 08:09 |
neon1024 |
Anyone have a plugin which uses bake to add new fields to models automatically when the schema changes? |
# |
Aug 19th 2019, 08:09 |
kasunwijesekara |
@conehead let me check and get back to you. |
# |
Aug 19th 2019, 08:05 |
neon1024 |
Or do people just use Duplicatable and set a version? |
# |
Aug 19th 2019, 08:05 |
neon1024 |
Anyone know of a plugin for versioning entities with associations? |
# |
Aug 19th 2019, 07:58 |
neon1024 |
Morning all :wave: |
# |
Aug 19th 2019, 07:36 |
conehead |
@kasunwijesekara Is the mysql db accessible at all? Can you connect from your local pc via `mysql` to it? Usually you do not have to set up anything in the controller |
# |
Aug 19th 2019, 07:33 |
alexdd55976 |
@admad thanks a lot |
# |
Aug 19th 2019, 07:32 |
slackebot |
settings in the controller or etc? |
# |
Aug 19th 2019, 07:32 |
kasunwijesekara |
@conehead hey! So i have two droplets, one has the DB and the other is running the cakeapp. The two droplet communicates via the CLI but the connection between the app and the mysql db doesn’t work. I used this tutorial - https://www.digitalocean.com/community/tutorials/how-to-configure-ssl-tls-for-mysql-on-ubuntu-18-04 Is there something specific i have to do other than configuring the app.php file? Like say e.g. Change some |
# |
Aug 19th 2019, 07:31 |
admad |
`composer create-project --prefer-dist cakephp/app:4.x-dev` |
# |
Aug 19th 2019, 07:29 |
conehead |
@kasunwijesekara Where is the problem? You can set up a remote database in the configuration? |
# |
Aug 19th 2019, 07:28 |
alexdd55976 |
ok.. then i do so |
# |
Aug 19th 2019, 07:28 |
conehead |
@alexdd55976 Not sure, but creating a project with 3.8 and then upgrading to 4.0 seems fine for me. At least as long as 4.0 is still in development |
# |
Aug 19th 2019, 07:22 |
kasunwijesekara |
What’s the process of connecting to a remote db? Is there a process to configure the CakePHP app? TIA! |
# |
Aug 19th 2019, 07:16 |
alexdd55976 |
or do i have to go the way installing 3.8 first? |
# |
Aug 19th 2019, 07:15 |
alexdd55976 |
how can i install cake4 via composer? |
# |
Aug 19th 2019, 07:15 |
alexdd55976 |
hey fellows |