I'm in the need of upgrading an application I wrote vith Cake in
october 2005 to the latest Cake release.
Thanks to your great work it should be not tto difficult, but I'm not
sure on the way I have to take with ACL.
When I wrote the application the only choice avaiable was My_Acl based
on the
Dear olivvv,
(Seen you around here before, haven't I?) I seem to recall a play about
this... let's see:
(Debugging Tactics enter stage left. Artist stands at his screen.)
DT (reads mind of Artist before talking): Have you tried assigning that
findAll() to a local temp variable?
Artist:
On 4/20/06, oko dev [EMAIL PROTECTED] wrote:
awesome ! thanks for the updates !!
You are quite welcome ;)
--
If you know Red Hat you know Red Hat,
If you know Slackware you know Linux
--~--~-~--~~~---~--~~
You received this message because you are
Hi all!
I've just been introduced to Cake world! But I have some problems in
understanding how the framework handles the data from forms. I've done
a simple model 'User' (username password as attributes), and then
I've created a controller with:
* an 'index' action that displays a login form
*
look in the $this-params['data'] try using pr(); a shortcut for print_r or you can now use $this-data, if you need the name of the button pushed you can also look in $this-params['form']Sam D
On 4/20/06, Ashley [EMAIL PROTECTED] wrote:
Hi all!I've just been introduced to Cake world! But I have
Thank you olle and nate for your help!
The main problem I'm facing since today is the connection from PHP to
SQL Server.
As nate sugests, I changed the connect key to mssql_connect.
I went through the PHP newsgroups and tried many advices, but no luck
to create a connection with the extension
Hey John, I've found some more stuff that needs fixing:
1. The view called view is broken somehow, it only seems broken on a
model with a hasMany relationship. The error message is:
Parse error: syntax error, unexpected $end in
/path/to/views/controllersname/view.thtml on line 64.
This is
It is included in the core by default. If you wish to override the one
in the core, you can create your own at app/views/layouts/flash.thtml,
but it does not exist by default.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Thanks for the reply. Now I see there are a few define there in the
core, but I don't seem to be able to find the setting that looks like
to be used for it. Besides this, my Flash() function never redirects,
that's why I doubt whether I need to set it up myself or not.
Thank you, I'll try it now!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL
If I were you I'd read over the user notes here:
http://us3.php.net/mssql_connect , even if you've done it already. It
took me a few hours of debugging to work out all the issues, but I got
it eventually. My problems were that I had to enable dual-mode
authentication (Windows and SQL Server),
If you find errors, please report them here:
https://trac.cakephp.org/report/1 (you have to register and/or login to
create a new ticket). Also, please be sure to mention that they are in
reference to the new Bake.
Thanks
--~--~-~--~~~---~--~~
You received this
Thank you so much for your help.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL
I am using version 0.10.9.2378_final and am trying to run
pre
$this-set('events',
$this-Event-findBySql(SELECT * FROM events AS Event, pages AS
Page
WHERE
Page.id=Event.page_id AND (
(Page.url LIKE '{$this-pageInformation['url']}' AND
I have a model called product. I would want to allow users to upload
images for each product. I found this script online:
http://www.blazonry.com/scripting/upload-size.phps
It works fine when it was uploaded outside cake. However I have a real
hard time making it to work on cake.
I created a
CanĀ“t remember which is exactly the structure, but i know cake puts all uploaded file information in an array, try to add in your controller:debug($this-params);On 4/20/06,
Helen Hoke [EMAIL PROTECTED] wrote:
I have a model called product. I would want to allow users to uploadimages for each
Alright, will do.
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL
I use following code:
in edit_announce.thtml
?php echo
$html-formTag('/news/edit_announce','post',array('enctype'='multipart/form-data'));
?
?php echo $html-file('picFile',array('style'='width:460px;')) ?
/form
in news_controller.php
$form = $this-params[form][picFile];
$imgpath =
Set debug to 2 to see what your query looks like.
If you query looks good, copy the query that debug displays and run in
phpmyadmin.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this
I am sorry if this message show up multiple times, but I don't seem
to see the post after I post.
That surprise me too, but the list is not sending your own emails to
you. I want to see them you can go to:
http://groups.google.com/group/cake-php
olivvv
Helen Hoke wrote:
I am sorry if this
I set the debug to 2 and it looks ok. I run it in SQLyog (like
phpmyadmin) and it returns 2 rows.
The array that is returned in cake is:
Array
(
[0] = Array
(
[Event] = Array
(
[id] = 2
[page_id] = 2
21 matches
Mail list logo