You don't... This an email list (like a newsgroup), that happens to
have a "message board view" which looks similar to other boards.
To "edit" your post, you simply reply to it, and it shows up in a
thread under the original posting.
Wayne
On Sat, Sep 6, 2008 at 3:35 PM, xfh <[EMAIL PROTECTED]>
Hi all, I'm running into a bit of trouble.
I'm getting this SQL error when I try to run a find for all users in the table.
Warning (512): SQL Error: 1066: Not unique table/alias: 'GameRoleUser'
[CORE/cake/libs/model/datasources/dbo_source.php, line 512]
Code | Context
$sql= "SELECT `
I have an action that sends an image file rather than a rendered view
and want the image to be cacheable buy proxies and the browser to reduce
load on the site. Currently the image can't be fully cached as Cake
always sends a Cookie.
Note: the image has to be sent through the controller for s
If I upload a file named:
Bloqueo con espacios .jpg
It is uploaded to uploads folder with filename bloqueo_con_espacios.jpg ,
but is not converted or resized in images path.
If I upload a file named:
Bloqueoconespacios.jpg
It is uploaded to uploads folder with filename bloqueoconespacios.jp
thx Richard
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more opti
You can find a complete posting history on your google groups profile:
http://groups.google.com/groups/profile?myprofile
On Sep 6, 11:40 pm, xfh <[EMAIL PROTECTED]> wrote:
> how can I see all the postings I ever posted in this user group ? If I
> search this group with my user name only 2 of som
how can I see all the postings I ever posted in this user group ? If I
search this group with my user name only 2 of some more postings will
show up multiply, but I wanted to see all my postings, so I can see if
someone has replied to them.
Also, when finished posting, I didn't see where I get a
How do I edit my posting in this group ?
--~--~-~--~~~---~--~~
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 [
Hi, I'm doing the tutorial "IBM: Cook Up Websites Fast (5 part
series)" from the cakePHP.org web site.
Although my database connection is up and running and I (checked and
think) have the files setup as shown in the tutorial, the database is
not taking any new entries in the http://dev.picmoweb.c
On Sep 4, 8:20 am, the_woodsman <[EMAIL PROTECTED]> wrote:
> I can see the time and place for something like PHPQuery, but
> seriously:
>
> // Create DOM from string
> $html = str_get_html('Hello id="world">World');
>
> What possible benefits are there for declaring entire pages like this?
> You
Using CakePHP 1.2.0.7296 RC2
I've been having a dabble with the built in support for themes
( http://book.cakephp.org/view/488/Themes )
I've set up a theme using the instructions in the CakePHP docs above
and updated AppModel to use themes:
class AppController extends Controller {
var
Hi!
I'm new to cake and doing my first privat project with it
(http://www.larp-welt.de). For this I looked for a way to show rss feeds
from homepages of friends on my homepage.
I browsed the bakery for a solution, but found none I realy liked. So I
wrote my own. In my opinion a behaviore or a com
Interesting topic Luigi7up.
I achieved exactly this in a very simple way with AD7six' Polymorphic
behavior:
http://bakery.cakephp.org/articles/view/polymorphic-behavior
I successfully use it for tagging many models in my app and for
geolocalization. In the first case, I can tag different models
teknoid schrieb:
Hi!
> So it's
> nearly the same like interacting with a database from my point of
> view.
Why not making it a datasource?
Bye
Marcus
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group
Mark, thanks for the perspective. I underestimated the Haml benefits/
gain but after putting in a solid 3 weeks on the views for the front
end of a Rails project, I'm just enamored with it. You can't write
markup that doesn't validate, it's highly readable and you can do it
in half the time
Are there any other ways to figure out/solve this issue? I have cake/
console in my path, so I can run it from anywhere. After adding a
column to my users table, I've tried running "cake schema run update
schema users" from both the main directory (where app/, cake/, and
vendors/ live) and from
Netbeans 6.5 is coming soon. The main focus of version 6.5 is PHP
development. Many works has been done to support PHP development out-
of-box better.
Now the Netbeans team is considering to support PHP frameworks for the
coming Netbeans 6.5.
http://blogs.sun.com/netbeansphp/
Regardless you pre
Hi,
I have trouble understanding why the Model::data array is being set to
false after saving the model.
Many times I need to save the model (for example because I need the
insert Id to work with a associated model) but after that I still need
to make changes the Model's data.
I find myself doin
Thank you all for reply...
I'll organise all comments on articles model in one table because they
will be all the same (BLOG, NEWS etc.) but keep others in seperate
table.
For what is worth, during college I had subject Databases and Program
egineering. My database will be in 3NF in both cases b
The ticket
https://trac.cakephp.org/ticket/4261
It was listed as a bug first, now it's just an enhancement.
If I understood it right. New Enhancement tickets won't be done in
1.2. That's to bad because ACL behavior wont work as described without
it.
Haven't updated the tutorial. English is my sec
On Sep 4, 8:20 am, the_woodsman <[EMAIL PROTECTED]> wrote:
> I can see the time and place for something like PHPQuery, but
> seriously:
>
> // Create DOM from string
> $html = str_get_html('Hello id="world">World');
>
> What possible benefits are there for declaring entire pages like this?
> You
Just managed to solve it, I added
"persistent" => 0
in each configuration
Dérico Filho wrote:
> I forgot to mention that it only happens on methods I created that
> uses $this->query();
>
> Dérico Filho wrote:
> > Hi!
> >
> >
> > I am developing a tool which read/writes data into one database,
I forgot to mention that it only happens on methods I created that
uses $this->query();
Dérico Filho wrote:
> Hi!
>
>
> I am developing a tool which read/writes data into one database, and
> only reads data from another one, my database.php is something like
> this:
>
> class DATABASE_CONFIG {
>
Hi!
I am developing a tool which read/writes data into one database, and
only reads data from another one, my database.php is something like
this:
class DATABASE_CONFIG {
var $default = array(
'driver' => 'mysql',
'connect' => 'mysql_connect',
I agree, the customer is always right, but you can always refuse to do
the job and explain exactly why. if you are that a good programmer
you will always have work to do, so why bother. I bet you the new
cake will be released very soon. Not so long ago it was only about
40% complete now it is a
All my routes just route my static pages to the Pages controller.
There is no issue with the Routing.admin (it is admin as it should be
to route my admin area).
Is there not some setting for the Router that decides to include or
not include the app folder name in the URL?
To clarify, /iny/ is my
Hello Thomas,
I might sound a little bit vexing saying this:
Your customer is right. I am sorry.
Well... 1.2 is yet a Release Candidate, although a very stable and
robust release candidate, but yet release candidate.
The main reason that it is kept on this name is because there might
be, yet
I'm having the same problem right now.
Does anyone have a solution to this?
On 12 Jul, 09:42, Dia <[EMAIL PROTECTED]> wrote:
> hi all,
>
> I use 1.2 RC2
> I have 2 models (model1 and model2) linked by HABTM
>
> if I write in model1 / beforeSave() : if (...) { $this->invalidate('Model2',
> 'some
On Sep 6, 4:48 pm, teknoid <[EMAIL PROTECTED]> wrote:
> I see little benefit to this solution, having everything in one table
> is not necessarily a good thing.
>
> There are a few drawbacks to this solution...
>
> - Relying on two fields in order to establish an association
> - Lack of flexibil
In my opinion, you probably just need to tell him what "stable" means
for something like a framework. People hear "unstable", think of
Windows, and think of unexpected crashes. Tell him that using RC2
does not in anyway affect whether or not the site will crash, I bet
that is what he is thinking
Ignore this post I was following the 1.2 documentation but using
Cake 1.1, doh.
a40
On Sep 6, 10:43 pm, analogue40 <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have installed CakePHP on Leopard, and on my web hostig account, but
> I get the same error in both whcih makes me think that it's a p
Teknoid and Crazy are right about the poor normalisation.
However, I successfully used the idea once because it was necessary
for me to process all the 'comments' for 5 different models in
datetime order. If I had to go and get the comments from 5 different
tables before I could process them,
xdebug would be one option Debugger::trace() is another
On Sep 5, 7:19 pm, RamyaK_CS <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I want to trace all functions invoked in cake php code between a page
> request e.g.http://localhost/index.phpand the output.
>
> Is there some way to trace all the files
Either AppModel (so all models have the methods available) or you
could make a behavior.
On Sep 6, 4:24 am, Dakapo <[EMAIL PROTECTED]> wrote:
> Hello everybody :)
>
> I need some help because I don't really know how to handle one part of
> my application the best way.
>
> The application interact
Hi All,
I have installed CakePHP on Leopard, and on my web hostig account, but
I get the same error in both whcih makes me think that it's a problem
with something I have forgot to configure in Cake itself, the error
is:
Notice: Undefined property: PostsController::$autoLayout in /Library/
WebSe
I see little benefit to this solution, having everything in one table
is not necessarily a good thing.
There are a few drawbacks to this solution...
- Relying on two fields in order to establish an association
- Lack of flexibility. What happens when you decide that Blog comments
need to have ad
On Sep 6, 8:52 am, hepper <[EMAIL PROTECTED]> wrote:
> Well I though I searched through the tickets yesterday but now I found
> one that takes care of the problem.
So did you update the tutorial? :) When I originally wrote that
tutorial I didn't have the time to investigate it further. And I fe
Using Haml / Sass and the core helpers would either need a rewrite for
all the helpers so they create haml, or the haml parser would need to
know not to mess with the HTML made by the core helpers. It seems
like a lot of work up front for not a ton of gain. I like the sass
conventions but it wou
On Sat, Sep 6, 2008 at 3:32 PM, Michael <[EMAIL PROTECTED]> wrote:
>
> In my layout I initially used:
> meta('favicon.ico', '/favicon.ico', array('type' =>
> 'icon')); ?>
use only:
$html->meta('icon');
the first parameter is type (and not title... it's a mistake for version 1.2)
If you want set
Hi bakers,
Quickly, in cookbook (3.7.6.6):
1. $this->Model->unbindModel(
2. array('associationType' => array('associatedModelClassName'))
3. );
Is not more proper this ?:
1. $this->Model->unbindModel(
2. array('associationType' => array('associatedAlias')) //assocName
3. );
w
In my layout I initially used:
meta('favicon.ico', '/favicon.ico', array('type' =>
'icon')); ?>
However, the correct path was not being generated. In other words,
the href attribute was always set to "/favicon.ico" even if the
application was installed to a sub web. The $html->css(), $html-
>im
I'm using LunarPages and have been able to get my setup to work.
Did you create a link for the webroot? When I installed, I created a
new directory for my application in my account's root. I then created
a link
from //app/webroot
to ~/public_html/
where is the name I called the CakePHP ap
I think the RC is a misnomer in two ways:
1) There are still too many new features popping up for a post-beta
cycle and
2) it's stable enough to be a Final. ;-)
The only problem you're going to have working with 1.2 at this point
is that not everything is documented yet, or the documentation
Well I though I searched through the tickets yesterday but now I found
one that takes care of the problem.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php
i belive you should pay more attantion ;)
greets,
--
Marcin Domanski
http://kabturek.info
On Fri, Sep 5, 2008 at 5:38 PM, Arak Tai'Roth <[EMAIL PROTECTED]> wrote:
>
> I believe I said I had tried that in my above explanation.
>
> On Sep 3, 6:03 pm, "Marcin Domanski" <[EMAIL PROTECTED]> wrote:
Hi Kjell
Several people have expressed frustrations with the Bakery and I've
already posted my own ideas too :-)
I did discover that the code is here http://cakeforge.org/projects/bakery/
but the core team are already really busy working on the main
functionality of Cake to divert enough attenti
Yes,Absoultely I make the captcha.php file in helper having same code in
that and same as the component file in the corresponding folder and also use
the contorller ones text but still same problem is there I mentioned in my
problem.If you have still something in your mind differ than I do..pleas
Did you create the helper?, it's in the blogpost.
If you can't get it to work.
I'm still using the old one, you can find it here:
http://bakery.cakephp.org/articles/view/captcha-component-with-phpcaptcha
I use it intensively and it works great.
But I think you should look at the helper you cre
Hi,
I am making an simple application like user registration & in this I
want to implement the Captcha in my form.For this I help from the link as
same as from link:
http://bakery.cakephp.org/articles/view/improved-captcha-component
but I seen the problem that cross image is coming but image i
I hope this is better to read :)
I followed the tutorial in the cookbook 10.3 Simple Acl controlled
Application (1) . In part 10.3.4 (2) there is a notice that says "One
thing I noticed when making this tutorial, is that if you modify a
User's group it does not modify their Aro. You have to do t
It's a smart way to design your DB and works really well for simple
tables such as comments.
I think the main thing is to try and create all the fields that every
kind of comment would ever need at the outset. In that way you will
ascertain that the fields are similar enough to keep the data in o
when using '\n' it will be used as the text \n, while when using "\n"
it wil be converted to a newline.
php does not parse anything between single quotes(it's the same as
doing echo '$var')
On 6 sep, 10:30, yaqoob <[EMAIL PROTECTED]> wrote:
> I believe there's a difference, in this case, between
Type in google:
Database Normalization
And you'll find your awnsers.
The way you are want to do it is VERY bad.
On 6 sep, 11:43, luigi7up <[EMAIL PROTECTED]> wrote:
> hola everyone,
>
> while developing application something crossed my mind. What about
> organizing all comments throughout app
1.2RC2 is just as stable.
I recommand switching to 1.2. There is no reason to continue using the
1.1 version.
There is allot of cool functionallity that you're missing :)
On 6 sep, 13:06, Ryan <[EMAIL PROTECTED]> wrote:
> Thanks David, I am using 1.1.19.6305. I follow what you're saying
> abou
Thanks David, I am using 1.1.19.6305. I follow what you're saying
about the WHERE. When I changed find('all') to findAll(), it worked.
I am using 1.1.19.6305 because it appears to be the last stable
release. As a newbie, do you think it's ok for me to go with the edge
and use 1.2.0.7296 RC2? I gu
That wase't nice :)
---
I followed the tutorial in the cookbook 10.3
Simple Acl controlled Application http://
manual.cakephp.org/view/641/Simple-Acl-controlled-Application". In
part 10.3.4 http://
manual.cakephp.org/view/645/Acts-As-a-Requester" there
is a notice that says "One thing I noticed
I followed the tutorial in the cookbook 10.3
Simple Acl controlled Application. In part 10.3.4 there
is a notice that says "One thing I noticed when making this tutorial,
is that if you modify a User's group it does not modify their Aro. You
have to do that separately it seems."
The problem seam
Found what I was looking for. No wonder there are no examples, it's so
easy :p
//send xml
function postXML() {
App::import('HttpSocket');
App::import('Xml');
$http = new HttpSocket();
$url = "http://...";;
$input = 'xml here';
$xml = new Xml(
hola everyone,
while developing application something crossed my mind. What about
organizing all comments throughout application in one database table.
What I mean is this:
If application has some kind of Blog, News, picture gallery you woul
create blog_comments table, news_comments table etc
I believe there's a difference, in this case, between '\n' and "\n"
On Sep 5, 5:38 pm, "Arak Tai'Roth" <[EMAIL PROTECTED]> wrote:
> I believe I said I had tried that in my above explanation.
>
> On Sep 3, 6:03 pm, "Marcin Domanski" <[EMAIL PROTECTED]> wrote:
>
> > try
> > $data .= 'Business: ' .
I need to post xml to a url.
I read that this can be done with HttpSocket class, but i can't seem
to find an example and there is nothing about it in the manual.
Anyone that can give me an example on how to use this?
Thanks
--~--~-~--~~~---~--~~
You received this
Hello everybody :)
I need some help because I don't really know how to handle one part of
my application the best way.
The application interacts directly with the linux-os. For example I do
read system-information from it.
I would like to use functions from something like a
LinuxConnectorModel i
thanks for the replies
I think I'll just charge more (and even more if they suddendly decide
1.1 is not good enough when 1.2 is tagged stable)
I'm just very angry at these peope and wanted to force 1.2 on them
since it makes my life so much simpler :)
Thanks again and thanks for this great fram
Hello all!
I know this topic was touched quiet often but i am not here to
complain about where my articles at. I think the reason why i feel
bakery to be problematic is because it has many bugs with posting new
articles.
- post date: is not updated - stays -00..
- tags: in my previous submis
64 matches
Mail list logo