# |
Jul 11th 2017, 07:16 |
heter |
@savant wait, weird thing |
# |
Jul 11th 2017, 07:15 |
savant |
let me check our own sendgrid stuff |
# |
Jul 11th 2017, 07:15 |
savant |
those docs seem strangely worded |
# |
Jul 11th 2017, 07:15 |
savant |
also the username/password are your account credentials |
# |
Jul 11th 2017, 07:14 |
savant |
https://sendgrid.com/docs/Classroom/Basics/Email_Infrastructure/recommended_smtp_settings.html |
# |
Jul 11th 2017, 07:14 |
savant |
port 587 is their tls server |
# |
Jul 11th 2017, 07:14 |
savant |
thats interesting |
# |
Jul 11th 2017, 07:12 |
heter |
@savant after setting tls to true: |
# |
Jul 11th 2017, 07:10 |
heter |
so i think the "from" is causing problem, no idea how this smtp transport works but it seems like its trying to connect with server which is given after noreply@ |
# |
Jul 11th 2017, 07:10 |
savant |
@heter set tls to true |
# |
Jul 11th 2017, 07:10 |
jmenendez |
In* |
# |
Jul 11th 2017, 07:10 |
jmenendez |
I my case I use mandrill so, I can't help you heter :( |
# |
Jul 11th 2017, 07:10 |
heter |
@savant so ive got different clients where im using sendgrid to send emails, and theyre having like same version of cakephp3, everything is same, same settings and on some of these im having this issue, and on some of them its working perfect |
# |
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 |