Bonjour,
https://lh3.googleusercontent.com/-HjI1kOgHZv4/VXFsJa5QsuI/ASg/fRNVvWHhx3M/s1600/Capture%2Bd%25E2%2580%2599e%25CC%2581cran%2B2015-06-05%2Ba%25CC%2580%2B10.29.46.png
est ce que quelqu'un peut m aidé pour stocker un tableau qui contient une
colonne date par mois et des lignes de
Estimados.
primero explicare lo que estoy tratando de hacer.
tengo una pagina index, que contiene una grilla. en cada linea de la
grilla tengo un boton ver
la idea es que cuando presiono en el boton ver recargue un div en la misma
pagina, con infromacion traida desde una funcion en el
un
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email
to cake-php
On Mon, Dec 10, 2012 at 2:50 PM, Advantage+ movepix...@gmail.com wrote:
Forbidden
Error: The requested address '/products/feature?url=products%2Ffeature' was
not found on this server.
Cake throws a 404 on internal errors when debug = 0. Set debug to 2 to
see what the problem is.
And whats
: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of lowpass
Sent: Tuesday, December 11, 2012 3:09 PM
To: cake-php@googlegroups.com
Subject: Re: Un-related models / functions
On Mon, Dec 10, 2012 at 2:50 PM, Advantage+ movepix...@gmail.com wrote:
Forbidden
Error: The requested
;
}
So remove the ?url=$1 or ?url=$1 last ?
Thanks,
Dave
-Original Message-
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of lowpass
Sent: Tuesday, December 11, 2012 3:09 PM
To: cake-php@googlegroups.com
Subject: Re: Un-related models / functions
On Mon
Thanks man :) Good looking out.
-Original Message-
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of lowpass
Sent: Tuesday, December 11, 2012 3:35 PM
To: cake-php@googlegroups.com
Subject: Re: Un-related models / functions
keep last
On Tue, Dec 11, 2012
read about Controller::requestAction(*string $url*, *array $options*)
http://book.cakephp.org/2.0/en/controllers.html
W dniu poniedziałek, 10 grudnia 2012 03:35:05 UTC+1 użytkownik advantage+
napisał:
I have a footer which has a featured product and recent news.
What is the best way to
url?
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of Piotr Beschel
Sent: Monday, December 10, 2012 5:31 AM
To: cake-php@googlegroups.com
Subject: Re: Un-related models / functions
read about Controller::requestAction(string $url, array $options)
http
I have a footer which has a featured product and recent news.
What is the best way to call these actions getFeatured(), and getNews() when
there is no related model to use as they are permanent blocks in the
footer in default.ctp layout?
Thanks,
Dave
--
Like Us on FaceBook
Bonjour à tous j'ai un templates wordpress que j'aimerai convertir pour
l'intégré à cakephp ?
--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
CakePHP group
Salut Je travail sur windows XP et je commence à utliser cakephp (2.1 )et
j'ai essayer de générer une petite application(deux table ) en utlisant la
console.
mais je rencontre une erreur:
Code: php
1. Fatal error: Call to a member function find() on a non-object in
Salut Je travail sur windows XP et je commence à utliser cakephp (2.1 )et
j'ai essayer de générer une petite application(deux table ) en utlisant la
console.
mais je rencontre une erreur:
Code: php
1. Fatal error: Call to a member function find() on a non-object in
After a sleep, you were right. Thank you.
Il 05/03/2012 21:41, José Lorenzo ha scritto:
$belongsTo = array('Upload' = array('foreignKey' = 'foreign_key',
'conditions' = array('Upload.model' = 'photo')))
On Monday, March 5, 2012 12:12:10 PM UTC-4:30, muka wrote:
Hi,
I've made a nice
Hi,
I've made a nice mess with some tables..
I got a uploads table with two fields (model, foreign_key) which serve
many models, so Upload.model = 'photo' AND Upload.foreign_key =
Photo.id give me all the uploads Photo out of the box.
I can't figure out how to define the back association
$belongsTo = array('Upload' = array('foreignKey' = 'foreign_key',
'conditions' = array('Upload.model' = 'photo')))
On Monday, March 5, 2012 12:12:10 PM UTC-4:30, muka wrote:
Hi,
I've made a nice mess with some tables..
I got a uploads table with two fields (model, foreign_key) which serve
Thank you,
this works fine for Photo-Upload but my problem actually is to link
back to the Photo model: Upload hasOne Photo
//Upload.php
'Photo' = array(
'className' = 'Photo',
'foreignKey' = ' ? ', // would be what ?
'conditions' = '',
If you're looking for a solution to this, its already been completely
implemented for 2.0 in the ErrorHandler and ExceptionRenderer
classes. And because 2.0 uses PDO for the connections database errors
become exceptions. You could always use a custom error handler that
converts errors into
i have similar problems with an incorrect status code for MYSQL errors
http://groups.google.com/group/cake-php/browse_thread/thread/70b6a8b241ab0948#
seems like there is a lot to do concerning correct response codes
On 30 Jun., 14:37, lsiden lsi...@gmail.com wrote:
I am writing a CakePHP
window and run the AJAX request
directly from the address bar to see the output and find out what went
wrong.
Please see my question to StackOverflow.com for the rest of the
details:
http://stackoverflow.com/questions/6529588/getting-cakephp-to-return-a-50x-http-response-when-an-un-handled
app that I've inherited that I'd like to
migrate to CakePHP. The problem I'm running into is that this app is
driven by a single un-normalized table...definitely not a db structure
that works well with Cake out of the box. What I'd like to know is the
best way to approach setting up my
Hello,
I've done some searching and can't quite seem to find what I'm looking
for. I have an existing php app that I've inherited that I'd like to
migrate to CakePHP. The problem I'm running into is that this app is
driven by a single un-normalized table...definitely not a db structure
that works
is
driven by a single un-normalized table...definitely not a db structure
that works well with Cake out of the box. What I'd like to know is the
best way to approach setting up my models for this type of situation.
Here are some of the fields in the table (named Prices):
id (int), category (varchar
Hi,
I have used cakephp Auth for Login purpose. But the user is logout
every 2 minutes. I have set the security level low in config/
core.php(ie Configure::write('Security.level', 'low'). But the user is
logout every 2 minutes. Also i have increased Session.timeout . But
there is no result.
Hi Malu,
I had exactly the same issue, i kept on loosing the session (which was
causing the logout) every few minutes... i found that this was only
happening in Internet Explorer though and not when using Firefox. Is
this the same case as you?
I seem to remember by commenting out the check on
Hi Bailey ,
Thanks for replay.
Is this the line to comment in core.php
(Configure::write('Session.checkAgent', true);) ?. Also Firefox3 and ie8
have the same issues.
Regards,
Malu
On Sun, Mar 14, 2010 at 1:30 AM, Bailey baileys...@gmail.com wrote:
Hi Malu,
I had exactly the same issue, i
Bonjour à tous,
Existe t-il un composant date pour cakephp équivalent au composant
Zend_Date du framework Zend Framework.
Je souhaite aller plus loin avec les calculs sur les dates, par
exemple :
- récupérer tous les 3éme vendredi du mois à partir du 01/10/2009
jusqu'au 02/05/2010
- enlever de
un composant date pour cakephp équivalent au composant
Zend_Date du framework Zend Framework.
Je souhaite aller plus loin avec les calculs sur les dates, par
exemple :
- récupérer tous les 3éme vendredi du mois à partir du 01/10/2009
jusqu'au 02/05/2010
- enlever de mon calendrier toutes les
I have 5 or 6 empty controllers. I merged all the admin functions to the
app_controller and these controllers now have no functions inside them.
For example my bookmarks controller is simply
?php
class BookmarksController extends AppController
{
var $name = 'Bookmarks';
var
No, you can't. If you remove them you will get a controller not found
error when you go to your bookmarks pages
On a side note, you can remove the $uses line as CakePHP automatically
adds the model associated with the controller (unless your
AppController explicitly sets $uses = array() )
On
I like Grigri's generic controller approach for eliminating empty
controllers:
http://groups.google.com/group/cake-php/browse_thread/thread/7638b690ae0545ff/1845d3c1c30d3a03?lnk=gstq=generic+controller#1845d3c1c30d3a03
disclaimer - although it's on my list to implement, I haven't gotten
to it
you might also want to have a look at bindModel
http://book.cakephp.org/view/86/Creating-and-Destroying-Associations-on-the-Fly
On May 21, 10:27 am, Dave Maharaj :: WidePixels.com
d...@widepixels.com wrote:
I have 5 or 6 empty controllers. I merged all the admin functions to the
Buenas.
Querria insertar un archivo html independiente del cake en la carpeta
app del cake. El problema es que me da erro como de no conexion con la
base de datos cuando intento acceder a el: por ej: localhost/cake/app/
prueba.htm. Es como si tuviese que darle permiso desde algun sitio del
cake
try putting it in your app/webroot folder.
garza2002 wrote:
Buenas.
Querria insertar un archivo html independiente del cake en la carpeta
app del cake. El problema es que me da erro como de no conexion con la
base de datos cuando intento acceder a el: por ej: localhost/cake/app/
prueba.htm
Salut tout le monde,
Je suis un nouveau membre de ce groupe :)
Alors, Je suis un nouveau apprentit de cakephp. Là je dois intégrer un
outil qui permet de gérer un album photo. Il est ecrit en php. Je vous
demande où je dois le placer et qu'il est Url que je dois mettre pour
y accèder.
Merci
maldini3 a écrit :
Salut tout le monde,
Je suis un nouveau membre de ce groupe :)
Alors, Je suis un nouveau apprentit de cakephp. Là je dois intégrer un
outil qui permet de gérer un album photo. Il est ecrit en php. Je vous
demande où je dois le placer et qu'il est Url que je dois mettre
I have a table in my database, simply called level, with 2 fields per row,
lvl(primary key, auto_increment), and min_xp. This is for a game that I've
been working on, and I was wondering how I would go about accessing this
table from my User model, where I would be placing the add_xp and
On Feb 1, 1:52 pm, AD7six [EMAIL PROTECTED] wrote:
On Feb 1, 6:51 am, R.RajeshJebaAnbiah
[EMAIL PROTECTED] wrote:
On Jan 31, 5:55 pm, AD7six [EMAIL PROTECTED] wrote:
snip Cake automatically escapes data in db queries - you are already
protected against sql injection. xss etc is a
On Feb 1, 6:51 am, R. Rajesh Jeba Anbiah
[EMAIL PROTECTED] wrote:
On Jan 31, 5:55 pm, AD7six [EMAIL PROTECTED] wrote:
snip Cake automatically escapes data in db queries - you are already
protected against sql injection. xss etc is a different matter, and is
an example of where sanitize
this, shouldn't the Sanitize
class also include a method to un-escape sanitized data back into a
readable, user-friendly, format? Otherwise, what's the point of having
it sanitized?
I'm no big expert, and there's probably a way for me to un-escape data
from the database before displaying
later un-remove it. Sanitizing is
not the same as escaping.
So, you're saying I don't have to sanitize my forms against HTML and
SQL injections because Cake does it for me?
Cake automatically escapes data in db queries - you are already
protected against sql injection. xss etc is a different
Cake automatically escapes data in db queries - you are already
protected against sql injection. xss etc is a different matter, and is
an example of where sanitize fits in.
Just a few questions:
1. If create a search form that is searching for user input, in the
controller do i needt to
On Feb 1, 10:50 am, José Pablo Orozco Marín [EMAIL PROTECTED]
wrote:
Cake automatically escapes data in db queries - you are already protected
against sql injection. xss etc is a different matter, and is
an example of where sanitize fits in.
Just a few questions:
1. If create a search
On Jan 31, 5:55 pm, AD7six [EMAIL PROTECTED] wrote:
snip
Cake automatically escapes data in db queries - you are already
protected against sql injection. xss etc is a different matter, and is
an example of where sanitize fits in.
snip
Having checked your codes in UploadBehavior and
a method to un-escape sanitized data back into a
readable, user-friendly, format? Otherwise, what's the point of having
it sanitized?
I'm no big expert, and there's probably a way for me to un-escape data
from the database before displaying it back to the user, but so far, I
have failed
Hey guys, hope I'm posting this in the right group and all...
Unless there's another way to go about this, shouldn't the Sanitize
class also include a method to un-escape sanitized data back into a
readable, user-friendly, format? Otherwise, what's the point of having
it sanitized?
I'm no big
soy leyenda
http://groups.google.es/group/el-gallo-de-la-maxima/browse_thread/thread/6e296d002e9a1058?hl=es
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
Iam trying to edit a Cliente an i have this in my model 'Cliente':
var $name = 'Cliente';
var $hasOne = array('Naturale' = array('className'= 'Naturale',
'conditions' = '',
'order'= '',
48 matches
Mail list logo