Re: I need some help with CakeDC Search

2015-06-02 Thread Christian Quispe
Hola

También hablo español. Cuentame exactamente que no funciona

Saludos

Enviado desde Gmail para Android en Moto G

www.oxicode.io
El jun. 1, 2015 4:57 AM, "euromark"  escribió:

> See http://sandbox3.dereuromark.de/sandbox/search-examples and the code
> to it for example.
>
>
> Am Sonntag, 31. Mai 2015 23:39:15 UTC+2 schrieb Jekill CR:
>>
>>
>> *I need some help with CakeDC Search i configured the plugin with the
>> instructions and nothing happens.*
>>
>> Only show the text of the search on the Web Browser search input.
>>
>> Please if someone have a working configuration and can share with me.
>>
>> thanks in advance!
>>
>>
>> I need the most simple configuration nothing special.
>>
>> Sorry for my bad english.
>>
>> Jesus Castro - Costa Rica
>>
>  --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: I need some help with CakeDC Search

2015-06-01 Thread euromark
See http://sandbox3.dereuromark.de/sandbox/search-examples and the code to 
it for example.


Am Sonntag, 31. Mai 2015 23:39:15 UTC+2 schrieb Jekill CR:
>
>
> *I need some help with CakeDC Search i configured the plugin with the 
> instructions and nothing happens.*
>
> Only show the text of the search on the Web Browser search input.
>
> Please if someone have a working configuration and can share with me.
>
> thanks in advance!
>
>
> I need the most simple configuration nothing special.
>
> Sorry for my bad english.
>
> Jesus Castro - Costa Rica 
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: I need two column layout fpr CakePHP 3.0

2014-12-01 Thread Dakota
CakePHP 3.0 does not have any layout commands. It makes use of a limited 
subset of the Foundation CSS framework  as 
part of it's default Bake CSS styling. I would recommend either using 
Foundation, or alternatively Bootstrap 

On Monday, 1 December 2014 20:50:58 UTC+2, frocco wrote:
>
> Hello,
>
> Looking for an example of two-column layout using CakePHP 3.0 layout 
> commands.
>
> Thanks
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: I need logic to make private user groups

2014-06-20 Thread Salines


Jacob Stevens :
>
> How about getting someone else to do it for you? Oh wait... never mind. 
> You're all over this!
>
>
 No, you do not need to do some for me, this is a discussion you can take 
part or not. 

I use CakePHP since 2008, also helping people in our local forums, when 
they need the help of PHP, MySQL, HTML, jquery, etc. 

I just locked up, I'm tired, I work a lot. best regards

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: I need logic to make private user groups

2014-06-20 Thread Salines

Thank you Stephen, 

I understand that I have to create an expanded, habtm relations between 
users and groups, but I have a brain freeze. 

So when the user is a member of a group, he see that group. When trying to 
access a group, the application first checks whether the user is a member 
of the group, if he is not a member, show him the error message, otherwise 
allow access. 

Thank you once again, pretty tired.

Nikola, 


Dana petak, 20. lipnja 2014. 19:08:55 UTC+2, korisnik Stephen S napisao je:
>
> I would imagine something like the following if you wanted something very 
> simple.
>
> groups
> id |  name | ...
>
> users
> id | ...
>
> groups_users
> id | group_id | user_id | admin | created | modified
>
>
> The groups_users table would be a HasMany Through rather than 
> HasAndBelongsToMany relationship so you can store admin as a tinyint(1), 
> this way the original user who creates the group will have admin set to 1 
> and the other users invited would default to 0. You can create logic to 
> specify admin rights in a very simple way, though there are more 
> complicated (and possibly effective) ways to do this depending on what you 
> need.
>
>
> http://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#hasmany-through-the-join-model
>
>
>
> On 20 June 2014 17:40, Salines > wrote:
>
>> Okay friends, I need the following: 
>>
>> enables registered members to dynamically generate user groups, where 
>> only members of the group can access content within that group. This is 
>> identical to do facebook group. 
>>
>> So I need some logic, how to do it. thanks
>>
>> -- 
>> 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+u...@googlegroups.com .
>> To post to this group, send email to cake...@googlegroups.com 
>> .
>> Visit this group at http://groups.google.com/group/cake-php.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Kind Regards
>  Stephen Speakman
>  

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: I need logic to make private user groups

2014-06-20 Thread Stephen S
I would imagine something like the following if you wanted something very
simple.

groups
id |  name | ...

users
id | ...

groups_users
id | group_id | user_id | admin | created | modified


The groups_users table would be a HasMany Through rather than
HasAndBelongsToMany relationship so you can store admin as a tinyint(1),
this way the original user who creates the group will have admin set to 1
and the other users invited would default to 0. You can create logic to
specify admin rights in a very simple way, though there are more
complicated (and possibly effective) ways to do this depending on what you
need.

http://book.cakephp.org/2.0/en/models/associations-linking-models-together.html#hasmany-through-the-join-model



On 20 June 2014 17:40, Salines  wrote:

> Okay friends, I need the following:
>
> enables registered members to dynamically generate user groups, where only
> members of the group can access content within that group. This is
> identical to do facebook group.
>
> So I need some logic, how to do it. thanks
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Kind Regards
 Stephen Speakman

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: I need logic to make private user groups

2014-06-20 Thread Jake
How about getting someone else to do it for you? Oh wait... never mind.
You're all over this!


On Fri, Jun 20, 2014 at 12:40 PM, Salines  wrote:

> Okay friends, I need the following:
>
> enables registered members to dynamically generate user groups, where only
> members of the group can access content within that group. This is
> identical to do facebook group.
>
> So I need some logic, how to do it. thanks
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: I want to prevent users to access other users data. Now I am trying using isAuthorized() function, but not working. Getting '$controller does not implement an isAuthorized() method" error.

2014-03-25 Thread euromark
See http://www.dereuromark.de/2011/10/05/common-cakephp-problems-and-solutions/ 
for some ideas
Basically you check the session Auth.User.id against the one of the record 
you want to access
If they dont match throw an Exception or redirect away with some error 
flash message.


Am Dienstag, 25. März 2014 10:51:10 UTC+1 schrieb Rahul Dhavale:
>
> In app controller added '$this->Auth->authorize = 'Controller';' in before 
> filter and added public function isAuthorized() {} function in users 
> controller. I don't want to use ACL. 
> e.g If logged in users edit profile url is 
> http://localhost/abc/users/edit/1 then I want to prevent to acces 
> users/edit/2 data. Please help me.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: I have problems in sending mail . Help ....

2014-02-16 Thread kdubya
You say you are running on Windows 7 which means you probably don't have an 
SMTP mail server running unless you have specifically set one up. 

I do development on a Win 7 machine but for Email testing I use my 
production linux server. So in my email.php file instead of using 
localhost, I point to my production server. Here is an example SMTP config:

public $smtp = array(
'transport' => 'Smtp',
'from' => array('yourn...@example.com' => 'Your Name'),
'host' => 'mail.example.com', // This could be smtp.example.com or some 
such according to your DNS record
'port' => 25,
'timeout' => 30,
'username' => 'yourn...@example.com',
'password' => 'password',
'client' => null,
'log' => true,
);

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: I posted something before, but didn't show up.

2013-08-05 Thread Wyatt Biker
I guess it takes time before the post shows up. 

On Monday, August 5, 2013 4:11:08 PM UTC-4, Wyatt Biker wrote:
>
> Just a test.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.




Re: I want to create database using CakePHP there by inserting data to it.

2013-06-17 Thread OJ Tibi - @ojtibi
http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html

On Monday, June 17, 2013 1:26:13 PM UTC+8, Varma wrote:
>
> Hi,
>
>
> I'm brand new towards PHP and CakePHP (frame work) Please let me know how 
> to do it. Thankyou.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.




Re: I have 405 html files (help)... what is the proper convention location for these files?

2013-05-16 Thread André Luis
Sorry, i saw it now, the correct is:
RewriteRule ^/docs/(.*)$ /path/to/docs/$1 [L]

I changed a character, i think this will work...

Em quinta-feira, 16 de maio de 2013 18h13min50s UTC-3, glk escreveu:
>
> Wow!  I'm sorry I won't be able to try this out today But thanks!  
>> Maybe I'll actually learn how to communicate everything the first time some 
>> day.  
>>
>
> I'll let you know either way!
>
> Thanks again!
> Greg
>  
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: I have 405 html files (help)... what is the proper convention location for these files?

2013-05-16 Thread glk

>
> Wow!  I'm sorry I won't be able to try this out today But thanks!  
> Maybe I'll actually learn how to communicate everything the first time some 
> day.  
>

I'll let you know either way!

Thanks again!
Greg
 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: I have 405 html files (help)... what is the proper convention location for these files?

2013-05-16 Thread André Luis
Wow, now i´ve understanded...

Em quinta-feira, 16 de maio de 2013 12h16min18s UTC-3, glk escreveu:
>
> Hello All,
>
>  I have help documentation in html, png files located in a single 
> folder... Created by another.
>
> Where should these files be located within the site's app folder.  A 
> folder within /View/Pages are as separate folder /View/Help?
>
> If this Help were in PDF format, where (by convention) should that or any 
> other downloadable file be stored within the app folder?
>
> I know these are probably silly questions, but a pointer in the right 
> direction (using proper conventions) would be greatly appreciated
>
> Thank you,
> Greg
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: I have 405 html files (help)... what is the proper convention location for these files?

2013-05-16 Thread André Luis
I dont know if it will work, but try to put this line in .htaccess of 
webroot´s folder...

RewriteRule ^/docs/(.*)^ /path/to/docs/$1 [L]

* BEFORE other rules...

Em quinta-feira, 16 de maio de 2013 17h16min20s UTC-3, glk escreveu:
>
> Andre,
>
> Thank you for a great explanation... I'm using xampp and have my 
> VirtualHost DocumentRoot pointed at my /app/webroot, so essentially I have 
> Cake in private folders and my webroot is my public_html.  
>
> This works great for my testing, and I just "assumed" that the folders 
> such as /app/Model , /app/View were all private since this arrangement 
> keeps my browser from "seeing" any of the "private" stuff.  I thought this 
> would seem to be a security precaution to keep outsiders from accessing 
> anything "outside of webroot" without going through the Rewrite and Routing 
> of Apache and/or CakePHP.
>
> So what I wanted to try to do is put the /docs into the /app/docs 
> (private) and access it via www.site.com/docs.  I'll give the htaccess a 
> try.  Of course, maybe I'm just making it harder than it needs to be.  I 
> just kind of liked have a webroot with virtually nothing in it except /css, 
> /img, /js, .htaccess, /index.php!!
>
> Thanks again for your great explanation!
> Greg
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: I have 405 html files (help)... what is the proper convention location for these files?

2013-05-16 Thread glk
Andre,

Thank you for a great explanation... I'm using xampp and have my 
VirtualHost DocumentRoot pointed at my /app/webroot, so essentially I have 
Cake in private folders and my webroot is my public_html.  

This works great for my testing, and I just "assumed" that the folders such 
as /app/Model , /app/View were all private since this arrangement keeps my 
browser from "seeing" any of the "private" stuff.  I thought this would 
seem to be a security precaution to keep outsiders from accessing anything 
"outside of webroot" without going through the Rewrite and Routing of 
Apache and/or CakePHP.

So what I wanted to try to do is put the /docs into the /app/docs (private) 
and access it via www.site.com/docs.  I'll give the htaccess a try.  Of 
course, maybe I'm just making it harder than it needs to be.  I just kind 
of liked have a webroot with virtually nothing in it except /css, /img, 
/js, .htaccess, /index.php!!

Thanks again for your great explanation!
Greg

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: I have 405 html files (help)... what is the proper convention location for these files?

2013-05-16 Thread André Luis
Well, usually most users put the files online as it comes from cakephp 
website, just unzip the files and when upload to server, uploads all file 
to the "public_html" folder, and this folder will have the .htaccess that 
redirects every request to app/webroot, BUT if you create another folder in 
public_html (where the app and lib folders are) and put a .htaccess with 
RewriteEngine OFF, this folder will not be redirect to app/webroot and the 
server will deliver to the client this folder´s content. SO you have the 
public_html folder AND webroot´s folder...

For example you have /public_html/app/webroot
If you create for example /public_html/docs and put a .htaccess with 
RewriteEngine OFF here, when you type www.yoursite.com.br/docs this folder 
will be accessible
OR if you create /public_html/app/webroot/docs will be accessible also at 
www.yoursite.com.br/docs

BUT, the most correct way to upload the files to the server, is to upload 
the app and lib folder to a not public folder, but you will upload the 
app/webroot contents to the public_html folder, and change the index.php 
settings of webroot´s folder, in this case the webroot NOW IS the 
public_html folder, and you just need to put the html files anywhere in 
your public folder, dont need any .htaccess to stop the RewriteEngine...

In this case, you should create /public_html/docs and dont need to put any 
.htacccess here, jut access throught www.yoursite.com.br/docs

Let me understand, you dont want to insert into your public folder because 
you want the people have no access to the docs??

Em quinta-feira, 16 de maio de 2013 12h16min18s UTC-3, glk escreveu:
>
> Hello All,
>
>  I have help documentation in html, png files located in a single 
> folder... Created by another.
>
> Where should these files be located within the site's app folder.  A 
> folder within /View/Pages are as separate folder /View/Help?
>
> If this Help were in PDF format, where (by convention) should that or any 
> other downloadable file be stored within the app folder?
>
> I know these are probably silly questions, but a pointer in the right 
> direction (using proper conventions) would be greatly appreciated
>
> Thank you,
> Greg
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: I have 405 html files (help)... what is the proper convention location for these files?

2013-05-16 Thread glk
Andre,

I thought webroot was my "public_html" folder as far as Cake was 
concerned!?  I would like to keep the html OUT of the public folders, so if 
I understand you correctly I can place the folder as /app/docs/doc1.html 
and then have htaccess in that folder to stop the RewriteEngine?

Your assistance is very greatly appreciated, Thank you!
Greg

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: I have 405 html files (help)... what is the proper convention location for these files?

2013-05-16 Thread André Luis
If it´s all in HTML and you dont want to have much work, you can put inside 
the webroot folder, OR you can put inside another folder in your 
public_html folder but with a .htaccess file with RewriteEngine OFF, both 
way will be accessible... for example... 
http://www.mysite.com/docs/doc1.html... you can have it in 
/app/webroot/docs/ or /docs with the htaccess

Em quinta-feira, 16 de maio de 2013 12h16min18s UTC-3, glk escreveu:
>
> Hello All,
>
>  I have help documentation in html, png files located in a single 
> folder... Created by another.
>
> Where should these files be located within the site's app folder.  A 
> folder within /View/Pages are as separate folder /View/Help?
>
> If this Help were in PDF format, where (by convention) should that or any 
> other downloadable file be stored within the app folder?
>
> I know these are probably silly questions, but a pointer in the right 
> direction (using proper conventions) would be greatly appreciated
>
> Thank you,
> Greg
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: I dont understand extend view

2013-03-13 Thread ORBITEC sc


On Sunday, December 30, 2012 4:39:54 PM UTC-3, cPage wrote:
>
>
>
> Le dimanche 30 décembre 2012 13:46:35 UTC-5, cPage a écrit :
>>
>> The example : 
>>
>> // app/View/Common/view.ctp<--PARENT
>>
> here is nesesary a div class 'view' 

> fetch('title'); ?>
>> fetch('content'); ?>
>> /***/
>> > float:left
>> Related actions
>> 
>> fetch('sidebar'); ?>
>> 
>> 
>>
>> // app/View/Posts/view.ctp> $this->extend('/Common/view');
>>
>> $this->assign('title', $post);>
>> $this->start('sidebar');
>> ?>
>> 
>> > echo $this->Html->link('edit', array(
>> 'action' => 'edit',
>> $post['Post']['id']
>> )); ?>
>> 
>> end(); ?>
>>
>> // The remaining content will be available as the 'content' block
>> // in the parent view.
>> >
>> Didn't work ?? I get : 
>>
>
> Blocks can only contain strings.
> *Error: *An Internal Error Has Occurred. 
>



the correctes code
//
//Sending title variable to Parent Template

done man...
$this->assign('title', $post);< BAD
 $this->assign('title', $post['Post']['title']);
fetch('content'); ?>


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: i want to display the dateof birth list which falls under current week dob is date type in mydb.

2013-01-03 Thread lowpass
I think this would do it:

'conditions' => array(
'WEEK(User.dob)' => date('W')
)

On Thu, Jan 3, 2013 at 8:15 AM, sweety  wrote:
> 'conditions'=>array('User.dob

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: I want to change password using cake php

2013-01-02 Thread Paulo Braga
Ok, you want to change a password in cake.

you have to have somthing like this:

old password: _
new password: 
confirm new password:

right??

so first you have to make a method in UsersController called 
changePassword(){}
and a view in foldes Users called change_password.ctp

in the change password you have to put:

  public function changePassword($id = null) { 
if ($this->data) { 
if ($this->User->save($this->data)) 
$this->Session->setFlash('Password changed successfully'); 
else
$this->Session->setFlash('The password was not changed'); 
} else { 
$this->data = $this->User->read(null, $id); 
} 
}

in change_password.ctp:

Form->create();?> 
Form->input('id');?> 
Form->input('current_password',array('type'=>'password'));?> 
Form->input('password',array('label'=>'New 
password','value'=>''));?> 
Form->input('password_confirmation',array('label'=>'confirm your 
password','type'=>'password', 'value'=>''));?> 
Form->end('change');?>

in User model put:

public $validate = array( 
 
'password' => array( 
'Not empty' => array( 
'rule' => 'notEmpty', 'message' => 'please enter your 
password' 
), 
'Match passwords' => array( 
'rule' => 'matchPasswords', 
'message' => 'your passwords do not match' 
) 
), 
'password_confirmation' => array( 
'Not empty' => array( 
'rule' => 'notEmpty', 'message' => 'please confirm your 
password' 
) 
), 
'current_password' => array( 
'notempty' => array('rule' => 'notEmpty', 'message' => 'please 
enter your old password'), 
'check password' => array('rule' => 'checkPassword', 
'message' => 'your password is not correct') 
)
);

public function matchPasswords($data) { 
if ($data['password'] == 
$this->data['User']['password_confirmation']) 
return true; 
$this->invalidate('password_confirmation', 'your passwords do not 
match'); 
return false; 
} 
 
public function checkPassword($data) { 
$user1=new User(); 
$user=$user1->read(null,  $this->data['User']['id']); 

$current_password=AuthComponent::password($data['current_password']); 
if($current_password==$user['User']['password']){ 
return true; 
 
} 
return false; 
 
}



On Tuesday, December 25, 2012 4:24:10 PM UTC+2, sweety wrote:
>
>
>

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: I dont understand extend view

2012-12-30 Thread cPage


Le dimanche 30 décembre 2012 13:46:35 UTC-5, cPage a écrit :
>
> The example : 
>
> // app/View/Common/view.ctp
> fetch('title'); ?>
> fetch('content'); ?>
>
> 
> Related actions
> 
> fetch('sidebar'); ?>
> 
> 
>
> // app/View/Posts/view.ctp
> $this->extend('/Common/view');
>
> $this->assign('title', $post);
>
> $this->start('sidebar');
> ?>
> 
>  echo $this->Html->link('edit', array(
> 'action' => 'edit',
> $post['Post']['id']
> )); ?>
> 
> end(); ?>
>
> // The remaining content will be available as the 'content' block
> // in the parent view.
> 
> Didn't work ?? I get : 
>

Blocks can only contain strings.
*Error: *An Internal Error Has Occurred. 

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: I want to change password using cake php

2012-12-27 Thread Jeremy Burns : Class Outfit
Start here like we all did 
http://book.cakephp.org/2.0/en/tutorials-and-examples/blog-auth-example/auth.html
 then you won't be so new.


Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 27 Dec 2012, at 05:34, sweety  wrote:

> how to hash?
> 
> i am new to cakephp 
> 
> 
> On Wednesday, December 26, 2012 10:11:26 AM UTC-5, euromark wrote:
> just follow the documentation:
> http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#hashing-passwords
> 
> you might also want to read
> http://www.dereuromark.de/2011/08/25/working-with-passwords-in-cakephp/
> 
> use an alias field, hash and store the password. thats all there is to it.
> 
> -- 
> 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 post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to 
> cake-php+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>  
>  

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: I want to change password using cake php

2012-12-27 Thread sweety
how to hash?

i am new to cakephp 


On Wednesday, December 26, 2012 10:11:26 AM UTC-5, euromark wrote:
>
> just follow the documentation:
>
> http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#hashing-passwords
>
> you might also want to read
> http://www.dereuromark.de/2011/08/25/working-with-passwords-in-cakephp/
>
> use an alias field, hash and store the password. thats all there is to it.
>

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: I want to change password using cake php

2012-12-26 Thread euromark
just follow the documentation:
http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#hashing-passwords

you might also want to read
http://www.dereuromark.de/2011/08/25/working-with-passwords-in-cakephp/

use an alias field, hash and store the password. thats all there is to it.

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: I want to change password using cake php

2012-12-26 Thread Jonathan Sundquist
You should never modify the database manually. You should have cakephp
update the database for you.
On Dec 26, 2012 1:15 AM, "crush"  wrote:

> Turn debug to 2 in the config file. Login with the new password and copy
> the password string it posts in the debug at the bottom of the page after
> you try to login. Paste that into the database in the password field for
> the appropriate user.
>
> --
> 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 post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>
>

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: I want to change password using cake php

2012-12-25 Thread crush
Turn debug to 2 in the config file. Login with the new password and copy 
the password string it posts in the debug at the bottom of the page after 
you try to login. Paste that into the database in the password field for 
the appropriate user.

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: I want to change password using cake php

2012-12-25 Thread Jonathan Sundquist
You can update it the same way you created it.
On Dec 25, 2012 7:11 PM, "euromark"  wrote:

> did you try google?
>
>
> Am Dienstag, 25. Dezember 2012 15:24:10 UTC+1 schrieb sweety:
>>
>>
>>  --
> 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 post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>
>

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: I want to change password using cake php

2012-12-25 Thread euromark
did you try google?


Am Dienstag, 25. Dezember 2012 15:24:10 UTC+1 schrieb sweety:
>
>
>

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: I want to change password using cake php

2012-12-25 Thread Jonathan Sundquist
That's nice.
On Dec 25, 2012 7:07 PM, "sweety"  wrote:

>
>  --
> 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 post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>
>

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: I am new in Cakephp

2012-12-17 Thread Dr. Tarique Sani
http://book.cakephp.org/2.0/en/index.html <- start here

T


On Mon, Dec 17, 2012 at 1:22 PM, Rakesh Dongarwar <
rakeshdongarw...@gmail.com> wrote:

> Hey Hi Guys
>
> I am very new in cakephp. From last 3 years i have worked on core php. so
> anyone can teach me cakephp??
>
>
>
> Kind Regards,
> Rakesh
>
> --
> 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 post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>
>



-- 
=
The Conference Schedule Creator : http://shdlr.com

PHP for E-Biz : http://sanisoft.com
=

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: I want to find records during last 24 hours

2012-08-25 Thread AD7six
Yasir,

I'm getting a bit bored of these replies that have no content and just a 
link (to a 1 sentance "answer"). 
If it's not obvious the group is not public so there is no SEO value in 
doing that.

Metz,

why would you use between for such a query?

$this->User->find('all', array(
'conditions' => array(
'last_seen >' => date('Y-m-d H:i:s', strtotime('-1 day'))
)
));

Is a simpler query (and it's just an example - you can build the date 
condition any way you like) - unless you have data such that it's possible 
to be seen in the future (?) you don't need between.

AD

On Friday, 24 August 2012 18:20:40 UTC+2, Arafat wrote:
>
> I think this will help you
>
>
> http://arafats.info/cakephp-date-comparison-or-cakephp-date-bewteen-on-database-data/
>
> Thanks
> Arafat
>
> On Tue, Aug 21, 2012 at 11:54 PM, MetZ >wrote:
>
>> How can I find the Users that are "last_seen" the last 24hours?
>>
>> [User][last_seen] => 2012-08-18 08:10:31
>>
>> last_seen is updated each time a logged in user browse the website with 
>> current timestamp
>>
>> This is what I have tried this far:
>>
>> $users = $this->User->find('all',array('conditions'=>array('User.last_seen 
>> >' =>'BETWEEN NOW() AND NOW()- INTERVAL 24 HOURS'),'recursive'=>-2));
>>
>> But my array is coming back empty.
>>
>> Suggestions??
>>
>> As always!! You are awesome! Thanks for your time!
>>
>> -Tom
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "CakePHP" group.
>> To post to this group, send email to cake...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to 
>> cake-php+u...@googlegroups.com .
>> Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
>>  
>>  
>>
>
>
>
> -- 
> *Thanks & Regards.
>
> -
> Yasir Arafat (Hasib)*
> *Deputy Project Manager, *Software Solutions
> Grameen Solutions
> Contact Information:
> **
> **
> Cell : +8801816 536 901, +880197 *333* 2 888
> Web: http://arafats.info
> 
>
>  

-- 
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 this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.




Re: I want to find records during last 24 hours

2012-08-21 Thread MetZ
YES!!

You are totally awesome! 

Looks like it returns the correct users now. I will do some testing.. 

Thanks alot!

Regards!

-Tom

kl. 20:25:11 UTC+2 tirsdag 21. august 2012 skrev MetZ følgende:
>
> Hi..
>
> No,, that one also return empty array :(
>
> Thanks anyway! any other suggestion?
>
> -Tom
>
>
> kl. 20:19:16 UTC+2 tirsdag 21. august 2012 skrev Mancho Murgan følgende:
>>
>> Try with this sintax:
>>
>> $users = $this->User->find('all', array('conditions' => 
>> array('User.last_seen BETWEEN NOW() AND NOW() -INTERVAL 1 DAY'), 
>> 'recursive' => -2);
>>
>> --
>> Murgan, Alexis Germán
>> Desarrollador & Diseñador
>> Web: german.murgan.com.ar
>> Email: ger...@murgan.com.ar
>> MSN: ger...@murgan.com.ar
>> Móvil: +5493424663813
>>
>>
>> 2012/8/21 MetZ 
>>
>>> How can I find the Users that are "last_seen" the last 24hours?
>>>
>>> [User][last_seen] => 2012-08-18 08:10:31
>>>
>>> last_seen is updated each time a logged in user browse the website with 
>>> current timestamp
>>>
>>> This is what I have tried this far:
>>>
>>> $users = $this->User->find('all',array('conditions'=>array('User.last_seen 
>>> >' =>'BETWEEN NOW() AND NOW()- INTERVAL 24 HOURS'),'recursive'=>-2));
>>>
>>> But my array is coming back empty.
>>>
>>> Suggestions??
>>>
>>> As always!! You are awesome! Thanks for your time!
>>>
>>> -Tom
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "CakePHP" group.
>>> To post to this group, send email to cake...@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> cake-php+u...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
>>>  
>>>  
>>>
>>
>>

-- 
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 this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.




Re: I want to find records during last 24 hours

2012-08-21 Thread Mancho
Ok, try with this:

$users = $this->User->find('all', array('conditions' =>
array('User.last_seen BETWEEN NOW() -INTERVAL 1 DAY AND NOW()'),
'recursive' => -2);

I have doubt about INTERVAL sintax but this is the correct sintax for
cakephp.

--
Murgan, Alexis Germán
Desarrollador & Diseñador
Web: german.murgan.com.ar
Email: ger...@murgan.com.ar
MSN: ger...@murgan.com.ar
Móvil: +5493424663813


2012/8/21 MetZ 

> Hi..
>
> No,, that one also return empty array :(
>
> Thanks anyway! any other suggestion?
>
> -Tom
>
>
> kl. 20:19:16 UTC+2 tirsdag 21. august 2012 skrev Mancho Murgan følgende:
>>
>> Try with this sintax:
>>
>> $users = $this->User->find('all', **array('conditions' =>
>> array('User.last_seen BETWEEN NOW() AND NOW() -INTERVAL 1 DAY'),
>> 'recursive' => -2);
>>
>> --
>> Murgan, Alexis Germán
>> Desarrollador & Diseñador
>> Web: german.murgan.com.ar
>> Email: ger...@murgan.com.ar
>> MSN: ger...@murgan.com.ar
>> Móvil: +5493424663813
>>
>>
>> 2012/8/21 MetZ 
>>
>>> How can I find the Users that are "last_seen" the last 24hours?
>>>
>>> [User][last_seen] => 2012-08-18 08:10:31
>>>
>>> last_seen is updated each time a logged in user browse the website with
>>> current timestamp
>>>
>>> This is what I have tried this far:
>>>
>>> $users = 
>>> $this->User->find('all',array(**'conditions'=>array('User.**last_seen >' 
>>> =>'BETWEEN NOW() AND NOW()- INTERVAL 24 HOURS'),'recursive'=>-2));
>>>
>>> But my array is coming back empty.
>>>
>>> Suggestions??
>>>
>>> As always!! You are awesome! Thanks for your time!
>>>
>>> -Tom
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "CakePHP" group.
>>> To post to this group, send email to cake...@googlegroups.com.
>>> To unsubscribe from this group, send email to cake-php+u...@**
>>> googlegroups.com.
>>>
>>> Visit this group at 
>>> http://groups.google.com/**group/cake-php?hl=en-US
>>> .
>>>
>>>
>>>
>>
>>  --
> 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 this group, send email to
> cake-php+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
>
>
>

-- 
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 this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.




Re: I want to find records during last 24 hours

2012-08-21 Thread MetZ
Hi..

No,, that one also return empty array :(

Thanks anyway! any other suggestion?

-Tom


kl. 20:19:16 UTC+2 tirsdag 21. august 2012 skrev Mancho Murgan følgende:
>
> Try with this sintax:
>
> $users = $this->User->find('all', array('conditions' => 
> array('User.last_seen BETWEEN NOW() AND NOW() -INTERVAL 1 DAY'), 
> 'recursive' => -2);
>
> --
> Murgan, Alexis Germán
> Desarrollador & Diseñador
> Web: german.murgan.com.ar
> Email: ger...@murgan.com.ar 
> MSN: ger...@murgan.com.ar 
> Móvil: +5493424663813
>
>
> 2012/8/21 MetZ >
>
>> How can I find the Users that are "last_seen" the last 24hours?
>>
>> [User][last_seen] => 2012-08-18 08:10:31
>>
>> last_seen is updated each time a logged in user browse the website with 
>> current timestamp
>>
>> This is what I have tried this far:
>>
>> $users = $this->User->find('all',array('conditions'=>array('User.last_seen 
>> >' =>'BETWEEN NOW() AND NOW()- INTERVAL 24 HOURS'),'recursive'=>-2));
>>
>> But my array is coming back empty.
>>
>> Suggestions??
>>
>> As always!! You are awesome! Thanks for your time!
>>
>> -Tom
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "CakePHP" group.
>> To post to this group, send email to cake...@googlegroups.com
>> .
>> To unsubscribe from this group, send email to 
>> cake-php+u...@googlegroups.com .
>> Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
>>  
>>  
>>
>
>

-- 
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 this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.




Re: I want to find records during last 24 hours

2012-08-21 Thread Mancho
Try with this sintax:

$users = $this->User->find('all', array('conditions' =>
array('User.last_seen BETWEEN NOW() AND NOW() -INTERVAL 1 DAY'),
'recursive' => -2);

--
Murgan, Alexis Germán
Desarrollador & Diseñador
Web: german.murgan.com.ar
Email: ger...@murgan.com.ar
MSN: ger...@murgan.com.ar
Móvil: +5493424663813


2012/8/21 MetZ 

> How can I find the Users that are "last_seen" the last 24hours?
>
> [User][last_seen] => 2012-08-18 08:10:31
>
> last_seen is updated each time a logged in user browse the website with
> current timestamp
>
> This is what I have tried this far:
>
> $users = $this->User->find('all',array('conditions'=>array('User.last_seen >' 
> =>'BETWEEN NOW() AND NOW()- INTERVAL 24 HOURS'),'recursive'=>-2));
>
> But my array is coming back empty.
>
> Suggestions??
>
> As always!! You are awesome! Thanks for your time!
>
> -Tom
>
> --
> 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 this group, send email to
> cake-php+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
>
>
>

-- 
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 this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.




Re: I am not getting the paypal_ipn plugin implementation going on. The initial setup for each and every detail is required can anyone guide or redirect to link.

2012-07-25 Thread phpMagpie
What version of Cake are you using?

For Cake 2 I have been using the following plugin:
https://github.com/TomTheBomb/CakePHP-2.0-Paypal-IPN-Plugin

I plan to write a blog post about it, but try following the instructions 
ing the original plugins readme at:
https://github.com/webtechnick/CakePHP-Paypal-IPN-Plugin

HTH, Paul.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: i need changepassword validations in cakephp

2012-05-23 Thread euromark
use a behavior 
like www.dereuromark.de/2011/08/25/working-with-passwords-in-cakephp/


Am Mittwoch, 23. Mai 2012 16:23:23 UTC+2 schrieb Hill180:
>
> Are you talking about complexity rules?
>
>
>
> On Wed, May 23, 2012 at 2:59 AM, Roopa Mani C wrote:
>
>> i need changepassword validations in cakephp
>>
>> --
>> Our newest site for the community: CakePHP Video Tutorials 
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group 
>> at http://groups.google.com/group/cake-php
>>
>
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: i need changepassword validations in cakephp

2012-05-23 Thread hill180
Are you talking about complexity rules?



On Wed, May 23, 2012 at 2:59 AM, Roopa Mani C  wrote:

> i need changepassword validations in cakephp
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I am looking for a good oAuth 2.0 component that will work in cakePHP 2.0.4

2012-05-19 Thread Jimit Kapadya
Hello All,

how to delete Multiple tables fields values in cakephp 2.0

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I am looking for a good oAuth 2.0 component that will work in cakePHP 2.0.4

2012-05-18 Thread zigiprimo
Hi Salines,

I too am looking for an OAuth 2.0 component for CakePHP 2.x.

Would you be able to give me an idea of the steps you took to adapt Neil 
Crookes' components for OAuth2 with CakePHP2?

regards,
zigiprimo

On Friday, January 6, 2012 3:15:28 AM UTC+11, Salines wrote:
>
> Hi,
> I took Neil Crookes components and adapt them for use with CakePHP 2.0.x
>
>
> Thanks Again
>
>
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: i

2012-05-16 Thread Matteo Landi


On May/07, lowpass wrote:
> echo $data['Post']['body'];
> 
> Maybe the question wasn't clear. What exactly do you mean about the
> "right way to display" it?
> 

It is funny how questions arise from dumb errors:  let me explain why.

As I tried to explain in my previous post, I wanted to save raw html tags inside
a blog post, and make the View display them accordinly;  unfortunately, in all
the experiments I made, tags were displayed as raw sequences (asd
instead of an italic asd).  So I complained the list about that.

The problem is that while editing the blog post to add html tags, I only
modified the title field which was rendered inside the View with a command like
this `$this->Html->link($post['Post']['title'], ...)`;  the `link` method
obviously escapes the content of the link label, resulting in html tags
displayed as raw characters :-)

So I edited the post body, and magically html tags were rendered properly!  Mea
culpa!


Cheers,
Matteo


> On Sat, May 5, 2012 at 12:01 PM, Matteo Landi  wrote:
> > Hi everybody,
> >
> > Could you tell me what is the right way to display html formatted content
> > extracted from the database?  Taking the blog tutorial as example, how is
> > possible to let users create posts containing html tags such as `strong`, 
> > `em`,
> > `ul` and so forth?
> >
> >
> > Thanks,
> > Matteo
> >
> > --
> > http://www.matteolandi.net
> >
> > --
> > Our newest site for the community: CakePHP Video Tutorials 
> > http://tv.cakephp.org
> > Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> > others with their CakePHP related questions.
> >
> >
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> > http://groups.google.com/group/cake-php
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
> 
> 
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
http://www.matteolandi.net

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: i

2012-05-07 Thread lowpass
echo $data['Post']['body'];

Maybe the question wasn't clear. What exactly do you mean about the
"right way to display" it?

On Sat, May 5, 2012 at 12:01 PM, Matteo Landi  wrote:
> Hi everybody,
>
> Could you tell me what is the right way to display html formatted content
> extracted from the database?  Taking the blog tutorial as example, how is
> possible to let users create posts containing html tags such as `strong`, 
> `em`,
> `ul` and so forth?
>
>
> Thanks,
> Matteo
>
> --
> http://www.matteolandi.net
>
> --
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I am looking for a good oAuth 2.0 component that will work in cakePHP 2.0.4

2012-01-05 Thread Salines
Hi,
I took Neil Crookes components and adapt them for use with CakePHP 2.0.x


Thanks Again


-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I am looking for a good oAuth 2.0 component that will work in cakePHP 2.0.4

2012-01-05 Thread Waterschaats
https://github.com/mtkocak/authake works for me.

On 17 dec 2011, 20:48, Salines  wrote:
> I am looking for a good oAuth 2.o component or code that will work in
> cakePHP 2.0.4.
>
> Thanks

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I am looking for a good oAuth 2.0 component that will work in cakePHP 2.0.4

2012-01-05 Thread luca capra

Hi,
if you want to give it a try I've published this some days ago:
https://github.com/muka/OAuthAuthenticate


Il 17/12/2011 20:48, Salines ha scritto:
I am looking for a good oAuth 2.o component or code that will work in 
cakePHP 2.0.4.


Thanks
--
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and 
help others with their CakePHP related questions.



To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this 
group at http://groups.google.com/group/cake-php


--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.



To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I am looking for a good oAuth 2.0 component that will work in cakePHP 2.0.4

2012-01-05 Thread burzum
2.0 is in development and not yet useable, I just started to make the
plugin 2.0 compatible. Feel free to help and create pull requests on
github against the 2.0 branch.

On Dec 18 2011, 12:26 am, Điển vũ  wrote:
> Oauth Lib 2.0 :
>
> https://github.com/CakeDC/oauth_lib/tree/2.0
>
> I only use 1.0 version. It is very good. I don't know but i think 2.0 have
> bugs ^^.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I am looking for a good oAuth 2.0 component that will work in cakePHP 2.0.4

2011-12-18 Thread Salines
Thanks

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I am looking for a good oAuth 2.0 component that will work in cakePHP 2.0.4

2011-12-17 Thread Điển vũ
Oauth Lib 2.0 : 

https://github.com/CakeDC/oauth_lib/tree/2.0 

I only use 1.0 version. It is very good. I don't know but i think 2.0 have 
bugs ^^.  

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: i didnt understund ajax in cakephp

2011-11-09 Thread WebbedIT
Duplicate thread:
http://groups.google.com/group/cake-php/browse_thread/thread/cd89348af99eab75
http://groups.google.com/group/cake-php/browse_thread/thread/d0ad832f413261e4

On Nov 9, 2:30 am, thom  wrote:
> On Wed, Nov 9, 2011 at 8:54 AM, kika  wrote:
> > Hello everyone!
>
> > at the beginning I posted my question before but none could give me
> > the answer
> > my problem had the choice lists:
> > I want to make two lists of choices that are related:
> > when I change the option from the first the second will automatically
> > change with ajax in cakephp.
> > so far I have not found a good solution by cons I found a tutorial
> > that explains this by all retailers but nothing will happen
> > I beg you
> > help me
> > because I never used cakephp and  ajax or( json)   together in a
> > project.
> > thank you again for your attention!
>
> You better to do some 'googling' first. Then come here with your code, what
> you've tried and/ or errors you've got.
>
> You asked a frequently asked question and common one.
>
> --
> Regards,,,
> thomhttp://mynameisthom.blogspot.com

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: i didnt understund ajax and jquery

2011-11-09 Thread WebbedIT
Pedro,

I did give you an answer to your last post showing you that there are
existing tutorials showing how to do this in CakePHP found within this
group or via Google.

Because this topic has been covered many times before and there are
already guides out there I doubt anyone is going to write you a step
by step procedure, what you need to do is try one or more of the
tutorials and when you get to a point where you're stuck come in here
and show us how far you have got.

You will very rarely get an answer in here if you do not show that you
have at least tried and the way to do that is to write your own code
and copy it into http://bin.cakephp.org/

HTH, Paul

On Nov 9, 3:59 am, pedro rojo  wrote:
> thank you Justin Edwards
>   for your help I have already programmed a php project with pure javascript
>  and have the same problem two lists that are linked together in php and
> javascript and ajax, but when I faced the same problem again I 'I could not
> how.
> I'm looking for a tutorial that can help me to solve my problem or I share my
> test someone to organize

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: i didnt understund ajax and jquery

2011-11-08 Thread pedro rojo
thank you Justin Edwards
  for your help I have already programmed a php project with pure javascript
 and have the same problem two lists that are linked together in php and
javascript and ajax, but when I faced the same problem again I 'I could not
how.
I'm looking for a tutorial that can help me to solve my problem or I share my
test someone to organize

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: i didnt understund ajax and jquery

2011-11-08 Thread Justin Edwards
You will really want to learn javascript.   It should only be a day of
learning to get through this free course.
http://www.w3schools.com/js/default.asp

You can do tests with javascript libraries (including with ajax) here
http://fiddle.jshell.net/  You can see what goes on and easily test there.

On Tue, Nov 8, 2011 at 7:06 PM, pedro rojo  wrote:

>
> Hello everyone!
>>
>>  at the beginning I posted my question before but none could give me the
>> answer
>>  my problem had the choice lists:
>> I want to make two lists of choices that are related:
>>  when I change the option from the first the second will automatically
>> change with ajax in cakephp.
>> so far I have not found a good solution by cons I found a tutorial that
>> explains this by all retailers but nothing will happen
>> I beg you
>> help me
>>  because I never used cakephp and  ajax or( json)   together in a project.
>>  thank you again for your attention!
>>
>
>  --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: i didnt understund ajax in cakephp

2011-11-08 Thread thom
On Wed, Nov 9, 2011 at 8:54 AM, kika  wrote:

> Hello everyone!
>
> at the beginning I posted my question before but none could give me
> the answer
> my problem had the choice lists:
> I want to make two lists of choices that are related:
> when I change the option from the first the second will automatically
> change with ajax in cakephp.
> so far I have not found a good solution by cons I found a tutorial
> that explains this by all retailers but nothing will happen
> I beg you
> help me
> because I never used cakephp and  ajax or( json)   together in a
> project.
> thank you again for your attention!
>

You better to do some 'googling' first. Then come here with your code, what
you've tried and/ or errors you've got.

You asked a frequently asked question and common one.

-- 
Regards,,,
thom
http://mynameisthom.blogspot.com

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: i didnt understund ajax and jquery

2011-11-08 Thread pedro rojo
> Hello everyone!
>
>  at the beginning I posted my question before but none could give me the
> answer
>  my problem had the choice lists:
> I want to make two lists of choices that are related:
>  when I change the option from the first the second will automatically
> change with ajax in cakephp.
> so far I have not found a good solution by cons I found a tutorial that
> explains this by all retailers but nothing will happen
> I beg you
> help me
>  because I never used cakephp and  ajax or( json)   together in a project.
>  thank you again for your attention!
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I hate CLI

2011-11-01 Thread Ryan Schmidt

On Nov 1, 2011, at 23:23, Jeremy Burns | Class Outfit wrote:

> Here's the tutorial and I think you are right. Typing it by hand does work. 
> ^^  Thanks.
> 
> https://github.com/davidpersson/media/blob/next/docs/TUTORIAL

Neat, it was neither an en-dash (U+2013) nor an em-dash (U+2014) but a minus 
sign (U+2212). Gotta love Unicode.

I filed an issue:

https://github.com/davidpersson/media/issues/68


-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I hate CLI

2011-11-01 Thread Jeremy Burns | Class Outfit
Here's the tutorial and I think you are right. Typing it by hand does work. ^^  
Thanks.

https://github.com/davidpersson/media/blob/next/docs/TUTORIAL


Jeremy Burns
Class Outfit

Tel: +44 (0) 208 123 3822
Mob: +44 (0) 7973 481949
Skype: jeremy_burns
http://www.classoutfit.com


Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 2 Nov 2011, at 01:38, Ryan Schmidt wrote:

> 
> On Nov 1, 2011, at 04:26, Jeremy Burns wrote:
> 
>> I'm following the tutorial for setting up David Persson's media
>> plugin. Each time I run this:
>> 
>> chmod -R a+rwX webroot/media/{transfer,filter}
>> 
>> ... in Terminal I get this error:
>> 
>> chmod: Invalid file mode: -R
> 
> 
> I have a feeling you didn't type the command yourself, but that you copied 
> and pasted from the tutorial's web page. You didn't provide the URL of the 
> tutorial, but I'll bet it was posted on some blog, and that the blog engine 
> helpfully converted the hyphen in "-R" into an en-dash ("–R") or em-dash 
> ("—R"). They look very similar on-screen, especially in a fixed-width font, 
> but they're totally different to the Terminal. I'm able to reproduce the 
> error you experienced if I use an en-dash or em-dash in place of the proper 
> hyphen. So the lesson is: sometimes it pays to type commands yourself instead 
> of copy/pasting, just be sure to transcribe them very carefully.
> 
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
> 
> 
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I hate CLI

2011-11-01 Thread Ryan Schmidt

On Nov 1, 2011, at 04:26, Jeremy Burns wrote:

> I'm following the tutorial for setting up David Persson's media
> plugin. Each time I run this:
> 
> chmod -R a+rwX webroot/media/{transfer,filter}
> 
> ... in Terminal I get this error:
> 
> chmod: Invalid file mode: -R


I have a feeling you didn't type the command yourself, but that you copied and 
pasted from the tutorial's web page. You didn't provide the URL of the 
tutorial, but I'll bet it was posted on some blog, and that the blog engine 
helpfully converted the hyphen in "-R" into an en-dash ("–R") or em-dash 
("—R"). They look very similar on-screen, especially in a fixed-width font, but 
they're totally different to the Terminal. I'm able to reproduce the error you 
experienced if I use an en-dash or em-dash in place of the proper hyphen. So 
the lesson is: sometimes it pays to type commands yourself instead of 
copy/pasting, just be sure to transcribe them very carefully.


-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I hate CLI

2011-11-01 Thread Ryan Schmidt

On Nov 1, 2011, at 13:14, Daniel Luiz Pakuschewski wrote:

> chmod -r a+rwX webroot/media/transfer
> 
> -r lowercase.

No, on OS X 10.6.8 that produces the message:

chmod: a+rwX: No such file or directory

Uppercase -R was correct. From "man chmod" on OS X 10.6.8:

 -R  Change the modes of the file hierarchies rooted in the files
 instead of just the files themselves.

If your chmod command accepts "-r" lowercase, it is not BSD chmod.


On Nov 1, 2011, at 17:09, Matt Murphy wrote:

> The earlier messages were correct.  It is a parameter order option.

Yes, correct parameter order is essential, but Jeremy's original message stated 
that he ran the command "chmod -R a+rwX webroot/media/{transfer,filter}", which 
has all the arguments in the correct order. It should have worked just like 
that.




-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I hate CLI

2011-11-01 Thread Matt Murphy
The earlier messages were correct.  It is a parameter order option.

On Tue, Nov 1, 2011 at 7:02 AM, Ma'moon  wrote:

> Will you try without -R option
>
>
> On Tue, Nov 1, 2011 at 12:38 PM, Jeremy Burns | Class Outfit <
> jeremybu...@classoutfit.com> wrote:
>
>> /Sites/mysitename/app
>>
>>
>> Jeremy Burns
>> Class Outfit
>>
>> http://www.classoutfit.com
>>
>> On 1 Nov 2011, at 10:33, Ma'moon wrote:
>>
>> Are you executing the command from the directory that contains the
>> webroot folder?, please run pwd to make sure of the location that you are
>> executing this command from
>>
>> On Tue, Nov 1, 2011 at 12:24 PM, Jeremy Burns | Class Outfit <
>> jeremybu...@classoutfit.com> wrote:
>>
>>> Running that command from app I get:
>>>
>>> chmod: -R: No such file or directory
>>>
>>> chmod a+rwX webroot/media/{transfer,filter} -R
>>>
>>> ... returns the same result too.
>>>
>>> The directories do exist.
>>>
>>> Jeremy Burns
>>> Class Outfit
>>>
>>> Tel: +44 (0) 208 123 3822
>>> Mob: +44 (0) 7973 481949
>>> Skype: jeremy_burns
>>> http://www.classoutfit.com
>>>
>>>
>>> Jeremy Burns
>>> Class Outfit
>>>
>>> http://www.classoutfit.com
>>>
>>> On 1 Nov 2011, at 10:02, Ma'moon wrote:
>>>
>>> try this chmod a+rwX -R webroot/media/{transfer,filter}
>>>
>>> On Tue, Nov 1, 2011 at 11:26 AM, Jeremy Burns <
>>> jeremybu...@classoutfit.com> wrote:
>>>
 I'm a GUI man me. CLI stuff just makes me go blank. It's like staring
 into a black hole. Give me something I can point at and click and I'm
 a happy man.

 I'm following the tutorial for setting up David Persson's media
 plugin. Each time I run this:

 chmod -R a+rwX webroot/media/{transfer,filter}

 ... in Terminal I get this error:

 chmod: Invalid file mode: -R

 I have Googled but can't find the answer. Can any of you CLI junkies
 help me out please?

 --
 Our newest site for the community: CakePHP Video Tutorials
 http://tv.cakephp.org
 Check out the new CakePHP Questions site http://ask.cakephp.org and
 help others with their CakePHP related questions.


 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this
 group at http://groups.google.com/group/cake-php

>>>
>>>
>>> --
>>> Our newest site for the community: CakePHP Video Tutorials
>>> http://tv.cakephp.org
>>> Check out the new CakePHP Questions site http://ask.cakephp.org and
>>> help others with their CakePHP related questions.
>>>
>>>
>>> To unsubscribe from this group, send email to
>>> cake-php+unsubscr...@googlegroups.com For more options, visit this
>>> group at http://groups.google.com/group/cake-php
>>>
>>>
>>>
>>> --
>>> Our newest site for the community: CakePHP Video Tutorials
>>> http://tv.cakephp.org
>>> Check out the new CakePHP Questions site http://ask.cakephp.org and
>>> help others with their CakePHP related questions.
>>>
>>>
>>> To unsubscribe from this group, send email to
>>> cake-php+unsubscr...@googlegroups.com For more options, visit this
>>> group at http://groups.google.com/group/cake-php
>>>
>>
>>
>> --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group
>> at http://groups.google.com/group/cake-php
>>
>>
>>  --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group
>> at http://groups.google.com/group/cake-php
>>
>
>  --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I hate CLI

2011-11-01 Thread Daniel Luiz Pakuschewski
chmod -r a+rwX webroot/media/transfer

-r lowercase.

On Nov 1, 9:27 am, Jeremy Burns | Class Outfit
 wrote:
> OK - odd. Now I can run the original command:
>
> chmod -R a+rwX webroot/media/transfer
>
> ...so it seems that not running
>
> chmod a+rwX webroot/media/transfer
>
> ... first stopped it from working.
>
> 
>
> Jeremy Burns
> Class Outfit
>
> Tel: +44 (0) 208 123 3822
> Mob: +44 (0) 7973 481949
> Skype: jeremy_burnshttp://www.classoutfit.com
>
> On 1 Nov 2011, at 11:20, Jeremy Burns | Class Outfit wrote:
>
>
>
>
>
>
>
> > chmod a+rwX webroot/media/transfer
>
> > ...runs without error and set the permissions for the media/transfer 
> > directory.
>
> > Jeremy Burns
> > Class Outfit
>
> >http://www.classoutfit.com
>
> > On 1 Nov 2011, at 11:02, Ma'moon wrote:
>
> >> Will you try without -R option
>
> >> On Tue, Nov 1, 2011 at 12:38 PM, Jeremy Burns | Class Outfit 
> >>  wrote:
> >> /Sites/mysitename/app
>
> >> Jeremy Burns
> >> Class Outfit
>
> >>http://www.classoutfit.com
>
> >> On 1 Nov 2011, at 10:33, Ma'moon wrote:
>
> >>> Are you executing the command from the directory that contains the 
> >>> webroot folder?, please run pwd to make sure of the location that you are 
> >>> executing this command from
>
> >>> On Tue, Nov 1, 2011 at 12:24 PM, Jeremy Burns | Class Outfit 
> >>>  wrote:
> >>> Running that command from app I get:
>
> >>> chmod: -R: No such file or directory
>
> >>> chmod a+rwX webroot/media/{transfer,filter} -R
>
> >>> ... returns the same result too.
>
> >>> The directories do exist.
>
> >>> Jeremy Burns
> >>> Class Outfit
>
> >>> Tel: +44 (0) 208 123 3822
> >>> Mob: +44 (0) 7973 481949
> >>> Skype: jeremy_burns
> >>>http://www.classoutfit.com
>
> >>> Jeremy Burns
> >>> Class Outfit
>
> >>>http://www.classoutfit.com
>
> >>> On 1 Nov 2011, at 10:02, Ma'moon wrote:
>
>  try this chmod a+rwX -R webroot/media/{transfer,filter}
>
>  On Tue, Nov 1, 2011 at 11:26 AM, Jeremy Burns 
>   wrote:
>  I'm a GUI man me. CLI stuff just makes me go blank. It's like staring
>  into a black hole. Give me something I can point at and click and I'm
>  a happy man.
>
>  I'm following the tutorial for setting up David Persson's media
>  plugin. Each time I run this:
>
>  chmod -R a+rwX webroot/media/{transfer,filter}
>
>  ... in Terminal I get this error:
>
>  chmod: Invalid file mode: -R
>
>  I have Googled but can't find the answer. Can any of you CLI junkies
>  help me out please?
>
>  --
>  Our newest site for the community: CakePHP Video 
>  Tutorialshttp://tv.cakephp.org
>  Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help 
>  others with their CakePHP related questions.
>
>  To unsubscribe from this group, send email to
>  cake-php+unsubscr...@googlegroups.com For more options, visit this group 
>  athttp://groups.google.com/group/cake-php
>
>  --
>  Our newest site for the community: CakePHP Video 
>  Tutorialshttp://tv.cakephp.org
>  Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help 
>  others with their CakePHP related questions.
>
>  To unsubscribe from this group, send email to
>  cake-php+unsubscr...@googlegroups.com For more options, visit this group 
>  athttp://groups.google.com/group/cake-php
>
> >>> --
> >>> Our newest site for the community: CakePHP Video 
> >>> Tutorialshttp://tv.cakephp.org
> >>> Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help 
> >>> others with their CakePHP related questions.
>
> >>> To unsubscribe from this group, send email to
> >>> cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> >>> athttp://groups.google.com/group/cake-php
>
> >>> --
> >>> Our newest site for the community: CakePHP Video 
> >>> Tutorialshttp://tv.cakephp.org
> >>> Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help 
> >>> others with their CakePHP related questions.
>
> >>> To unsubscribe from this group, send email to
> >>> cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> >>> athttp://groups.google.com/group/cake-php
>
> >> --
> >> Our newest site for the community: CakePHP Video 
> >> Tutorialshttp://tv.cakephp.org
> >> Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help 
> >> others with their CakePHP related questions.
>
> >> To unsubscribe from this group, send email to
> >> cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> >> athttp://groups.google.com/group/cake-php
>
> >> --
> >> Our newest site for the community: CakePHP Video 
> >> Tutorialshttp://tv.cakephp.org
> >> Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help 
> >> others with their CakePHP related questions.
>
> >> To unsubscribe from this group, send email to
> >> cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> >> athttp://groups.google.com/group/cake-php
>
> > --
> > Our newest sit

Re: I hate CLI

2011-11-01 Thread Jeremy Burns | Class Outfit
OK - odd. Now I can run the original command:

chmod -R a+rwX webroot/media/transfer

...so it seems that not running

chmod a+rwX webroot/media/transfer

... first stopped it from working.



Jeremy Burns
Class Outfit

Tel: +44 (0) 208 123 3822
Mob: +44 (0) 7973 481949
Skype: jeremy_burns
http://www.classoutfit.com

On 1 Nov 2011, at 11:20, Jeremy Burns | Class Outfit wrote:

> chmod a+rwX webroot/media/transfer
> 
> ...runs without error and set the permissions for the media/transfer 
> directory.
> 
> Jeremy Burns
> Class Outfit
> 
> http://www.classoutfit.com
> 
> On 1 Nov 2011, at 11:02, Ma'moon wrote:
> 
>> Will you try without -R option
>> 
>> On Tue, Nov 1, 2011 at 12:38 PM, Jeremy Burns | Class Outfit 
>>  wrote:
>> /Sites/mysitename/app
>> 
>> 
>> Jeremy Burns
>> Class Outfit
>> 
>> http://www.classoutfit.com
>> 
>> On 1 Nov 2011, at 10:33, Ma'moon wrote:
>> 
>>> Are you executing the command from the directory that contains the webroot 
>>> folder?, please run pwd to make sure of the location that you are executing 
>>> this command from
>>> 
>>> On Tue, Nov 1, 2011 at 12:24 PM, Jeremy Burns | Class Outfit 
>>>  wrote:
>>> Running that command from app I get:
>>> 
>>> chmod: -R: No such file or directory
>>> 
>>> chmod a+rwX webroot/media/{transfer,filter} -R
>>> 
>>> ... returns the same result too.
>>> 
>>> The directories do exist.
>>> 
>>> Jeremy Burns
>>> Class Outfit
>>> 
>>> Tel: +44 (0) 208 123 3822
>>> Mob: +44 (0) 7973 481949
>>> Skype: jeremy_burns
>>> http://www.classoutfit.com
>>> 
>>> 
>>> Jeremy Burns
>>> Class Outfit
>>> 
>>> http://www.classoutfit.com
>>> 
>>> On 1 Nov 2011, at 10:02, Ma'moon wrote:
>>> 
 try this chmod a+rwX -R webroot/media/{transfer,filter}
 
 On Tue, Nov 1, 2011 at 11:26 AM, Jeremy Burns 
  wrote:
 I'm a GUI man me. CLI stuff just makes me go blank. It's like staring
 into a black hole. Give me something I can point at and click and I'm
 a happy man.
 
 I'm following the tutorial for setting up David Persson's media
 plugin. Each time I run this:
 
 chmod -R a+rwX webroot/media/{transfer,filter}
 
 ... in Terminal I get this error:
 
 chmod: Invalid file mode: -R
 
 I have Googled but can't find the answer. Can any of you CLI junkies
 help me out please?
 
 --
 Our newest site for the community: CakePHP Video Tutorials 
 http://tv.cakephp.org
 Check out the new CakePHP Questions site http://ask.cakephp.org and help 
 others with their CakePHP related questions.
 
 
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group 
 at http://groups.google.com/group/cake-php
 
 
 -- 
 Our newest site for the community: CakePHP Video Tutorials 
 http://tv.cakephp.org 
 Check out the new CakePHP Questions site http://ask.cakephp.org and help 
 others with their CakePHP related questions.
  
  
 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group 
 at http://groups.google.com/group/cake-php
>>> 
>>> 
>>> -- 
>>> Our newest site for the community: CakePHP Video Tutorials 
>>> http://tv.cakephp.org 
>>> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
>>> others with their CakePHP related questions.
>>>  
>>>  
>>> To unsubscribe from this group, send email to
>>> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
>>> http://groups.google.com/group/cake-php
>>> 
>>> 
>>> -- 
>>> Our newest site for the community: CakePHP Video Tutorials 
>>> http://tv.cakephp.org 
>>> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
>>> others with their CakePHP related questions.
>>>  
>>>  
>>> To unsubscribe from this group, send email to
>>> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
>>> http://groups.google.com/group/cake-php
>> 
>> 
>> -- 
>> Our newest site for the community: CakePHP Video Tutorials 
>> http://tv.cakephp.org 
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
>> others with their CakePHP related questions.
>>  
>>  
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
>> http://groups.google.com/group/cake-php
>> 
>> 
>> -- 
>> Our newest site for the community: CakePHP Video Tutorials 
>> http://tv.cakephp.org 
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
>> others with their CakePHP related questions.
>>  
>>  
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
>> http://groups.google.com/group/cake-php
> 
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.

Re: I hate CLI

2011-11-01 Thread Ma'moon
Command line is very powerful, you just need to know how to use it and once
you got used to it you will never like doing anything out of command line.
You're welcome!

On Tue, Nov 1, 2011 at 1:20 PM, Jeremy Burns | Class Outfit <
jeremybu...@classoutfit.com> wrote:

> chmod a+rwX webroot/media/transfer
>
> ...runs without error and set the permissions for the media/transfer
> directory.
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 1 Nov 2011, at 11:02, Ma'moon wrote:
>
> Will you try without -R option
>
> On Tue, Nov 1, 2011 at 12:38 PM, Jeremy Burns | Class Outfit <
> jeremybu...@classoutfit.com> wrote:
>
>> /Sites/mysitename/app
>>
>>
>> Jeremy Burns
>> Class Outfit
>>
>> http://www.classoutfit.com
>>
>> On 1 Nov 2011, at 10:33, Ma'moon wrote:
>>
>> Are you executing the command from the directory that contains the
>> webroot folder?, please run pwd to make sure of the location that you are
>> executing this command from
>>
>> On Tue, Nov 1, 2011 at 12:24 PM, Jeremy Burns | Class Outfit <
>> jeremybu...@classoutfit.com> wrote:
>>
>>> Running that command from app I get:
>>>
>>> chmod: -R: No such file or directory
>>>
>>> chmod a+rwX webroot/media/{transfer,filter} -R
>>>
>>> ... returns the same result too.
>>>
>>> The directories do exist.
>>>
>>> Jeremy Burns
>>> Class Outfit
>>>
>>> Tel: +44 (0) 208 123 3822
>>> Mob: +44 (0) 7973 481949
>>> Skype: jeremy_burns
>>> http://www.classoutfit.com
>>>
>>>
>>> Jeremy Burns
>>> Class Outfit
>>>
>>> http://www.classoutfit.com
>>>
>>> On 1 Nov 2011, at 10:02, Ma'moon wrote:
>>>
>>> try this chmod a+rwX -R webroot/media/{transfer,filter}
>>>
>>> On Tue, Nov 1, 2011 at 11:26 AM, Jeremy Burns <
>>> jeremybu...@classoutfit.com> wrote:
>>>
 I'm a GUI man me. CLI stuff just makes me go blank. It's like staring
 into a black hole. Give me something I can point at and click and I'm
 a happy man.

 I'm following the tutorial for setting up David Persson's media
 plugin. Each time I run this:

 chmod -R a+rwX webroot/media/{transfer,filter}

 ... in Terminal I get this error:

 chmod: Invalid file mode: -R

 I have Googled but can't find the answer. Can any of you CLI junkies
 help me out please?

 --
 Our newest site for the community: CakePHP Video Tutorials
 http://tv.cakephp.org
 Check out the new CakePHP Questions site http://ask.cakephp.org and
 help others with their CakePHP related questions.


 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this
 group at http://groups.google.com/group/cake-php

>>>
>>>
>>> --
>>> Our newest site for the community: CakePHP Video Tutorials
>>> http://tv.cakephp.org
>>> Check out the new CakePHP Questions site http://ask.cakephp.org and
>>> help others with their CakePHP related questions.
>>>
>>>
>>> To unsubscribe from this group, send email to
>>> cake-php+unsubscr...@googlegroups.com For more options, visit this
>>> group at http://groups.google.com/group/cake-php
>>>
>>>
>>>
>>> --
>>> Our newest site for the community: CakePHP Video Tutorials
>>> http://tv.cakephp.org
>>> Check out the new CakePHP Questions site http://ask.cakephp.org and
>>> help others with their CakePHP related questions.
>>>
>>>
>>> To unsubscribe from this group, send email to
>>> cake-php+unsubscr...@googlegroups.com For more options, visit this
>>> group at http://groups.google.com/group/cake-php
>>>
>>
>>
>> --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group
>> at http://groups.google.com/group/cake-php
>>
>>
>>
>> --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group
>> at http://groups.google.com/group/cake-php
>>
>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>
>
>  --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@go

Re: I hate CLI

2011-11-01 Thread Jeremy Burns | Class Outfit
chmod a+rwX webroot/media/transfer

...runs without error and set the permissions for the media/transfer directory.

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 1 Nov 2011, at 11:02, Ma'moon wrote:

> Will you try without -R option
> 
> On Tue, Nov 1, 2011 at 12:38 PM, Jeremy Burns | Class Outfit 
>  wrote:
> /Sites/mysitename/app
> 
> 
> Jeremy Burns
> Class Outfit
> 
> http://www.classoutfit.com
> 
> On 1 Nov 2011, at 10:33, Ma'moon wrote:
> 
>> Are you executing the command from the directory that contains the webroot 
>> folder?, please run pwd to make sure of the location that you are executing 
>> this command from
>> 
>> On Tue, Nov 1, 2011 at 12:24 PM, Jeremy Burns | Class Outfit 
>>  wrote:
>> Running that command from app I get:
>> 
>> chmod: -R: No such file or directory
>> 
>> chmod a+rwX webroot/media/{transfer,filter} -R
>> 
>> ... returns the same result too.
>> 
>> The directories do exist.
>> 
>> Jeremy Burns
>> Class Outfit
>> 
>> Tel: +44 (0) 208 123 3822
>> Mob: +44 (0) 7973 481949
>> Skype: jeremy_burns
>> http://www.classoutfit.com
>> 
>> 
>> Jeremy Burns
>> Class Outfit
>> 
>> http://www.classoutfit.com
>> 
>> On 1 Nov 2011, at 10:02, Ma'moon wrote:
>> 
>>> try this chmod a+rwX -R webroot/media/{transfer,filter}
>>> 
>>> On Tue, Nov 1, 2011 at 11:26 AM, Jeremy Burns  
>>> wrote:
>>> I'm a GUI man me. CLI stuff just makes me go blank. It's like staring
>>> into a black hole. Give me something I can point at and click and I'm
>>> a happy man.
>>> 
>>> I'm following the tutorial for setting up David Persson's media
>>> plugin. Each time I run this:
>>> 
>>> chmod -R a+rwX webroot/media/{transfer,filter}
>>> 
>>> ... in Terminal I get this error:
>>> 
>>> chmod: Invalid file mode: -R
>>> 
>>> I have Googled but can't find the answer. Can any of you CLI junkies
>>> help me out please?
>>> 
>>> --
>>> Our newest site for the community: CakePHP Video Tutorials 
>>> http://tv.cakephp.org
>>> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
>>> others with their CakePHP related questions.
>>> 
>>> 
>>> To unsubscribe from this group, send email to
>>> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
>>> http://groups.google.com/group/cake-php
>>> 
>>> 
>>> -- 
>>> Our newest site for the community: CakePHP Video Tutorials 
>>> http://tv.cakephp.org 
>>> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
>>> others with their CakePHP related questions.
>>>  
>>>  
>>> To unsubscribe from this group, send email to
>>> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
>>> http://groups.google.com/group/cake-php
>> 
>> 
>> -- 
>> Our newest site for the community: CakePHP Video Tutorials 
>> http://tv.cakephp.org 
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
>> others with their CakePHP related questions.
>>  
>>  
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
>> http://groups.google.com/group/cake-php
>> 
>> 
>> -- 
>> Our newest site for the community: CakePHP Video Tutorials 
>> http://tv.cakephp.org 
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
>> others with their CakePHP related questions.
>>  
>>  
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
>> http://groups.google.com/group/cake-php
> 
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>  
>  
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php
> 
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>  
>  
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I hate CLI

2011-11-01 Thread Ma'moon
Will you try without -R option

On Tue, Nov 1, 2011 at 12:38 PM, Jeremy Burns | Class Outfit <
jeremybu...@classoutfit.com> wrote:

> /Sites/mysitename/app
>
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 1 Nov 2011, at 10:33, Ma'moon wrote:
>
> Are you executing the command from the directory that contains the webroot
> folder?, please run pwd to make sure of the location that you are executing
> this command from
>
> On Tue, Nov 1, 2011 at 12:24 PM, Jeremy Burns | Class Outfit <
> jeremybu...@classoutfit.com> wrote:
>
>> Running that command from app I get:
>>
>> chmod: -R: No such file or directory
>>
>> chmod a+rwX webroot/media/{transfer,filter} -R
>>
>> ... returns the same result too.
>>
>> The directories do exist.
>>
>> Jeremy Burns
>> Class Outfit
>>
>> Tel: +44 (0) 208 123 3822
>> Mob: +44 (0) 7973 481949
>> Skype: jeremy_burns
>> http://www.classoutfit.com
>>
>>
>> Jeremy Burns
>> Class Outfit
>>
>> http://www.classoutfit.com
>>
>> On 1 Nov 2011, at 10:02, Ma'moon wrote:
>>
>> try this chmod a+rwX -R webroot/media/{transfer,filter}
>>
>> On Tue, Nov 1, 2011 at 11:26 AM, Jeremy Burns <
>> jeremybu...@classoutfit.com> wrote:
>>
>>> I'm a GUI man me. CLI stuff just makes me go blank. It's like staring
>>> into a black hole. Give me something I can point at and click and I'm
>>> a happy man.
>>>
>>> I'm following the tutorial for setting up David Persson's media
>>> plugin. Each time I run this:
>>>
>>> chmod -R a+rwX webroot/media/{transfer,filter}
>>>
>>> ... in Terminal I get this error:
>>>
>>> chmod: Invalid file mode: -R
>>>
>>> I have Googled but can't find the answer. Can any of you CLI junkies
>>> help me out please?
>>>
>>> --
>>> Our newest site for the community: CakePHP Video Tutorials
>>> http://tv.cakephp.org
>>> Check out the new CakePHP Questions site http://ask.cakephp.org and
>>> help others with their CakePHP related questions.
>>>
>>>
>>> To unsubscribe from this group, send email to
>>> cake-php+unsubscr...@googlegroups.com For more options, visit this
>>> group at http://groups.google.com/group/cake-php
>>>
>>
>>
>> --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group
>> at http://groups.google.com/group/cake-php
>>
>>
>>
>> --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group
>> at http://groups.google.com/group/cake-php
>>
>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>
>
>  --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I hate CLI

2011-11-01 Thread Jeremy Burns | Class Outfit
/Sites/mysitename/app

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 1 Nov 2011, at 10:33, Ma'moon wrote:

> Are you executing the command from the directory that contains the webroot 
> folder?, please run pwd to make sure of the location that you are executing 
> this command from
> 
> On Tue, Nov 1, 2011 at 12:24 PM, Jeremy Burns | Class Outfit 
>  wrote:
> Running that command from app I get:
> 
> chmod: -R: No such file or directory
> 
> chmod a+rwX webroot/media/{transfer,filter} -R
> 
> ... returns the same result too.
> 
> The directories do exist.
> 
> Jeremy Burns
> Class Outfit
> 
> Tel: +44 (0) 208 123 3822
> Mob: +44 (0) 7973 481949
> Skype: jeremy_burns
> http://www.classoutfit.com
> 
> 
> Jeremy Burns
> Class Outfit
> 
> http://www.classoutfit.com
> 
> On 1 Nov 2011, at 10:02, Ma'moon wrote:
> 
>> try this chmod a+rwX -R webroot/media/{transfer,filter}
>> 
>> On Tue, Nov 1, 2011 at 11:26 AM, Jeremy Burns  
>> wrote:
>> I'm a GUI man me. CLI stuff just makes me go blank. It's like staring
>> into a black hole. Give me something I can point at and click and I'm
>> a happy man.
>> 
>> I'm following the tutorial for setting up David Persson's media
>> plugin. Each time I run this:
>> 
>> chmod -R a+rwX webroot/media/{transfer,filter}
>> 
>> ... in Terminal I get this error:
>> 
>> chmod: Invalid file mode: -R
>> 
>> I have Googled but can't find the answer. Can any of you CLI junkies
>> help me out please?
>> 
>> --
>> Our newest site for the community: CakePHP Video Tutorials 
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
>> others with their CakePHP related questions.
>> 
>> 
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
>> http://groups.google.com/group/cake-php
>> 
>> 
>> -- 
>> Our newest site for the community: CakePHP Video Tutorials 
>> http://tv.cakephp.org 
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
>> others with their CakePHP related questions.
>>  
>>  
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
>> http://groups.google.com/group/cake-php
> 
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>  
>  
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php
> 
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>  
>  
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I hate CLI

2011-11-01 Thread Ma'moon
Are you executing the command from the directory that contains the webroot
folder?, please run pwd to make sure of the location that you are executing
this command from

On Tue, Nov 1, 2011 at 12:24 PM, Jeremy Burns | Class Outfit <
jeremybu...@classoutfit.com> wrote:

> Running that command from app I get:
>
> chmod: -R: No such file or directory
>
> chmod a+rwX webroot/media/{transfer,filter} -R
>
> ... returns the same result too.
>
> The directories do exist.
>
> Jeremy Burns
> Class Outfit
>
> Tel: +44 (0) 208 123 3822
> Mob: +44 (0) 7973 481949
> Skype: jeremy_burns
> http://www.classoutfit.com
>
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 1 Nov 2011, at 10:02, Ma'moon wrote:
>
> try this chmod a+rwX -R webroot/media/{transfer,filter}
>
> On Tue, Nov 1, 2011 at 11:26 AM, Jeremy Burns  > wrote:
>
>> I'm a GUI man me. CLI stuff just makes me go blank. It's like staring
>> into a black hole. Give me something I can point at and click and I'm
>> a happy man.
>>
>> I'm following the tutorial for setting up David Persson's media
>> plugin. Each time I run this:
>>
>> chmod -R a+rwX webroot/media/{transfer,filter}
>>
>> ... in Terminal I get this error:
>>
>> chmod: Invalid file mode: -R
>>
>> I have Googled but can't find the answer. Can any of you CLI junkies
>> help me out please?
>>
>> --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group
>> at http://groups.google.com/group/cake-php
>>
>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>
>
>  --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I hate CLI

2011-11-01 Thread Jeremy Burns | Class Outfit
Running that command from app I get:

chmod: -R: No such file or directory

chmod a+rwX webroot/media/{transfer,filter} -R

... returns the same result too.

The directories do exist.

Jeremy Burns
Class Outfit

Tel: +44 (0) 208 123 3822
Mob: +44 (0) 7973 481949
Skype: jeremy_burns
http://www.classoutfit.com


Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 1 Nov 2011, at 10:02, Ma'moon wrote:

> try this chmod a+rwX -R webroot/media/{transfer,filter}
> 
> On Tue, Nov 1, 2011 at 11:26 AM, Jeremy Burns  
> wrote:
> I'm a GUI man me. CLI stuff just makes me go blank. It's like staring
> into a black hole. Give me something I can point at and click and I'm
> a happy man.
> 
> I'm following the tutorial for setting up David Persson's media
> plugin. Each time I run this:
> 
> chmod -R a+rwX webroot/media/{transfer,filter}
> 
> ... in Terminal I get this error:
> 
> chmod: Invalid file mode: -R
> 
> I have Googled but can't find the answer. Can any of you CLI junkies
> help me out please?
> 
> --
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
> 
> 
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php
> 
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>  
>  
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I hate CLI

2011-11-01 Thread Ma'moon
try this chmod a+rwX -R webroot/media/{transfer,filter}

On Tue, Nov 1, 2011 at 11:26 AM, Jeremy Burns
wrote:

> I'm a GUI man me. CLI stuff just makes me go blank. It's like staring
> into a black hole. Give me something I can point at and click and I'm
> a happy man.
>
> I'm following the tutorial for setting up David Persson's media
> plugin. Each time I run this:
>
> chmod -R a+rwX webroot/media/{transfer,filter}
>
> ... in Terminal I get this error:
>
> chmod: Invalid file mode: -R
>
> I have Googled but can't find the answer. Can any of you CLI junkies
> help me out please?
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-10-06 Thread AD7six


On Oct 6, 11:19 am, Jens Dittrich  wrote:
> probably the obvious, debug the output of the save function.

save() is a function written in php - a language I would hope Reynier
is familiar with - Look for it, and figure out why it's doing what
you're observing. Then "Oh...", slap forehead, fix it, and carry on.

debug(neverLookedAtTheCodeOfThisFunction()); is not going to tell you
anything.

AD

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-10-06 Thread Jens Dittrich
probably the obvious, debug the output of the save function.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-10-05 Thread reynie...@gmail.com
What you mean with debug the save function? This
debug($this->Modalidad->save()); or you mean using a IDE like Netbeans?

Ing. Reynier Pérez Mira
Cel: +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com



On Sun, Oct 2, 2011 at 5:31 PM, AD7six  wrote:

>
>
> On Oct 2, 10:46 pm, "reynie...@gmail.com"  wrote:
> > I don't use any behavior and the table has just two fields :-(
>
> why dont you debug the save function.
>
> AD
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-10-02 Thread AD7six


On Oct 2, 10:46 pm, "reynie...@gmail.com"  wrote:
> I don't use any behavior and the table has just two fields :-(

why dont you debug the save function.

AD

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-10-02 Thread CrotchFrog
Turns out that the problem was coming from sanitizing data in the
model's beforeSave() function. Have a closer look at your model
particularly validation and beforeSave functions.

On Oct 2, 4:46 pm, "reynie...@gmail.com"  wrote:
> I don't use any behavior and the table has just two fields :-(
> On Oct 2, 2011 2:50 PM, "Zaky Katalan-Ezra"  wrote:
>
>
>
>
>
>
>
> > Try to leave only one field to save then add fields one by one to get the
> > problematic field.
> > Do you use any behaviors with this model? if you do remove them and try to
> > save.
>
> > On Sun, Oct 2, 2011 at 6:14 PM, CrotchFrog  wrote:
>
> >> Just wondering if this issue has been resolved? I'm having the same
> >> problem with 2.0 RC2.
>
> >> On Sep 30, 4:46 am, "reynie...@gmail.com"  wrote:
> >> > Return "Entro" so it goes trough (!empty($this->data)) :-(
>
> >> > Ing. Reynier Pérez Mira
> >> > Cel: +58 416.921.7406
> >> > Correo: reynie...@gmail.com / reynie...@hotmail.com
>
> >> > On Fri, Sep 30, 2011 at 4:10 AM, Jeremy Burns | Class Outfit <
>
> >> > jeremybu...@classoutfit.com> wrote:
> >> > > Try this:
>
> >> > > if (!empty($this->data)) {
> >> > > $this->Modalidad->create();
> >> > > if ($this->Modalidad->save($this->data)) {
> >> > > die("Entro");
> >> > > } else {
> >> > > $this->Session->setFlash('Ocurrieron errores salvando los datos',
> >> > > 'default', array('class' => 'example_class'));
> >> > > die(debug($this->Modalidad->validationErrors));
> >> > > }
> >> > > /* you don't need to use $this->render(), so get rid of it
> >> > > } else {
> >> > > $this->render();
> >> > > */
> >> > > }
>
> >> > > Jeremy Burns
> >> > > Class Outfit
>
> >> > > Tel: +44 (0) 208 123 3822
> >> > > Mob: +44 (0) 7973 481949
> >> > > Skype: jeremy_burns
> >> > >http://www.classoutfit.com
>
> >> --
> >> Our newest site for the community: CakePHP Video Tutorials
> >>http://tv.cakephp.org
> >> Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> >> others with their CakePHP related questions.
>
> >> To unsubscribe from this group, send email 
> >> to>>cake-php+unsubscribe@googlegroups.comFor more options, visit this group
> >> athttp://groups.google.com/group/cake-php
>
> > --
> > Our newest site for the community: CakePHP Video Tutorials
>
> http://tv.cakephp.org> Check out the new CakePHP Questions 
> sitehttp://ask.cakephp.organd help
>
> others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email 
> > to>cake-php+unsubscribe@googlegroups.comFor more options, visit this group
>
> athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-10-02 Thread reynie...@gmail.com
I don't use any behavior and the table has just two fields :-(
On Oct 2, 2011 2:50 PM, "Zaky Katalan-Ezra"  wrote:
> Try to leave only one field to save then add fields one by one to get the
> problematic field.
> Do you use any behaviors with this model? if you do remove them and try to
> save.
>
>
> On Sun, Oct 2, 2011 at 6:14 PM, CrotchFrog  wrote:
>
>> Just wondering if this issue has been resolved? I'm having the same
>> problem with 2.0 RC2.
>>
>> On Sep 30, 4:46 am, "reynie...@gmail.com"  wrote:
>> > Return "Entro" so it goes trough (!empty($this->data)) :-(
>> >
>> > Ing. Reynier Pérez Mira
>> > Cel: +58 416.921.7406
>> > Correo: reynie...@gmail.com / reynie...@hotmail.com
>> >
>> > On Fri, Sep 30, 2011 at 4:10 AM, Jeremy Burns | Class Outfit <
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > jeremybu...@classoutfit.com> wrote:
>> > > Try this:
>> >
>> > > if (!empty($this->data)) {
>> > > $this->Modalidad->create();
>> > > if ($this->Modalidad->save($this->data)) {
>> > > die("Entro");
>> > > } else {
>> > > $this->Session->setFlash('Ocurrieron errores salvando los datos',
>> > > 'default', array('class' => 'example_class'));
>> > > die(debug($this->Modalidad->validationErrors));
>> > > }
>> > > /* you don't need to use $this->render(), so get rid of it
>> > > } else {
>> > > $this->render();
>> > > */
>> > > }
>> >
>> > > Jeremy Burns
>> > > Class Outfit
>> >
>> > > Tel: +44 (0) 208 123 3822
>> > > Mob: +44 (0) 7973 481949
>> > > Skype: jeremy_burns
>> > >http://www.classoutfit.com
>>
>> --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group
>> at http://groups.google.com/group/cake-php
>>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
at http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-10-02 Thread reynie...@gmail.com
Well I'm using 1.3.12 so I didn't know where it fails
On Oct 2, 2011 11:45 AM, "CrotchFrog"  wrote:
> Just wondering if this issue has been resolved? I'm having the same
> problem with 2.0 RC2.
>
> On Sep 30, 4:46 am, "reynie...@gmail.com"  wrote:
>> Return "Entro" so it goes trough (!empty($this->data)) :-(
>>
>> Ing. Reynier Pérez Mira
>> Cel: +58 416.921.7406
>> Correo: reynie...@gmail.com / reynie...@hotmail.com
>>
>> On Fri, Sep 30, 2011 at 4:10 AM, Jeremy Burns | Class Outfit <
>>
>>
>>
>>
>>
>>
>>
>> jeremybu...@classoutfit.com> wrote:
>> > Try this:
>>
>> > if (!empty($this->data)) {
>> > $this->Modalidad->create();
>> >  if ($this->Modalidad->save($this->data)) {
>> > die("Entro");
>> > } else {
>> >  $this->Session->setFlash('Ocurrieron errores salvando los datos',
>> > 'default', array('class' => 'example_class'));
>> >  die(debug($this->Modalidad->validationErrors));
>> > }
>> > /* you don't need to use $this->render(), so get rid of it
>> > } else {
>> > $this->render();
>> >  */
>> > }
>>
>> > Jeremy Burns
>> > Class Outfit
>>
>> > Tel: +44 (0) 208 123 3822
>> > Mob: +44 (0) 7973 481949
>> > Skype: jeremy_burns
>> >http://www.classoutfit.com
>
> --
> Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
at http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-10-02 Thread Zaky Katalan-Ezra
Try to leave only one field to save then add fields one by one to get the
problematic field.
Do you use any behaviors with this model? if you do remove them and try to
save.


On Sun, Oct 2, 2011 at 6:14 PM, CrotchFrog  wrote:

> Just wondering if this issue has been resolved? I'm having the same
> problem with 2.0 RC2.
>
> On Sep 30, 4:46 am, "reynie...@gmail.com"  wrote:
> > Return "Entro" so it goes trough (!empty($this->data)) :-(
> >
> > Ing. Reynier Pérez Mira
> > Cel: +58 416.921.7406
> > Correo: reynie...@gmail.com / reynie...@hotmail.com
> >
> > On Fri, Sep 30, 2011 at 4:10 AM, Jeremy Burns | Class Outfit <
> >
> >
> >
> >
> >
> >
> >
> > jeremybu...@classoutfit.com> wrote:
> > > Try this:
> >
> > > if (!empty($this->data)) {
> > > $this->Modalidad->create();
> > >  if ($this->Modalidad->save($this->data)) {
> > > die("Entro");
> > > } else {
> > >  $this->Session->setFlash('Ocurrieron errores salvando los datos',
> > > 'default', array('class' => 'example_class'));
> > >  die(debug($this->Modalidad->validationErrors));
> > > }
> > > /* you don't need to use $this->render(), so get rid of it
> > > } else {
> > > $this->render();
> > >  */
> > > }
> >
> > > Jeremy Burns
> > > Class Outfit
> >
> > > Tel: +44 (0) 208 123 3822
> > > Mob: +44 (0) 7973 481949
> > > Skype: jeremy_burns
> > >http://www.classoutfit.com
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-10-02 Thread CrotchFrog
Just wondering if this issue has been resolved? I'm having the same
problem with 2.0 RC2.

On Sep 30, 4:46 am, "reynie...@gmail.com"  wrote:
> Return "Entro" so it goes trough (!empty($this->data)) :-(
>
> Ing. Reynier Pérez Mira
> Cel: +58 416.921.7406
> Correo: reynie...@gmail.com / reynie...@hotmail.com
>
> On Fri, Sep 30, 2011 at 4:10 AM, Jeremy Burns | Class Outfit <
>
>
>
>
>
>
>
> jeremybu...@classoutfit.com> wrote:
> > Try this:
>
> > if (!empty($this->data)) {
> > $this->Modalidad->create();
> >  if ($this->Modalidad->save($this->data)) {
> > die("Entro");
> > } else {
> >  $this->Session->setFlash('Ocurrieron errores salvando los datos',
> > 'default', array('class' => 'example_class'));
> >  die(debug($this->Modalidad->validationErrors));
> > }
> > /* you don't need to use $this->render(), so get rid of it
> > } else {
> > $this->render();
> >  */
> > }
>
> > Jeremy Burns
> > Class Outfit
>
> > Tel: +44 (0) 208 123 3822
> > Mob: +44 (0) 7973 481949
> > Skype: jeremy_burns
> >http://www.classoutfit.com

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-09-30 Thread Jeremy Burns | Class Outfit
Try this:

if (!empty($this->data)) {
$this->Modalidad->create();
if ($this->Modalidad->save($this->data)) {
die("Entro");
} else {
$this->Session->setFlash('Ocurrieron errores salvando los 
datos', 'default', array('class' => 'example_class'));
die(debug($this->Modalidad->validationErrors));
}
/* you don't need to use $this->render(), so get rid of it
} else {
$this->render();
 */
}

Jeremy Burns
Class Outfit

Tel: +44 (0) 208 123 3822
Mob: +44 (0) 7973 481949
Skype: jeremy_burns
http://www.classoutfit.com

On 30 Sep 2011, at 09:32, reynie...@gmail.com wrote:

> Well the DB isn't MySQL it's SQLite3 ;) I debug $this->data and have values 
> and where I need to write debug($this->Modalidad->validationErrors); after 
> create() or after save()? I'm newbie with Cake and I'm trying to learning and 
> thanks all of yours for the help you bring to me
> 
> Ing. Reynier Pérez Mira
> Cel: +58 416.921.7406
> Correo: reynie...@gmail.com / reynie...@hotmail.com
> 
> 
> 
> On Thu, Sep 29, 2011 at 12:33 PM, Toby G  wrote:
> I think we'll need some more info...
> 
> I woud suggest inspecting your validation erros to see if that's
> preventing the records from being saved.
> 
>  debug( $this->Modalidad->validationErrors );
> 
> If you enable debugging, can you see any insert comments in the MySQL
> debugging info?
> 
> 
> 
> On Sep 29, 3:53 pm, "reynie...@gmail.com"  wrote:
> > Hi,
> > I have a BIG problem because as the title says I can find() but can't save()
> > and not understand where the problem is. This the 
> > code:http://pastebin.com/VNYSh5j3, can any help me to find where the 
> > problem is?
> >
> > Cheers and thanks in advance
> > Ing. Reynier Pérez Mira
> > Cel: +58 416.921.7406
> > Correo: reynie...@gmail.com / reynie...@hotmail.com
> 
> --
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
> 
> 
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php
> 
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>  
>  
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-09-30 Thread reynie...@gmail.com
Return "Entro" so it goes trough (!empty($this->data)) :-(

Ing. Reynier Pérez Mira
Cel: +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com



On Fri, Sep 30, 2011 at 4:10 AM, Jeremy Burns | Class Outfit <
jeremybu...@classoutfit.com> wrote:

> Try this:
>
> if (!empty($this->data)) {
> $this->Modalidad->create();
>  if ($this->Modalidad->save($this->data)) {
> die("Entro");
> } else {
>  $this->Session->setFlash('Ocurrieron errores salvando los datos',
> 'default', array('class' => 'example_class'));
>  die(debug($this->Modalidad->validationErrors));
> }
> /* you don't need to use $this->render(), so get rid of it
> } else {
> $this->render();
>  */
> }
>
> Jeremy Burns
> Class Outfit
>
> Tel: +44 (0) 208 123 3822
> Mob: +44 (0) 7973 481949
> Skype: jeremy_burns
> http://www.classoutfit.com
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-09-30 Thread reynie...@gmail.com
Well the DB isn't MySQL it's SQLite3 ;) I debug $this->data and have values
and where I need to write debug($this->Modalidad->validationErrors); after
create() or after save()? I'm newbie with Cake and I'm trying to learning
and thanks all of yours for the help you bring to me

Ing. Reynier Pérez Mira
Cel: +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com



On Thu, Sep 29, 2011 at 12:33 PM, Toby G  wrote:

> I think we'll need some more info...
>
> I woud suggest inspecting your validation erros to see if that's
> preventing the records from being saved.
>
>  debug( $this->Modalidad->validationErrors );
>
> If you enable debugging, can you see any insert comments in the MySQL
> debugging info?
>
>
>
> On Sep 29, 3:53 pm, "reynie...@gmail.com"  wrote:
> > Hi,
> > I have a BIG problem because as the title says I can find() but can't
> save()
> > and not understand where the problem is. This the code:
> http://pastebin.com/VNYSh5j3, can any help me to find where the problem
> is?
> >
> > Cheers and thanks in advance
> > Ing. Reynier Pérez Mira
> > Cel: +58 416.921.7406
> > Correo: reynie...@gmail.com / reynie...@hotmail.com
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-09-30 Thread reynie...@gmail.com
I wrote the code after $this->Modalidad->save($this->data) and this are the
results:

debug($this->Modalidad->validationErrors);
*
Array
(
)*

debug($this->data);*
Array
(
[Modalidad] => Array
(
[nombre] => sdfsdfsd
[descripcion] => fsdfsdfd
)
)*

So there is data and no errors :-(

Ing. Reynier Pérez Mira
Cel: +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com



On Fri, Sep 30, 2011 at 4:02 AM, reynie...@gmail.com wrote:

> Well the DB isn't MySQL it's SQLite3 ;) I debug $this->data and have values
> and where I need to write debug($this->Modalidad->validationErrors); after
> create() or after save()? I'm newbie with Cake and I'm trying to learning
> and thanks all of yours for the help you bring to me
>
>
> Ing. Reynier Pérez Mira
> Cel: +58 416.921.7406
> Correo: reynie...@gmail.com / reynie...@hotmail.com
>
>
>
> On Thu, Sep 29, 2011 at 12:33 PM, Toby G  wrote:
>
>> I think we'll need some more info...
>>
>> I woud suggest inspecting your validation erros to see if that's
>> preventing the records from being saved.
>>
>>  debug( $this->Modalidad->validationErrors );
>>
>> If you enable debugging, can you see any insert comments in the MySQL
>> debugging info?
>>
>>
>>
>> On Sep 29, 3:53 pm, "reynie...@gmail.com"  wrote:
>> > Hi,
>> > I have a BIG problem because as the title says I can find() but can't
>> save()
>> > and not understand where the problem is. This the code:
>> http://pastebin.com/VNYSh5j3, can any help me to find where the problem
>> is?
>> >
>> > Cheers and thanks in advance
>> > Ing. Reynier Pérez Mira
>> > Cel: +58 416.921.7406
>> > Correo: reynie...@gmail.com / reynie...@hotmail.com
>>
>> --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group
>> at http://groups.google.com/group/cake-php
>>
>
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-09-30 Thread Jeremy Burns | Class Outfit
Have you checked the structure and content of $this->data before the save, and 
have you checked for validation errors whenit fails? In the 'else' piece (where 
save has failed) type die(debug($this->Modalidad->validationErrors)); and see 
if something is failing.


Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 30 Sep 2011, at 09:07, reynie...@gmail.com wrote:

> Didn't work either and not, I not change the structure of the table or 
> database :-(
> Ing. Reynier Pérez Mira
> Cel: +58 416.921.7406
> Correo: reynie...@gmail.com / reynie...@hotmail.com
> 
> 
> 
> On Fri, Sep 30, 2011 at 2:52 AM, abhimanyu bv  wrote:
> check this:
> http://pastebin.com/MKT4RVkK
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>  
>  
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php
> 
> 
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>  
>  
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-09-30 Thread Toby G
I think we'll need some more info...

I woud suggest inspecting your validation erros to see if that's
preventing the records from being saved.

  debug( $this->Modalidad->validationErrors );

If you enable debugging, can you see any insert comments in the MySQL
debugging info?



On Sep 29, 3:53 pm, "reynie...@gmail.com"  wrote:
> Hi,
> I have a BIG problem because as the title says I can find() but can't save()
> and not understand where the problem is. This the 
> code:http://pastebin.com/VNYSh5j3, can any help me to find where the problem 
> is?
>
> Cheers and thanks in advance
> Ing. Reynier Pérez Mira
> Cel: +58 416.921.7406
> Correo: reynie...@gmail.com / reynie...@hotmail.com

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-09-30 Thread reynie...@gmail.com
Didn't work either and not, I not change the structure of the table or
database :-(
Ing. Reynier Pérez Mira
Cel: +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com



On Fri, Sep 30, 2011 at 2:52 AM, abhimanyu bv  wrote:

> check this:
> http://pastebin.com/MKT4RVkK
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-09-30 Thread abhimanyu bv
have you changed the structure of the table? if you done anything related to
database table structure, please delete the files in tmp/cache/models
folder.it will work

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-09-30 Thread abhimanyu bv
check this:
http://pastebin.com/MKT4RVkK

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-09-29 Thread reynie...@gmail.com
You mean this: http://pastebin.com/6UsGga4k, didn't work either but it die
"Entro" ,what I'm doing wrong? Need the SQLite3 DB specials permissions? I'm
in Win7 x64 with XAMPP.

Ing. Reynier Pérez Mira
Cel: +58 416.921.7406
Correo: reynie...@gmail.com / reynie...@hotmail.com



On Fri, Sep 30, 2011 at 12:06 AM, abhimanyu bv  wrote:

> add this line before save,  $this->Modalidad->create();
>
> Check whether its working or not?
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can find() but can't save(), why?

2011-09-29 Thread abhimanyu bv
add this line before save,  $this->Modalidad->create();

Check whether its working or not?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I have problem in use cakedc rating plugin

2011-07-21 Thread taqman filler
did you mean variable in plugin
'item' => null,
 I found in plugin

2011/7/21 Fábio Luciano 

> What you have in the item variable?
>
> On Wed, Jul 20, 2011 at 23:14, taqman filler  wrote:
>
>> the plugin is easy to install but I have problem in picture
>>
>> http://upic.me/show/26362740
>>
>> please help me to solve it
>>
>> --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group
>> at http://groups.google.com/group/cake-php
>>
>
>
>
> --
> 
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I have problem in use cakedc rating plugin

2011-07-21 Thread Fábio Luciano
What you have in the item variable?

On Wed, Jul 20, 2011 at 23:14, taqman filler  wrote:

> the plugin is easy to install but I have problem in picture
>
> http://upic.me/show/26362740
>
> please help me to solve it
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>



-- 


-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I got problem in cakedc comment plugin

2011-07-06 Thread taqman filler
public $userModelClass = 'User';

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I got problem in cakedc comment plugin

2011-07-06 Thread Jens Dittrich
to me it looks like you should the userModelClass when using the Comments 
plugin. Tried that?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I need help to modified code

2011-07-04 Thread Sathia S
On Sat, Jul 2, 2011 at 1:07 AM, taqman filler  wrote:

> I need to send data from ajax to controller
> some body help me to modified code
> this ajax code
> ajax.js
> function loadtooltip(obj, $user_id) {
>  //AJAX
>  var req = Inint_AJAX();
>  req.onreadystatechange = function () {
>   if (req.readyState==4) {
>if (req.status==200) {
> displaytooltip(obj, req.responseText);
>}
>   }
>  };
>  //���ҧ connection
>  req.open("POST", "
> http://127.0.0.1/cakeplate/tooltips/tooltip/$user_id";, true);
>  req.setRequestHeader("Content-Type",
> "application/x-www-form-urlencoded");
>  req.send($user_id); //�觤��
> };
>
>
try $.ajax in jqyery

$.ajax{(
   type: "POST",
 url: 
"http://127.0.0.1/cakeplate/tooltips/tooltip/"+user_id,
// get user_id and pass it here
 success: function(msg){
   $('.class').html(' '+msg);  // this is will get result
 }
});

Link : http://api.jquery.com/jQuery.ajax/


Regards

sathia
http://www.sathia27.wordpress.com

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I need plugin to build social network

2011-07-04 Thread euromark
looks to me like some other php framework but i cant quite figure out
which one.
unfortunately the source code is encrypted :)


On 4 Jul., 10:30, Zaky Katalan-Ezra  wrote:
> Try socialengine  framework
>
> On Mon, Jul 4, 2011 at 11:20 AM, euromark wrote:
>
>
>
>
>
>
>
>
>
> > i need a drink
> > a drink that can make my day :)
>
> > On 4 Jul., 05:33, taqman filler  wrote:
> > > I need to use cake plugin to build social network
> > >  plugin of the kind that can make it
>
> > > thank
>
> > --
> > Our newest site for the community: CakePHP Video Tutorials
> >http://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group
> > athttp://groups.google.com/group/cake-php
>
> --
> Regards,
> Zaky Katalan-Ezra
> QA Administratorwww.IGeneriX.com
> Sites.IGeneriX.com
> 054-7762312

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I need plugin to build social network

2011-07-04 Thread Zaky Katalan-Ezra
Try socialengine  framework

On Mon, Jul 4, 2011 at 11:20 AM, euromark wrote:

> i need a drink
> a drink that can make my day :)
>
> On 4 Jul., 05:33, taqman filler  wrote:
> > I need to use cake plugin to build social network
> >  plugin of the kind that can make it
> >
> > thank
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>



-- 
Regards,
Zaky Katalan-Ezra
QA Administrator
www.IGeneriX.com
Sites.IGeneriX.com
054-7762312

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I need plugin to build social network

2011-07-04 Thread euromark
i need a drink
a drink that can make my day :)

On 4 Jul., 05:33, taqman filler  wrote:
> I need to use cake plugin to build social network
>  plugin of the kind that can make it
>
> thank

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can't create AROS automatically and I don't know why

2011-07-01 Thread CaStarCo
yes, it works :)

2011/7/1 krisspnet 

> Ahahahahahah !!!
>
> I didn't saw it 
>
> Well, did you tried your code without my adds ?
> Does it works without ?
>
> --
> View this message in context:
> http://cakephp.1045679.n5.nabble.com/I-can-t-create-AROS-automatically-and-I-don-t-know-why-tp4541318p4541628.html
> Sent from the CakePHP mailing list archive at Nabble.com.
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>



-- 
- Per la llibertat del coneixement -
- Per la llibertat de la ment...   -

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: I can't create AROS automatically and I don't know why

2011-07-01 Thread krisspnet
Ahahahahahah !!! 

I didn't saw it 

Well, did you tried your code without my adds ?
Does it works without ?

--
View this message in context: 
http://cakephp.1045679.n5.nabble.com/I-can-t-create-AROS-automatically-and-I-don-t-know-why-tp4541318p4541628.html
Sent from the CakePHP mailing list archive at Nabble.com.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


  1   2   3   4   5   >