# |
Apr 2nd 2019, 08:21 |
challgren |
@hkosmidi I don’t know specifically someone else may |
# |
Apr 2nd 2019, 08:17 |
hkosmidi |
my question is, how can I make my site work nicely even when pointing to root folder, not webroot |
# |
Apr 2nd 2019, 08:17 |
om.axisweb |
cakephp 3.7 savemany check if result already exists then update else add new it possible ? |
# |
Apr 2nd 2019, 08:15 |
challgren |
Say for example your apache config goes bad and doesn’t process PHP files. Someone could gain access to your config/app.php and have access to your Salt’s and encryption keys. Plus any additional API keys you’ve specified |
# |
Apr 2nd 2019, 08:11 |
challgren |
https://book.cakephp.org/3.0/en/intro/cakephp-folder-structure.html |
# |
Apr 2nd 2019, 08:10 |
challgren |
nah move all that to the home dir |
# |
Apr 2nd 2019, 08:10 |
hkosmidi |
but inside public_html I have the full project structure |
# |
Apr 2nd 2019, 08:03 |
challgren |
I use cPanel/WHM and thats my solution delete the public_html folder and make webroot symbolic link to public_html |
# |
Apr 2nd 2019, 08:03 |
challgren |
What about deleting the root folder and then doing a symbolic link? |
# |
Apr 2nd 2019, 08:02 |
hkosmidi |
If I change the path to webroot, it appears correctly, but I don;t want to do this. because each time something changes in the domain, plesk reproduces the vhost files and changes the root folder |
# |
Apr 2nd 2019, 08:01 |
hkosmidi |
hi, I have a cakephp 3.7 website, and I moved it to a testing site. I use plesk for the subdomain, and plesk has a certain template for php+apache, whuich points to the root folder not webroot/. So may site doesn't load the css+images |
# |
Apr 2nd 2019, 07:56 |
challgren |
Morning! |
# |
Apr 2nd 2019, 07:56 |
neon1024 |
Morning all :wave: |
# |
Apr 2nd 2019, 04:32 |
admad |
@petteyg359 https://github.com/usemuffin/webservice |
# |
Apr 2nd 2019, 01:49 |
petteyg359 |
Found https://github.com/cakephp/elastic-search, that's something at least |
# |
Apr 2nd 2019, 01:40 |
petteyg359 |
Any example Datasources available to write a plugin based on? Only ones I've found are for 2.x :( |
# |
Apr 2nd 2019, 00:46 |
markstory |
DebugKit might work, I've not honestly tried much. I'm working on getting the 4.x docs deployed in the next few days so that we can do the first alpha release, and get feedback and work on plugins. |
# |
Apr 2nd 2019, 00:45 |
markstory |
A bunch of folks thought that the `ctp` extension was confusing, and it requires additional editor setup to get going. |
# |
Apr 2nd 2019, 00:05 |
abdualelah.mdy |
thanks |
# |
Apr 2nd 2019, 00:05 |
abdualelah.mdy |
I solve it |
# |
Apr 1st 2019, 23:57 |
abdualelah.mdy |
sorry for my questions |
# |
Apr 1st 2019, 23:57 |
abdualelah.mdy |
@challgren I have another question. the linking was successful but the login is not. I don't what is the reason |
# |
Apr 1st 2019, 23:34 |
challgren |
`bin/cake bake migration_diff AddingSocials` |
# |
Apr 1st 2019, 23:34 |
challgren |
Then just bake your own migration that will include that table |
# |
Apr 1st 2019, 23:34 |
abdualelah.mdy |
thank you <3 |
# |
Apr 1st 2019, 23:33 |
challgren |
Here’s the create statement |
# |
Apr 1st 2019, 23:33 |
challgren |
1 Min I’ll pull mine up |
# |
Apr 1st 2019, 23:31 |
abdualelah.mdy |
can I have the table structure to set manually ? |
# |
Apr 1st 2019, 23:29 |
abdualelah.mdy |
I used the above command but it stops at users table because it is already there |
# |
Apr 1st 2019, 23:28 |
abdualelah.mdy |
I have the users and it is working(for login and registration ). but I don't know social structure ( i need for facebook and google login) |
# |
Apr 1st 2019, 23:25 |
challgren |
even if you dont use social |
# |
Apr 1st 2019, 23:25 |
challgren |
Yeah you need both users and social |
# |
Apr 1st 2019, 23:25 |
abdualelah.mdy |
in need social table |
# |
Apr 1st 2019, 23:24 |
challgren |
No, I use CakeDC/Users and I use my tables instead of the provided ones |
# |
Apr 1st 2019, 23:24 |
flashios09 |
why ? honestly, for me the `.ctp` extension makes more sense - `.php` -> this is a regular php file - `.ctp` -> this is a template file even with editor, search for template is more easy with `.ctp` extension another question, what about debugkit ? is it compatible with cake4 ? now i’m playing a little bit with it but i don’t have the debugkit toolbar ! i don’t have any error |
# |
Apr 1st 2019, 23:22 |
abdualelah.mdy |
bin/cake migrations migrate -p CakeDC/Users -> can i choose what table to migrate ? |
# |
Apr 1st 2019, 23:18 |
markstory |
That’s correct. |
# |
Apr 1st 2019, 22:28 |
challgren |
https://book.cakephp.org/3.0/en/core-libraries/email.html#configuring-transports |
# |
Apr 1st 2019, 22:19 |
abdualelah.mdy |
how to connect to mail server using STARTTLS ? |
# |
Apr 1st 2019, 21:31 |
challgren |
https://book.cakephp.org/3.0/en/development/testing.html#test-database-setup |
# |
Apr 1st 2019, 21:31 |
challgren |
https://book.cakephp.org/3.0/en/development/testing.html#fixtures |