I'm curious... why do you care if fields are removed?
Wayne
On 10/17/07, 2000Man <[EMAIL PROTECTED]> wrote:
>
> Anyone?
>
>
> >
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this gr
Anyone?
--~--~-~--~~~---~--~~
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 PROTECTED]
For more optio
When a form is submitted, I save the data like this:
$this->User->save($this->data);
And them immediately try to get the object I just saved by querying it
with one of the values in the object, which I then save to my session:
$this->Session->write('User',
$this->User
Is this correct... I am guessing though
if (!defined('ROOT')) {
define('ROOT',
DS.'warmeskimo'.DS.'public_html'.DS.'cakeApp1');
}
if (!defined('APP_DIR')) {
define('APP_DIR',dirname('cakeApp1'));
}
if (!defined('CAKE_CORE_INCLUDE_P
http://groups.google.com/group/cake-php/search?group=cake-php&q=generateList+multiple+field
THis one in particular
http://groups.google.com/group/cake-php/browse_thread/thread/c5709f46064b4106/853e167148d67f7d?lnk=gst&q=generateList+multiple+field#853e167148d67f7d
Basically nate suggests using af
Hi guys,
Currently I am having two tables authors and books having M2M
relationship.
The author table has three attributes id ,fname and lname. Now I am
trying to display a select tag in the book entry form consisting of
the author last name and first name.
If I define the var $displayField as la
Here is a screenshot of my FTP client demonstrating the diirectory
structure...
http://www.comida411.com/super.gif
based on this scrren shot how would you wirte the paths to the
ROOT
APP_DIR
CAKE CORE
Thank you
Comida411
--~--~-~--~~~---~--~~
You received thi
I am tyring to setup multiple CakePHP applications on a single domain
in a shared LAMP hosting environment (lunarpages.com)
I am following the directions at
http://www.virtualapplicationserver.com/CakePHP_MultipleInstallNotes.html
I frankly don't understand how to write the paths below
if (!defi
Yeah i wanted to steer clear of that one as it doesn't allow per
virtual server settings on the free component, the one I'm looking at
does (albeit a bit silly as you have to have a copy of the DLL &
Configuration file for every virtual site iirc)
Ill see if i can nut it out my self, it seems to
Thanks! This is exactly what I was looking for to work SWFupload while
verifying someone as being logged it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cak
> On another note Cake's dispatcher is VERY unhappy when it sees a ':'
> or a urlencoded colon (%3A) in a url...
I think that's because it treats : as the separator for passed arguments
jb
- -
jon bennett
w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett
--~--~-~--~--
Ah, maybe that's it. Previous times, it would recognize the code
almost immediately. Will try again tomorrow. Thanks. :)
On Oct 16, 4:35 pm, "DJ Spark" <[EMAIL PROTECTED]> wrote:
> it looks ok to me
> but you have to wait 'till next day to see the analysis. Would this
> be the problem ? :)
LOL , got it -- believe it or not I had a ":" in the parm I was trying
to pass in to my little PNG rendering action and it was hosing
everything. I backed out and started with a raw php sample, duplicated
my error, then got it right.
On another note Cake's dispatcher is VERY unhappy when it sees
A very nice behavior is in the bakery at
http://bakery.cakephp.org/articles/view/actas-image-column-behavior
On Oct 16, 7:37 am, Arendp <[EMAIL PROTECTED]> wrote:
> Hi all!
>
> I have been searching for a decent file or image upload script in
> CakePHP. However I have difficulties implementing it
it looks ok to me
but you have to wait 'till next day to see the analysis. Would this
be the problem ? :)
spark
On 10/16/07, chewie124 <[EMAIL PROTECTED]> wrote:
>
> https://www.serviceforlifeprinting.com
>
> On Oct 16, 3:54 pm, "John David Anderson (_psychic_)"
> <[EMAIL PROTECTED]> wrot
https://www.serviceforlifeprinting.com
On Oct 16, 3:54 pm, "John David Anderson (_psychic_)"
<[EMAIL PROTECTED]> wrote:
> On Oct 16, 2007, at 4:50 PM, chewie124 wrote:
>
>
>
> > Hi -
> > Has anybody ever had trouble integrating the Google Analytics code
> > into their CakePHP app? I just cut and
On Oct 16, 2007, at 4:50 PM, chewie124 wrote:
>
> Hi -
> Has anybody ever had trouble integrating the Google Analytics code
> into their CakePHP app? I just cut and past the little urchinTracker
> code snippet from Google right before my "" tag in /views/
> layouts/default.ctp. However, when I
Hi -
Has anybody ever had trouble integrating the Google Analytics code
into their CakePHP app? I just cut and past the little urchinTracker
code snippet from Google right before my "" tag in /views/
layouts/default.ctp. However, when I click on the 'Check Status' in
the Google Analytics, it doe
You don't need to modify any core CakePHP files. Just remove the
$cakeCache var from core.php, and add the following:
Cache::config('default', array('engine' => 'File'));
You might want to just replace your core.php with a fresh copy from
the latest nightly and re-input your settings.
On Oct 1
good thinking, i'll wait until tomorrow...
On Oct 16, 2:06 pm, Gwoo <[EMAIL PROTECTED]> wrote:
> could be a problem with the nightly
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this
I did,
in cake/bootstrap.php
line 48: Configure::getInstance();
line 49://Cache::config();
line 51: $cache = Cache::settings();
line 52: if(empty($cache)) {
line 53:trigger_error('Cache not configured. Please use
Cache::config(); in APP/config/core.php', E_USER_WARNING);
could be a problem with the nightly
--~--~-~--~~~---~--~~
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 [EMA
did you try looking at the /app/config/core.php in the latest nightly?
--~--~-~--~~~---~--~~
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
I'm using 1.2.x.x_11.10.2007 and the I did update it with
1.2.x.x_16.10.2007 the nightly build.
On the top I get this yellow stripe indicating warnings and errors.
Warning (512): Cache not configured. Please use Cache::config(); in
APP/config/core.php [CORE/cake/bootstrap.php, line 52]
But furth
Perhaps the ´flash´ message would be appropriate?
On Oct 16, 2:15 pm, maschoen <[EMAIL PROTECTED]> wrote:
> I'm new to Cakephp and there's a situation that I'm not sure how to
> deal with.
> In a controller for some page and I do some custom validation on form
> input, for example I see if login-
2007/10/15, Kristopher <[EMAIL PROTECTED]>:
> I have been struggling to get CakePHP to communicate with an Oracle 9i
> database. I have installed the 10g Instant Client and have created a
> batch file to run my Apache 2.2 server. In this batch file I have set
> the following environnment variabl
Generally people will suggest the app controller, the superclass for
all your controllers, or one of the bootstrap / config files.
> I am new to Cake PHP and i figured i had better ask before i dive into
> it.
I think youll be able to answer most questions like this yourself once
you get started
It sounds like the way you have your current website setup is not
going to work for the way Cake works. Cake is geared more towards the
Model, Controller, View approach which gives you a controller with
specific functions and models associated to that controller. You may
want to take a look and
I am using the latest alpha of 1.2 in production with no issues at
all but I am considering "upgrading" to a recent nightly build.
Have you guys tried this? Is this not recommended?
Jeff
On Oct 16, 11:04 am, Aaron Shafovaloff <[EMAIL PROTECTED]> wrote:
> Same here.
>
> On Oct 16, 11:23 am,
I'm new to Cakephp and there's a situation that I'm not sure how to
deal with.
In a controller for some page and I do some custom validation on form
input, for example I see if login-id/password are valid. If the
validation fails, the controller generates an error message for
display in the login
Same here.
On Oct 16, 11:23 am, "Wayne Fay" <[EMAIL PROTECTED]> wrote:
> I'm using 1.2 on a production server with no issues to speak of.
>
> Wayne
>
> On 10/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> > hey guy,
>
> > I got a question for those of you using version 1.2 alpha.
>
>
Hi Lemon
I used a method in a project of mine, where I was updating a slug
field through ajax. Then I created a extra view for in the model,
which was included inside the with a ajax updater. Then the
value of the field was an url-friendly verison of a title field. The
value of the title field w
Hi
If I want to setup up a production environment for cakePHP do I have
to have DocumentRoot access... I am hosting with lunarpages on one
of their shared servers The gentleman on the phone with whom I
spoke at lunarpages said tha since I am shared solution I don't have
acess to the Docume
I'm using 1.2 on a production server with no issues to speak of.
Wayne
On 10/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> hey guy,
>
> I got a question for those of you using version 1.2 alpha.
>
> So far i have based my applications on previous stable versions of
> cake, and now i wa
hey guy,
I got a question for those of you using version 1.2 alpha.
So far i have based my applications on previous stable versions of
cake, and now i was looking into trying into starting a new
application based on 1.2, because it has quite a few interesting new
features.
The thing that wories
Are you sure there is no typo? That the content is exactly the same as
in the error notification of CakePHP?
On Oct 16, 6:51 pm, webperson <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I continue to get this response with every tutorial I try.
> NotesController is from the last tutorial I tried. I've
Hello,
I continue to get this response with every tutorial I try.
NotesController is from the last tutorial I tried. I've varified all
files are in the correct dirs. I have no typos. And I just don't know
what to do - I've practically been up all night trying to resolve
this.
Can anyone give me
Hello,
I am using CakePHP version 1.2.0.5427alpha.
I have a default layout that uses a requestAction to build a menu.
The issue I have is that if the config/database.php does not exist
before I tried to load my app in my browser, the browser goes into an
infinite loop. It seems that requestActi
Okay
Problem solved
I had failed to creat a php.ini file in my web root... the contents of
that file read
register_globals= On
[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2.5.10
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib
Hi,
I now have two CakePHP installs.
1/ A backend CMS for managing content hosted on a cms.domain.com
subdomain. The filepath to the subdomain fields is:
some_stuff_in_front/domain.com/subdomains/subdomain_name/httpdocs/
2/ A frontend installation for presenting the data. The filepath to
the ma
Hi guys,
I am building a training scheduling app where I am stuck at the weekly
schedule list form. Each training class is a multi-week schedule,
somewhere between 15-20 weeks. I have a table that keep tracks thes
length of the training class. However, when it comes to the frontend
rendering, I d
Dear Community
I am tryingto install cakePHP 1.2 alpha on a shared solution with
lunarpages.com
I set up the following developers situation
public_html/cake/all the cake folders
I set the htaccess to include
RewriteBase /cake
I requestioed
http://www.comida411.com/cake
and received the follo
On Oct 16, 4:58 pm, webperson <[EMAIL PROTECTED]> wrote:
> Hi AD,
>
> I have a feeling it might have to do with my directory structure. Here
> is what I am working with:
>
> I installed cake standard structure into:
>
> http://mydomain/cake/
>
> Would this cause an issue w/ the default config of
On Oct 16, 2:31 pm, Mech7 <[EMAIL PROTECTED]> wrote:
> Sorry for the offtopic.. but i have been looking for a ACL plugin, is
> this for 1.2 and is it being maintained?
The released acl_admin plugin is 1.1 - I did/do plan on making a 1.2
version as I began doing about 9 months ago (and stopped t
Okay
I was able to adn followed your recommendatiosn but without succes..
still the cake home apge has no style
Any more suggestions...
thank you in advance for your response...
Sincerely
Comida
--~--~-~--~~~---~--~~
You received this message because you are s
Hi all,
Just thought I'd post my workaround based on some of the posts here
but I didn't see a consistent answer to the issue. My environment is
PHP 5.2.3, Apache 2.2.6, and MySQL 5.0.41-community.
So, here's the problem, I have a stored procedure that I want to call
in Cake. When I try to run
Hello,
I am new to Cake PHP and i figured i had better ask before i dive into
it.
I am trying to migrate a website to Cake and i currently have a file
full of functions. What is the best method to include each function
into Cake php so they can be used anywhere within the framework
Thanks
-Exo
Was this in cake 1.2? I'm finding out that I don't get anything
returned when I make a call like this in 1.1
On Oct 2, 7:47 am, Cory Dee <[EMAIL PROTECTED]> wrote:
> A friend told me about how you can call astoredprocedure simply by
> calling $this->stored_proc_name(), this works well, but I can
This worked. Thanks!
On Oct 16, 6:21 am, grigri <[EMAIL PROTECTED]> wrote:
> Try this:
>
> function add() {
> $this->set('teams',$this->Team->generateList(
>null, null, null, "{n}.Team.id", "{n}.Team.name")
>);
> if (!empty($this->data['Player']))
Hi AD,
I have a feeling it might have to do with my directory structure. Here
is what I am working with:
I installed cake standard structure into:
http://mydomain/cake/
Would this cause an issue w/ the default config of cake .htaccess or
any other files?
--~--~-~--~~~
You could also name the databasefield 'modified' or 'updated' and
everytime you save the record, this field will be update
'automagically'...
On 16 okt, 08:28, thun <[EMAIL PROTECTED]> wrote:
> $this->data['TableName']['date'] = date();
>
> date() expects at least 1 parameter,
>
> But this worked
Since CakePhp uses strftime to generate the names you can use:
setlocale(LC_TIME,'de_DE');
tor generate it with german months.
fahne
bigbass schrieb:
> Hi there happy bakers,
>
> is there a way to make FormHelper::generateDate() produce german
> months without hacking the core in helpers/html.
Yes,
You all were rights - adding this code to my layout view solved my
problem. Thank you very much.
Btw is there a way to update an textarea field as an example.
On Oct 16, 10:37 am, baxi <[EMAIL PROTECTED]> wrote:
> > - You just need to add in your 'emtpy' layout
> > file or my above sugge
Hi all!
I have been searching for a decent file or image upload script in
CakePHP. However I have difficulties implementing it. Does anyone know
a good file/image upload tutorial?
I have found the script of Chris Partridge, however, the little
tutorial was not enough for me to understand it.
Ar
Try this:
function add() {
$this->set('teams',$this->Team->generateList(
null, null, null, "{n}.Team.id", "{n}.Team.name")
);
if (!empty($this->data['Player']))
{
if ($this->Player->save($this->data['Player']))
{
$this->flash
hello everyone,
i'm trying to figure out a way to either make flashOut "webservices-
aware" or replace it with something that can tell whether it should
return XML or the "traditional" flashOut html depending on how the
client is accessing the app - via the webservices interface or not.
What is
Sorry for the offtopic.. but i have been looking for a ACL plugin, is
this for 1.2 and is it being maintained?
On Oct 16, 11:09 am, AD7six <[EMAIL PROTECTED]> wrote:
> On Oct 15, 9:03 pm, seacloud9 <[EMAIL PROTECTED]> wrote:
>
> > I have followed the following instructions:
> > 1) Extract all fil
Hi guys,
I've been playing around with the Security-component, which is able to
prevent forms to be manipulated (fields being added to the form). This
works perfectly, but there is still another problem: by downloading
and manipulating it isn't possible to add fields, but is is still
possible to
On Oct 14, 1:20 am, MikeK <[EMAIL PROTECTED]> wrote:
> It works perfectly in a standalone php file outside cake. It also
> works in a view if it is the ONLY thing in the view and I disable the
> layout. If anything else is in the view before this bit, the browser
> emits PNG data instead of an ima
On Oct 16, 9:36 am, webperson <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Fatal: Create the class below in file : app/controllers/posts_controller.php .
some possibilities:
1) the file doesn't exist (check spelling/path and note cAsE)
2) the file is in the wrong place
3) the file doesn't contain the
This is very wrong but I didn't had the time to make this better.
Hopefully there will be someone that will correct me.. if not.. at
least, this works.
I dbo_oracle.php that you will find in the core libs I changed (my
head is going to roll) the connect function to this:
function connect
On Oct 16, 4:30 am, MikeK <[EMAIL PROTECTED]> wrote:
> Gary I tried the same code and it just doesn't work for me -- I'm
> using the alpha 1.2 code.
>
> The action similar to /users/captcha if directly invoked puts the
> image right on the screen no problem.
>
> If invoked from another view the
On Oct 16, 9:07 am, DrZippie <[EMAIL PROTECTED]> wrote:
> The easy Fix, select PHP 4.x for this domain. The "hard" fix: Compile
> your own PHP
The lot-easier-fix is to not call __ and/or find and override the __
method (in basics.php) so that it just returns the passed argument as
the first lin
On Oct 15, 9:03 pm, seacloud9 <[EMAIL PROTECTED]> wrote:
> I have followed the following instructions:
> 1) Extract all files into your app folder directory. Such that you
> have
> /whereCakeIs/app/plugins/acl_admin
>
> I extracted all files in the zip to app/plugins/acl_admin is that
>
Try var $helper = array('CssMenu') as cakephp conventions
--~--~-~--~~~---~--~~
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 gro
Hello,
I attempted to resolve this issue with all posts I could find in
relation, but the same error persisted.
First off, this is my 1st time using cake, and I am "playing" with the
"The Cake Blog Tutorial".
I created all files up to the test area (where I can view the post
data extracted from
> - You just need to add in your 'emtpy' layout
> file or my above suggestion (to set 'layout' as 'ajax') will also work
You forgot "print":
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To po
Adding the hidden field did work! Thank you Adwin
--~--~-~--~~~---~--~~
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
On 10/15/07, senser <[EMAIL PROTECTED]> wrote:
>
>
> no
> my "empty.ctp" file is empty - may be I should put smo code there, but
> I don't know what ..
> some suggestions ???
- You just need to add in your 'emtpy' layout
file or my above suggestion (to set 'layout' as 'ajax') will also work
I will update to the latest build, thank you.
--~--~-~--~~~---~--~~
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 ema
I'm running into problems when i try to customize my fantasy football
app! I had it working perfectly where players belong to teams and you
could create new players and select a team from the drop down, won't
work now.
I can view everything fine, but when I save it doesn't store the
relationship
The easy Fix, select PHP 4.x for this domain. The "hard" fix: Compile
your own PHP :
http://wiki.dreamhost.com/Installing_PHP5#Install.2FCompile_PHP_5
2007/10/16, Matt <[EMAIL PROTECTED]>:
>
> I just baked up an app in v1.2 on dreamhosts servers. After I add one
> record and then go to the ind
72 matches
Mail list logo