Re: Abridged summary of cake-php@googlegroups.com - 20 Messages in 9 Topics

2013-05-07 Thread Jerry Lee


-- 
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: POST form changes to PUT

2013-05-07 Thread Jeremy Burns | Class Outfit
I had a similar issue a while back. I can't find the reference now, but I'm 
sure I read an article that confirmed that in some cases the helper creates a 
PUT rather than a POST. The only reference I can see now is 
http://book.cakephp.org/2.0/en/core-libraries/helpers/form.html#creating-forms 
that states it's a POST on create and a PUT on edit (read the second 'output'; 
"Since this is an edit form, a hidden input field is generated to override the 
default HTTP method."). Could that be what's happening in your case?

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 7 May 2013, at 21:17:40, "Advantage+"  wrote:

> Right I understand all that, thanks.
>  
> My question is more about why Cake is changing 1 of the forms to PUT when 
> it's set as POST.
> All forms are created using the Html helper, all forms have the same  1 
> hidden input which all show up with _method = post in the hidden div on all 
> form, all run thru the same jQuery submit function yet 1 form somehow is 
> getting converted to PUT.
>  
> I have deleted records so there is no existing record to PUT so it should be 
> POST, no matter what this 1 form will not accept POST.
>  
> There must be 50 forms / users / admin to add edit data and all use the same 
> function, same js, all have the 1 hidden field, all go to POST except 1 form. 
> This is what puzzles me since it is just the one form. Not so much the 
> functionality of the POST vs PUT but rather why just this 1 form.
>  
> Thanks,
>  
> Dave
>  
> From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf 
> Of André Luis
> Sent: Tuesday, May 07, 2013 4:06 PM
> To: cake-php@googlegroups.com
> Subject: Re: POST form changes to PUT
>  
> The "PUT" method is when you are updating something, but cake doesnt really 
> uses the put method, but a hidden field with "PUT" as value... So when you 
> have a populated data, even if you´re not updating but creating, it will 
> recognize as PUT
>  
> But both methods will get submited as well, and will have the same data 
> structure, so you can work with both "PUT" or "POST" method the same way, all 
> you need to do is to check not only if the request is "post" but also check 
> if the request is "put"
> 
> Em segunda-feira, 6 de maio de 2013 15h47min55s UTC-3, advantage+ escreveu:
> Running into a weird issue where my form as rendered the HTML shows:
>  
>  method="post" action="/manage/profile">
>  
> This form is submitted using ajax and the function is used by many forms thru 
> the site:
> $.ajax({
> type: "POST",
> url: $(sel).attr('action'),
> data: $(sel).formSerialize(),
> dataType: 'json',
>  
> And in the controller I have if($this->request->is('ajax') && 
> ($this->request->is('post'))
>  
> But it fails on this 1 form because for some reason it is changing to PUT.
>  
> Are there reason why this would be happening? I looked at a few of my forms 
> using this js function and all of the forms and all are set up the exact same 
> way / Form->helper standard inputs / selects.
>  
> I even added into the form with issues 'method' => 'POST' (upper and lower) 
> but it still fires off a PUT request. Renders as POST but inspecting the 
> request shows:
>  
> application/x-www-form-urlencoded
> _methodPUT
>  
> Ideas would be welcome.
> -- 
> 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.
>  
>  
> 
> -- 
> 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.

-- 
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: Using Notepad++ to edit .ctp files

2013-05-07 Thread mamat hensem
thanks. i also thought i didn't work for me until i closed and open back 
the file.

On Monday, March 8, 2010 6:19:30 AM UTC+8, nickadeemus2002 wrote:
>
>
> This didn't work for me at first either. I too have the latest version of
> Notepad++.  I eventually got it to work with one simple step.  I followed
> the OP instructions and entered "ctp" as the user ext. When I clicked 
> "close
> and save" in the style configurator, I was back on the main text editor
> screen with my .ctp file still open.  When I closed Notepad++ and 
> restarted,
> the .ctp file opened up with no style rules.  I had to click the file so it
> CLOSED, then CLOSED Notepad++, and reopened again.  This time, the .ctp 
> file
> had all the php style rules applied. 
>
> Hope this helps.
>
> chris
>  
> -- 
> View this message in context: 
> http://n2.nabble.com/Using-Notepad-to-edit-ctp-files-tp3444330p4692229.html
> Sent from the CakePHP mailing list archive at Nabble.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 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: Router::mapResources with Configure::write('Routing.admin', 'admin');

2013-05-07 Thread Palli Kominak
i did it this way (without resourceMap() ):

Router::mapResources('lessons', array('prefix' => '/admin/'));

and then i could call REST on /myApp/admin/lessons/delete/1


On Saturday, August 4, 2012 6:05:30 PM UTC+2, Pelz wrote:
>
> I'm having the same problem (but with 2.2.1). What I did was this:
>
> Router::resourceMap(array(array('action' => 'admin_delete', 'method' => 
> 'DELETE', 'id' => true)));
> Router::mapResources('CookingUtensils', array('prefix' => '/admin/'));
> Router::parseExtensions('xml');
>
> but it doesn't work and I get:
>
> 
> 404
> /MYPROJECTNAME/admin/cooking_utensils/7.xml
> Private Action CookingUtensilsController::admin_delete() is not 
> directly accessible.
> 
>
> Does someone know how to do this correctly?
>
> On Thursday, November 1, 2007 2:04:40 PM UTC+1, slawil wrote:
>>
>> Hi,
>> I have enable Configure::write('Routing.admin', 'admin'); in core.php
>>
>> and add
>>
>> Router::mapResources('translators');
>>
>> to route.php
>>
>>
>> now when i try to send HTTP DELETE request to /admin/translators/1
>> I'm getting error:
>>
>> Missing Method in TranslatorsController
>> You are seeing this error because the action admin_1 is not defined in
>> controller TranslatorsController
>>
>> i try with
>> Router::mapResources('translators',params("prefix"=>"admin/")); but
>> without any luck.
>>
>> Is it this possible in cake 1.2 pre-beta to use admin routing with
>> REST routing ?
>>
>>

-- 
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.




ERROR: AclNode::node() - Couldn't find Aro node identified by "Array ( [Aro0.model] => User [Aro0.foreign_key] => ) "

2013-05-07 Thread Avo Sarafian
Hello Fahad, how are you?

well, im just gona hand it to you, im going suicidal at an issue that im 
having with my custom login. The thing is, I've integrated the Facebook 
plugin on croogo 1.4.4, from 
https://github.com/webtechnick/CakePHP-Facebook-Plugin. The only reason 
that im not using this plugin's register is because i want to manage the 
login myself. their code is quite buggy, im only using it for the API which 
offers for Facebook PHP api.

Anyhoo, so i've created an action called *fblogin()* apart from the simple 
user login(). this is because i want my users to register manually in case 
they do not have facebook accounts; therefore, i would want to manage the 
Auth myself. So, below is my public function *fblogin()

*

> *public function fblogin(){*
> *//actions to grab facebook response after fb.login() button is pressed*
>
> //first i create a new user
> $this->User->create();
> $new_user = array();
>
> $new_user['User']['username'] = "test1";
> $new_user['User']['password'] = "password123";
>
> //...*assign the rest of the necessary fields (email, phone, website, 
> etc...)
>
> *if($this->User->save($new_user)){ 
> $this->Session->setFlash(__('Your account was successfully created.'), 
> 'default', array('class' => 'success'));
> $login_auth = array('username'=>$new_user['User']['facebook_id'], 
> 'password'=>$new_user['User']['password']);
>
> $this->Auth->authenticate = array(
> 'Form' => array(
> 'fields' => array('username' => 'username', 
> 'password' => $this->modelFields['password'])
> )
> );
>
> if ($this->Auth->login($login_auth)) {
> $this->Session->setFlash(__('You are now logged in 
> as '.$full_name.' - '.$new_user['User']['password']), 'default', 
> array('class' => 'success'));
>
> return $this->redirect('/');
> }
> }
>
> *} *
>

Below is the error that I receive:

*Notice* (8): Undefined index: id [*CORE/Cake/Model/AclNode.php*, line *140*]
>
> AclNode::node() - Couldn't find Aro node identified by "Array ( [Aro0.model] 
> => User [Aro0.foreign_key] => ) "
>
> *Error: * An Internal Error Has Occurred.
>


I'm gona cry!... :'( - I might be standing in the wrong corner as I'm 
pretty sure that it's a CakePHP issue, and not a Croogo. is there something 
else that im missing?

-- 
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.




Routing for optional controller using generic controller otherwise / Dynamic Routing.

2013-05-07 Thread Sebastian Piskorski
I'd like to make an application in CakePHP which manages exercises and 
users results. Users and results are not important in this question.

I want to have a possibility to add an exercise with adding only a specific 
table and line to .ini config file. Application should route to a 
GenericExercisesController if specific one doesn't exists. Controller 
should load a GenericExerciseModel if specific doesn't exists. I'd managed 
with model loading and partially with routing with controller like this:

In `route.php`

foreach(Configure::read('exercisesTables') as $exerciseName){
if( App::import('Controller', Inflector::pluralize($exerciseName))){

Router::connect('/exercises/'.Inflector::pluralize($exerciseName).'/:action', 
array('controller' => Inflector::pluralize($exerciseName)));
}else{

Router::connect('/exercises/'.Inflector::pluralize($exerciseName).'/:action', 
array('controller' => 'GenericExercises', 'fakeModel' => $exerciseName));
}
}

So if I want to load an exercise **Foo** I should use address:

`http://example.com/exercises/Foos/view`

And this works fine, doesn't matter if specific controller exists. 

Problem begins when I use reverse routing to generate links in views. If 
exercise **Foo** have specific controller this works correctly:

`print $this->Html->url(array('controller' => 
Inflector::pluralize($exerciseName), 'action' => 'view'));` 
produces:
`/exercises/Foos/view`

But when exercise **Bar** doesn't have specific controller then the same 
code produces:
`/Bars`

This causes a problem, there is no `Bars` Controller.

Temporarily I'm generating those links manually, but I don't think that 
this is the best solution:

`print 
$this->Html->url("/".Configure::read('exerciseRoutingPrefix')."/".Inflector::pluralize($exerciseName)."/view");`

Those are routes in `route.php` defined before `foreach` in order as 
they're in file:

Router::connect('/', array('controller' => 'questions', 'action' => 
'regulations'));
Router::connect('/pages/*', array('controller' => 'pages', 'action' => 
'display'));
Router::connect('/help', array('controller' => 'pages', 'action' => 
'faq'));

Maybe someone of you know a better solution. Thank you for reading my 
question.

-- 
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.




Relational Model Data is not comming in paginator

2013-05-07 Thread Faysal
Dear All,

I have developed my application in windows flatform. in Windows
application is running fine. after hosted in linux server it is not
working please check the outuput array for better understand. Please
help to sort out this issue.
Windows Machine
Array
(
[Issue] => Array
(
[id] => 1
[reference_number] => 2013040900
[customer_id] => 6
[reported_by] => N/A
[reported_phone_number] => N/A
[issue_detail] => CRM Number Inclusion

[issuecategory_id] => 4
[issuetype_id] => 5
[service_id] => 2
[system_id] =>
[impact_to_business] => Ticket  will reduce from next
week

[source_id] => 1
[source_ref] => Ticketing Tools
[user_id] => 10
[accountable] => Arafat Ahmed
[issue_raised_date] =>
[issue_close_date] =>
[commited_close_date] => 03/31/2013 00:00:00
[status_id] => 5
[root_cause] => New number series were not included into
the system

[action_plan] => -User feedback collect
-Root Cause Analysis
-Action

New number series has been included into system.

[remarks] =>
[created] => 2013-04-09 07:36:06
[modified] => 2013-04-09 07:36:06
[is_active] => 0
[created_by] => 7
)

[Customer] => Array
(
[id] => 6
[org_name] => Grameenphone
[customer_name] => Gp
[customer_phone] => 0171100
[customer_email] => g...@gp.com
[customer_address] => test data
[created] => 2013-03-28 05:42:17
[modified] => 2013-04-09 06:45:37
[is_active] => 0
)

[IssueType] => Array
(
[id] => 5
[type_name] => System
[remarks] =>
[created] => 2013-03-25 13:08:52
[modified] => 2013-04-09 07:07:03
[is_active] => 0
)

[Issuecategory] => Array
(
[id] => 4
[issue_category_name] => CRM
[remarks] =>
[created] => 2013-03-25 12:35:58
[modified] => 2013-04-09 07:02:57
[is_active] => 0
)

[Service] => Array
(
[id] => 2
[service_name] => CRM
[remarks] =>
[created] => 2013-03-23 10:24:36
[modified] => 2013-04-09 06:53:51
[is_active] => 0
)

[User] => Array
(
[id] => 10
[username] => arafat
[password] => c1625957113055813da822935ed5359f0b8b695d
[full_name] => Arafat Ahmed
[mobile_number] => 0171100
[email] => bfka...@gpit.com
[group_id] => 1
[created] => 2013-04-09 07:28:52
[modified] => 2013-04-09 07:28:52
[is_active] => 0
)

[System] => Array
(
[id] =>
[service_id] =>
[system_name] =>
[remarks] =>
[created] =>
[modified] =>
[is_active] =>
)

[Source] => Array
(
[id] => 1
[source_name] => Complain
[remarks] =>
[created] => 2013-03-23 10:46:56
[modified] => 2013-03-23 10:46:56
[is_active] => 0
)

[Status] => Array
(
[id] => 5
[status_name] => In progress
[remarks] =>
[created] =>
[modified] => 2013-04-09 07:08:48
[is_active] => 0
)

)
ID  Issue DetailClient Name Responsible Person  Raised Date 
Closed Date
Status  Action



Linux Machine
Array
(
[Issue] => Array
(
[id] => 1
[reference_number] => 2013040900
[customer_id] => 6
[reported_by] => N/A
[reported_phone_number] => N/A
[issue_detail] => CRM Number Inclusion

[issuecategory_id] => 4
[issuetype_id] => 5
[service_id] => 2
[system_id] =>
[impact_to_business] => Ticket  will reduce from next
week

[source_id] => 1
[source_ref] => Ticketing Tools
[user_id] => 10
[accountable] => Arafat Ahmed
[issue_raised_date] =>
[issue_close_date] =>
[commited_close_date] => 03/31/2013 00:00:00
[status_id] => 5
[root_cause] => New number series were not included into
the system

[action_plan] => -User feedback collect
-Root Cause Analysis
-Action

New number series has been included into system.

[remarks] =>
[created] => 2013-04-09 07:36:06
[modified] => 2013-04-09 07:36:06
[is_active] => 0
[created_by] => 7
)

)
ID  Issue De

RE: POST form changes to PUT

2013-05-07 Thread Advantage+
Right I understand all that, thanks.

 

My question is more about why Cake is changing 1 of the forms to PUT when
it's set as POST.

All forms are created using the Html helper, all forms have the same  1
hidden input which all show up with _method = post in the hidden div on all
form, all run thru the same jQuery submit function yet 1 form somehow is
getting converted to PUT.

 

I have deleted records so there is no existing record to PUT so it should be
POST, no matter what this 1 form will not accept POST.

 

There must be 50 forms / users / admin to add edit data and all use the same
function, same js, all have the 1 hidden field, all go to POST except 1
form. This is what puzzles me since it is just the one form. Not so much the
functionality of the POST vs PUT but rather why just this 1 form.

 

Thanks,

 

Dave

 

From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of André Luis
Sent: Tuesday, May 07, 2013 4:06 PM
To: cake-php@googlegroups.com
Subject: Re: POST form changes to PUT

 

The "PUT" method is when you are updating something, but cake doesnt really
uses the put method, but a hidden field with "PUT" as value... So when you
have a populated data, even if you´re not updating but creating, it will
recognize as PUT

 

But both methods will get submited as well, and will have the same data
structure, so you can work with both "PUT" or "POST" method the same way,
all you need to do is to check not only if the request is "post" but also
check if the request is "put"

Em segunda-feira, 6 de maio de 2013 15h47min55s UTC-3, advantage+ escreveu:

Running into a weird issue where my form as rendered the HTML shows:

 



 

This form is submitted using ajax and the function is used by many forms
thru the site:

$.ajax({

type: "POST",

url: $(sel).attr('action'),

data: $(sel).formSerialize(),

dataType: 'json',

 

And in the controller I have if($this->request->is('ajax') &&
($this->request->is('post'))

 

But it fails on this 1 form because for some reason it is changing to PUT.

 

Are there reason why this would be happening? I looked at a few of my forms
using this js function and all of the forms and all are set up the exact
same way / Form->helper standard inputs / selects.

 

I even added into the form with issues 'method' => 'POST' (upper and lower)
but it still fires off a PUT request. Renders as POST but inspecting the
request shows:

 

application/x-www-form-urlencoded

_methodPUT

 

Ideas would be welcome.

-- 
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.
 
 

-- 
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: POST form changes to PUT

2013-05-07 Thread André Luis
The "PUT" method is when you are updating something, but cake doesnt really 
uses the put method, but a hidden field with "PUT" as value... So when you 
have a populated data, even if you´re not updating but creating, it will 
recognize as PUT

But both methods will get submited as well, and will have the same data 
structure, so you can work with both "PUT" or "POST" method the same way, 
all you need to do is to check not only if the request is "post" but also 
check if the request is "put"

Em segunda-feira, 6 de maio de 2013 15h47min55s UTC-3, advantage+ escreveu:
>
> Running into a weird issue where my form as rendered the HTML shows:
>
>  
>
>  method="post" action="/manage/profile">
>
>  
>
> This form is submitted using ajax and the function is used by many forms 
> thru the site:
>
> $.ajax*({*
>
> **type: "POST",
>
> url: $*(*sel*)*.attr*(*'action'*)*,
>
> data: $*(*sel*)*.formSerialize*()*,
>
> dataType: 'json',
>
>  
>
> And in the controller I have if($this->request->is('ajax') && ($this->
> request->is('post'))
>
>  
>
> But it fails on this 1 form because for some reason it is changing to PUT.
>
>  
>
> Are there reason why this would be happening? I looked at a few of my 
> forms using this js function and all of the forms and all are set up the 
> exact same way / Form->helper standard inputs / selects.
>
>  
>
> I even added into the form with issues 'method' => 'POST' (upper and 
> lower) but it still fires off a PUT request. Renders as POST but inspecting 
> the request shows:
>
>  
>
> application/x-www-form-urlencoded
>
> _methodPUT
>
>  
>
> Ideas would be welcome.
>

-- 
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: POST form changes to PUT

2013-05-07 Thread Advantage+
Not sure I follow.

 

I have everything as POST, but the 1 form changes automatically to PUT for
some reason. This is what I am trying to figure out. The JS / AJAX is POST
but in the controller as I stated if $this->request->is('post') and
somewhere along the way it changes to PUT then that form will never get
submitted.

 

From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of André Luis
Sent: Tuesday, May 07, 2013 9:42 AM
To: cake-php@googlegroups.com
Subject: Re: POST form changes to PUT

 

If you´re sending the data via AJAX, what is the difference between the
hidden fields method be PUT or POST? the data will be sent via AJAX as POST
anyway...

Em segunda-feira, 6 de maio de 2013 15h47min55s UTC-3, advantage+ escreveu:

Running into a weird issue where my form as rendered the HTML shows:

 



 

This form is submitted using ajax and the function is used by many forms
thru the site:

$.ajax({

type: "POST",

url: $(sel).attr('action'),

data: $(sel).formSerialize(),

dataType: 'json',

 

And in the controller I have if($this->request->is('ajax') &&
($this->request->is('post'))

 

But it fails on this 1 form because for some reason it is changing to PUT.

 

Are there reason why this would be happening? I looked at a few of my forms
using this js function and all of the forms and all are set up the exact
same way / Form->helper standard inputs / selects.

 

I even added into the form with issues 'method' => 'POST' (upper and lower)
but it still fires off a PUT request. Renders as POST but inspecting the
request shows:

 

application/x-www-form-urlencoded

_methodPUT

 

Ideas would be welcome.

-- 
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.
 
 

-- 
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: Variável pro pdf (saída)

2013-05-07 Thread Carlos Antonio
O problema conforme indagado é que não tenho tanta experiência e não to 
conseguindo montar via programação um fluxo para 3 variáveis em BD serem 
exibidas no PDF que é a saída! O PDF já consegui montar, tenho sua 
visualização, falta mesmo é completar a saída, as 3 variáveis q tão no BD. 
Tenho tb o controller, e o model.

Em terça-feira, 7 de maio de 2013 14h44min25s UTC-3, Mancho Murgan escreveu:
>
> Qual é o problema? Eu recomendo usar a biblioteca FPDF (
> http://www.fpdf.org/).
>
> 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
>
>
> 2013/5/7 Carlos Antonio >
>
>> Olá.
>>
>> Numa aplicação que estou a fazer necessito que valores em BD Mysql seja 
>> exibidas numa saída PDF.
>>
>> Uso o TCPDF. e CAke 2.x. Estou com dificuldades nisso. Alguém ajuda! 
>> Obrigado.
>>
>>
>>  -- 
>> 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?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
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: Variável pro pdf (saída)

2013-05-07 Thread Mancho
Qual é o problema? Eu recomendo usar a biblioteca FPDF (http://www.fpdf.org/
).

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


2013/5/7 Carlos Antonio 

> Olá.
>
> Numa aplicação que estou a fazer necessito que valores em BD Mysql seja
> exibidas numa saída PDF.
>
> Uso o TCPDF. e CAke 2.x. Estou com dificuldades nisso. Alguém ajuda!
> Obrigado.
>
>
>  --
> 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.
>
>
>

-- 
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: Cake CLI no longer works

2013-05-07 Thread Ed Propsner
@Steve, yes PHP is installed on the machine and just to verify I get
*-rwxrwxrwx
1 ed ed 1092 Apr 30  2012 /var/www/nk/Console/cake**. (I deleted cake from
downloads dir, that was just for a test).

@Euromark
A good number of my apps are up to date with the most current version of
Cake so I usually keep my PATH environment variable up to date with the
most current version as well. Unless I'm baking a new app I always run my
cake commands from the root/app I happen to be working with at the time.
All of my projects reside in /var/www and my core libs in /mnt/share. With
this in mind, /var/www/nk/Console/cake results in *No such file or
directory * and /mnt/share/cake234/lib/Cake/Console/cake results in *No
such file or directory*. Even though I'm operating as root at the moment I
still took a minute granted executive rights but still get the same error, *No
such file or directory.*
*
*
Like I said, this just started happening recently. I'm not trying to use
the CLI for the very first time on a fresh download of Cake, the versions
on my server go back to 1.3 when I first starting learning to use Cake and
the cake shell has worked flawlessly ever since up until now with all
versions.

Stumped.




On Tue, May 7, 2013 at 7:57 AM, steve van christie <
steve.van.chris...@gmail.com> wrote:

> did you already install php in your machine?
> please try to verify the file first
>
> ll ~/downloads/cakephp/app/**Console/cake
>
> it should return something like :
>
> -rwxrwxrwx 1 root root 1388 Apr 28 16:30
> /host/Download/cakephp/app/Console/cake*
>
> best regards
>
>
> On Tuesday, May 7, 2013 5:33:53 AM UTC-4, CrotchFrog wrote:
>
>> Thanks for the response Steve,
>>
>> Just to rule out all possible causes to the issue I did go ahead and
>> re-download 2.3.4 into ~/downloads (on a headless server). I executed
>> ~/downloads/cakephp/app/**Console/cake bake and it resulted in *: No
>> such file or directohpry*.
>>
>> I also tried apt-get install cakep and it did in fact add cake to
>> /usr/bin but a I am still greeted with *: No such file or directory *when
>> executing "cake bake."
>>
>>
>> On Mon, May 6, 2013 at 9:23 PM, steve van christie <
>> steve.van...@gmail.com> wrote:
>>
>>> assume you have download and extract and rename it on your home desktop
>>> in cakephp folder :
>>> please try execute this on your terminal
>>>
>>> ~/Desktop/cakephp/app/Console/**cake bake
>>>
>>> another solution is using apt-get install for install cakephp, it will
>>> automatically add cake in bin system folder.
>>>
>>> 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 a topic in the
>>> Google Groups "CakePHP" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/**
>>> topic/cake-php/SDOGDcCQPcA/**unsubscribe?hl=en
>>> .
>>> To unsubscribe from this group and all its topics, 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?hl=en
>>> .
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out
>>> .
>>>
>>>
>>>
>>
>>  --
> 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 a topic in the
> Google Groups "CakePHP" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/cake-php/SDOGDcCQPcA/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, 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.
>
>
>

-- 
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.




Variável pro pdf (saída)

2013-05-07 Thread Carlos Antonio
Olá.

Numa aplicação que estou a fazer necessito que valores em BD Mysql seja 
exibidas numa saída PDF.

Uso o TCPDF. e CAke 2.x. Estou com dificuldades nisso. Alguém ajuda! 
Obrigado.


-- 
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: POST form changes to PUT

2013-05-07 Thread André Luis
LOL, i didnt saw that he is sending the whole data as serializied data, so 
it sends the PUT method too...

The solution:

if($this->request->is('ajax') && ($this->request->is('post') || 
$this->request->is('put')){
 //Here you do the magic
}


Em terça-feira, 7 de maio de 2013 09h20min05s UTC-3, Mancho Murgan escreveu:
>
> Hi André Luis, 
>
> That is correct, the AJAX request method is POST, but CakePHP uses an 
> harcoded "method" using an hidden input on form and use this value to 
> validate on controller.
>
> 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
>
>
> 2013/5/7 André Luis >
>
>> If you´re sending the data via AJAX, what is the difference between the 
>> hidden fields method be PUT or POST? the data will be sent via AJAX as POST 
>> anyway...
>>
>> Em segunda-feira, 6 de maio de 2013 15h47min55s UTC-3, advantage+ 
>> escreveu:
>>
>>> Running into a weird issue where my form as rendered the HTML shows:
>>>
>>>  
>>>
>>> 
>>>
>>>  
>>>
>>> This form is submitted using ajax and the function is used by many forms 
>>> thru the site:
>>>
>>> $.ajax*({*
>>>
>>> **type: "POST",
>>>
>>> url: $*(*sel*)*.attr*(*'action'*)*,
>>>
>>> data: $*(*sel*)*.formSerialize*()*,
>>>
>>> dataType: 'json',
>>>
>>>  
>>>
>>> And in the controller I have if($this->request->is('ajax') && ($this->
>>> request->is('post'))
>>>
>>>  
>>>
>>> But it fails on this 1 form because for some reason it is changing to 
>>> PUT.
>>>
>>>  
>>>
>>> Are there reason why this would be happening? I looked at a few of my 
>>> forms using this js function and all of the forms and all are set up the 
>>> exact same way / Form->helper standard inputs / selects.
>>>
>>>  
>>>
>>> I even added into the form with issues 'method' => 'POST' (upper and 
>>> lower) but it still fires off a PUT request. Renders as POST but inspecting 
>>> the request shows:
>>>
>>>  
>>>
>>> application/x-www-form-**urlencoded
>>>
>>> _methodPUT
>>>
>>>  
>>>
>>> Ideas would be welcome.
>>>
>>  -- 
>> 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?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
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: Cake CLI no longer works

2013-05-07 Thread euromark
Dont confuse the core lib Console folder with the app folder.
And you should always navigate to your app folder /root/app/ first and then 
run your commands from there relatively
either using the app one via "Console/cake" or the lib one via 
"../lib/Cake/Console/cake".
That works always - in all environments.

On linux you also need to grant your cake shell script executive rights 
(+x) for this user. Otherwise you will also get an error.


Am Sonntag, 5. Mai 2013 10:29:50 UTC+2 schrieb CrotchFrog:
>
> I've been running Cake on Ubuntu Server 12.04 for quite some time now and 
> never a problem. I don't necessarily have a problem with CakePHP itself, 
> but more than likely something changed on my system and I can't quite 
> figure it out. 
>
> I recently tried to bake a model for a newly added table in one of my apps 
> and when I execute "cake" anywhere in my system or app all the way down to 
> /app/Console I'm greeted with *: No such file or directory*. The version 
> of Cake makes no difference, I have several versions on the server and I 
> tried two or three just to be sure. 
>
> echoing *$PATH *returns *
> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/mnt/share/cake234/lib/Cake/Console
>  
> *so the problem is not there. 
>
> Everything was working just fine as recently as a couple weeks ago and the 
> only real change to the system since then was a new install of Nagios. 
>
> I'm still getting my feet wet with *nix so really unsure of where to start 
> looking for the cause of the problem. 
>
> Any help would be greatly appreciated. 
>

-- 
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: POST form changes to PUT

2013-05-07 Thread Mancho
Hi André Luis,

That is correct, the AJAX request method is POST, but CakePHP uses an
harcoded "method" using an hidden input on form and use this value to
validate on controller.

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


2013/5/7 André Luis 

> If you´re sending the data via AJAX, what is the difference between the
> hidden fields method be PUT or POST? the data will be sent via AJAX as POST
> anyway...
>
> Em segunda-feira, 6 de maio de 2013 15h47min55s UTC-3, advantage+ escreveu:
>
>> Running into a weird issue where my form as rendered the HTML shows:
>>
>>
>>
>> 
>>
>>
>>
>> This form is submitted using ajax and the function is used by many forms
>> thru the site:
>>
>> $.ajax*({*
>>
>> **type: "POST",
>>
>> url: $*(*sel*)*.attr*(*'action'*)*,
>>
>> data: $*(*sel*)*.formSerialize*()*,
>>
>> dataType: 'json',
>>
>>
>>
>> And in the controller I have if($this->request->is('ajax') && ($this->
>> request->is('post'))
>>
>>
>>
>> But it fails on this 1 form because for some reason it is changing to PUT.
>>
>>
>>
>> Are there reason why this would be happening? I looked at a few of my
>> forms using this js function and all of the forms and all are set up the
>> exact same way / Form->helper standard inputs / selects.
>>
>>
>>
>> I even added into the form with issues 'method' => 'POST' (upper and
>> lower) but it still fires off a PUT request. Renders as POST but inspecting
>> the request shows:
>>
>>
>>
>> application/x-www-form-**urlencoded
>>
>> _methodPUT
>>
>>
>>
>> Ideas would be welcome.
>>
>  --
> 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.
>
>
>

-- 
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: POST form changes to PUT

2013-05-07 Thread André Luis
If you´re sending the data via AJAX, what is the difference between the 
hidden fields method be PUT or POST? the data will be sent via AJAX as POST 
anyway...

Em segunda-feira, 6 de maio de 2013 15h47min55s UTC-3, advantage+ escreveu:
>
> Running into a weird issue where my form as rendered the HTML shows:
>
>  
>
>  method="post" action="/manage/profile">
>
>  
>
> This form is submitted using ajax and the function is used by many forms 
> thru the site:
>
> $.ajax*({*
>
> **type: "POST",
>
> url: $*(*sel*)*.attr*(*'action'*)*,
>
> data: $*(*sel*)*.formSerialize*()*,
>
> dataType: 'json',
>
>  
>
> And in the controller I have if($this->request->is('ajax') && ($this->
> request->is('post'))
>
>  
>
> But it fails on this 1 form because for some reason it is changing to PUT.
>
>  
>
> Are there reason why this would be happening? I looked at a few of my 
> forms using this js function and all of the forms and all are set up the 
> exact same way / Form->helper standard inputs / selects.
>
>  
>
> I even added into the form with issues 'method' => 'POST' (upper and 
> lower) but it still fires off a PUT request. Renders as POST but inspecting 
> the request shows:
>
>  
>
> application/x-www-form-urlencoded
>
> _methodPUT
>
>  
>
> Ideas would be welcome.
>

-- 
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: Cake CLI no longer works

2013-05-07 Thread steve van christie
did you already install php in your machine?
please try to verify the file first

ll ~/downloads/cakephp/app/Console/cake

it should return something like :

-rwxrwxrwx 1 root root 1388 Apr 28 16:30 
/host/Download/cakephp/app/Console/cake*

best regards

On Tuesday, May 7, 2013 5:33:53 AM UTC-4, CrotchFrog wrote:
>
> Thanks for the response Steve,
>
> Just to rule out all possible causes to the issue I did go ahead and 
> re-download 2.3.4 into ~/downloads (on a headless server). I executed 
> ~/downloads/cakephp/app/Console/cake bake and it resulted in *: No such 
> file or directohpry*.
>
> I also tried apt-get install cakep and it did in fact add cake to /usr/bin 
> but a I am still greeted with *: No such file or directory *when 
> executing "cake bake."
>
>
> On Mon, May 6, 2013 at 9:23 PM, steve van christie 
> 
> > wrote:
>
>> assume you have download and extract and rename it on your home desktop 
>> in cakephp folder :
>> please try execute this on your terminal
>>
>> ~/Desktop/cakephp/app/Console/cake bake
>>
>> another solution is using apt-get install for install cakephp, it will 
>> automatically add cake in bin system folder.
>>
>> 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 a topic in the 
>> Google Groups "CakePHP" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/cake-php/SDOGDcCQPcA/unsubscribe?hl=en.
>> To unsubscribe from this group and all its topics, 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?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
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: Cake CLI no longer works

2013-05-07 Thread Ed Propsner
Thanks for the response Steve,

Just to rule out all possible causes to the issue I did go ahead and
re-download 2.3.4 into ~/downloads (on a headless server). I executed
~/downloads/cakephp/app/Console/cake bake and it resulted in *: No such
file or directohpry*.

I also tried apt-get install cakep and it did in fact add cake to /usr/bin
but a I am still greeted with *: No such file or directory *when executing
"cake bake."


On Mon, May 6, 2013 at 9:23 PM, steve van christie <
steve.van.chris...@gmail.com> wrote:

> assume you have download and extract and rename it on your home desktop in
> cakephp folder :
> please try execute this on your terminal
>
> ~/Desktop/cakephp/app/Console/cake bake
>
> another solution is using apt-get install for install cakephp, it will
> automatically add cake in bin system folder.
>
> 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 a topic in the
> Google Groups "CakePHP" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/cake-php/SDOGDcCQPcA/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, 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.
>
>
>

-- 
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.