# |
Jul 16th 2018, 08:10 |
DBZSadie |
@kitcat711 have you tried the mailer after your upgrade? Were you successful? |
# |
Jul 16th 2018, 08:06 |
DBZSadie |
Posted details on Stack here https://stackoverflow.com/questions/51356463/cakephp-email-not-working-after-upgrade-3-5-2-3-6-7 |
# |
Jul 16th 2018, 08:06 |
DBZSadie |
Hi...Email Not Working after Upgrade 3.5.2 --> 3.6.7. |
# |
Jul 16th 2018, 08:02 |
DBZ |
Hello |
# |
Jul 16th 2018, 07:45 |
kitcat711 |
Morning neon1024 |
# |
Jul 16th 2018, 07:44 |
neon1024 |
Morning all |
# |
Jul 16th 2018, 07:42 |
kitcat711 |
hello, using the new debugkit, I see that deprecations are displayed in different sections: do I need to care about the Cake section, or is that one going to be fixed by upgrading the app? |
# |
Jul 16th 2018, 07:11 |
sheraliqureshi.mhtech |
can we connet multiple databases in cake php? |
# |
Jul 15th 2018, 22:42 |
josexato |
hello one question, Is there any restriction to use @admad jwt pluging in 3.6? |
# |
Jul 15th 2018, 11:30 |
kitcat711 |
Bonjour, proud to succeed in my migration from 3.3 to 3.6.7 on my DEV environment, still having some deprecation warnings but less and less |
# |
Jul 14th 2018, 21:05 |
Martin` |
oh he is gone already |
# |
Jul 14th 2018, 21:04 |
martin |
offcourse :) |
# |
Jul 14th 2018, 16:26 |
mr_smith |
anyone here? |
# |
Jul 14th 2018, 16:18 |
admad |
The result was a forgone conclusion bit good job predictioning the score :slightly_smiling_face: |
# |
Jul 14th 2018, 15:42 |
josbeir |
@neon1024 you are going to be right |
# |
Jul 14th 2018, 15:42 |
josbeir |
:flag-be: :flag-be: :soccer: :soccer: |
# |
Jul 14th 2018, 15:35 |
ando_suguru |
@admad Yes, it was placed in `src / Api / Crud / Action / Users / TokenAction.php`. I could not solve this solution properly, but I could solve it by specifying a namespace and a path to `autolaod` in composer.json. Thank you very much! |
# |
Jul 14th 2018, 14:30 |
admad |
your file should be `src/Api/Crud/Action/Users/TokenAction.php` |
# |
Jul 14th 2018, 14:28 |
admad |
are you sure you have put the action class file in proper location according to your namespace? |
# |
Jul 14th 2018, 14:28 |
admad |
nvm, it will be same as what you have. |
# |
Jul 14th 2018, 14:24 |
admad |
@ando_suguru `$this->Crud->mapAction('token', ['className' => '\App\Api\Crud\Action\Users\TokenAction']);` |
# |
Jul 14th 2018, 14:14 |
ando_suguru |
https://gist.github.com/sktbcbbs/73cefa1e8c910edd3fb70c934ce92652 |
# |
Jul 14th 2018, 14:06 |
ando_suguru |
@admad I understand. Sorry. |
# |
Jul 14th 2018, 14:05 |
admad |
@ando_suguru please use gist or pastebin in future instead of spamming the channel with a wall of code |
# |
Jul 14th 2018, 14:04 |
josbeir |
also :soccer: :soccer: :soccer: |
# |
Jul 14th 2018, 14:04 |
josbeir |
spam much |
# |
Jul 14th 2018, 14:04 |
josbeir |
wow wtf |
# |
Jul 14th 2018, 13:55 |
slackebot |
/Users/beyond-system/GitRepositories/yakushima-api/webroot/index.php(40): Cake\Http\Server->run() #23 {main} ``` |
# |
Jul 14th 2018, 13:55 |
slackebot |
Object(Cake\Http\Runner)) #20 /Users/beyond-system/GitRepositories/yakushima-api/vendor/cakephp/cakephp/src/Http/Runner.php(51): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #21 /Users/beyond-system/GitRepositories/yakushima-api/vendor/cakephp/cakephp/src/Http/Server.php(98): Cake\Http\Runner->run(Object(Cake\Http\MiddlewareQueue), Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #22 |
# |
Jul 14th 2018, 13:55 |
ando_suguru |
#18 /Users/beyond-system/GitRepositories/yakushima-api/vendor/cakephp/debug_kit/src/Middleware/DebugKitMiddleware.php(53): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #19 /Users/beyond-system/GitRepositories/yakushima-api/vendor/cakephp/cakephp/src/Http/Runner.php(65): DebugKit\Middleware\DebugKitMiddleware->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), |
# |
Jul 14th 2018, 13:55 |
slackebot |
Object(Cake\Http\Runner)) |
# |
Jul 14th 2018, 13:55 |
slackebot |
#16 /Users/beyond-system/GitRepositories/yakushima-api/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php(98): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #17 /Users/beyond-system/GitRepositories/yakushima-api/vendor/cakephp/cakephp/src/Http/Runner.php(65): Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), |
# |
Jul 14th 2018, 13:55 |
slackebot |
#14 /Users/beyond-system/GitRepositories/yakushima-api/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php(88): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #15 /Users/beyond-system/GitRepositories/yakushima-api/vendor/cakephp/cakephp/src/Http/Runner.php(65): Cake\Routing\Middleware\AssetMiddleware->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), Object(Cake\Http\Runner)) |
# |
Jul 14th 2018, 13:55 |
slackebot |
#12 /Users/beyond-system/GitRepositories/yakushima-api/vendor/ozee31/cakephp-cors/src/Routing/Middleware/CorsMiddleware.php(31): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #13 /Users/beyond-system/GitRepositories/yakushima-api/vendor/cakephp/cakephp/src/Http/Runner.php(65): Cors\Routing\Middleware\CorsMiddleware->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), Object(Cake\Http\Runner)) |
# |
Jul 14th 2018, 13:55 |
slackebot |
/Users/beyond-system/GitRepositories/yakushima-api/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php(157): Cake\Http\Runner->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #11 /Users/beyond-system/GitRepositories/yakushima-api/vendor/cakephp/cakephp/src/Http/Runner.php(65): Cake\Routing\Middleware\RoutingMiddleware->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), Object(Cake\Http\Runner)) |
# |
Jul 14th 2018, 13:55 |
slackebot |
/Users/beyond-system/GitRepositories/yakushima-api/vendor/cakephp/cakephp/src/Http/BaseApplication.php(232): Cake\Http\ActionDispatcher->dispatch(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #9 /Users/beyond-system/GitRepositories/yakushima-api/vendor/cakephp/cakephp/src/Http/Runner.php(65): Cake\Http\BaseApplication->__invoke(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response), Object(Cake\Http\Runner)) #10 |
# |
Jul 14th 2018, 13:55 |
slackebot |
/Users/beyond-system/GitRepositories/yakushima-api/vendor/cakephp/cakephp/src/Http/ControllerFactory.php(46): ReflectionClass->newInstance(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #7 /Users/beyond-system/GitRepositories/yakushima-api/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php(91): Cake\Http\ControllerFactory->create(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #8 |
# |
Jul 14th 2018, 13:55 |
slackebot |
/Users/beyond-system/GitRepositories/yakushima-api/vendor/friendsofcake/crud/src/Controller/Component/CrudComponent.php(295): Crud\Controller\Component\CrudComponent->action('token') #2 /Users/beyond-system/GitRepositories/yakushima-api/vendor/friendsofcake/crud/src/Controller/Component/CrudComponent.php(405): Crud\Controller\Component\CrudComponent->enable('token') #3 |
# |
Jul 14th 2018, 13:55 |
slackebot |
/Users/beyond-system/GitRepositories/yakushima-api/src/Controller/Api/UsersController.php(43): Crud\Controller\Component\CrudComponent->mapAction('token', Array) #4 /Users/beyond-system/GitRepositories/yakushima-api/vendor/cakephp/cakephp/src/Controller/Controller.php(272): App\Controller\Api\UsersController->initialize() #5 [internal function]: Cake\Controller\Controller->__construct(Object(Cake\Http\ServerRequest), Object(Cake\Http\Response)) #6 |
# |
Jul 14th 2018, 13:55 |
ando_suguru |
*logs/error.log* ``` 2018-07-14 22:31:52 Error: [Error] Class 'App\Api\Crud\Action\Users\TokenAction' not found Request URL: /api/users/token Stack Trace: #0 /Users/beyond-system/GitRepositories/yakushima-api/vendor/friendsofcake/crud/src/Controller/Component/CrudComponent.php(281): Crud\Controller\Component\CrudComponent->_loadAction('token') #1 |
# |
Jul 14th 2018, 13:55 |
slackebot |
public function initialize() { parent::initialize(); $this->Crud->mapAction('add', 'Crud.Add'); $this->Crud->mapAction('delete', 'Crud.Delete'); $this->Crud->mapAction('edit', 'Crud.Edit'); $this->Crud->mapAction('index', 'Crud.Index'); $this->Crud->mapAction('token', '\App\Api\Crud\Action\Users\TokenAction'); // get error here $this->Crud->mapAction('view', 'Crud.View'); } } ``` |