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
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,
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
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:
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
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,
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
---
@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
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 carlos.meneg...@gmail.com
Olá.
Numa
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
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
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
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
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
(
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
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
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
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:
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
19 matches
Mail list logo