# |
Jul 11th 2017, 07:09 |
savant |
https://bakery.cakephp.org/2017/06/23/upcoming-cakephp-roadmap.html |
# |
Jul 11th 2017, 07:09 |
savant |
@david_kim we have a public doc on how an upgrade will work for Cake4. Basically, just ensure you remove deprecated code (we’ll raise warnings in a later version of 3.x) and upgrade to php 7.1 and you should be fine |
# |
Jul 11th 2017, 07:09 |
david_kim |
@jmenendez yes, but cakephp2 to 3 case was difficult to adapt to me. cakephp3 orm code need more object oriented. table/entity structure split no more need modern web programming. any other comments? |
# |
Jul 11th 2017, 07:08 |
savant |
what do you mean, different websites? |
# |
Jul 11th 2017, 07:08 |
savant |
havent used sendgrid before |
# |
Jul 11th 2017, 07:07 |
heter |
with sendgrid ur username is literally "apikey" (not generated apikey, just "apikey" is ur username") |
# |
Jul 11th 2017, 07:07 |
heter |
i think the problem is in the "from" setting |
# |
Jul 11th 2017, 07:07 |
heter |
@savant yes, ive tried it with settings which are working on different websites without any problems |
# |
Jul 11th 2017, 07:07 |
savant |
@heter is your password actually correct? |
# |
Jul 11th 2017, 07:06 |
slackebot |
has similar problem and found a solution? |
# |
Jul 11th 2017, 07:06 |
heter |
hello there, ive got problem with smtp transport using sendgrid - ive got same setting on several pages (on different api keys honestly but same email configuration) and on some websites it works, on some im receiving error with message ```SMTP server did not accept the password.``` from file ```/vendor/cakephp/cakephp/src/Mailer/Transport/SmtpTransport.php``` ive tried various configurations with ssl / tls but none of these did succed, mayb |
# |
Jul 11th 2017, 06:56 |
jmenendez |
In mi case I think cakephp is more simple, I worked with laravel , symfony and cakephp and I prefer cakephp :) |
# |
Jul 11th 2017, 06:55 |
jmenendez |
nop, no broken , only force to use php 7.1 |
# |
Jul 11th 2017, 06:53 |
david_kim |
I think the advantages of cakephp compared to laravel are backwards compatibility. But this time cakephp3 discards compatibility with 2, is 4 backwards compatibility broken again? |
# |
Jul 11th 2017, 06:22 |
pidlo |
can anyone kick me? howto do this |
# |
Jul 11th 2017, 06:22 |
pidlo |
hello all i would like create validation (for unique field) rules in cakephp3 but i dont understand if i set in validationDefault notEmpty to name and in buildRules method unique validation for persnum, if then validate i see first error for name and then if i fill it then cake give me error for persnum field.. |
# |
Jul 11th 2017, 06:13 |
littleylv |
does it work? |
# |
Jul 11th 2017, 06:13 |
mallick |
@littleylv thanks |
# |
Jul 11th 2017, 05:48 |
littleylv |
@mallick https://book.cakephp.org/3.0/en/console-and-shells.html#creating-a-shell `cd /home/k12dev/public_html/ andand bin/cake *yourshell* txp_payment 5` |
# |
Jul 11th 2017, 05:16 |
pidlo |
i would like see both together.. |
# |
Jul 11th 2017, 05:16 |
pidlo |
hello all i would like create validation (for unique field) rules in cakephp3 but i dont understand if i set in validationDefault notEmpty to name and in buildRules method unique validation for persnum, if then validate i see first error for name and then if i fill it then cake give me error for persnum field.. |
# |
Jul 11th 2017, 04:59 |
tariquesani |
/home/k12dev/public_html/bin/cake then/path/of/your/shell 5 |
# |
Jul 11th 2017, 04:28 |
mallick |
complete path mean "public_html/v6" or /home/k12onlin/public_html/v6 |
# |
Jul 11th 2017, 04:16 |
tariquesani |
Ummm... instead of cd try giving the complete path for your txp_payment shell and see what happens |
# |
Jul 11th 2017, 04:09 |
mallick |
i have a methode with name txp_payment and argument is 5 |
# |
Jul 11th 2017, 04:08 |
mallick |
cd /home/k12dev/public_html/ andand bin/cake txp_payment 5 |
# |
Jul 11th 2017, 04:06 |
slackebot |
server [app] console, create_database, test, txp_payment To run an app or core command, type `cake shell_name [args]` To run a plugin command, type `cake Plugin.shell_name [args]` To get help on a specific command, type `cake shell_name --help` Content-type: text/html; charset=UTF-8 |
# |
Jul 11th 2017, 04:06 |
mallick |
Welcome to CakePHP v3.2.12 Console --------------------------------------------------------------- App : src Path: /home/k12dev/public_html/src/ PHP : 5.6.30 --------------------------------------------------------------- Current Paths: * app: src * root: /home/k12dev/public_html * core: /home/k12dev/public_html/vendor/cakephp/cakephp Available Shells: [DebugKit] benchmark, whitespace [Migrations] migrations [CORE] i18n, orm_cache, plug |
# |
Jul 11th 2017, 04:06 |
mallick |
@tariquesani thanks for reply i am sending you wait please |
# |
Jul 11th 2017, 04:05 |
tariquesani |
@mallick Typically you get an email from cpanel if the cron job fails with the error, What is the error? |
# |
Jul 11th 2017, 03:56 |
mallick |
anyone can tell me the path of cron job in cpanel |
# |
Jul 11th 2017, 03:56 |
mallick |
it's not working |
# |
Jul 11th 2017, 03:55 |
mallick |
but when i set it in cpanel cron job |
# |
Jul 11th 2017, 03:55 |
mallick |
i have make a Shell script in cakephp and it's run very nicely in treminal |
# |
Jul 11th 2017, 03:54 |
mallick |
i need a help regarding cron job in cakephp |
# |
Jul 11th 2017, 03:54 |
mallick |
hello guys |
# |
Jul 10th 2017, 23:23 |
gene_ |
Never mind, I got it |
# |
Jul 10th 2017, 23:08 |
gene_ |
return Cache::remember( "Users.{$userId}.Crm.distributor", function () { return $this->get($userId, ['contain' => ['Distributors']]); } ); |
# |
Jul 10th 2017, 23:08 |
gene_ |
Hi guys, any idea why this won't work? |
# |
Jul 10th 2017, 21:15 |
durbster |
Will do. Thanks again. |
# |
Jul 10th 2017, 21:15 |
admad |
@durbster you are not the first to have this problem, so comment on that issue |