Log message #4226652

# At Username Text
# Feb 12th 2020, 22:21 damiano @neon1024 yesterday we were talking about token creation. I came to this conclusion: Security::hash($username . Security::randomString(32) . microtime(), 'sha256', true); it seems quite robust :)
# Feb 12th 2020, 22:17 sebastian.krzewinski. 2. i dont neet database nwo
# Feb 12th 2020, 22:17 sebastian.krzewinski. 1. no
# Feb 12th 2020, 21:57 challgren https://www.seohost.com/vps.html it runs cPanel
# Feb 12th 2020, 21:57 slackebot <challgren>
# Feb 12th 2020, 21:56 ricksaccous lol
# Feb 12th 2020, 21:56 ricksaccous root at localhost
# Feb 12th 2020, 21:56 ricksaccous and his db is not able to be read
# Feb 12th 2020, 21:54 slackebot <challgren>
# Feb 12th 2020, 21:49 challgren wait you have a prefix called admin and a directory in wwwroot/admin?
# Feb 12th 2020, 21:30 sebastian.krzewinski. for now is working x)
# Feb 12th 2020, 21:30 sebastian.krzewinski. http://srv31838.seohost.com.pl/admin
# Feb 12th 2020, 20:38 challgren Or setup a vhost locally and a hosts entry
# Feb 12th 2020, 20:37 challgren For Dev you should just do bin/cake server and it will launch the built in php server on localhost:8765
# Feb 12th 2020, 20:36 challgren If your using cpanel just delete the public_html folder and symlink it to wwwroot
# Feb 12th 2020, 20:35 challgren @sebastian.krzewinski. what you should do is align your project directory structure as the user. Are you using cpanel?
# Feb 12th 2020, 20:31 luizcmarin @ndm thanks
# Feb 12th 2020, 20:29 ndm @luizcmarin 36 characters. That's 4 dashes + 32 hex digits, where each hex pair can store 8 bit = 16 * 8 = 128
# Feb 12th 2020, 20:29 phantomwatson Goodnight!
# Feb 12th 2020, 20:29 sebastian.krzewinski. goodnight all
# Feb 12th 2020, 20:29 sebastian.krzewinski. for now thanks all for help
# Feb 12th 2020, 20:29 sebastian.krzewinski. @phantomwatson i buyed a hosting. i will see it there
# Feb 12th 2020, 20:13 luizcmarin @challgren _"If the db type is char(36) it will map to uuid automagically"._ *36 or 128?* https://book.cakephp.org/4/en/core-libraries/text.html#generating-uuids
# Feb 12th 2020, 20:12 phantomwatson I think you'd add this line to your `/webroot/.htaccess` file: `RewriteBase /path/to/app`. Read https://book.cakephp.org/3/en/installation.html#url-rewriting for reference.
# Feb 12th 2020, 20:10 phantomwatson "Not from the domain's root" meaning your whole site is accessed through `example.com/subdirectory` instead of just `example.com/`.
# Feb 12th 2020, 20:09 phantomwatson Oh, I think you may need to do something special if you're accessing CakePHP not from a domain's root. I'll check in the docs for specifics.
# Feb 12th 2020, 20:07 sebastian.krzewinski. localhost/oven/red/admin
# Feb 12th 2020, 20:07 sebastian.krzewinski. not this
# Feb 12th 2020, 20:07 sebastian.krzewinski. https://i.imgur.com/IYdbAMf.png
# Feb 12th 2020, 20:06 sebastian.krzewinski. 5 and now i have this
# Feb 12th 2020, 20:06 sebastian.krzewinski. 4. i created folder under webroot named "admin" to have paste my files from my project
# Feb 12th 2020, 20:06 phantomwatson The problem might be that in `routes.php`, your prefix is "Admin" (capitalized) when it should be "admin" (lowercase).
# Feb 12th 2020, 20:04 sebastian.krzewinski. 3. to load /admin page
# Feb 12th 2020, 20:03 sebastian.krzewinski. 2. localhost/admin
# Feb 12th 2020, 20:03 sebastian.krzewinski. https://i.imgur.com/Zp9pEQK.png
# Feb 12th 2020, 19:58 phantomwatson Could you explain it like this? 1. How are your files/routing set up? 2. What URL did you try to load? 3. What specifically did you expect to happen? 4. What actually happened?
# Feb 12th 2020, 19:57 sebastian.krzewinski. localhost/admin
# Feb 12th 2020, 19:57 sebastian.krzewinski. no im trying open the website/page
# Feb 12th 2020, 19:56 phantomwatson Am I correct that when you try to open a file like `/webroot/foldername/file.ext` by going to the URL `/foldername/file.ext` it instead redirects you to the URL `/webroot/foldername/file.ext`?
# Feb 12th 2020, 19:54 sebastian.krzewinski. becouse redirect me to /webroot/foldernameserver
# Feb 12th 2020, 19:54 sebastian.krzewinski. after /