I have a problem with one specific controller trying to INSERT instead
of UPDATE and I am getting duplicate entry errors. the "$this->data"
variable contains the correct primary key of table I'm trying to
update, but still tries to INSERT instead. Most notable text message
is this in the debug dum
Trying to have flexibility with having multiple Apps but having one
Core App for common functions I wanted to use the bootstrap.php's
$controllerPaths, $modelPaths and $viewPaths. I want to know if this
will affect speed.
In folder called 'core_app' I created a file called
'core_users_controller
Sure, sorry I should've posted earlier.
\view\users\index.ctp =>http://www.warplayart.com/
bleed_till_death/delete_when_done/index.ctp
\view\users\login.ctp =>http://www.warplayart.com/
bleed_till_death/delete_when_done/login.ctp
\view\users\register.ctp =>http://www.warp
Please show the code for the view in which you are creating the form
for the user to register him-/herself!
Enjoy,
John
On Aug 12, 5:15 am, armen wrote:
> It's not working really. I tried it again...
> if you click on the second link, where you register a username and
> password, then by clic
I'd like to take a number and display it as currency but with a
defined precision - for example £100,000. I have tried the following:
$number->currency($number->precision($property['Property']['price'],
0 ),'GBP')
which nests the $number->precision function inside of the $number-
>currency funct
This doesn't add a new value to the list, just selects one that's
already there. I want the list to start of with a custom row that is
not in the database (such as "Please select a value") that will be
selected by default (unless there is already a selection) and the rest
of the list is drawn from
Yes you are right hols
But the old site have more that 100 urls.
So how can it do it by mod_rewrite?
On Wed, Aug 12, 2009 at 3:02 AM, Hols Kay wrote:
>
> You can use use mod_rewrite to redirect all the old urls to their Cake
> equivalents.
>
> http://www.yourhtmlsource.com/site
It works fine outside of the function. I've run into this before;
helper functions not working within View functions. Are you sure
you've had that work in the past?
I think the issue is that you normally (in models, controllers,
components...) need to reference the object where the function is
lo
if you have time would you mind posting a test case or example code? i
would love to see some more of the code in context just so I can
improve my understanding of the issue.
please let us know what works in the end for you it might help someone
in the future
On Aug 12, 1:09 am, Josh wrote:
> I
I'm trying to upload to /webroot/img/uploads/
both /img and /uploads directory has permission 777
and getting an error: Warning (2): mkdir()
[function.mkdir]: Permission denied [CORE/cake/libs/folder.php, line
466]
so I commented out line 466 ~ 476 in folder.php file:
/*
if (mkdir($pathname, $mode)
It sounds like (no, no it doesn't - i'm just guessing) what you're
after is some kind of inline editing jQuery plugin... something like
http://www.appelsiini.net/projects/jeditable
Or perhaps you mean something like a drop-down RED (http://paul-m-
jones.com/?p=291) list for each row...
On Aug 12
some fancy combos 'LIKE' and 'OR' in your find conditions array should
get it done. The trick is formatting your array.
http://book.cakephp.org/view/74/Complex-Find-Conditions
On Aug 11, 8:55 pm, "Dave Maharaj :: WidePixels.com"
wrote:
> I am building a new search function for a input single f
@martin that's a great observation that i know will save me a few
hours in the future. thanks for sharing
On Aug 11, 11:13 am, Martin Westin wrote:
> If you start adding more functions you may want to put them into a
> separate file.
> The top of my bootstrap.php looks like this:
>
> // This wou
well modifying the core in general is bad because it makes your app
harder to debug and we can't really help you when you change the core
. it's kind of like opening your ps2 and voiding the warranty, you
might be able to install the mod chip, but it's no guarantee of future
support.
On Aug 11,
really, really trying to understand what you are attempting here.
On Aug 11, 7:47 pm, FrederickD wrote:
> Thank you for your on-going support! There are a lot of good answers
> on this group. I've searched for this answer here and in "the book"
> but cannot find it.
>
> What is the best way to h
i would just use implode on the array to set up my seperate arguments
and turn it into a url string
On Aug 11, 10:22 am, Tushar wrote:
> Is it possible to pass an array through named arguments and have it
> accessible via $this->passedArgs?
>
> How would you convert an array as such to a named a
hmm im not sure if this will work but you could try in your element:
App:import('Helper', Html');
$html = new html();
does html helper work in other parts of your element outside the
function? i usually have no problems at all using $html->link() within
an element function.
On Aug 11, 10:47 pm
hmm im not sure if this will work but you could try in your element:
App:import('Helper', Html');
$html = new html();
On Aug 11, 10:47 pm, Josh wrote:
> The helpers are set and work fine. However, $html->link() does not
> work when called within a function in the view.
>
> As for where the log
The helpers are set and work fine. However, $html->link() does not
work when called within a function in the view.
As for where the logic is written: this is an element that appears in
all admin tools throughout the site. requestAction() would allow me to
put some of the logic in the controller,
It's not working really. I tried it again...
if you click on the second link, where you register a username and
password, then by clicking the submit button, you should be redirected
to the index page without any problems since I'm creating a session
and redirecting.
$this->Session->write('Us
I am building a new search function for a input single field.
I have the basic set up running but as I move forward I want the user to be
able to enter more than 1 word coma separated.
How would I do this?
spilt the $queryValues = $query split ','
So i now have an array of values that they
Due to the way Apache's mod_rewrite mismanages query string encoding,
$_GET['url'] isn't what I'd hope it would be when there are pluses
encoded (%2B) in the URL.
It looks like replacing line 614 of dispatcher.php with the following
works on my apache config:
if(isset($_SERVER['REDIRECT_URL']))
On 8/11/2009 10:16 PM, tobi_one wrote:
> Hi,
>
> for future reference, this is IMHO the most elegant solution for this
> problem:
>
> http://cake.eizoku.com/blog/?p=30#comment-8
>
> Cheers,
> tobi_one
>
> On Jul 29, 4:07 am, "Dr. Loboto" wrote:
>
>> With Model::invalidate() method reload you
We encountered this error on an CakePHP1.2 installation and found that
it was related to the installed PHP version. It may be the same for
you, PHP5.2 had a problem which was part of a debian install in our
clients servers case.
Hope that helps.
http://wiltonsoftware.com
--~--~-~--
Thank you for your on-going support! There are a lot of good answers
on this group. I've searched for this answer here and in "the book"
but cannot find it.
What is the best way to have the user select an action (RUD; read,
update, delete) without a separate link at the end of the row, as in
the
@brian would you mind pasting your index.php
On Aug 11, 4:25 pm, brian wrote:
> I'm having some trouble getting a site working on another server. The
> people the client hired are using cPanel, PHP is installed as CGI, and
> mod_rewrite is not available. Additionally, I have to access their
> ve
if your controller is set up with var $helpers = array('html') ; you
should be fine..that error is just telling you that cake can't find
HtmlHelper...is there a reason you are executing that logic in your
view and not the controller?
On Aug 11, 7:02 pm, Josh wrote:
> Hi,
>
> I have the contents
Hi,
I have the contents of a tree menu stored in a multi-dimensional
array. The number of dimensions is not fixed, so to turn the array
into a menu in the View file, I have set up a recurring function. This
works fine except that I can't call the $html->link() from the
function.
Fatal error: Cal
I have integrated jquery with my pagination but having trouble adding a
history plugin . So if a user leaves the pagination page then clicks back in
the browser it will load up where they left off.
Has anyone added a feature like this to pagination and managed to get it
working?
Any help or nam
hello, i got the same problem, and i am also using wamp as server,
though i use sqlite for db
it works perfectly fine from website (on handmade models)
console was set like its shown in screencasts from cake bakery
i would be thankfull if someone could solve our problem
On 10 Sie, 09:43, ondrob
Er...
Sorry, you're right.
My code example was wrong, but using Session->check
('key') ?> it also returns false. It creates two sessions (entries) in
the database (cake_sessions).
What i'm doing exactly:
1. User comes from an external site (eg. google.com) to an user-
protected page (eg. mydomai
Being a sys admin of a shared server a lot of cpanel servers do not
server php on the. ~username. I would first check that
On 8/11/09, Robert P wrote:
>
> According to the comments in /app/config/core.php:
> 1. Delete ALL .htaccess files, and then
> 2. Uncomment the line that sets App.baseUrl
You can use use mod_rewrite to redirect all the old urls to their Cake
equivalents.
http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html
On Aug 11, 7:43 pm, Vijay wrote:
> My old site is in simple php.We have developed a new version of that
> site using cakephp.
> Now we want to add t
According to the comments in /app/config/core.php:
1. Delete ALL .htaccess files, and then
2. Uncomment the line that sets App.baseUrl in /app/config/core.php
But then again, the only times I played around with CakePHP without
mod_rewrite was pre-1.0
On Aug 12, 4:25 am, brian wrote:
> I'm havin
I'm having some trouble getting a site working on another server. The
people the client hired are using cPanel, PHP is installed as CGI, and
mod_rewrite is not available. Additionally, I have to access their
version of the site through an IP address plus a home subdirectory,
eg:
http://xxx.xxx.xx
Hi,
for future reference, this is IMHO the most elegant solution for this
problem:
http://cake.eizoku.com/blog/?p=30#comment-8
Cheers,
tobi_one
On Jul 29, 4:07 am, "Dr. Loboto" wrote:
> With Model::invalidate() method reload you do not have such problems
> at all.
>
> On Jul 29, 12:17 am,tobi
Think it only deletes files under tmp/cache/views
--~--~-~--~~~---~--~~
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 em
Perfect...the
if ($this->RequestHandler->isAjax())
{
$this->viewPath = 'elements/users';
$this->render('pagination');
}
Did the trick.
Thanks
Dave
-Original Message-
From: brian [mailto:bally.z...@gmail.com]
Sent: August-11-09 3:42 PM
T
My old site is in simple php.We have developed a new version of that
site using cakephp.
Now we want to add the old site in the cakephp.
But the google search gives the old site links.So i want to maintain
the old site too along with new version which is in cakephp.
Can anybody help me in this?
My original javascript code actually worked on a site (no setup with
cakephp). The problem I'm having is linking everything together. I
do appreciate the advice w/ the javascript though. :)
--~--~-~--~~~---~--~~
You received this message because you are subscribe
I actually ending up using this:
http://deadlytechnology.com/scripts/javascript/ajax-failure-callback/
It sends a 403 server error back if the transaction doesn't validate
which triggers my error message in the view.
On Aug 11, 2:50 am, Saliem wrote:
> I am not quite sure what you are missing
If you place the markup that lists the posts in an element, you can
specify to render just that, instead of the entire view, for AJAX
requests.
Here's an example that works for me.
views/users/index.ctp:
Member Directory
element('users/pagination') ?>
views/elements/users/pagination.ctp:
I don't even know if you *can* set recursive to 6. Use Containable and
specify exactly which associations you want.
On Tue, Aug 11, 2009 at 1:44 PM, leafchild book wrote:
> Hi anurag,
> You are saying I have to get POST data manually instead of using validation
> ($this->Customer->validates())?
>
Don't set the permissions wide open for webroot dir! That's not a good
idea at all.
What is the full path of the directory you want to upload to?
I'm sorry, I'm not familiar with the plugin and don't understand your
other question about the data.
On Tue, Aug 11, 2009 at 4:06 AM, leafchild wrote
Hi anurag,
You are saying I have to get POST data manually instead of using validation
($this->Customer->validates())?
If I set id, then all the new information is replace back with old
information when coming back page with errors.
Hi brian,
I didn't use Containable, only I do is when I get data
Hi!
Im using the media plugin adapter:
http://wiki.github.com/davidpersson/media/configuration
By default this plugin is working with the GD adapter (we have both GD
and ImageMagick). For us everything works fine, but some uploaded
images display a warning: ... gd-jpeg, libjpeg: recoverable erro
well, in most cases (and mine: 100%) you use so called
"Affenformulare" (http://de.wikipedia.org/wiki/Affenformular) or "ape
forms"
which have either no adress value or the own one (and post to
themselves again)
this is the usual cake way anyway - process it in the corresponding
controller method
Found a solution:
As far as I can tell, the validation methods expect the data all to be
in (for example) $this->data['Question']['FunctionalArea'].
(See line 2196 of model.php, where the only data considered for
validation is in $this->data['Question'].)
But the save method expects all the dat
Hi Anurag,
Thank you for the comment.
Where is your upload file directory?
Is still in webroot?
Thanks,
leafchild
On Tue, Aug 11, 2009 at 1:43 AM, anurag pal wrote:
> Hi,
>
> I have the same issue. I found that its using different path for
> uploading file.
>
> For stopping details to database
I have the ajax jquery pagintiion set up no problem.
I am using a default layout,single column for content.
Now when i load the posts page (which has the pagination) the index view is
split into 2 columns, right side is menu, left side is the paginator. But
when i click next, the 2 column loads
Don't use 1.1, I'd recommend using 1.2 blog tutorial
http://book.cakephp.org/view/219/Blog
On Aug 11, 9:26 am, pomares wrote:
> This tutorial is a good way to start:
>
> http://book.cakephp.org/view/326/The-Cake-Blog-Tutorial
>
> On Aug 11, 9:43 am, sunny wrote:
>
> > Can any body tell me how b
This tutorial is a good way to start:
http://book.cakephp.org/view/326/The-Cake-Blog-Tutorial
On Aug 11, 9:43 am, sunny wrote:
> Can any body tell me how build new project in cake php!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Thnx Martin, that solved 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@googlegroups.com
To unsubscribe from this group, send email to
Can any body tell me how build new project in cake php!
--~--~-~--~~~---~--~~
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,
I can't follow all of that but it seems like you'd be better off using
Containable.
On Tue, Aug 11, 2009 at 5:06 AM, leafchild wrote:
>
> Yes, I use $form->input()
>
> I found an issue because I was SQL again for the specific data before
> going back to the page to show user an errors.
> (I had a
Any insight everyone?
--~--~-~--~~~---~--~~
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
cake-php+unsubscr..
I couldn't run your example. There are many things missing, but you
gave me a valuable tip and I learned how to do.
Thanks.
On 10 ago, 13:52, Marcelo Andrade wrote:
> On Sun, Aug 9, 2009 at 5:09 PM, Persivo Cunha wrote:
>
> > Hi, I have two form->select and i want that after option of one be
>
Have you tried removing /app/webroot from the $html->url call? Not
sure if that will fix all your issues but that is where I would start.
On Aug 11, 7:54 am, RugerJ wrote:
> How can you show a pdf file within a view without setting the header
> to pdf.
>
> I tried to embed it like this:
>
> HEI
Since you are pointing to a real file that exists and is readable
(right?) your problem is probably not header.
The url method is for controllers and actions. Try using the webroot
method. You supply it with the path you want and it will add the base
url for you.
echo $html->webroot('css/screen.
The $_SESSION array should have what your looking for.
On Aug 11, 12:15 am, Fabs wrote:
> G'day all
>
> I'm integrating CakePHP into a legacy CMS. The CMS stores all of its
> session data in the generic php session (it never calls session_name
> ()). I need to retrieve this session data to preve
It would be helpful if you posted the actual code of your find(), but
it would appear that you are not forming your conditions array
correctly. I haven't had any issues using LIKE, and maybe this link
will help : http://book.cakephp.org/view/74/Complex-Find-Conditions
."Book.title LIKE" => "A%" sh
Hi please disregard my last post. I found the answers at
http://book.cakephp.org/view/78/Associations-Linking-Models-Together
Thanks :)
On Aug 11, 2:47 pm, Rawna wrote:
> Do I need to set foreign keys (author_id, book_id) to the tables
> (books, authors)? How do I make my views have multiple sel
If you start adding more functions you may want to put them into a
separate file.
The top of my bootstrap.php looks like this:
// This would mess things up royally--> App::import('Vendor',
'basics');
require_once(APP.'vendors'.DS.'basics.php');
I mention it mostly because you have to do a good
i found that any time i didn't verbosely link i ended up having to
change all sorts of functions whenever my boss wanted a different url
On Aug 11, 2:29 am, brian wrote:
> @James
>
> I thought at first that looked like a real pain but verbose array
> linking (finding, routing, containing, etc.)
libs/error.php doesn't deal with php errors. I was poking around there
myself earlier.
What I did find was:
Cake sets up how much php should report on lines 293-312 of libs/
configure.php
To setup your own error handler you can sneak a peek at lines 570 and
165-232 of libs/debugger.php. This is
How can you show a pdf file within a view without setting the header
to pdf.
I tried to embed it like this:
Your browser does not support embedded
PDF files.
But that doesn't work because of the routing >> says controller not
found.
Is there a way around?
Thnx in advance
--~--~-~-
The file /app/config/bootstrap.php is there for this exact reason.
On Aug 11, 8:56 pm, alaxos wrote:
> Hello,
>
> I have tried to figure out what would be the best way to add generic
> functions to an app, in order to then be able to use them everywhere
> in a Cake application.
>
> I wrote some
In TwoController::bug() your call to SessionComponent seems
nonsensical. Looking at what you are trying to do it should either be
$this->Session->check('key') which should return TRUE since you set
this value in OneController::start(), or
($this->Session->read('key') == 'info') which should also
Is it possible to pass an array through named arguments and have it
accessible via $this->passedArgs?
How would you convert an array as such to a named argument
Array
(
[foo] => "foo1"
[bar] => Array
(
[0] => "bar0"
Hello, everyone.
I'm into a dead end and I can't seem to get this session and redirect
things right...
I've tested this using cakephp, php and database session methods.
I have two controllers and one action in each one, like this:
Session->write('key', 'info');
$this->redirect('/two/bug');
Look in the cake/libs/error.php class. You may be able to override
something there and make log output work. I don't know where in the
hierarchy of cake you would need to put the override to make it work.
Maybe some expert can contribute here.
Rick
On Aug 11, 3:31 am, bram wrote:
> I do kno
Hello,
I have tried to figure out what would be the best way to add generic
functions to an app, in order to then be able to use them everywhere
in a Cake application.
I wrote some time ago (nothing to do with cake) classes with methods
that I use to do different things. They are generic classes
I have an Auth Acl setup working fine.
I have scope-> Users.confirmed to verify they confirmed their email before
they can login in...no problem.
Now I have added User.status which is:
default 0 = pending admin approval
1 = active
2= suspended
Now I have 3 scenarios to allow access to the
i found some difficulties using function find(),
/
SELECT `Book`.`isbn`, `Book`.`title`, `Book`.`author_name` FROM
`books` AS `Book` WHERE `Book`.`title` = 'LIKE 'A%' ORDER BY
`Book`.`title` ASC
//
In this query, i can't retrieve data because the conditions pasted in
this
Sorry for the mixed quotes.
--~--~-~--~~~---~--~~
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
cake-php+unsub
@demon
that looks promising
i'll check it out, thx
On 11 Aug., 11:38, evilbloodydemon wrote:
> take a look tohttp://github.com/mcurry/lazy_loader/tree/master
>
> On Aug 10, 8:13 pm, Martin Westin wrote:
>
> > Typical me. I never got to my real point.
>
> > I wanted to say that if you are havi
For future refernce, you would use:
usort($fruits, array(&$this, 'cmp"));
--~--~-~--~~~---~--~~
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
Thanks Joshua,
That works just as needed.
Dave
_
From: joshua [mailto:josh...@gmail.com]
Sent: August-11-09 1:14 AM
To: cake-php@googlegroups.com
Subject: Re: Array help
I think you can define a model level filter, it will help you to solve this
problem thoroughly. Just an idea of
i have gotten this messege how can solve it ?? please help me...
--~--~-~--~~~---~--~~
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
Hi,
I have checked the code its working properly.
Please cross check your method which checking for logged User. It
might be in beforeFilter because its asking for log-in.
Regards,
Anurag Pal
On Aug 11, 12:25 pm, armen wrote:
> This is the link to the webpage that im working
> on...http://wa
G'day all
I'm integrating CakePHP into a legacy CMS. The CMS stores all of its
session data in the generic php session (it never calls session_name
()). I need to retrieve this session data to prevent requiring users
to log in twice to use the old and the new functions. Is there a way
to do this?
Hi Guys,
i' am using the form helper to create input fields, but they'll not
displayed in opera.
What could be the problem? A local instance of xampp is my webserver.
cakephp 1.2.4.8284 stable
http://img185.imageshack.us/img185/9628/20090811102017.png
Thank you!
Regards,
Robert
--~--~
Hi,
I have the same issue. I found that its using different path for
uploading file.
For stopping details to database just first upload the file and then
insert or update record in database.
If you can provide the source code it would be better to diagnose the
problem.
Regards,
Anurag Pal
On
Hi,
Just set the Id so that it will get the reference on edit page.
Regards,
Anurag Pal
On Tue, Aug 11, 2009 at 2:36 PM, leafchild wrote:
>
> Yes, I use $form->input()
>
> I found an issue because I was SQL again for the specific data before
> going back to the page to show user an errors.
> (
Hi,
For that you have to pass values in input filed so that it will take
it when it come back to page after getting validation errors.
Regards,
Anurag Pal
On Aug 8, 3:56 am, leafchild wrote:
> I have a page with form.
>
> If user entered name, address,,,and ,all kinds of information and
> subm
G'day everyone
I'm planning to integrate CakePHP with a legacy CRM site in use. My
problem is with authentication. The legacy CRM stores session data
just in $_SESSION (it doesn't call session_name()). Is there a
straightforward way to access this data from within CakePHP, or should
I somehow hac
Ok . . .
I already have find the way to use it but . . .
I have another one problem.
How to translate my content ? ? ?
in example :
I set the $this->Post->locale = "gre"
I save my data $this->Post->create(); $this->Post->save($this->data);
Ok until now but If i like to translate this post no
On Tue, Aug 11, 2009 at 6:23 AM,
DatacenterHellas wrote:
>
> Hello all ! :)
>
> I'm creating an application and I like to make it multilanguage.
>
> The question is how ? ? ?
>
> I already have make the internationalization of the menus, I can
> change languages to my interface but the question is
On 8/11/2009 9:23 AM, brian wrote:
> That seems like a good method for this instance, where there isn't
> (likely) to be a bunch of other Cake apps floating around. So, no need
> to make the libs shareable.
>
FYI:
For shared cake libs I use the setup described in the book.
http://book.cakephp.o
take a look to http://github.com/mcurry/lazy_loader/tree/master
On Aug 10, 8:13 pm, Martin Westin wrote:
> Typical me. I never got to my real point.
>
> I wanted to say that if you are having serious performance problems
> even while containing queries then that is a bit odd. What is the
> diffe
Hello all ! :)
I'm creating an application and I like to make it multilanguage.
The question is how ? ? ?
I already have make the internationalization of the menus, I can
change languages to my interface but the question is how can I
translate my articles by using the I18n table ? ? ?
Kind reg
Yes, I use $form->input()
I found an issue because I was SQL again for the specific data before
going back to the page to show user an errors.
(I had an code like this that's why I couldn't keep the entered value
when there is an error.
===
function adm
Firstly, the $name must be == to the name of the Model. $name is used
to compatibility in php4
Secondly, The WorksCollections controller is looking for the
WorksCollection model. Cakephp only singularises the last word in a
multi word name. So you should rename your WorkCollection model to
WorksC
You can use below code cakephp format.
input('listname',array('options'=>$mylist,'Selected'=>'Please
select a value));
?>
On 8/11/09, jburns wrote:
>
>
> How can I add a blank value (something like "Please select a value")
> to the top of a select list when using $this->Xxxx->Yyyy->find
> ('
How can I add a blank value (something like "Please select a value")
to the top of a select list when using $this->Xxxx->Yyyy->find
('list'); instead of defaulting to the first value in the list?
--~--~-~--~~~---~--~~
You received this message because you are subscr
The uploaded img directory permission is set to 777 and just in case I
even changed webroot permission to 777
but I'm still seeing same warning message. Where else I need to
check?
Also how can I stop update with entire file data to database?
after trying to upload file debug show:
I am not quite sure what you are missing but you might want to double
check a couple of things including:
the name of your aliquot model file,
the validate variable in your aliquot model file and
try using the validationErrors method available for each of the models
created and returning any erro
I do know it's possible to write all cake debugging and error info to
the log file. But I don't know how to enable it without a small
modification in the cake source code. I've asked a similar question a
couple of days ago, but no replies
http://groups.google.com/group/cake-php/msg/05dfde6ad7
Thanks brian, now I can put my validation code at model.
On Aug 7, 6:26 pm, brian wrote:
> I'm not sure that I understand your question. But you can call the
> model's function directly from the controller.
>
>
>
> On Fri, Aug 7, 2009 at 4:42 PM,leafchild wrote:
>
> > Thanks, brian. but can I
This is the link to the webpage that im working on...
http://warplayart.com/bleed_till_death/UserLoging/users
and this is the link that you register a user...
http://warplayart.com/bleed_till_death/UserLoging/users/register
But the form on the register page, calles add in for it's action
variable
100 matches
Mail list logo