Log message #4221777

# At Username Text
# Jan 8th 2020, 21:39 ricksaccous doesn't it get added as a hidden field?
# Jan 8th 2020, 21:39 ricksaccous so I don't see why you ahve to have the csrf on the submit button
# Jan 8th 2020, 21:38 ricksaccous so when you submit the form just knows
# Jan 8th 2020, 21:38 ricksaccous shouldn't it
# Jan 8th 2020, 21:38 ricksaccous csrf should be added to the form already
# Jan 8th 2020, 21:38 ricksaccous also
# Jan 8th 2020, 21:38 ricksaccous out of curiosity why not just use postlink
# Jan 8th 2020, 21:22 slackebot <jotpe>
# Jan 8th 2020, 21:21 jotpe postLink() generates some markup like this with the csrf token in the onClick
# Jan 8th 2020, 21:17 ricksaccous it just shows a pop up before you submit
# Jan 8th 2020, 21:17 ricksaccous confirm doesn't have anything to do with CSRF
# Jan 8th 2020, 21:16 ricksaccous i don't know what you're trying to do anymore
# Jan 8th 2020, 21:16 jotpe Is the Normal Paginator Helper able to handle variables in the url? BootstrapUIs doesn't seem to work with it.
# Jan 8th 2020, 21:10 jotpe There's no explicit option, but when I just add it with the code from the postlink it seems to lack the csrf stuff. Is there a way I can get the token?
# Jan 8th 2020, 19:53 ricksaccous the option i mean
# Jan 8th 2020, 19:53 ricksaccous @jotpe have you just tried using confirm on a normal submit button?
# Jan 8th 2020, 18:02 jotpe Is there something like the `'confirm'` option (`postLink()`) for normal submits/buttons?
# Jan 8th 2020, 17:35 jotpe Ah gosh, forgot the 'url' as FormHelpers create option.
# Jan 8th 2020, 17:32 slackebot <jotpe>
# Jan 8th 2020, 17:31 jotpe Anyone has a clue, why a complete exact route is not found when creating a FormHelper::create() but is working with a PostLink?
# Jan 8th 2020, 17:30 wizardfix Think I found the solution @ckjksl - My system was using the system-wide PHP install at `/usr/bin/php`. Once I added `/opt/lampp/bin` to my `PATH`, the errors doisap
# Jan 8th 2020, 16:41 ckjksl Sorry I don't have any exact solutions for you. I think if it's working through your webserver and not in your command line, it probably has to do with your command line environment, and i don't know enough about that to offer assistance.
# Jan 8th 2020, 16:37 wizardfix I will read that config section too, thanks for your help @ckjksl, I will investigate further and see if I can solve it. :)
# Jan 8th 2020, 16:34 wizardfix Maybe I'll try a fresh install...
# Jan 8th 2020, 16:33 slackebot Installing phpunit/php-timer (1.0.9): Downloading (100%) - Installing phpunit/php-file-iterator (1.4.5): Downloading (100%) - Installing theseer/tokenizer (1.1.3): Downloading (100%) - Installing sebastian/code-unit-reverse-lookup (1.0.1): Downloading (100%) - Installing phpunit/php-token-stream (2.0.2): Downloading (100%) - Installing phpunit/php-code-coverage (5.3.2): Downloading (100%)
# Jan 8th 2020, 16:33 slackebot Installing sebastian/environment (3.1.0): Downloading (100%) - Installing sebastian/diff (2.0.1): Downloading (100%) - Installing sebastian/comparator (2.1.3): Downloading (100%) - Installing doctrine/instantiator (1.3.0): Downloading (100%) - Installing phpunit/php-text-template (1.2.1): Downloading (100%) - Installing phpunit/phpunit-mock-objects (5.0.10): Downloading (100%) -
# Jan 8th 2020, 16:33 slackebot sebastian/resource-operations (1.0.0): Downloading (100%) - Installing sebastian/recursion-context (3.0.0): Downloading (100%) - Installing sebastian/object-reflector (1.1.1): Downloading (100%) - Installing sebastian/object-enumerator (3.0.3): Downloading (100%) - Installing sebastian/global-state (2.0.0): Downloading (100%) - Installing sebastian/exporter (3.1.2): Downloading (100%) -
# Jan 8th 2020, 16:33 slackebot Downloading (100%) - Installing composer/ca-bundle (1.2.5): Downloading (100%) - Installing composer/composer (1.9.1): Downloading (100%) - Installing cakephp/debug_kit (3.21.0): Downloading (100%) - Installing m1/env (2.1.2): Downloading (100%) - Installing josegonzalez/dotenv (3.2.0): Downloading (100%) - Installing sebastian/version (2.0.1): Downloading (100%) - Installing
# Jan 8th 2020, 16:33 slackebot symfony/finder (v4.4.2): Downloading (100%) - Installing seld/phar-utils (1.0.1): Downloading (100%) - Installing seld/jsonlint (1.7.2): Downloading (100%) - Installing justinrainbow/json-schema (5.2.9): Downloading (100%) - Installing composer/xdebug-handler (1.4.0): Downloading (100%) - Installing composer/spdx-licenses (1.5.2): Downloading (100%) - Installing composer/semver (1.5.0):
# Jan 8th 2020, 16:33 slackebot Installing twig/twig (v1.42.4): Downloading (100%) - Installing umpirsky/twig-php-function (v0.1): Downloading (100%) - Installing jasny/twig-extensions (v1.2.0): Downloading (100%) - Installing asm89/twig-cache-extension (1.4.0): Downloading (100%) - Installing aptoma/twig-markdown (2.0.0): Downloading (100%) - Installing ajgl/breakpoint-twig-extension (0.3.4): Downloading (100%) -
# Jan 8th 2020, 16:33 slackebot Installing wyrihaximus/twig-view (4.3.8): Downloading (100%) - Installing cakephp/bake (1.12.0): Downloading (100%) - Installing squizlabs/php_codesniffer (3.5.3): Downloading (100%) - Installing cakephp/cakephp-codesniffer (3.3.0): Downloading (100%) - Installing jdorn/sql-formatter (v1.2.17): Downloading (100%) - Installing symfony/process (v4.4.2): Downloading (100%) - Installing
# Jan 8th 2020, 16:33 slackebot Installing symfony/polyfill-php73 (v1.13.1): Downloading (100%) - Installing symfony/polyfill-mbstring (v1.13.1): Downloading (100%) - Installing symfony/console (v4.4.2): Downloading (100%) - Installing robmorgan/phinx (0.11.4): Downloading (100%) - Installing cakephp/migrations (2.4.1): Downloading (100%) - Installing mobiledetect/mobiledetectlib (2.8.34): Downloading (100%) -
# Jan 8th 2020, 16:33 slackebot (100%) - Installing symfony/polyfill-ctype (v1.13.1): Downloading (100%) - Installing symfony/yaml (v5.0.2): Downloading (100%) - Installing symfony/filesystem (v4.4.2): Downloading (100%) - Installing symfony/config (v5.0.2): Downloading (100%) - Installing psr/container (1.0.0): Downloading (100%) - Installing symfony/service-contracts (v2.0.1): Downloading (100%) -
# Jan 8th 2020, 16:33 slackebot Installing aura/intl (3.0.0): Downloading (100%) - Installing psr/http-message (1.0.1): Downloading (100%) - Installing zendframework/zend-diactoros (1.8.7): Downloading (100%) - Installing psr/simple-cache (1.0.1): Downloading (100%) - Installing psr/log (1.1.2): Downloading (100%) - Installing cakephp/chronos (1.3.0): Downloading (100%) - Installing cakephp/cakephp (3.8.8): Downloading
# Jan 8th 2020, 16:33 wizardfix ```00:18: htdocs $ php composer.phar create-project cakephp/app trportal 3.8 Installing cakephp/app (3.8.0) - Installing cakephp/app (3.8.0): Downloading (100%) Created project in trportal Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 78 installs, 0 updates, 0 removals - Installing cakephp/plugin-installer (1.2.0): Downloading (100%) -
# Jan 8th 2020, 16:33 wizardfix Created with composer
# Jan 8th 2020, 16:33 ckjksl but if you're missing files, that seems to be another problem
# Jan 8th 2020, 16:32 ckjksl https://book.cakephp.org/3/en/orm/database-basics.html#database-configuration
# Jan 8th 2020, 16:32 wizardfix So can I get the DSN from phpMyAdmin or where? The database is working fine in CakePHP, CRUD ops are performed correctly etc., it's just with Bake I'm getting these errors... :thinking_face:
# Jan 8th 2020, 16:31 ckjksl Can you go through the steps of how you manually created this project?
# Jan 8th 2020, 16:30 wizardfix Now I get ```Exception: SQLSTATE[HY000] [2002] No such file or directory in [/opt/lampp/htdocs/myprojects/vendor/cakephp/cakephp/src/Database/Driver.php, line 92]```