# |
May 28th 2017, 04:12 |
hiromi2424 |
is the stuff you should `composer require` |
# |
May 28th 2017, 04:12 |
hiromi2424 |
https://github.com/google/google-api-php-client |
# |
May 28th 2017, 04:12 |
hiromi2424 |
But you are referencing to another github |
# |
May 28th 2017, 04:09 |
hiromi2424 |
That client class works well on my Cake3 app. |
# |
May 28th 2017, 04:08 |
hiromi2424 |
GeoBehr: I guess missing `require 'vendor/autoload.php'; ` |
# |
May 28th 2017, 04:03 |
GeoBehr |
do I simply 'use Google\GoogleApiPhpClientServices;' |
# |
May 28th 2017, 04:00 |
GeoBehr |
https://github.com/google/google-api-php-client-services |
# |
May 28th 2017, 03:59 |
admad |
Is the lib namespaced? |
# |
May 28th 2017, 03:58 |
GeoBehr |
Yes, apologies for the newbness.. I found a Composer library and have loaded it. Once that is done, having trouble referencing classes. Seems to be a missing puzzle piece for me |
# |
May 28th 2017, 03:56 |
savant |
GeoBehr: maybe there is a composer library to do that? |
# |
May 28th 2017, 03:43 |
GeoBehr |
Hello CakeIRC.. 2.x vet, trying to spin up on 3.x, want to use Google Sheets to write sheets from app. Composer sheets already done, trying to figure out how to reference the classes. Any pointers? |
# |
May 28th 2017, 03:36 |
borjahen |
Solved. The USBWebsever bug. |
# |
May 28th 2017, 03:12 |
borjahen |
Thanks. |
# |
May 28th 2017, 03:12 |
borjahen |
I uncomment the extension in the php.ini too. |
# |
May 28th 2017, 03:11 |
borjahen |
I get an error: Fatal error: You must enable the intl extension to use CakePHP. in C:\Users\Borja\Downloads\USBWebserver v8.6\root\webcake\config\bootstrap.php on line 25. I use Windows and I use the command 'php -m' and the extension 'intl' exists |
# |
May 28th 2017, 03:10 |
borjahen |
Hello everyone. Sorry for my bad English: |
# |
May 27th 2017, 15:38 |
adithya |
@chris-andre thanks a lot! |
# |
May 27th 2017, 13:37 |
chris-andre |
Can you gist me your action https://gist.github.com/ ? |
# |
May 27th 2017, 13:37 |
joshuaso91 |
@chris-andre Array ( [supplier_id] => 1 [product_id] => 61 [date_entered] => 2000-00-00 00:00:00 [product_price] => 0.00 [notes] => no notes ) |
# |
May 27th 2017, 13:37 |
joshuaso91 |
@chris-andre nope it still doesnt save |
# |
May 27th 2017, 13:36 |
noOne |
please? |
# |
May 27th 2017, 13:35 |
joshuaso91 |
yea yea i know haha hold on i changed it |
# |
May 27th 2017, 13:35 |
chris-andre |
No, no. Don't do that. You need to provide a value formatted the right way |
# |
May 27th 2017, 13:34 |
joshuaso91 |
wait |
# |
May 27th 2017, 13:34 |
noOne |
$routes->connect('/:controller/*', ['controller' => 'Departamento', ]); |
# |
May 27th 2017, 13:34 |
noOne |
$routes->connect('/:controller/:action/*',['controller' => 'Departamento', ]); |
# |
May 27th 2017, 13:34 |
noOne |
I really need this two lines, or how can I put this in one only? |
# |
May 27th 2017, 13:34 |
joshuaso91 |
@chris-andre Array ( [supplier_id] => 1 [product_id] => 69 [date_entered] => datetime_format [product_price] => 0.00 [notes] => no notes ) |
# |
May 27th 2017, 13:34 |
noOne |
Hi guys. |
# |
May 27th 2017, 13:33 |
chris-andre |
What is the value of your `$this->Form->control('date_entered', ['type' => 'hidden', 'value' => 'datetime_format'])` |
# |
May 27th 2017, 13:32 |
joshuaso91 |
@chris-andre nope it still doesn't work haha |
# |
May 27th 2017, 13:30 |
chris-andre |
I have no idea if default "CURRENT_TIMESTAMP" works. |
# |
May 27th 2017, 13:30 |
joshuaso91 |
@chris-andre let me try that out |
# |
May 27th 2017, 13:29 |
chris-andre |
Datetime field expects a value formated like `1000-01-01 00:00:00` |
# |
May 27th 2017, 13:28 |
rudy1976s |
I would need to have the label as field property |
# |
May 27th 2017, 13:28 |
chris-andre |
Post the output of `debug($your_entity)` |
# |
May 27th 2017, 13:26 |
chris-andre |
Is that a debug of getData() ? The CURRENT_TIMESTAMP, something you modified before posting that debug? |
# |
May 27th 2017, 13:25 |
rudy1976s |
Does cake has a way to declare table column labels directly in models ? |
# |
May 27th 2017, 13:25 |
joshuaso91 |
nah it still didnt work |
# |
May 27th 2017, 13:24 |
joshuaso91 |
unless i need to set a default value in my phpMyadmin |
# |
May 27th 2017, 13:24 |
joshuaso91 |
weird.. it's passing the things i am looking when it's hidden. Array ( [supplier_id] => 1 [product_id] => 1 [date_entered] => CURRENT_TIMESTAMP [product_price] => [notes] => ) |