Questions tagged as 'cakephp'

0
answers

How to debug a piece of code in the model layer in cake php

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(){...
asked by 07.07.2016 / 20:54
1
answer

make redirection in the view

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>...
asked by 03.06.2016 / 16:54
1
answer

How to edit project online on a server?

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?     
asked by 16.05.2016 / 11:20
0
answers

Incorrect redirect in hosting / files

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...
asked by 15.04.2016 / 15:11
1
answer

Old directory still remains

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...
asked by 15.04.2016 / 16:59
1
answer

Problem using cakephp 2.6 - Undefined index

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...
asked by 29.04.2016 / 15:51
1
answer

Form via post and pass on beforeSave

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...
asked by 07.02.2016 / 19:14
1
answer

Synchronize local application time on the internet

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?     
asked by 03.03.2016 / 20:14
0
answers

Error Undefined variable: siteConfig APP / views / elements / header.ctp, line 9

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;...
asked by 17.02.2016 / 19:47
0
answers

SaveAll cakephp 2x

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...
asked by 06.01.2016 / 17:22