# |
Apr 25th 2017, 07:27 |
birdy247 |
Is it possible to do a count on a contain? |
# |
Apr 25th 2017, 07:26 |
digitalfotografen |
I am not a mysql guru ;) But it like acoount setup on mysql since it sais access denied. Then a humle recommendation, don't use mysql root account for production sites. Setup a dedicated mysql account with limited privileges |
# |
Apr 25th 2017, 07:23 |
rchavik |
it works on his dev machine, but not on his shared server |
# |
Apr 25th 2017, 07:22 |
rchavik |
here's his screenshot: https://vk.com/doc141967230_444277365 |
# |
Apr 25th 2017, 07:21 |
rchavik |
someone else has this issue, i'm trying to get him to provide more details |
# |
Apr 25th 2017, 07:21 |
rchavik |
unfortunately, just the generic error |
# |
Apr 25th 2017, 07:20 |
digitalfotografen |
@rchavik what typ of error do you get? |
# |
Apr 25th 2017, 07:02 |
birdy247 |
morning |
# |
Apr 25th 2017, 06:54 |
imbhavin95 |
hello guys |
# |
Apr 25th 2017, 06:37 |
rchavik |
any thing else? |
# |
Apr 25th 2017, 06:37 |
rchavik |
i think one possible issue is unsupported password format |
# |
Apr 25th 2017, 06:36 |
rchavik |
what are possible causes of mysql connection failure (all details are correct)? |
# |
Apr 25th 2017, 02:12 |
temp1029 |
Er, never mind, I think I've got it |
# |
Apr 25th 2017, 02:08 |
temp1029 |
If I want to save both new associated records and maintain existing associations, is there an easy way to do this? Basically, I have a form used for updating a record, but I also want the user to be able to add new associated records from the same form, without having to go to a separate form first. |
# |
Apr 25th 2017, 02:05 |
slackebot1 |
!now |
# |
Apr 25th 2017, 02:05 |
slackebot1 |
Command sent from Slack by temp1029: |
# |
Apr 25th 2017, 02:05 |
slackebot1 |
!time |
# |
Apr 25th 2017, 02:05 |
slackebot1 |
Command sent from Slack by temp1029: |
# |
Apr 24th 2017, 23:53 |
pedroseco |
Hi, can Plugin::loadAll() use the autoload option? Can’t seem to make this work. |
# |
Apr 24th 2017, 21:34 |
cakephp274 |
Ok, got it working now! :D |
# |
Apr 24th 2017, 21:28 |
cakephp274 |
thanks |
# |
Apr 24th 2017, 21:28 |
cakephp274 |
Yeah, I'm going with a button and rewrite the logic in the controller |
# |
Apr 24th 2017, 21:26 |
dereuromark |
or use a button with a specific value posted, then you can use the form |
# |
Apr 24th 2017, 21:24 |
dereuromark |
but it is not connected the form then |
# |
Apr 24th 2017, 21:24 |
dereuromark |
use a custom action - $this->Form->postLink(__('Approve'), ['action' => 'approve', $contactAd->id], ['class' => 'btn btn-success']); etc |
# |
Apr 24th 2017, 21:14 |
cakephp274 |
but I can't seem to figure out how to send the decline reason along |
# |
Apr 24th 2017, 21:14 |
cakephp274 |
I have 2 tables: Request en DeclineReasons. When you deny a request, you go to a new page where you can select the decline reason. When you do this, I want to send a post to the decline method which should change the status of the request to declined and set the decline reason to the actual decline reason id |
# |
Apr 24th 2017, 21:12 |
cakephp274 |
Alright, thanks! I was hoping this was a good solution to my problem, let me phrase my problem for you: |
# |
Apr 24th 2017, 21:11 |
dereuromark |
use normal buttons if you want to do what you want to do |
# |
Apr 24th 2017, 21:11 |
dereuromark |
you are mixing things, the post link and the form should not be connected |
# |
Apr 24th 2017, 21:09 |
cakephp274 |
Hello. If I have a form in CakePHP 3.0 and a postLink below it, how can I access the form data in the method I'm reffering to with the postlink? I've tried $this->request->param('reason') but it doesn't work |
# |
Apr 24th 2017, 19:34 |
half2me |
I could format each individually, but I would like the global default to change |
# |
Apr 24th 2017, 19:34 |
half2me |
Is there a way I can change the default formatting of date/time fields in my entities? |
# |
Apr 24th 2017, 18:40 |
half2me |
for example, if I know some of its children have changed |
# |
Apr 24th 2017, 18:40 |
half2me |
is there a way I can tell an entity to manually update its counter-cache? |
# |
Apr 24th 2017, 18:37 |
bravo-kernel |
@danielfpedro FWIW I just checked my Crud demo api and it produces 404's, respecting CORS |
# |
Apr 24th 2017, 18:36 |
half2me |
how would I go about updating these? |
# |
Apr 24th 2017, 18:36 |
half2me |
But when I have a counter-cache on another model which is supposed to reflect how many of my Entites are linked for example… |
# |
Apr 24th 2017, 18:34 |
half2me |
When I use `$table->link($myEntity, $otherEntities);` Counter-cache is not update :S |
# |
Apr 24th 2017, 15:36 |
pedroseco |
On Cake\Network\Http\Client is there any method I could use to get a filename from a remote request? |
# |
Apr 24th 2017, 15:32 |
danielfpedro |
I think you use a rawQuery |