# |
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 |
# |
Apr 28th 2017, 15:49 |
Jay12 |
hi |
# |
Apr 28th 2017, 14:45 |
awi |
hm. I think I got the mechanism how it works and I'll work with my special case around it. |
# |
Apr 28th 2017, 14:43 |
jeremyharris |
maybe gist your query, and the result entities with it, along with the table |
# |
Apr 28th 2017, 14:42 |
awi |
unlike I would expect using a contain. |
# |
Apr 28th 2017, 14:42 |
awi |
its bringing in the data, but at matchingdata |
# |
Apr 28th 2017, 14:41 |
jeremyharris |
they should though, e.g., if you contain(Sites) and it doesn’t actually bring in the data, it’s either a) not matching anything or b) the plugin’s finder is broken |
# |
Apr 28th 2017, 14:40 |
awi |
Well that means softdeletes dont work with contain |
# |
Apr 28th 2017, 14:39 |
jeremyharris |
that would make sense yes |
# |
Apr 28th 2017, 14:38 |
awi |
*within |
# |
Apr 28th 2017, 14:38 |
awi |
The construction is: $this->belongsTo('Sites', ['finder' => 'notRemoved']); which uses the finder of SitesTable mitchin a matching I guess? |
# |
Apr 28th 2017, 14:36 |
awi |
Well. I put this finder there (which is a finder checking for a softdelete which I think translates into a matching when I look at the query object) to exclude finding anything belonging to anything deleted. So when i do so, cake cant give me a normal $entity->relatedsubentity->field? |
# |
Apr 28th 2017, 14:34 |
jeremyharris |
you most certainly can use a finder in a table — that’s where they belong. not sure what you mean by “loose function of contain” though |
# |
Apr 28th 2017, 14:33 |
jeremyharris |
does that finder use matching? the point I’m getting at is that the query is likely using matching which adds the _matchingData property. contain will not do that, and if it does, a thousand apps have screamed out in agony |
# |
Apr 28th 2017, 14:33 |
awi |
so I cant use a finder in table or loose function of "contain"? |
# |
Apr 28th 2017, 14:32 |
awi |
jeremyharris well ist has from table innitialize wich uses a finder. |
# |
Apr 28th 2017, 14:31 |
dereuromark |
;) yeah the question is a bit too broad |