0

I'm developing with cakephp 3 right now. I have a controller that has a img in it's view. The problem is that it is pending and doesn't load (in chrome not in firefox).

One factor could be the authentication I set up just recently. However I turned it off in the AppController and it still doesn't load.

Any ideas where this problem comes form?

ArchLinuxTux
  • 840
  • 1
  • 11
  • 28

1 Answers1

0

I fixed it now: It was indeed the authentication. When it get's turned off it doesn't work immediatly. One has to close the tab and load the page in another tab.

So turning the authentication off and opening the page in a new tab fixed it.

Note: If you load the Auth-component in AppController then you can deactivate it in a sub-controller by just implementing the initialize-method and not calling parent::initialize ...

ArchLinuxTux
  • 840
  • 1
  • 11
  • 28