# |
May 6th 2019, 09:06 |
slackebot |
href="/apple-touch-icon-152x152.png" /> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png" /> ` |
# |
May 6th 2019, 09:06 |
slackebot |
rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png" /> <link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png" /> <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png" /> <link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png" /> <link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png" /> <link rel="apple-touch-icon" sizes="152x152" |
# |
May 6th 2019, 09:06 |
johnwayne |
Hi, what are you using for Apple touch icons (Favicon) in the Head of html file? I am using `iconifier.net` generator and still getting error that some kind of Favicons are missing (Only if I visit my site with iPhone) ` <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> <link rel="apple-touch-icon" href="/apple-touch-icon.png" /> <link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png" /> <link |
# |
May 6th 2019, 07:45 |
slackebot |
<np> |
# |
May 6th 2019, 07:43 |
np |
Hello: PHP Fatal error: Interface ‘PHP_CodeSniffer\Sniffs\Sniff’ not found in /vagrant/vendor/cakephp/cakephp-codesniffer/CakePHP/Sniffs/Strings/ConcatenationSpacingSniff.php on line 28 |
# |
May 6th 2019, 06:24 |
faizalheesyam |
how bout the .htaccess? |
# |
May 6th 2019, 01:40 |
Rupi |
But it opens index.php |
# |
May 6th 2019, 01:40 |
Rupi |
hi, I just copied my site from Linux to Windows and it doesn't see webroot content, like /css and /script |
# |
May 6th 2019, 00:05 |
voycey |
In Postgres they dont like you adding in values to Sequence columns, how do people handle fixtures with this? Cake bakes the id column into the fixture - is there something we should be doing with this? |
# |
May 5th 2019, 17:24 |
admad |
in cake3 plugins installed through composer also go under `vendor` folder |
# |
May 5th 2019, 17:22 |
fra.bdn |
I mean https://github.com/scherersoftware/cake-websocket, that I have installed with composer. It is in the vendor folder, not in the plugin folder. |
# |
May 5th 2019, 17:18 |
admad |
If you "component" you mean a cake plugin then yes you can `->script('PluginName./lib/lib/foo.js')` |
# |
May 5th 2019, 17:04 |
fra.bdn |
Hi, is it possible to include the js from the webroot/js/lib folder of a component in the vendor folder? I have tried with $this->html-script('componentName.lib.script.js') but it does not work. |
# |
May 4th 2019, 19:21 |
maymeow |
learned that same way :) |
# |
May 4th 2019, 13:01 |
hollistergraham123 |
@maymeow Thanks for the advice. Differently learned that the hard way when I renamed my Api prefix folder api and everything broke when I went to deploy. |
# |
May 4th 2019, 11:16 |
neon1024 |
Only two? |
# |
May 4th 2019, 06:53 |
admad |
hehe |
# |
May 4th 2019, 06:53 |
maymeow |
occupational disease - when you reply on email you replying everyone who was mentioned not only sender |
# |
May 4th 2019, 06:51 |
maymeow |
removed your mention... its now ok? ;) |
# |
May 4th 2019, 06:49 |
admad |
@maymeow thanks for telling me something i have known well for almost 2 decades :slightly_smiling_face: |
# |
May 4th 2019, 06:48 |
maymeow |
@admad @hollistergraham123 Linux is more strict than Windows. In windows just need to match folder name in Linux is case sensitive. In windows folder '\Folder` in `fOlDer` will work in linux returns not found. |
# |
May 3rd 2019, 19:57 |
hollistergraham123 |
@ricksaccous Good advice thanks. |
# |
May 3rd 2019, 18:10 |
ricksaccous |
meh |
# |
May 3rd 2019, 18:10 |
ricksaccous |
it's just a class property, you might want to mess with the constructor to get things working like you want |
# |
May 3rd 2019, 18:10 |
ricksaccous |
as far as editing the $_virtual property |
# |
May 3rd 2019, 18:10 |
ricksaccous |
@hollistergraham123 i'd imagine you just define some setters or getters or whatever in the trait |
# |
May 3rd 2019, 15:15 |
hollistergraham123 |
@admad Thanks! Ended up being an issue with my idea auto creating the file with .ctp :confounded:. I do have a question. Is there a way to have my trait add fields to the $_virtual variable while still allowing my entity to add fields to it? |
# |
May 3rd 2019, 15:01 |
admad |
@hollistergraham123 the namespace need to match folder name for autoloading to work |
# |
May 3rd 2019, 14:56 |
Arckame |
any idea of what's wrong in my approach ? |
# |
May 3rd 2019, 14:54 |
Arckame |
sorry, my english is bad at writing. |
# |
May 3rd 2019, 14:54 |
Arckame |
whole application fail. |
# |
May 3rd 2019, 14:54 |
Arckame |
the plugin is load in the application::bootstrap(), if I load it after parent::bootstrap() the plugin load, but the class cannot be found (The configuration of database is call before the plugin loading) .If I use $this->addPlugin(<pluginName>) before parent::boostrap(), the configuration is missing (loaded after ?), the plugin path is NULL and the |
# |
May 3rd 2019, 14:54 |
Arckame |
I create just an empty one with the corresponding driver class (<plugins>/<pluginName>/src/Database/Driver/<DriverName.php> |
# |
May 3rd 2019, 14:54 |
Arckame |
there is something I misunderstand, I have to implement a new database driver. The solution is to create a plugin (the exemple is the oracle plugin). |
# |
May 3rd 2019, 14:44 |
Arckame |
hello |
# |
May 3rd 2019, 14:42 |
qq |
Can CakePHP deploy to Google App engine? it works fine on Computer engine as virtual machine |
# |
May 3rd 2019, 14:39 |
hollistergraham123 |
Where do I add a custom trait for entities in the folder structure. I tried adding in src/Model/Entity/Traits and namespacing it with App\Model\Entity but I keep getting an unable to find error. The docs only provide an example for plugins. |
# |
May 3rd 2019, 14:26 |
maymeow |
yes maybe later ill implemet this. but for now just need do simple controller tests with `$this->assertResponseContains($profile->display_name);` for example and this is problem when there is missing relationship between model |
# |
May 3rd 2019, 14:23 |
maymeow |
:slightly_smiling_face: |
# |
May 3rd 2019, 14:23 |
neon1024 |
..and we’re back to the beginning! 8) |
# |
May 3rd 2019, 14:23 |
neon1024 |
As above. |