# |
Jan 8th 2019, 10:04 |
dereuromark |
I do have an idea for a fix :slightly_smiling_face: |
# |
Jan 8th 2019, 09:46 |
dereuromark |
@challgren what ide helper command are you executing? |
# |
Jan 8th 2019, 09:41 |
azmain.nishan |
I am using cell in my view. But when I tried to use the same cell in pdf I got error saying - `Could not render cell - Cell view file "footer_section" is missing. [C:\xampp\htdocs\accounts\vendor\cakephp\cakephp\src\View\Cell.php, line 232] [CORE\src\View\Cell.php, line 287]` |
# |
Jan 8th 2019, 09:04 |
Zabot |
I hadn't changed any of the php error settings from the default, I couldn't find any logging anywhere, but that may just be a result of my complete lack of php knowledge. |
# |
Jan 8th 2019, 08:56 |
neon1024 |
Morning all |
# |
Jan 8th 2019, 08:55 |
hmic |
i still wonder why you get no output... whats your php error level setting? and set debug true in the config too |
# |
Jan 8th 2019, 08:54 |
Zabot |
Ah ha! Another missing php extension and I'm off to the races. |
# |
Jan 8th 2019, 08:50 |
Zabot |
Ope! Looks like it was missing the pdo-mysql extension caused it to crash while interacting with the ORM. I suppose that makes sense |
# |
Jan 8th 2019, 08:50 |
dereuromark |
challgren: i dont know how you are loading the behavior |
# |
Jan 8th 2019, 08:46 |
Zabot |
Looks like "Type::build('time')->useImmutable();" is the line that causes the crash |
# |
Jan 8th 2019, 08:45 |
Zabot |
All of the composer requirements are installed, and I've checked mbstring, intl, and simplexml are installed as well |
# |
Jan 8th 2019, 08:43 |
Zabot |
I'm looking at that now, stepping though config/bootstrap.php |
# |
Jan 8th 2019, 08:41 |
hmic |
zabot: make sure to sattisfy the requirements, regarding php verion and plugins. the cake shell outputs a message in the very beginning after bootstrapping the framework, if it gives no output, check the configuration files it loads |
# |
Jan 8th 2019, 08:30 |
Zabot |
Whats the best way to get some debugging information? I'm trying to set up a third party service that runs cake (passbolt) but running php bin/cake.php crashes immedietly with no output |
# |
Jan 8th 2019, 05:35 |
NickBusey |
Lol |
# |
Jan 8th 2019, 04:52 |
challgren |
Im guessing his PHPdocs suck |
# |
Jan 8th 2019, 04:49 |
challgren |
@dereuromark Using IDE Helper why would it keep removing a behavior method I had to define? The plugin is https://github.com/ProLoser/CakePHP-CSV and the method is importCsv() the Table does have a @mixin and I had to define `@method array importCsv(string $content, $fields = [], $options = []) !` just for PHPstan to not be whiney |
# |
Jan 8th 2019, 02:15 |
challgren |
My docker file |
# |
Jan 8th 2019, 02:15 |
challgren |
https://gitlab.com/snippets/1795782 |
# |
Jan 8th 2019, 02:10 |
challgren |
Took me a bit to find it |
# |
Jan 8th 2019, 02:10 |
challgren |
Yep |
# |
Jan 8th 2019, 01:51 |
NickBusey |
services: mariadb Didn't know you could do that |
# |
Jan 8th 2019, 01:08 |
challgren |
https://gitlab.com/snippets/1795770 |
# |
Jan 8th 2019, 01:04 |
challgren |
I have a gitlab ci that is Handy |
# |
Jan 8th 2019, 01:03 |
challgren |
An auditing app for electricians. About 3 weeks ago I finished ci testing now I'm doing bug fixes |
# |
Jan 8th 2019, 00:46 |
NickBusey |
I guess I'll either need to deploy a separate config for CI testing, or is there some way to pass a query param to cake to have it use the test db or something similar? |
# |
Jan 8th 2019, 00:45 |
NickBusey |
Ah, I realized the tests are failing now because I'm doing actual server requests, and it's trying to hit the non-test db for that.. |
# |
Jan 8th 2019, 00:44 |
NickBusey |
challgren: What are you working on? |
# |
Jan 8th 2019, 00:33 |
NickBusey |
Of course my latest push to GitLab with 100% coverage breaks the test runners, even though there were no config changes. Gahh |
# |
Jan 8th 2019, 00:14 |
NickBusey |
Last thing I need to figure out is just api based registration and login and all the cake-y stuff should be mostly sorted |
# |
Jan 7th 2019, 23:58 |
challgren |
Nick you are like 3 weeks behind me :P |
# |
Jan 7th 2019, 23:56 |
dereuromark |
nah not too specific |
# |
Jan 7th 2019, 23:56 |
NickBusey |
now* |
# |
Jan 7th 2019, 23:55 |
NickBusey |
well, no I gotta start actually building out the app, but if you have something specific you need I could probably take a look ;) |
# |
Jan 7th 2019, 23:49 |
dereuromark |
concrats^^ wnna help me with some plugins? |
# |
Jan 7th 2019, 23:47 |
NickBusey |
Not many lines for sure, but a nice starting place for a young project |
# |
Jan 7th 2019, 23:47 |
NickBusey |
Woot! Just hit 100% coverage. :) Lines: 100.00% (274/274) |
# |
Jan 7th 2019, 23:45 |
NickBusey |
`$this->modelClass` |
# |
Jan 7th 2019, 23:37 |
NickBusey |
Best way to grab the Table for the current Controller in a Trait? |
# |
Jan 7th 2019, 22:56 |
NickBusey |
Found my answer https://book.cakephp.org/3.0/en/development/testing.html#testing-actions-that-require-authentication |
# |
Jan 7th 2019, 22:40 |
NickBusey |
Hmm, trying to write some tests for my controller traits, but the cakedc/users plugin api key auth stuff is interfering with it. Is there any easy way to disable that plugin for this test? |