Questions tagged [cakephp-3.8]

For questions about the 3.8.x branch of the CakePHP MVC framework. Use this tag in combination with the general [cakephp] tag. If your question applies to CakePHP more generally, use only the [cakephp] tag.

33 questions
2
votes
1 answer

Cakephp 3 Authentication plugin, login URL did not match

I want to use the Authentication plugin for CakePHP 3.8 and I'm having problems that are not in documentation. After follow Getting Started (https://book.cakephp.org/authentication/1/en/index.html) I have one question. Originally $fields were…
Marco C
  • 111
  • 1
  • 13
1
vote
1 answer

Router::redirect() deprecated

Router::redirect() is deprecated. Use Router::scope() and RouteBuilder::redirect() instead. The message gives some lead, but did not find direct answer in docs. Direct switching to RouteBuilder::redirect() instead not possible as it is not static…
Nedvajz
  • 891
  • 8
  • 13
1
vote
1 answer

cakephp 3.8.13 handle unauthorized request, response in JSON

I have implemented https://github.com/ADmad/cakephp-jwt-auth in my CakePHP application. My problem is whenever there is an unauthorized request it responds with HTML. …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/cakephp" class="post-tag grid--cell" title="show questions tagged 'cakephp'" rel="tag">cakephp</a> <a href="../../questions/tagged/error-handling" class="post-tag grid--cell" title="show questions tagged 'error-handling'" rel="tag">error-handling</a> <a href="../../questions/tagged/unauthorized" class="post-tag grid--cell" title="show questions tagged 'unauthorized'" rel="tag">unauthorized</a> <a href="../../questions/tagged/cakephp-3.8" class="post-tag grid--cell" title="show questions tagged 'cakephp-3.8'" rel="tag">cakephp-3.8</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 07 '20 at 12:47">asked Oct 07 '20 at 12:47</time> <a href="../../users/6444945/e-k" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/6444945.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="e.k" /> </a> <div class="s-user-card--info"> <a href="../../users/6444945/e-k" class="s-user-card--link">e.k</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,333</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="17 silver badge">17</li> <li class="s-award-bling s-award-bling__bronze" title="36 bronze badge">36</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-62572408"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/62572408/how-to-replace-the-sanitize-class-in-cakephp-3" class="question-hyperlink">How to replace the sanitize class in cakephp 3?</a></h3> <div class="excerpt">currently, I'm working on cakephp upgrade from 2.10 to 3.8, I noticed that the classe Sanitize has been removed. Does anyone know how to replace it ? I have this following function : public function view( $page ) { $page =…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/cakephp" class="post-tag grid--cell" title="show questions tagged 'cakephp'" rel="tag">cakephp</a> <a href="../../questions/tagged/migration" class="post-tag grid--cell" title="show questions tagged 'migration'" rel="tag">migration</a> <a href="../../questions/tagged/cakephp-2.x" class="post-tag grid--cell" title="show questions tagged 'cakephp-2.x'" rel="tag">cakephp-2.x</a> <a href="../../questions/tagged/cakephp-3.8" class="post-tag grid--cell" title="show questions tagged 'cakephp-3.8'" rel="tag">cakephp-3.8</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 25 '20 at 09:42">asked Jun 25 '20 at 09:42</time> <a href="../../users/10415589/ares" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/10415589.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Ares" /> </a> <div class="s-user-card--info"> <a href="../../users/10415589/ares" class="s-user-card--link">Ares</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">41</li> <li class="s-award-bling s-award-bling__bronze" title="5 bronze badges">5</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-62124271"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/62124271/cannot-get-cakephp-3-8-multiple-file-upload-to-work" class="question-hyperlink">Cannot get CakePHP 3.8 multiple file upload to work</a></h3> <div class="excerpt">I'm working on this project and at first it has a single file upload that works perfectly fine, but had to change to multiple file upload and now I just can't make it work! Getting an "Headers aready sent" error: Deprecated (16384): Accessing `here`…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/cakephp" class="post-tag grid--cell" title="show questions tagged 'cakephp'" rel="tag">cakephp</a> <a href="../../questions/tagged/file-upload" class="post-tag grid--cell" title="show questions tagged 'file-upload'" rel="tag">file-upload</a> <a href="../../questions/tagged/multiple-file-upload" class="post-tag grid--cell" title="show questions tagged 'multiple-file-upload'" rel="tag">multiple-file-upload</a> <a href="../../questions/tagged/cakephp-3.8" class="post-tag grid--cell" title="show questions tagged 'cakephp-3.8'" rel="tag">cakephp-3.8</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 01 '20 at 01:01">asked Jun 01 '20 at 01:01</time> <a href="../../users/8752940/fernando-garcia" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/8752940.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Fernando Garcia" /> </a> <div class="s-user-card--info"> <a href="../../users/8752940/fernando-garcia" class="s-user-card--link">Fernando Garcia</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">31</li> <li class="s-award-bling s-award-bling__bronze" title="3 bronze badges">3</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-61427208"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/61427208/filter-on-date-from-datetime-in-query-builder-cakephp-3" class="question-hyperlink">Filter on date from datetime in query builder (CakePHP 3)</a></h3> <div class="excerpt">I have a datetime field in my model. In a query I want to select all rows created on a specific day/date (the time doesn't matter). What is the simplest way of doing that in CakePHP 3.8 ? </div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/cakephp" class="post-tag grid--cell" title="show questions tagged 'cakephp'" rel="tag">cakephp</a> <a href="../../questions/tagged/cakephp-3.0" class="post-tag grid--cell" title="show questions tagged 'cakephp-3.0'" rel="tag">cakephp-3.0</a> <a href="../../questions/tagged/cakephp-3.8" class="post-tag grid--cell" title="show questions tagged 'cakephp-3.8'" rel="tag">cakephp-3.8</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 25 '20 at 14:28">asked Apr 25 '20 at 14:28</time> <a href="../../users/10699626/randomusername" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/10699626.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="randomUserName" /> </a> <div class="s-user-card--info"> <a href="../../users/10699626/randomusername" class="s-user-card--link">randomUserName</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">17</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="5 bronze badges">5</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-60100831"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/60100831/jquery-ajax-call-can-t-read-json-encoded-data-from-cakephp-3-8-gets-an-empty-a" class="question-hyperlink">jQuery ajax call can't read json encoded data from CakePHP 3.8 (gets an empty array)</a></h3> <div class="excerpt">I have a weird problem with reading json encoded data returned by my CakePHP3 API in response to an ajax call from jQuery. I have already read over 20 posts on stackoverflow and elsewhere and the usual problems people encountered where due to wrong…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/json" class="post-tag grid--cell" title="show questions tagged 'json'" rel="tag">json</a> <a href="../../questions/tagged/ajax" class="post-tag grid--cell" title="show questions tagged 'ajax'" rel="tag">ajax</a> <a href="../../questions/tagged/jquery-3" class="post-tag grid--cell" title="show questions tagged 'jquery-3'" rel="tag">jquery-3</a> <a href="../../questions/tagged/cakephp-3.8" class="post-tag grid--cell" title="show questions tagged 'cakephp-3.8'" rel="tag">cakephp-3.8</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 06 '20 at 17:46">asked Feb 06 '20 at 17:46</time> <a href="../../users/4345224/djevulen" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/4345224.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="djevulen" /> </a> <div class="s-user-card--info"> <a href="../../users/4345224/djevulen" class="s-user-card--link">djevulen</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">112</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="8 bronze badges">8</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-59457500"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/59457500/multiple-insertion-in-cakephp-3-8" class="question-hyperlink">multiple insertion in cakephp 3.8</a></h3> <div class="excerpt">I should make a multiple listing. where two fields have the same values in common. For example, if I enter Inter, Milan, Juve they will have nationality_season and series_season as common fields. Furthermore, the user should decide on the number of…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/mysql" class="post-tag grid--cell" title="show questions tagged 'mysql'" rel="tag">mysql</a> <a href="../../questions/tagged/cakephp" class="post-tag grid--cell" title="show questions tagged 'cakephp'" rel="tag">cakephp</a> <a href="../../questions/tagged/cakephp-3.8" class="post-tag grid--cell" title="show questions tagged 'cakephp-3.8'" rel="tag">cakephp-3.8</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 23 '19 at 15:11">asked Dec 23 '19 at 15:11</time> <a href="../../users/11553549/gianmarco-gagliardi" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/11553549.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Gianmarco Gagliardi" /> </a> <div class="s-user-card--info"> <a href="../../users/11553549/gianmarco-gagliardi" class="s-user-card--link">Gianmarco Gagliardi</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">432</li> <li class="s-award-bling s-award-bling__silver" title="4 silver badges">4</li> <li class="s-award-bling s-award-bling__bronze" title="17 bronze badges">17</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-59281694"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/59281694/how-to-allow-to-unauthenticated-users-see-some-specific-pages-or-actions-pages" class="question-hyperlink">How to allow to unauthenticated users see some specific pages or actions pages in Cake PHP 3?</a></h3> <div class="excerpt">With CakePHP 3 we used Auth component and this worked like this CakePHP - How to allow unauthenticated access to specific pages Now I'm trying to use the new Authentication and Authorization plugins instead (I don't know if it is the best…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/authentication" class="post-tag grid--cell" title="show questions tagged 'authentication'" rel="tag">authentication</a> <a href="../../questions/tagged/cakephp" class="post-tag grid--cell" title="show questions tagged 'cakephp'" rel="tag">cakephp</a> <a href="../../questions/tagged/plugins" class="post-tag grid--cell" title="show questions tagged 'plugins'" rel="tag">plugins</a> <a href="../../questions/tagged/authorization" class="post-tag grid--cell" title="show questions tagged 'authorization'" rel="tag">authorization</a> <a href="../../questions/tagged/cakephp-3.8" class="post-tag grid--cell" title="show questions tagged 'cakephp-3.8'" rel="tag">cakephp-3.8</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 11 '19 at 08:37">asked Dec 11 '19 at 08:37</time> <a href="../../users/4819443/marco-c" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/4819443.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Marco C" /> </a> <div class="s-user-card--info"> <a href="../../users/4819443/marco-c" class="s-user-card--link">Marco C</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">111</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="13 bronze badges">13</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-66705255"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/66705255/import-files-in-cake-php-3-8" class="question-hyperlink">Import files in Cake Php 3.8</a></h3> <div class="excerpt">I am just trying to include a file in CakePhp but nothing helps me. I have placed that file inside the vendor folder. Here's the path of that file: vendor/paytm/PaytmChecksum.php I tried to import it in my controller like below: require_once(ROOT …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/cakephp" class="post-tag grid--cell" title="show questions tagged 'cakephp'" rel="tag">cakephp</a> <a href="../../questions/tagged/cakephp-3.8" class="post-tag grid--cell" title="show questions tagged 'cakephp-3.8'" rel="tag">cakephp-3.8</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Mar 19 '21 at 09:04">asked Mar 19 '21 at 09:04</time> <a href="../../users/9417293/rajat" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/9417293.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Rajat" /> </a> <div class="s-user-card--info"> <a href="../../users/9417293/rajat" class="s-user-card--link">Rajat</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">486</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="10 silver badge">10</li> <li class="s-award-bling s-award-bling__bronze" title="35 bronze badge">35</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-66167880"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/66167880/cannot-instantiate-abstract-class-cake-mailer-mailer" class="question-hyperlink">Cannot instantiate abstract class Cake\Mailer\Mailer</a></h3> <div class="excerpt">I want to build forgot password page in cakephp Here is my code of user controller <?php namespace App\Controller; use App\Controller\AppController; use Cake\Http\Exception\UnauthorizedException; use Cake\Mailer\Email; use Cake\Mailer\Mailer; use…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/cakephp" class="post-tag grid--cell" title="show questions tagged 'cakephp'" rel="tag">cakephp</a> <a href="../../questions/tagged/cakephp-3.8" class="post-tag grid--cell" title="show questions tagged 'cakephp-3.8'" rel="tag">cakephp-3.8</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 12 '21 at 07:32">asked Feb 12 '21 at 07:32</time> <a href="../../users/15051366/pawan-vats" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/15051366.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Pawan Vats" /> </a> <div class="s-user-card--info"> <a href="../../users/15051366/pawan-vats" class="s-user-card--link">Pawan Vats</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1</li> <li class="s-award-bling s-award-bling__bronze" title="2 bronze badges">2</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-65010474"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/65010474/how-to-validate-required-association-presence-in-cakephp" class="question-hyperlink">How to validate required association presence in CakePHP?</a></h3> <div class="excerpt">I have a working belongsToMany association between my Proyectos and my Medios models. If I add a new Proyecto entity, I can select from among the registered Medios, and everything is adequately saved. The thing is the entity is correctly saved…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/cakephp" class="post-tag grid--cell" title="show questions tagged 'cakephp'" rel="tag">cakephp</a> <a href="../../questions/tagged/cakephp-3.8" class="post-tag grid--cell" title="show questions tagged 'cakephp-3.8'" rel="tag">cakephp-3.8</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Nov 25 '20 at 18:12">asked Nov 25 '20 at 18:12</time> <a href="../../users/6067627/damian-fraustro" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/6067627.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Damian Fraustro" /> </a> <div class="s-user-card--info"> <a href="../../users/6067627/damian-fraustro" class="s-user-card--link">Damian Fraustro</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">51</li> <li class="s-award-bling s-award-bling__bronze" title="8 bronze badges">8</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-64764470"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/64764470/cakephp-multiple-scriptblock-javascript-code-must-come-in-one-single-html-scri" class="question-hyperlink">CakePHP multiple scriptBlock JavaScript code must come in one single HTML <script> Tag</a></h3> <div class="excerpt">I have multiple scriptBlock in my code which is coming from different pages, but it should create one single <script> tag for all JavaScripts written in CakePHP scriptBlock. My below example code is creating separate <script> Tags for each. echo…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/cakephp" class="post-tag grid--cell" title="show questions tagged 'cakephp'" rel="tag">cakephp</a> <a href="../../questions/tagged/helper" class="post-tag grid--cell" title="show questions tagged 'helper'" rel="tag">helper</a> <a href="../../questions/tagged/cakephp-3.8" class="post-tag grid--cell" title="show questions tagged 'cakephp-3.8'" rel="tag">cakephp-3.8</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Nov 10 '20 at 07:24">asked Nov 10 '20 at 07:24</time> <a href="../../users/2397605/irshad-khan" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2397605.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Irshad Khan" /> </a> <div class="s-user-card--info"> <a href="../../users/2397605/irshad-khan" class="s-user-card--link">Irshad Khan</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">5,670</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="44 silver badges">44</li> <li class="s-award-bling s-award-bling__bronze" title="39 bronze badges">39</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-64444284"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/64444284/cakephp-scriptblock-is-not-adding-any-javascript-in-html-page" class="question-hyperlink">CakePHP scriptBlock is not adding any JavaScript in HTML page</a></h3> <div class="excerpt">I just want to add below mention JavaScript within an HTML <script> Tag. But below mentioned CakePHP 3.8 scriptBlock function is not creating any element on my HTML page. echo $this->Html->scriptBlock(' $.get("/feed.rss", function(data) { …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/cakephp" class="post-tag grid--cell" title="show questions tagged 'cakephp'" rel="tag">cakephp</a> <a href="../../questions/tagged/cakephp-3.8" class="post-tag grid--cell" title="show questions tagged 'cakephp-3.8'" rel="tag">cakephp-3.8</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 20 '20 at 11:33">asked Oct 20 '20 at 11:33</time> <a href="../../users/2397605/irshad-khan" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2397605.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Irshad Khan" /> </a> <div class="s-user-card--info"> <a href="../../users/2397605/irshad-khan" class="s-user-card--link">Irshad Khan</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">5,670</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="44 silver badges">44</li> <li class="s-award-bling s-award-bling__bronze" title="39 bronze badges">39</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-64210860"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/64210860/cakephp-3-8-13-add-admad-cakephp-jwt-auth" class="question-hyperlink">cakephp 3.8.13 add admad/cakephp-jwt-auth</a></h3> <div class="excerpt">This question is asked many times in the stack overflow but I tried every accepted solution. I'm new to cake PHP and I was assigned to add JWT in our application. Previously the team used the default cake sessions. In order to integrate, I used…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/authentication" class="post-tag grid--cell" title="show questions tagged 'authentication'" rel="tag">authentication</a> <a href="../../questions/tagged/jwt" class="post-tag grid--cell" title="show questions tagged 'jwt'" rel="tag">jwt</a> <a href="../../questions/tagged/cakephp-3.0" class="post-tag grid--cell" title="show questions tagged 'cakephp-3.0'" rel="tag">cakephp-3.0</a> <a href="../../questions/tagged/cakephp-3.8" class="post-tag grid--cell" title="show questions tagged 'cakephp-3.8'" rel="tag">cakephp-3.8</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 05 '20 at 14:42">asked Oct 05 '20 at 14:42</time> <a href="../../users/6444945/e-k" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/6444945.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="e.k" /> </a> <div class="s-user-card--info"> <a href="../../users/6444945/e-k" class="s-user-card--link">e.k</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,333</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="17 silver badge">17</li> <li class="s-award-bling s-award-bling__bronze" title="36 bronze badge">36</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <div class="s-pagination--item is-selected">1</div> <a class="s-pagination--item" href="../../questions/tagged/cakephp-3.8_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/cakephp-3.8_page=3" rel="" title="Go to page 3">3</a> <a class="s-pagination--item" href="../../questions/tagged/cakephp-3.8_page=2" rel="next" title="Go to page 2"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>