Does anyone have an experience with setting up a cron job on a shared host
where they must specify the location of the php.ini to be used? It's
definitely possible but I haven't quite figured it out with cake and shell
scripts.
I have a site that is using PHP 5.4 fast cgi, but my crons are
So basically you are able to see your project when visiting your server ip
but getting a 404 when redirected to the login? My guess is that your login
address looks like 192.168.1.123/my_broken_project/login? You actually *can
*use an ip address as a *server_name *but only one site will be
The only way I know of (off the top of my head) to use the same ip for
multiple sites with nginx (besides the working config I already gave you)
is to change the port your project listens on. Keep one at 80 and change
the other to something like 8080 (or some other port not being used). Your
I never thought to look because app assets are precompiled/compressed
during development, the helper was just a quick and simple solution for the
time being. I'll be sure to clone a copy and have a look, thanks Mark.
On Fri, Jan 10, 2014 at 5:48 AM, euromark dereurom...@gmail.com wrote:
Whats
I'm not quite too sure what to make of it. 'debug(Debugger::trace())'
triggered the error that I could not re-declare class debugger. I removed
the Debugger::trace() but the error remained. Fairly confident that I
hadn't re-declared the class anywhere else I commented out
'Debugkit.Toolbar' and
You're absolutely right, I was definitely confusing the two. I suppose that
I'm so used to referencing the plugin as camel-case everywhere else within
the app and since functions are camel-case and they are referenced as such
in the URL, it wasn't a far stretch to make the mistake of constructing
I was able to work everything out using $this-paginator options(). I
appreciate the help :)
On Mon, Oct 28, 2013 at 2:17 AM, Ed Propsner crotchf...@gmail.com wrote:
You're absolutely right, I was definitely confusing the two. I suppose
that I'm so used to referencing the plugin as camel-case
that it was :) So
yes, I still think I have something boogered within my app.
On Mon, Oct 28, 2013 at 5:39 PM, Reuben Helms reuben.he...@gmail.comwrote:
What options did you end up using?
On Tuesday, October 29, 2013, Ed Propsner wrote:
I was able to work everything out using
I thought better of the idea. Seems pointless to have identical names when
there are so many others to choose from :) I suppose I was more curious
about how it would effect the app moreso than actually creating the
controllers.
Thanks for the reply :)
On Wed, Oct 9, 2013 at 11:40 PM, Reuben
Naming the files with the same name wouldn't be so difficult ... one of
the files is contained in a plugin. My thinking was that within the app
itself I would have controller and plugin.controller and although they
would share the same name they are referenced differently and perhaps it
wouldn't
huh, sure enough :) I never came across that issue before but casting
definitely did the trick. Thanks for the help!
On Fri, Sep 27, 2013 at 12:22 PM, euromark dereurom...@gmail.com wrote:
User setter/getter combinational methods is pretty dangerous IMO :)
Especially with a typo-unsafe
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
@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
I've been running Cake on Ubuntu Server 12.04 for quite some time now and
never a problem. I don't necessarily have a problem with CakePHP itself,
but more than likely something changed on my system and I can't quite
figure it out.
I recently tried to bake a model for a newly added table in one
Using Cake 2.2.5
My app is exhibiting a strange behavior in one of my controller/views. I
have $this-Auth-allowedActions = array('view', 'index'); defined in the
beforeFilter of one of my controllers. When an authenticated user navigates
to the index view, Auth Component does not work on that
(Cake 2.2.5) I recently started getting an error that reads:
Warning (2): Invalid argument supplied for foreach()
[CORE]/Cake/Utility/Hash.php, Line 50]
Line 50 in Hash.php is part of get() function for the Hash class. Trying to
debug anything in that function results in a memory allocation
I have implemented ACL in my app and I'm regulating access using Groups,
however, I would like for some users within the same group to have slightly
different permissions. Has anyone been able to accomplish this? Is this
even possible? It seems as though I can change permissions for both the
Group
Thanks Johannes,
When I try stripping down it saves the record in the database with name
as empty.
On Mon, Sep 10, 2012 at 8:12 AM, Johannes N johannes.n...@socialisten.atwrote:
well, probably it's the
'name' = 'name' // Saves the file in database with actual name of
uploaded file
line.
I have two working examples of this
http://bin.cakephp.org/view/412028290 using
2.1.1.
However, using 2.2 running the same mocks in the test case CakeEmail is not
responding the same.
I don't think the issue is with the version of Cake but instead me
overlooking something that I'm just not
The file should be named PostsController.php
http://book.cakephp.org/2.0/en/getting-started/cakephp-conventions.html
On Wed, Apr 11, 2012 at 6:24 AM, INTERNET DATA CENTRE imti...@gmail.comwrote:
do you mean to say file name
file name Posts_controller
code
php
class PostsController extends
/en/tutorials-and-examples/blog/blog.html
On Wed, Apr 11, 2012 at 6:37 AM, INTERNET DATA CENTRE imti...@gmail.comwrote:
But the cakephp lesson where from i got this shows same file name and it
works good there. I have even tried with that file name also.
On Wed, Apr 11, 2012 at 4:05 PM, Ed
exactly in same
way which i saw on youtube.
On Wed, Apr 11, 2012 at 5:05 PM, Ed Propsner crotchf...@gmail.comwrote:
I would recommend that the site where you get your cakephp lesson from
should be this one
http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html
Work through
i saw on youtube.
On Wed, Apr 11, 2012 at 5:05 PM, Ed Propsner crotchf...@gmail.comwrote:
I would recommend that the site where you get your cakephp lesson
from should be this one
http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html
Work through (not copy and paste) the blog
= '/tut_blog'
webroot = '/tut_blog/'
here = '/tut_blog/post/helloworld'
}
object(CakeResponse) {
}
On Wed, Apr 11, 2012 at 5:38 PM, Ed Propsner crotchf...@gmail.com wrote:
The only thing that should really need changing in webroot/index is the
CAKE_CORE_INCLUDE_PATH
I did do some debugging at line 268. The initial error was complaining that
Warning (2): array_merge() [function.array-merge]: Argument #1 is not an
array [CORE/Cake/Event/CakeEventManager.php, line 268]
and argument #1 for array_merge was $this-_listeners[$eventKey] which
returned a rather
Any idea what would cause this error?
Warning (2): array_merge() [function.array-merge]: Argument #1 is not an
array [CORE/Cake/Event/CakeEventManager.php, line 268]
Cake version is 2.1
I didn't have a problem until I moved the app to remote server.
My guess is that I botched the set up but I
I recently switched computers and for whatever reason I decided to go with
WampServer on this machine instead of XAMPP which I have been using up
until now.
I have a JS request that seems to have stopped working once I switched.
[code]
?=$this-Form-create(false);?
div class=shopHourDate
?php
@Miles,
With the newest version of your uploader, when deleting a row from the db
the corresponding file should be deleted locally.
I have everything else working great except for file deletion.
What am I overlooking?
Regards,
ED
--
Our newest site for the community: CakePHP Video Tutorials
I've been beating myself in the head with the bible for quite some time
now ;)
misusing Basic HTTP authentication is purely me misusnderstanding Basic
HTTP authentication. ... I've come to the conclusion hours ago that I was
heading down the wrong road with it and switched gears accordingly.
I
Yikes! I almost feel foolish seeing that ;)
No harm done, I've gotten into areas I' never messed with and learned a few
things in the process.
Thank you.
On Sun, Nov 13, 2011 at 5:59 AM, majna majna...@gmail.com wrote:
https://gist.github.com/1361982
--
Our newest site for the community:
Seems like the Auth Component is keeping you out try adding this to the
beforeFilter() in your controller:
$this-Auth-allowedActions = array('updateuserprofile');
HTH
- Ed
On Fri, Oct 14, 2011 at 11:46 PM, DK techi dk.te...@gmail.com wrote:
I have a table named userinformations . I want
Hindsight is 20/20. I'll keep it mind IF I ever another problem to that
extent.
On Wed, Oct 12, 2011 at 2:46 AM, Miles J mileswjohn...@gmail.com wrote:
That really is weird. Would of been useful to zip up and send to the
Cake devs :p
On Oct 11, 11:15 am, Ed Propsner crotchf...@gmail.com
Out of curiosity when Facebook redirects back to
http:://localhost/app/users/index if you refresh the page at that point is
$this-facebook-getUser() now available?
On Wed, Oct 12, 2011 at 1:12 PM, Kyle kyleschr...@gmail.com wrote:
I'm new to all of this, php/cakephp/facebook. I'm trying
, Ed Propsner crotchf...@gmail.com wrote:
Out of curiosity when Facebook redirects back to
http:://localhost/app/users/index if you refresh the page at that point
is
$this-facebook-getUser() now available?
On Wed, Oct 12, 2011 at 1:12 PM, Kyle kyleschr...@gmail.com wrote
? Frankly, I'm ignorant
enough in this area to not know the difference.
Does 2.0 handle this differently and I'm just not understanding it?
- Ed
On Tue, Oct 11, 2011 at 12:15 AM, Carlo Cruz yummydwa...@gmail.com wrote:
You could always use a 'require_once' in bootstrap.
On Oct 11, 12:24 pm, Ed
this: $this-facebook = new Facebook(); Should be done in the
controllers beforeFilter().
On Oct 11, 5:44 am, Ed Propsner crotchf...@gmail.com wrote:
Thanks for the response Carlo,
Loading the class in the bootstrap has the same effect as in the
AppController ... the class is only available
oops ... was ready another thread ... I meant @Miles ;)
On Tue, Oct 11, 2011 at 2:14 PM, Ed Propsner crotchf...@gmail.com wrote:
@Mark
That doesn't make sense. Including a file *anywhere* in the
application imports it into the scope, this is part of PHP, not
CakePHP.
I couldn't agree
I'm trying to load Facebook's php sdk. I'm currently using App::import.
I'm loading it into the App Controller but the problem I'm having now is
that the class is only available within that controller and not accessible
to the rest of my controllers.
- Ed
On Mon, Oct 10, 2011 at 9:12 PM, Miles J
I've been poking around with this for a bit and have yet to find out what's
going wrong. I'm passing a paginated result set to a view and everything
renders fine until I try to access the next page of results.
Example:
// CONTROLLER //
$this-paginate = array(
'contain' = array(
'OnlineUser',
Just wondering if anyone has experience with facebook iframe canvas apps
using Cake? I've been using fbml for older apps with no issues but for my
newest app moved to PHP SDK 3.0 and iframes. Everything seems to work fine
except for redirecting users to other pages within the iframe. I've tried
@ShadowCross:
That's it! I don't rely on the book as much as I used to (there is a lesson
to be learned here) ... I could have saved myself a lot of tinkering. Thanks
so much for the help and getting me pointed in the right direction.
- ED
On Sat, Apr 2, 2011 at 11:39 PM,
I need to paginate a list of results having the search return the results in
the order I presented the list to the search. I'm trying to paginate a list
of users but I'm using a separate table to define the order, there is no
column in the users table to use for the order.
Here is an example of
I know this a common error but I'm not seeing what I'm overlooking here.
I uploaded a project to remote server and the app complains that I'm missing
DB tables.
I assumed it was the cache and emptied it out but the problem still
persists.
The tables are there so that is not the issue.
The app
I won't get into the actual coding on how to do it but it's quite simple
really.
One approach is - User $hasMany Favorites
When loading a page that contains the possible favorite
have the controller use containable behavior and pass
the current session user info containing their favorites list
I was getting the same thing seems to have cleared up.
On Thu, Feb 3, 2011 at 10:11 AM, euromark dereurom...@googlemail.comwrote:
and now has a 500 - internal error :)
On 3 Feb., 13:11, Graham Weldon predomin...@gmail.com wrote:
The CakePHP Book[1] has undergone a major facelift and
I'm working on part of my app where I'm harvesting a list of ID's from the
db and passing the list to my view. It's a bit of work to get the initial
list so to minimize the load and NOT have to repeat the process with each
successive page load I would just like to pass the initial list back and
A hidden field could accomplish exactly what you are looking to do.
$form-input('User.user_id', array('type' = 'hidden', 'value' =
$this-Session-read('Auth.User.id'));
The user id will accessible in your controller through $this-data
HTH
On Wed, Feb 2, 2011 at 12:53 PM, Paul Wheatley
I'd go with euromark's answer :) He's right about the field being easily
manipulated.
On Wed, Feb 2, 2011 at 1:03 PM, Ed Propsner crotchf...@gmail.com wrote:
A hidden field could accomplish exactly what you are looking to do.
$form-input('User.user_id', array('type' = 'hidden', 'value
to access the data, it
grabs from the cache instead of the DB.
On Feb 2, 7:41 am, Ed Propsner crotchf...@gmail.com wrote:
I'm working on part of my app where I'm harvesting a list of ID's from
the
db and passing the list to my view. It's a bit of work to get the initial
list so to minimize
@Miles:: Worked like a charm, thank you.
I never used cache because I never had an overwhelming need for it before. I
could kick myself for my ignorance. :)
On Wed, Feb 2, 2011 at 3:16 PM, Ed Propsner crotchf...@gmail.com wrote:
I knew the solution was probably an obvious one. I know it may
I've been plugging away with Cake for some time now with extremely few
issues. I recently decided that ACL was the right choice for my app ... now
I have issues :)
I've toyed with it long enough now that I understand the concept and
mechanics of it but the issue I'm having is this:
When granting
) //
ignores both email and name and sends using server address
$this-email-from = 'Some Name' // sends okay but is obviously missing the
email address
On Tue, Jul 20, 2010 at 5:36 PM, Ed Propsner crotchf...@gmail.com wrote:
I recently changed names on one of my sites and moved the entire site
I recently changed names on one of my sites and moved the entire site to a
different dir on the server.
Everything went smooth enough except now I'm unable to send emails.
Mail sends ok using PHP mail() function but not when using the email
component.
The email is NOT set up for SMTP.
Am I
related with Email component? if I
can send mail with mail() I can send with the component :S
2010/7/20 Ed Propsner crotchf...@gmail.com
I recently changed names on one of my sites and moved the entire site to a
different dir on the server.
Everything went smooth enough except now I'm unable
http://book.cakephp.org/view/1384/Creating-Forms
On Mon, Jul 19, 2010 at 10:14 AM, amr_AJ ramruth...@gmail.com wrote:
how to create forms
Check out the new CakePHP Questions site http://cakeqs.org and help others
with their CakePHP related questions.
You received this message because you
Is there a best practice or rule of thumb to work from when defining model
associations?
It seems pretty cut and dry and there's not much that you can really mess
up.
I know this problem has been brought up here in the past but I'm still
unable to find a solution after reviewing older threads.
Set your debug to at least 1 and see what the error is telling you then. It
will give you a better idea of what's going on.
On Mon, Jun 21, 2010 at 6:26 AM, Master Ram ramganga...@gmail.com wrote:
Hi..
i have table name called: promoter_interest_hobbies
i used the module name:
You can create a form element specifically for the year and set options for
$minYear and $maxYear. It's all in the book 8-)
http://book.cakephp.org/view/1416/year
On Mon, Jun 21, 2010 at 8:32 AM, Jonathon Musters luvz2...@gmail.comwrote:
Google php date formats and replace it.
On 6/21/10,
Can anyone help me see what I might be missing here.
I keep getting this error using the following set up:
*Error: *The requested address *'/webContacts/contactUs'* was not found on
this server.
M = web_contact.php
class WebContact extends AppModel {
var $name = 'WebContact';
., 22:46, Ed Propsner crotchf...@gmail.com wrote:
Can anyone help me see what I might be missing here.
I keep getting this error using the following set up:
*Error: *The requested address *'/webContacts/contactUs'* was not found
on
this server.
M = web_contact.php
class
think
the following would be necessary:
The code that returns data for your ajax call.
The code of the view in which the dropdown data is to be used.
Enjoy,
John
On Jun 16, 2:55 am, Ed Propsner crotchf...@gmail.com wrote:
My last post was a bit misleading ... The way I should have
, 10:58 am, Ed Propsner crotchf...@gmail.com wrote:
Sorry about that John, I'm not quite with it today ... i'm a bit under
the
weather.
This is the part of the view for the search.
$form-input('country', array(
'label' = '',
'type' = 'select',
'empty' = '-- Select --',
'selected
unfortunately haven't played around with Ajax as much, so can't shed
any light on the issue!
Enjoy,
John
On Jun 16, 11:59 am, Ed Propsner crotchf...@gmail.com wrote:
I removed the model name (Search) from the field(s) and the result was
the
same ... minus [Search] in the array (obviously
http://book.cakephp.org/view/1358/AJAX
On Wed, Jun 16, 2010 at 2:26 PM, hoss7 hoss...@gmail.com wrote:
i want help for ajax in cakephp or sample code or idea
Check out the new CakePHP Questions site http://cakeqs.org and help others
with their CakePHP related questions.
You received this
I have a dropdown in one of my searches that is populated via ajax.
When the form submits (GET) my params end up looking something like:
[code]
[minAge] = 31
[maxAge] = 41
[country] = Chile
[data] = Array
(
$this-params array arrive at the controller
already formatted the way I want instead of me
having to manipulate the array once it get's there.
On Tue, Jun 15, 2010 at 5:47 PM, Ed Propsner crotchf...@gmail.com wrote:
I have a dropdown in one of my searches that is populated via ajax.
When the form submits
the record I take the id from the session. I
don't rely on the record id being in the url. If I did that, then the
user could easily change it upon submitting the form, which would be a
bad thing :)
Hope this helps you on the way,
John
On Jun 14, 3:34 am, Ed Propsner crotchf...@gmail.com wrote
I notice that when I submit a form to a url such as
http://mysite.com/controller/action/25
If validation fails on the first attempt the form reloads under the exact
same url and retains all of $this-data
but if the validation fails on subsequent attempts the form reloads
but the record id gets
I haven't toyed with the cookies yet but it looks like they can be
configured in app/config/core.php
Configure::write('Session.cookie', 'CakePHP');
HTH
- Ed
On Sun, Jun 13, 2010 at 7:50 PM, sherzo shahrzad.azimi...@gmail.com wrote:
Hi all
I wonder to know if any of you knows how to remove
Have you checked out the section of the book on custom query pagination?
http://book.cakephp.org/view/1237/Custom-Query-Pagination
http://book.cakephp.org/view/1237/Custom-Query-PaginationEven though in
the end I ended up not using it I was able to paginate a custom query
working from the
I set up a sub-query that needs to utilize 'containable behavior' and I need
to paginate the results.
[code]
$conditionsSubQuery['Friend.user_id'] = $this-Auth-User('id');
$dbo = $this-Friend-getDataSource();
$subQuery = $dbo-buildStatement(
array(
'fields' =
:42 PM, Ed Propsner crotchf...@gmail.com wrote:
I set up a sub-query that needs to utilize 'containable behavior' and I
need to paginate the results.
[code]
$conditionsSubQuery['Friend.user_id'] = $this-Auth-User('id');
$dbo = $this-Friend-getDataSource();
$subQuery = $dbo-buildStatement
10, 10:04 am, Ed Propsner crotchf...@gmail.com wrote:
[snip part for Calvin]
@John:
Are you using the db to cache your search results on the server side? I
learned some hard lessons in the past and need to cut down the load
wherever
I can. Is there any specific advantages to setting up
In your PostsController try using var $uses = array('Post');
On Wed, Jun 9, 2010 at 8:27 AM, Pedro pedrohme...@gmail.com wrote:
Hi all,
I'm following the basic cakephp Blog example, here is my code:
posts_controller.php
?php
class PostsController extends AppController
{
var $name =
as a match.
To perform the same search using AND, you'd simply check to see if 3
13 = 13, which it obviously does not. But a record that has a value of
13 for the type field would evaluate to:
1101 1101 = 1101
So such a record would be return as a result.
On Jun 8, 10:36 am, Ed Propsner
@Calvin:
I do like the idea of using array_sum() and storing the options as an INT,
I've taken this approach in the past with a different app (once) and it
worked out just fine. In this case let's say you have a value of 3 stored in
the db representing 2 options ... '1' = 'video, '2' = 'audio. A
It doesn't seem like the blog tutorial is really your thing but have you
tried it? All the fundamentals are there including functions and how they
relate to views, as well as passing data back and forth between MVC. It
really is the best place to start and any additional info can be found in
the
://dev.mysql.com/doc/refman/5.0/en/regexp.html#operator_regexp
On Jun 6, 1:24 pm, Ed Propsner crotchf...@gmail.com wrote:
I found a usable solution, a bit exhaustive and long-winded perhaps, but
usable nonetheless.
I still need to put together a dynamic query and I'm finding myself
avoiding
Are you using a custom Join statement in your query, particularly a RIGHT
JOIN?
On Mon, Jun 7, 2010 at 2:34 PM, Roland Pish rolandp...@gmail.com wrote:
Hello.
I was creating an add form for a model called Practitioner.
Everything seems to work fine, after submitting the form changes are
Looks like Cricket knows what the deal is. I suggested the custom join
because I messed one up once and it ended up looking for a column named
'right'. 8-)
On Mon, Jun 7, 2010 at 3:30 PM, cricket zijn.digi...@gmail.com wrote:
On Jun 7, 3:20 pm, Ed Propsner crotchf...@gmail.com wrote:
Are you
If I'm following you correctly you could use $this-Auth-autoRedirect =
false;
On Mon, Jun 7, 2010 at 4:11 PM, junker37 junke...@gmail.com wrote:
How can I stop the auth component from redirecting? Currently, when I
make an ajax call, and the user isn't allowed to the requested action,
cake
. There could be 20 choices or there could be 2.
Every solution I'm coming up with is ridiculously excessive for something
that should be so simple. I'm sure the answer is there, I'm just not
familiar enough with Cake at this point to see it.
- Ed
On Sat, Jun 5, 2010 at 4:36 PM, Ed Propsner crotchf
for me to begin with 8-).
Any suggestions are appreciated.
Thanks.
- Ed
On Fri, Jun 4, 2010 at 11:54 PM, Ed Propsner crotchf...@gmail.com wrote:
Thanks Calvin, point well taken. I'll just stick with GET like I always
have for searches.
I tweaked the routing and got things cleaned up a bit so
I was checking out the book on complex queries and not really finding what
I'm looking for.
I'm trying to create a query that covers both a basic and advanced search.
The form may be submitting all or just some of the options available on the
page depending on what the user chooses.
Once the
search result,
which might be something like:
http://yoursite.com/search/paegan+terrorism+tactics/f83e3a4b389c6b
That will decrease your server load, allow you to use a POST form, and
still allow the user to bookmark/link the search results (at least for
a time).
On Jun 4, 10:40 am, Ed
Are you submitting the form to a different controller or action other than
the one where you are setting your select values?
- Ed
On Sun, May 30, 2010 at 2:22 PM, Ziki zixw...@gmail.com wrote:
I have that problem that after validation, when it is again diplayed
my form with error messages,
.
On 30 svi, 21:27, Ed Propsner crotchf...@gmail.com wrote:
Are you submitting the form to a different controller or action other
than
the one where you are setting your select values?
- Ed
On Sun, May 30, 2010 at 2:22 PM, Ziki zixw...@gmail.com wrote:
I have that problem that after
8-)
On Sat, May 29, 2010 at 3:33 AM, John Andersen j.andersen...@gmail.comwrote:
What version of CakePHP are you using? Version 1.1??
I have no idea whether the .thtml files are valid for CakePHP version
1.2.x or 1.3!
Enjoy,
John
On May 29, 10:23 am, Gopinath T.M gopi4bre...@gmail.com
By the looks of it you named your model correctly as Items but in your
conditions your are referencing Item.
To find count ...
$this-Section-find('count' , array(
'conditions' = array(
'Items.user_id' = 1
)
Anyone have an ideas where I should start looking for the cause of this
warning:
Method OnlineUsersHelper::address does not exist
It's not set up any differently from the rest of my helpers.
The function executes okay and returns the correct output, I just get the
warning.
- Ed
Check out the
Propsner crotchf...@gmail.com wrote:
I know it was grasping at straws but the switch to 1.3 stable didn't help.
However now the console bakes empty models and terminates with a fatal
error when baking controllers, 8-)
On Tue, May 25, 2010 at 12:52 AM, Ed Propsner crotchf...@gmail.comwrote
Just to be sure make sure your config for the Auth component in the
AppController looks something like this:
class AppController extends Controller
{
var $components = array('Auth');
}
By the looks of it you may also want to change your security salt and
cipherSeed in App/Config/Core.php
I'm
days hehe
2010/5/27 Ed Propsner crotchf...@gmail.com
Just to be sure make sure your config for the Auth component in the
AppController looks something like this:
class AppController extends Controller
{
var $components = array('Auth');
}
By the looks of it you may also want to change your
will be saved how it will be ecoded?
thanks
2010/5/28 Ed Propsner crotchf...@gmail.com
First and foremost make sure that you actually have a controller named
users_controller.php in your app/controllers dir
On Thu, May 27, 2010 at 5:59 PM, Davor Ilic webfa...@gmail.com wrote:
The Security i had
I would use:
$html-div('current', $html-link('Add', array(
'controller' = $this-params['controller'],
'action'='view'
)
)
);
- Ed
On Wed, May 26, 2010 at 2:41 AM, Dilip Godhani dilip.godh...@gmail.comwrote:
Can any One hellp
How i
I just updated to 1.3 stable from RC4 yesterday and I've been having the
same exact problem (amongst a few others) ever since.
I have to toy with it some more but it seems to only happen when passing
data into the controller action. As soon as the action sees $this-data
it dies. Even
John is correct, I've used it both ways I'm just a bit partial to
divs.
I've also defined css rules inline using 'style' = but I rarely use that
method.
- Ed
On Wed, May 26, 2010 at 5:12 AM, John Andersen j.andersen...@gmail.comwrote:
As written in the CakePHP book at:
SecurityComponent?
On 26 Mag, 16:05, Ernesto e.fanz...@gmail.com wrote:
same problem here.
rolled back to RC4 :)
On 26 Mag, 12:24, Ed Propsner crotchf...@gmail.com wrote:
I just updated to 1.3 stable from RC4 yesterday and I've been having
the
same exact problem (amongst a few
The security component was indeed the problem (404 error should have been a
huge clue). I was confident that I had my restrictions set up correctly in
beforeFilter().
On Wed, May 26, 2010 at 3:38 PM, Ed Propsner crotchf...@gmail.com wrote:
@Ernesto: Interesting, the only two controllers
I know it was grasping at straws but the switch to 1.3 stable didn't help.
However now the console bakes empty models and terminates with a fatal error
when baking controllers, 8-)
On Tue, May 25, 2010 at 12:52 AM, Ed Propsner crotchf...@gmail.com wrote:
just wondering, I'm still on RC4
1 - 100 of 218 matches
Mail list logo