I need to debug a snippet of code that is in my model however when I add debug ($ sample) or var_dump or printf for example it does not display anything in the browser! Can someone help me please?
public function atualizaCatalogo(){...
How can I redirect to cakephp based on the following code:
<noscript>
//redirecionamento aqui
</noscript>
I'm using:
<noscript>
<meta http-equiv="refresh" content="1; url=error.ctp">
</noscript>...
Live!
I'm developing a cakephp 3 application, uploaded to the server, does anyone know of a way to continue working on the project with an IDE even while on the server?
A customer's site started to "stick" about 3 days ago. The site is link . When you enter it, it redirects you to a folder called "index.html". This folder has never been created. I have already restored a backup on 05/04/2016, but it continue...
I took a project done in CakePHP from an old server and threw in a new one, but the old server path seems to remain in the script. I played all the files in the new one and when I enter the URL, it returns me:
Warning: include(/home/upi...
Good morning friends, I'm learning cake programming a short time ago and I'm having some difficulties.
Follow the models and controllers.
Recibo.php (Model)
class Recibo extends AppModel{
public $name = 'Recibo';
public $belongsTo...
I am not able to send the data via post, it is via put.
It is not going through the beforeSave callback and when I debug the request in the controller, it is put. Maybe that's why it does not go through the callback beforeSave.
Here are so...
Hello.
I have an application that I'm building in cakephp. The application is showing the date and time on the page, but it is the computer time. How do I get the time of some server or internet link?
I have a problem with loading images in a project that uses CakePHP 1.3.15.
The link below shows what is happening.
link
Here is the code for the error:
<a href="<?php echo URL; ?>">
<img src="<?php echo URL;...
In my table Escola I have another associated table called EscolaPercentual .
And I have a form that has data of the 2 tables, at the time of saving in my action I give a SaveAll in the School Model, which has $hasMany...