thanks
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from t
emm...error is non correct closed brackets of array
--
LP,
Tilen Majerle http://majerle.eu
2010/7/30 Master Ram...!
>
>
> in the view :
>
> if(! empty($message)) {
>
> echo "".$message."";
> }
>
> if($form->isFieldError('Model_Name.field_name
Yes, can you contact me on the email, and sorry I don't have facebook
account.
On Jul 30, 8:25 am, hoss7 wrote:
> if i have other problem can i ask you in other time?
> can i send you email?
> are you in facebook,can you add me (http://www.facebook.com/hhoss)?
Check out the new CakePHP Questions
Can you put the model code?
---
Norman Paniagua
2010/7/30 Jeremy
> today, I find function saveAll can not work ,when save data into two
> relations tables, blew is the data,
>
> Array
> (
>[User] => Array
>(
>[username] => tester
>[password] => 17acdc1ee8e4e
in the view :
".$message."";
}
if($form->isFieldError('Model_Name.field_name')) {
e($form->error ('Model_Name.field_name',
null,
array(
'class' => 'failure')));
if i have other problem can i ask you in other time?
can i send you email?
are you in facebook,can you add me (http://www.facebook.com/hhoss)?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you ar
today, I find function saveAll can not work ,when save data into two
relations tables, blew is the data,
Array
(
[User] => Array
(
[username] => tester
[password] => 17acdc1ee8e4ed05e9d27fce4df6d4b5de036910
[email] => tes...@admin.com
[co
thank you, this function work for me, you are my hero
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to
Can you show your code?
---
Norman Paniagua
2010/7/29 Roland Pish
> Hi.
>
> Suddenly a form stopped showing the error messages with the class="error-message"> beside input fields with validation.
> When a validation error occurs. If I debug($this->Themodel-
> >validationErrors) it shows me th
Thanks a bunch! I read through the code snippet but haven't tried it yet.
But I think this gives me a lot closer than anything else I've found on the
web. I was hoping that there would be a way to utilize the Js helper rather
than output to $scripts_for_layout. Thanks, though--this gives me a g
Hi.
Suddenly a form stopped showing the error messages with the beside input fields with validation.
When a validation error occurs. If I debug($this->Themodel-
>validationErrors) it shows me the errors but there is no anymore.
What could be wrong?
I don't remember changing anything in cake's
On Jul 29, 4:32 pm, "marco.rizze...@gmail.com"
wrote:
> Can you tell me how the model has to be configurated?
well, I misread your question. I don't think the core behavior will
allow act as both however you can just follow xander's lead.
hth,
AD
Check out the new CakePHP Questions site http
I hope this help you
public function save($data = null, $validate = true, $fieldList =
array()) {
$return = false;
if (isset($data['Usercat']['subcat_id']) &&
is_array($data['Usercat']
['subcat_id'])) {
foreach ($data['Usercat']['subcat_id']
I am having difficulty getting digest authentication to work. The
code works if I use basic, but when I switch to digest, the
credentials don't authenticate (i.e. the browser username/password
popup keeps displaying). I have tried to md5 hash the password and
leave it plain text and neither works
Thanks,
It was really helpful tip.
I found on bakery helper for that too and modified it for my needs.
http://bakery.cakephp.org/articles/view/simple-excel-spreadsheet-helper
I left modifed version is in comments.
On Jul 28, 11:56 am, Tonu Tusk wrote:
> Hi there, this might be overkill for your
i need cakephp cron job tutorial?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroup
I couldn't agree more.
I would transfer namespaces to phase one.
namespaces are key consept when developing frameworks and libraries.
These feature you mentioned in phase one are trivial in "real OOP" languages
like Python, Java and C#, the lake of them make OOP developer think PHP is
not a real pr
thank you,you are my hero, can i ask you one question about my problem
to save data?
if you want help me please see this link:
http://groups.google.com/group/cake-php/t/6749e1ba04af243a
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions
i have this array and user can choice many subcat:
Array
(
[Usercat] => Array
(
[subcat_id] => Array
(
[0] => 3
[1] => 1
)
[user_id] => 7
)
)
you say i can use this:
function sa
Not unless google has something good It shouldn't be to hard to
make your own.
On Wed, Jul 28, 2010 at 5:41 PM, FandaR wrote:
> Hello, isnt there some cakephp component for Amazon payment gateway?
> I need to use Amazon reccuring payments on cakephp site.
>
> Any help will be appreciated
> Th
Sorry parrent = parent :)
On Jul 29, 7:58 pm, bogdanv wrote:
> in the Usercat model create method save like in the cake/libs/model/
> model.php
>
> function save($data = null, $validate = true, $fieldList = array()) {
> put your code here
> then
>
> return parrent:: save($data, $validate,
in the Usercat model create method save like in the cake/libs/model/
model.php
function save($data = null, $validate = true, $fieldList = array()) {
put your code here
then
return parrent:: save($data, $validate, $fieldList) ;
or
put parrent:: save(..) into a cycle depending what you w
you might wanna "re-read" Tilen Majerle's answer...
On 29 Jul., 18:25, CakeMan wrote:
> Well, Validations are working perfectly (giving error message) except
> that error in 2571 line with this "NonEmpty" ??? Strange ??
>
> On Jul 29, 1:12 pm, Tilen Majerle wrote:
>
>
>
> > yes, u have itit
Well, Validations are working perfectly (giving error message) except
that error in 2571 line with this "NonEmpty" ??? Strange ??
On Jul 29, 1:12 pm, Tilen Majerle wrote:
> yes, u have itit is not "NonEmpty" but is "notEmpty" xD
> --
> LP,
> Tilen Majerlehttp://majerle.eu
>
> 2010/7/29 CakeMa
On Thu, Jul 29, 2010 at 10:59 AM, meekamoo wrote:
> Yeah had a look at apache error logs - nothing there at all. No
> errors.
>
> I have found the problem line (I have NO idea how this can be broken)
>
> $data = $this->paginate('Property');
>
> If I do this:
>
> pr($this->paginate);
> $da
On Thu, Jul 29, 2010 at 6:45 AM, hoss7 wrote:
> can you convert $form->select to $form->input in view?
In some cases, yes, FormHelper will create a select list with the
input() method. It depends on what you pass to it. I prefer to use
select() as it's more intuitive.
Check out the new CakePHP Q
On Thu, Jul 29, 2010 at 6:14 AM, hoss7 wrote:
> @circket you fix my problem,i have litle problem i need like this:
>
> input('field', array('options' => array(1,2,3,4,5),
> 'empty' => '(choose one)')); ?>
>
> use 'empty' => '(choose one)' in echo $form->select('category_id',
> $options); what i am
On Thu, Jul 29, 2010 at 3:01 AM, hoss7 wrote:
> i have cakephp 1.3.2 i cant use this:
> $this->set(compact($options));
> i fix my "Undefined variable: options" error with this:
> $this->set(compact('options'));
>
> but thank you
Sorry about that. I missed the "$" in there. My bad.
Check out the
Yeah had a look at apache error logs - nothing there at all. No
errors.
I have found the problem line (I have NO idea how this can be broken)
$data = $this->paginate('Property');
If I do this:
pr($this->paginate);
$data = $this->paginate('Property');
Then it just prints out the pag
Something on this URL issues error 500, Apache tries to show
appropriate error page, but there is no 500.shtml in your webroot, so
Cake catch this request and looks for "500.shtml" controller.
Check Apache error log.
On Jul 29, 7:01 pm, meekamoo wrote:
> Forgot to mention that I have looked in:
Can you tell me how the model has to be configurated?
On 29 Lug, 15:04, AD7six wrote:
> On Jul 29, 1:16 pm, "marco.rizze...@gmail.com"
>
> wrote:
> > Can someone some suggestion for me?
>
> Yes.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP relat
I didn't find any predefined way to set the model as both Aco & Aro,
so I made it Aco only and I added some code to afterSave() (when
$created is true) and beforeDelete() callbacks wich creates and
deletes aro nodes.
On 29 Lip, 13:16, "marco.rizze...@gmail.com"
wrote:
> Can someone some suggestio
On Wed, July 28, 2010 5:48 pm, amititi wrote:
> Hello, I'm learning cake using the "Beginning CakePHP: From Novice to
> Professional" and i got to a point where it gives me an exercise and i
> can't figure it out. It look like these :
>
> "use the nice() function to make the
> $post['Post']['date'
@bogdanv can you show me,i am new in cakephp,if you want more
information just aks?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post
is mysql server running?
--
LP,
Tilen Majerle http://majerle.eu
2010/7/29 Haretuerk
> Hi folks,
>
> i have problems running cakePHP on an XAMPP portable installation on
> an USB-Stick.
> Despite the setting in the database.php are correct it is not possible
> to connect to the MySQL database.
>
On Jul 29, 3:25 pm, huoxito wrote:
> Yes i got that, but what i found strange is that the cakebook says we
> have to create 'html' and 'text' in both views and elements
> directory
Where does it say that ( I think you're misreading something ).
>
> besides why would i use both 'text' and '
Hello, i've starded a post a few days ago and i can't seem to find it. It
was something related to time helpers nice() function, and i was looking
forward to other users responses cand u help me ?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP relate
You can override method save in the model.
On Jul 29, 3:48 pm, hoss7 wrote:
> i have this array:
>
> Array
> (
> [Usercat] => Array
> (
> [subcat_id] => Array
> (
> [0] => 3
> [1] => 1
> )
>
>
Hi folks,
i have problems running cakePHP on an XAMPP portable installation on
an USB-Stick.
Despite the setting in the database.php are correct it is not possible
to connect to the MySQL database.
Error message: Cake is NOT able to connect to the database.
But the database is definitly running
Hello, isnt there some cakephp component for Amazon payment gateway?
I need to use Amazon reccuring payments on cakephp site.
Any help will be appreciated
Thank You
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this
hi (and sorry for my english),
I'm using cake 1.3
I don't find how I can add infos of the logged user in the setFlash
message after the login
I found how to do it in views but I want to do it in the controller to
use it a growl message
function login() {
$txt = "bla bla bla ";
/
Hello, when i am using bake(from cmd in windows7,xampp),when i am
finishing db configuration, i see the error:
---
The following database configuration will be created:
---
Name:
Hello, I'm learning cake using the "Beginning CakePHP: From Novice to
Professional" and i got to a point where it gives me an exercise and i
can't figure it out. It look like these :
"use the nice() function to make the
$post['Post']['date'] value more readable. Hint: you’ll need to pass
the varia
Yes i got that, but what i found strange is that the cakebook says we
have to create 'html' and 'text' in both views and elements
directory
besides why would i use both 'text' and 'html' if one of them is
enough to customize my emails...
and when we set the template using the Email Component
Thanks! Yeah I thought that bootstrap could be for that, thanks!
2010/7/27 Dr. Loboto :
> bootstrap.php is for this purpose. Other files may be needed too if
> you need to setup a lot of data.
> Better do not touch core.php with custom variable set as it may change
> with Cake update and yours cod
On Jul 29, 1:16 pm, "marco.rizze...@gmail.com"
wrote:
> Can someone some suggestion for me?
Yes.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePH
i have this array:
Array
(
[Usercat] => Array
(
[subcat_id] => Array
(
[0] => 3
[1] => 1
)
[user_id] => 7
)
)
if i have subcat array i cant use this for save all data for one user
Forgot to mention that I have looked in:
app_controller.php
app_model.php
core.php
bootstrap.php
routes.php
And I cant't find anything there that would cause this?
On Jul 29, 1:58 pm, meekamoo wrote:
> Hey guys,
>
> Have a weird problem here - site works fine on local server but as
> soon as I
Hey guys,
Have a weird problem here - site works fine on local server but as
soon as I upload it to the live site I have this very strange problem.
I have a properties controller (guessed it, a property site). When I
view /properties/index on local site it correctly displays all the
properties.
Can someone some suggestion for me?
Thanks
On 29 Lug, 09:41, "marco.rizze...@gmail.com"
wrote:
> Hi is it possible use a model in Acl both ARO and ACO?
> Thanks
> Marco
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You rec
can you convert $form->select to $form->input in view?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to
> I think it would be nice to see cake 2.0 follow Li3 and Symfony's
> direction and push the boundaries a bit by moving to 5.3> only.
Anyway you cut it, regardless of whether cake 2.0 is >5.3 only, or
5.2+, there is still an incredibly urgent need for an interim release
to get the antiquated php4
@circket you fix my problem,i have litle problem i need like this:
input('field', array('options' => array(1,2,3,4,5),
'empty' => '(choose one)')); ?>
use 'empty' => '(choose one)' in echo $form->select('category_id',
$options); what i am must to do?
Check out the new CakePHP Questions site http
yes, u have itit is not "NonEmpty" but is "notEmpty" xD
--
LP,
Tilen Majerle http://majerle.eu
2010/7/29 CakeMan
> Hi,
>
> Is there any problem with this Validation array in my model :
>
> var $validate=array
> (
> 'email'=> a
Hi,
Is there any problem with this Validation array in my model :
var $validate=array
(
'email'=> array
(
Hi is it possible use a model in Acl both ARO and ACO?
Thanks
Marco
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this gr
Try this..
class AccountsController extends AppController
{
var $name = "Accounts";
var $components = array('Email');
function email() {
$this->Email->from= 'Somebody ';
$this->Email->to = 'Louie Miranda ';
$this->Email->subject = 'Test / Developer Cod
i have cakephp 1.3.2 i cant use this:
$this->set(compact($options));
i fix my "Undefined variable: options" error with this:
$this->set(compact('options'));
but thank you
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You receive
58 matches
Mail list logo