# |
Jun 18th 2018, 07:25 |
justrohu |
Or how do I defined to use this test connection explicitly |
# |
Jun 18th 2018, 07:24 |
justrohu |
I have defined test - configuration in app.php under Datasources |
# |
Jun 18th 2018, 07:23 |
justrohu |
Hello All, I am writing CakePHP testcases for my application and I observed CakePHP 3 is not using my test_rest database. It is using my production database for fixtures ... how do I change selection of database |
# |
Jun 18th 2018, 06:50 |
admad |
this is a bug in current 3.6 release, will be fixed in next |
# |
Jun 18th 2018, 06:50 |
admad |
AdyG: just remove the ->addPlugin() call in Application::bootstrap() |
# |
Jun 18th 2018, 05:18 |
AdyG |
@camden - I'm rolling back a step to re-do it |
# |
Jun 18th 2018, 04:48 |
camden |
I got to go to sleep though, so gn everyone. |
# |
Jun 18th 2018, 04:47 |
camden |
@AdyG sorry, it's midnight here and I'm talking to you on my phone, otherwise I might be of more help. My only real suggestion is that there might be something in the previous tutorials that you missed or isn't quite setup correctly. |
# |
Jun 18th 2018, 04:31 |
AdyG |
@camden - yep - tute worked until added the JWT |
# |
Jun 18th 2018, 04:27 |
camden |
Haha, I was thinking of suggesting that you read that tutorial |
# |
Jun 18th 2018, 04:24 |
AdyG |
@camden - I'm doing the tutorial from Bravo Kernel - the full error at the moment is: Uncaught InvalidArgumentException: The plugin class `ADmad\JwtAuth\Plugin` cannot be found. Ensure your autoloader is correct. (without the exception list) |
# |
Jun 18th 2018, 04:23 |
AdyG |
@camden via composer |
# |
Jun 18th 2018, 04:19 |
justrohu |
Hello All, I have just upgraded my project to CakePHP 3.6 and some how `$this->Form->postLink` is not working ... It is not passing the parameter values to url in form post request |
# |
Jun 18th 2018, 04:15 |
camden |
@AdyG did you install it manually or via composer |
# |
Jun 18th 2018, 04:00 |
AdyG |
@camden - Nope, it's just about midday now in Western Australia |
# |
Jun 18th 2018, 03:59 |
camden |
@AdyG good morning. You must be somewhere in Europe or something for it to be morning for you. |
# |
Jun 18th 2018, 03:55 |
AdyG |
Just having a problem with ADMad's JWT-Auth plugin - it is giving the **The plugin class `ADmad\JwtAuth\Plugin` cannot be found** error. Have tried all the usuals, without success. |
# |
Jun 18th 2018, 03:54 |
AdyG |
Good morning all. |
# |
Jun 17th 2018, 16:26 |
itmpls |
anyone have a suggestion for managing subdomains within a cake setup? dynamic subdomains stored in the db in terms of routing for 3.6+ ? |
# |
Jun 17th 2018, 14:41 |
rudy1976s |
is it possible to delete translation on hasMany ? I have some association with hasMany and dependent set to true: is there a way to let the associated translations deleted too ? |
# |
Jun 17th 2018, 14:40 |
rudy1976s |
Good sunday to all |
# |
Jun 17th 2018, 09:15 |
saeideng |
another option for you ^^ |
# |
Jun 17th 2018, 09:14 |
saeideng |
`$this->request = $this->request->withData('name', 'new name')` |
# |
Jun 17th 2018, 09:11 |
piwi |
$this->request = $this->request->withParsedBody($user); is soluce |
# |
Jun 17th 2018, 09:07 |
piwi |
my goal is populate form to edit user |
# |
Jun 17th 2018, 09:06 |
piwi |
?? |
# |
Jun 17th 2018, 09:06 |
piwi |
how can i use withData to populate request data |
# |
Jun 17th 2018, 09:06 |
piwi |
i want to to populate request data but it will be depreciate into 4.0 version |
# |
Jun 17th 2018, 09:05 |
piwi |
hi everybody |
# |
Jun 16th 2018, 22:53 |
Dino_ |
Not find any useful event to intercept and try to write directly |
# |
Jun 16th 2018, 22:52 |
Dino_ |
Creating "otherTask.php" doesn't list at console as new task |
# |
Jun 16th 2018, 22:52 |
Dino_ |
Creating TemplateTask.php goes to "cannot redeclare class". |
# |
Jun 16th 2018, 22:50 |
saeideng |
:sleeping_accommodation: |
# |
Jun 16th 2018, 22:49 |
ndm |
maybe... it's not really a pressing issue. Gotta go to get some sleep now. night everybody :zzz: |
# |
Jun 16th 2018, 22:49 |
Dino_ |
Hi All. Serious trouble extending bake. "bake template myTable -t myTheme" is working as it should. But I wish to bake an index.ctp with small parts as elements. How to create together Template/MyTable/index.ctp and Template/Element/MyTable/small_part_one_of_many.ctp |
# |
Jun 16th 2018, 22:47 |
saeideng |
just needs a new Issue in github |
# |
Jun 16th 2018, 22:47 |
saeideng |
maybe new method maybe `getNamed` would be useful |
# |
Jun 16th 2018, 22:46 |
saeideng |
you are right |
# |
Jun 16th 2018, 22:45 |
saeideng |
all routes dont have `_name` in options |
# |
Jun 16th 2018, 22:44 |
ndm |
That's not the problem, actually there isn't really a "problem", I can access the name via the routes `options` property. I was just wondering why `getName()` behaves like it behaves :slightly_smiling_face: |
# |
Jun 16th 2018, 22:44 |
saeideng |
use `Hash::get($route->options, '_name', $route->getName())` |