# |
Apr 29th 2017, 05:34 |
loginews |
I would be very grateful if someone could help me out. I have already used CakePHP in 3 apps. I am slowly getting used to it. Whenever I am stuck, I can always go back to plain php to develop my application. I have no problem developing any app with plain php and mysql. So the problem is only with the learning the new language. I have a table users which I can edit successfully. See all the bits of codes here: |
# |
Apr 29th 2017, 05:34 |
loginews |
I have about the same difficulty as metoyoko |
# |
Apr 29th 2017, 05:10 |
backstageel |
Does the cakephp upgrade tool moves the prefixed actions to its own controller? |
# |
Apr 29th 2017, 03:34 |
metoyoko |
Where can I download working project that have hasMany and belongsToMany inside it. Thanks. |
# |
Apr 29th 2017, 03:28 |
metoyoko |
I Can't save using hasMany in cakephp 3. Is there any downloadable working cakephp 3 apps that has hasMany and belongsToMany inside it so I can figure out how to pass data from form to model. thanks |
# |
Apr 29th 2017, 03:25 |
metoyoko |
Good Day! |
# |
Apr 28th 2017, 20:28 |
graziel |
i find cake highly customizable as it gives you some basic things that you can follow but at the same time you might change almost every aspect of it |
# |
Apr 28th 2017, 20:28 |
graziel |
at start it might not have much sense but more and more you will use cake the more it will clear things up |
# |
Apr 28th 2017, 20:21 |
pc-world |
My first impression is that files like bootstrap.php which are over 200 lines in size should be part of the core if they are necessary, and not duplicated across every project built with Cake |
# |
Apr 28th 2017, 20:15 |
burzum |
In theory (never tried it) https://github.com/cakephp/app/blob/master/webroot/index.php this file should be enough. You can then start building whatever you want around it. ;) |
# |
Apr 28th 2017, 20:15 |
pc-world |
It doesn't really seem to be minimal, as the template includes SQL schemas (i18n.sql, sessions.ql), a sample test case, views, templates, CSS stuff etc. in webroot, can I delete all of that? |
# |
Apr 28th 2017, 20:13 |
burzum |
Nobody holds you off from creating all the other files, that you'll need in any case, manually if you prefer that. :slightly_smiling_face: |
# |
Apr 28th 2017, 20:12 |
temp1029 |
And btw, most of those 100 files are just placeholders for directories (about 50 I think) and then normal web front end stuff (CSS, images, etc) which don't affect your application logic |
# |
Apr 28th 2017, 20:10 |
dereuromark |
its as easy as that |
# |
Apr 28th 2017, 20:09 |
dereuromark |
no, follow the docs, copy stuff over to your repo and from there on no more updates to pull |
# |
Apr 28th 2017, 20:09 |
pc-world |
So what's the usual git workflow? Clone https://github.com/cakephp/app to be able to pull in updates? |
# |
Apr 28th 2017, 20:08 |
dereuromark |
dont care |
# |
Apr 28th 2017, 20:08 |
dereuromark |
dont are about it - just do your thing |
# |
Apr 28th 2017, 20:08 |
pc-world |
I'd like to know what each file in my project root is doing, and a template of over 100 files doesn't seem to be a good start |
# |
Apr 28th 2017, 20:08 |
dereuromark |
cakephp/app is minimal whats the problem with that? |
# |
Apr 28th 2017, 20:07 |
pc-world |
Isn't there a minimal template or something like that? |
# |
Apr 28th 2017, 20:07 |
pc-world |
Hello, I'm new to CakePHP. Am I really supposed to use a template of over 100 files to start developing an application?! https://github.com/cakephp/app |
# |
Apr 28th 2017, 19:24 |
btx |
@joop to explain a little, `?` *is* short tag syntax and needs to be enabled in the ini to work, and is generally not encouraged (because it’s not default) `<?=` is different and is the equivalent of `<?php echo ... ?` |
# |
Apr 28th 2017, 19:19 |
joop |
thanky you mate |
# |
Apr 28th 2017, 19:17 |
joop |
okey thank you its working now |
# |
Apr 28th 2017, 19:16 |
admad |
so don't use it and use <?php like i said |
# |
Apr 28th 2017, 19:13 |
joop |
its just write to the screen this text from"Form->.... " |
# |
Apr 28th 2017, 19:12 |
joop |
if i use this: <? if(condition) { echo $this->Form->postLink....... |
# |
Apr 28th 2017, 19:12 |
admad |
just use <?php if ().. |
# |
Apr 28th 2017, 19:12 |
admad |
<?= is short echo tag not short open tag |
# |
Apr 28th 2017, 19:11 |
joop |
i need <? if(statement){ $this->Form->postLink ............ |
# |
Apr 28th 2017, 19:11 |
joop |
<?= |
# |
Apr 28th 2017, 19:11 |
joop |
i haveing some issue with open short tag |
# |
Apr 28th 2017, 19:10 |
joop |
hello all |
# |
Apr 28th 2017, 17:52 |
chris-andre |
Contact your host and ask for ssh access |
# |
Apr 28th 2017, 16:35 |
Jay12 |
hmic, i am using a remote server, i do not access to ssh or composer, what do i do? |
# |
Apr 28th 2017, 16:25 |
hmic |
Jay12, you are missing the ICU module for php on your server. dont just copy the files all over. do "composer install" your app on the server! it will tell oyu what you are missing and refuse to install :p |
# |
Apr 28th 2017, 16:21 |
chris-andre |
Without any idea, at first sight it looks like you might have different charset on your db/tables from the local to the host. |
# |
Apr 28th 2017, 16:08 |
Jay12 |
https://thepasteb.in/p/mwh1z3mWnLXt5 |
# |
Apr 28th 2017, 15:49 |
Jay12 |
I; [\u0080-\u7fff] removeandquot;: U_INVALID_ID) [CORE/src/Utility/Text.php, line 1070] |
# |
Apr 28th 2017, 15:49 |
Jay12 |
i have a problem, i hosted cakephp 3.x which was working on my local server on a remote server, i had this error Warning (2): transliterator_transliterate(): Could not create transliterator with ID andquot;Any-Latin; Latin-ASCII; [\u0080-\u7fff] removeandquot; (transliterator_create: unable to open ICU transliterator with id andquot;Any-Latin; Latin-ASCI |