# |
Jan 8th 2019, 14:17 |
david |
I am trying to share sessions between different domains in the same server machine. Each domain contains one cakephp application. One domain is a "single sign on" app. I want to share sessions between those different apps, but, nothing doesn't seem to work. Two different apps in the same domain work and share sessions, but the third app, in other domain, is unable to read the session |
# |
Jan 8th 2019, 14:16 |
neon1024 |
In other projects we just started over from fresh |
# |
Jan 8th 2019, 14:16 |
neon1024 |
It’s always worth weighing up refactoring against a rewrite |
# |
Jan 8th 2019, 14:14 |
yannik.tschan |
@neon1024 ok thanks, so we will need a lot of time ,:) |
# |
Jan 8th 2019, 14:12 |
neon1024 |
It all depends how much ORM code you have, as that’s the main part which needs to be rewritten |
# |
Jan 8th 2019, 14:12 |
neon1024 |
@yannik.tschan Took me about 2 months to upgrade a large CMS and web service |
# |
Jan 8th 2019, 14:11 |
asdfgh |
ok |
# |
Jan 8th 2019, 14:07 |
yannik.tschan |
If you have ever upgraded from 2.x to 3.x - how long did you need for a small/large website to fix all changes and issues? |
# |
Jan 8th 2019, 13:36 |
dereuromark |
see last release |
# |
Jan 8th 2019, 13:36 |
dereuromark |
asdefg: both work. using my ide helper it is now super easy to use string option |
# |
Jan 8th 2019, 13:30 |
mocelle |
@dereuromark done. |
# |
Jan 8th 2019, 13:20 |
asdfgh |
or better, both works but what are the differences? |
# |
Jan 8th 2019, 13:18 |
asdfgh |
what is the "official" way? :D |
# |
Jan 8th 2019, 13:18 |
asdfgh |
i am a bit confused about loading plugins in 3.7, i have seend different methods, this: $this->addPlugin(FrontendPlugin::class); or $this->addPlugin('Frontend') (the frontend plugin is just a custom plugin) |
# |
Jan 8th 2019, 13:17 |
asdfgh |
hello |
# |
Jan 8th 2019, 12:18 |
mocelle |
On windows |
# |
Jan 8th 2019, 12:18 |
mocelle |
I changed Id to id |
# |
Jan 8th 2019, 12:10 |
dereuromark |
with valid constraint on db cake creates them with 1+ as expected |
# |
Jan 8th 2019, 12:09 |
dereuromark |
did you manually insert that one? |
# |
Jan 8th 2019, 12:09 |
mocelle |
I have table category with autoincrement Starts with 1. but in view started select with 0. Andy ideea? |
# |
Jan 8th 2019, 10:52 |
dereuromark |
@challgren I opened a bugfix branch with some fixes on the ide helper |
# |
Jan 8th 2019, 10:50 |
neon1024 |
I believe there are a few change sets for core CakePHP in there |
# |
Jan 8th 2019, 10:50 |
neon1024 |
@rochasmarcelo I haven’t tried, but I don’t see why you couldn’t write your own changeset for Rector |
# |
Jan 8th 2019, 10:40 |
rochasmarcelo |
Anyone here was able to upgrade CakePHP plugin with https://github.com/rectorphp/rector? |
# |
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 |