Re: Auth Question

2008-04-28 Thread francky06l
You can't do this, since the recursive is set to -1 in the Auth itself (User->find() in identify method). I post a ticket about this months ago, but it ended with "wont fix". My work around is to "trick" a bit. I use my own method for Login and if successful I call the login method of Auth by pas

Re: Blog Example in Cake 1.2

2008-04-28 Thread djspark
Yeah, I'm looking to migrate to the cake world, and already have in place a PK system that I use. I've found UUID that cake supports to be a good alternative so I'm going to go that route as opposed to the auto increment method which I feel is not sufficient or my needs. On Apr 29, 12:46 am, "Sam

Re: Blog Example in Cake 1.2

2008-04-28 Thread Sam Sherlock
I am no mysql expert, I most often have index auto increment id fields such as the example from the book.cakephp.org tutorial CREATE TABLE posts ( id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY, title VARCHAR(50), body TEXT, created DATETIME DEFAULT NULL, modified DATETIME DEFAULT

problems with bake

2008-04-28 Thread chuck24
I am trying to learn cakephp. I am having problems accessing cake \consolecake.bat. When I try to open this file, the window flashes on the screen then goes away. I am not sure what is happening here or what to do about it. I dont have any experience with batch files. Any help will be greatly appr

Bakery is not updating?

2008-04-28 Thread Vangel
Hi, Gwoo , PhpNut or anyone who is maintaining the bakery. I posted one article, not much just very simple stuff, more than two weeks ago. It is nether been commented by anyone nor released. What gives? Whats happening? How can I help? --~--~-~--~~~---~--~~ You rec

Re: Blog Example in Cake 1.2

2008-04-28 Thread webmaster[at]hpiracing[dot]com
[code] CREATE TABLE IF NOT EXISTS `supa_supa`.`blog_posts` ( `blog_posts_id` BIGINT(12) NOT NULL , `blog_id` BIGINT(12) NOT NULL , `author_id` BIGINT(12) NULL , `author_type` VARCHAR(45) NULL , `date_created` DATETIME NULL , `date_modified` DATETIME NULL , `title` VARCHAR(128) NULL

Re: Doubt with 2ble Auth

2008-04-28 Thread Nicolás Andrade
Thanks for your time. I will print at least the 3 or 4 first pages of the link you've sent to read in the bed, before sleeping. Any other suggestion?? Greets! Nicolás Andrade (Wikipedia Reader) On Mon, Apr 28, 2008 at 7:51 PM, Marcin Domanski <[EMAIL PROTECTED]> wrote: > Ok > You _don't_ need

Database adding unwanted entries

2008-04-28 Thread AussieFreelancer
Hi all, I'm sure this must be me, but I can't see what I am doing wrong so thought I would post here. I am trying to set up a posts/tags kind of thing with a site I am building which stores presentations. So there can be tags associated with a presentation. I didn't want a multiple select box fo

Auth Question

2008-04-28 Thread Kyle Decot
Is there a way to do something like $this->Auth->recursive = 3; ? When I set my auth data, I would like to get additional information about my users e.g. all their posts, and comments etc. If I'm going about this the wrong way, please let me know of an alternative method. Thanks as always. --~--

Re: Register page troubles

2008-04-28 Thread Kyle Decot
Thanks. How would I redirect the user if they have not activated their account yet? Right now, it just reloads the login page if you're not activated. On Apr 27, 8:00 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote: >  $this->*Auth*->*userScope* = array('*User*.active' => 1); > > 2008/4/28 Kyle D

Re: Call by reference weirdness across Classes

2008-04-28 Thread MikeK
Cmon guys help me out. Why does this not work in cakephp? --~--~-~--~~~---~--~~ 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,

Re: CakePHP full example web site?

2008-04-28 Thread Sliv
Just FYI - I'm almost finished updating the 1.x branch of the bakery svn and hope to do a commit back to the branch soon. You may want to have another look at the updated code once the dust of all that settles. --~--~-~--~~~---~--~~ You received this message becau

Re: Doubt with 2ble Auth

2008-04-28 Thread Marcin Domanski
Ok You _don't_ need 2 models for different users , will you make a third one for moderators ? 4th for editors ? 5th... Why not make a user table with an 'is_admin' bool field and check on that ? Or even more generic - a 'role' field. Try to read some more on database design (you can start at wikipe

Re: Doubt with 2ble Auth

2008-04-28 Thread Nicolás Andrade
Problem: Using different tables for Auth Components (Users and Admins Tables) I was thinking... If I browse to /admin/users/ I will be asked for an admin login; and the login will be checked with the admin table. If I browse to /users/editProfile/ I well be asked for an user login; and the lo

Re: Conditions for multiple tables

2008-04-28 Thread [EMAIL PROTECTED]
I've never found a good built in solution to this. Cake does generate join queries so perhaps you can look at the output of the query in the debugger and create conditions that would work with it (like what you are suggesting above). Otherwise, write a custom join query and use $this->Model->query

user data sanitized automatically?

2008-04-28 Thread ryanwaggoner.com
If I'm handling a form submission in a controller, do I need to sanitize $this->data or does Cake do that for me? I'm asking because if I bake my controllers, Cake is pulling stuff from $this->data and doing $this->Model->find() with it. So my questions are: is user data in $this->data sanitized

Re: Trying to display survey information in add question page

2008-04-28 Thread [EMAIL PROTECTED]
If the relationship is setup correctly, when you do a query on your Survey model (ie $this->Survey->findById($id) ) then it should grab any question data related to the survey as well. You can also access your Question model through your Survey model if you need to get at your Survey model functio

Re: Problem In Sessions

2008-04-28 Thread [EMAIL PROTECTED]
The bulk of my session problems came from a bug in cake 1.1 where the session would reset when some images were rendered. This was fixed in 1.2 but if you are using 1.1 and don't want to upgrade, try changing your security to low in /app/config/core.php and see if that helps. Dave On Apr 27, 11:

Re: Problems with ibm tutorial no 2

2008-04-28 Thread [EMAIL PROTECTED]
This sounds like a version problem. I'd use the cake 1.2 version from SVN. If you don't want to upgrade check /cake/libs/view/helpers/ form.php and see if the create() function exists. My guess that it doesn't. Dave On Apr 27, 8:36 pm, chuck24 <[EMAIL PROTECTED]> wrote: > I have been trying to l

Conditions for multiple tables

2008-04-28 Thread Crazy
I am wondering if it is possible to give conditions over multiple related tables, currently I have this: Table series: - id - name Table genre_series: - serie_id - genre_id Table genres: - id - name Model is set up correctly with HABTM etc and when I do a findAll() I get the correct output. W

Re: Emal component problem

2008-04-28 Thread Guillaume
I use it like this: $this->Email->to = '[EMAIL PROTECTED]'; $this->Email->subject = $this- >data['Contact']['subject']; $this->Email->replyTo = $this- >data['Contact']['email']; $this->Email-

Re: CakePHP full example web site?

2008-04-28 Thread Sliv
http://groups.google.com/group/cake-php/web/cakephp-in-the-wild --~--~-~--~~~---~--~~ 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

Emal component problem

2008-04-28 Thread Mech7
I have been trying out the email component but i can't get the body of the email to send? I am using cake fro svn. When the email arrives it works ok except the body of the email is empty? This is my controller: set('status', 'succes'); } elseif ($send == 'failed'){

sponsored project - need a developer

2008-04-28 Thread Todd McGrath
I sincerely hope it is ok to post a freelancer opening here? If not, please let me know a better spot to find an experienced and proven CakePHP developer. I need an application developed quickly; a proof-of-concept application. The application needs to manage classroom training events which en

Re: Blog Example in Cake 1.2

2008-04-28 Thread Sam Sherlock
as far as non auto incerment PK goes here is a quote by nate from trac 01/04/08 20:49:23 changed by wiseganesha ¶ > > The default behavior is wrong for non autoincrementing fields though. > Seems like cake likes to be smart about handing stuff, then

Re: Getting name of submit button

2008-04-28 Thread alxlevin
You can also find some helpful information in the $this->params array if you pass in a name parameter in the submit button.. If you print it out: echo debug($this->params) you should see the name of the submit button pressed with x and y coordinates. Based on this info you can do a array_key_exi

Form from a plugin

2008-04-28 Thread alxlevin
Hi. I'm trying to automagically edit a form from data located within a plugin in version 1.2. I have a plugin named Profile with a Profiles_Controller. The database table is named profiles. What would set as the model parameter in the formhelper create function so that it is able to find the c

Re: Blog Example in Cake 1.2

2008-04-28 Thread Sam Sherlock
cake automagically handles fields created & modified (or updated) if present. Personally in my set up I have found that created gets set to -00-00 and modfied gets updated correctly, perhaps this is due to my own foul up - its some I plan to look into but http://book.cakephp.org/ja/view/69/c

Re: Blog Example in Cake 1.2

2008-04-28 Thread djspark
Yeah, I don't mind changing the value, however I prefer keeping date/ time as int(11) in unixtime. I'll have to keep reading to see if this is still possible or not. Also I added this line to my model and I no longer have the PK problem on view: var $primaryKey = "blog_posts_id"; I've found ho

Re: Blog Example in Cake 1.2

2008-04-28 Thread djspark
Would you suggest these be instead named: modified & created ? On Apr 28, 2:43 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote: > also I believe your missing out on some autmagic benefits by using > date_created and date_modified > > 2008/4/28 Sam Sherlock <[EMAIL PROTECTED]>: > > > try > > > $this

Re: Blog Example in Cake 1.2

2008-04-28 Thread djspark
I tried changing the read() as you described and receive the same error. The only way I can make it work is by inserting: $this->BlogPost->primaryKey = "blog_posts_id"; before the $this->set() line... On Apr 28, 2:41 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote: > try > > $this->BlogPost->read(

Re: Blog Example in Cake 1.2

2008-04-28 Thread Sam Sherlock
also I believe your missing out on some autmagic benefits by using date_created and date_modified 2008/4/28 Sam Sherlock <[EMAIL PROTECTED]>: > try > > $this->BlogPost->read(null, $BlogPostId) > > in place of > > $this->BlogPost->read() > > hth - S > > 2008/4/28 djspark <[EMAIL PROTECTED]>: > >

Re: Blog Example in Cake 1.2

2008-04-28 Thread Sam Sherlock
try $this->BlogPost->read(null, $BlogPostId) in place of $this->BlogPost->read() hth - S 2008/4/28 djspark <[EMAIL PROTECTED]>: > > Hello, > > I've decided to take a stab at developing with CakePHP instead of re- > inventing the wheel every time I develop a site. So far I've been very > impre

Blog Example in Cake 1.2

2008-04-28 Thread djspark
Hello, I've decided to take a stab at developing with CakePHP instead of re- inventing the wheel every time I develop a site. So far I've been very impressed with everything it can do, and how great the organization is. Currently I'm trying to do the blog example, however with my own table. Reas

Re: Call by reference weirdness across Classes

2008-04-28 Thread MikeK
One other bit of data we are running php 4.4.7 --~--~-~--~~~---~--~~ 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

Call by reference weirdness across Classes

2008-04-28 Thread MikeK
This may be more of a PHP issue than Cake but ya'll gurus probably know why this is a problem. In a controller for Bait function foo function test() { Bait::foo($xxx); // works correctly $this->Bait->foo($xxx); // does not work } In Bait model function foo() takes the parm by ref and sets it's

Re: problem installing with xampp

2008-04-28 Thread Joel Perras
Two possibilities: 1) mod_rewrite is not enabled in Apache 2) The .htaccess files in the main Cake application directory and the webroot are non-existent, or you need to set a RewriteBase directive (if you are running Cake in a subdirectory). All of these are described in the Installation sectio

Re: Getting name of submit button

2008-04-28 Thread Dovdimus Prime
Excellent, thank you for your help Dave. --~--~-~--~~~---~--~~ 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 [E

Re: Getting name of submit button

2008-04-28 Thread [EMAIL PROTECTED]
Check this out: http://www.chami.com/tips/Internet/042599I.html it's in asp but I think it still relates. It looks like if you give the submit button value and name property tags the data will be included in $this->data just like any other input. If this doesn't work my other suggestion would be a

Doubt with 2ble Auth

2008-04-28 Thread Nicolás Andrade
Hi to all; as a few days ago was suggested in this list; I started using AUTH component and Admin Routing to validate Administrators. Now, I've 2 "Users" models; (Front End) Users and Admins. Each Admin function has Admin_ on it's name. Ok. In the Users controller appears the problem. The Adm

problem installing with xampp

2008-04-28 Thread tangentplease
I'm installing CakePHP on my Macbook with XAMPP. My issue once I have all of the permissions addressed and the database created is that I do get the page that reads like the following, however it isn't loading in the cake.generic.css style sheet? What do I need to do to get it to load the style sh

Re: CakePHP full example web site?

2008-04-28 Thread Paolo Stancato
You can get bakery's source code at SVN (https://svn.cakeforge.org/svn/bakery), it helps Cheers 2008/4/28 BeroFX <[EMAIL PROTECTED]>: > > Does anyone have a link or an example of a Cake site? > > What I'd like to see is a site with a main page, md5 passwords etc. > > > > --~--~-~--

Re: newbie cake1.2 and swfupload parameter question

2008-04-28 Thread Sam Sherlock
what about post_prams of swfupload 2008/4/28 . <[EMAIL PROTECTED]>: > in cake1.2 and swfupload, I want to save a variable passed from the cake > controller to the files -> upload function. How do I do this? > > In my default.ctp file, I have this: > > window.onload = function() { >var setti

Re: Alias?

2008-04-28 Thread Joel Perras
Whoops, didn't see that you wanted to also refer to the unique name of the project. So A few more lines. For that, use: (app/config/routes.php) Router::connect('/projects/:name', array('action'=>'view', 'name'=>null)); And in your projects/view controller/action pair: function view() { if (

Re: Alias?

2008-04-28 Thread Joel Perras
How about in one line? In the app/config/routes.php file: Router::connect('/projects/:id', array('action' => 'view'), array('id' => '[0-9]+')); -J. On Apr 28, 10:31 am, "Davide" <[EMAIL PROTECTED]> wrote: > I wrote a code (at the bottom) that in case of missingAction will search > in the datab

newbie cake1.2 and swfupload parameter question

2008-04-28 Thread .
in cake1.2 and swfupload, I want to save a variable passed from the cake controller to the files -> upload function. How do I do this? In my default.ctp file, I have this: window.onload = function() { var settings = { flash_url : "http://localhost/js/swfupload/swfupload_f9.swf";, upl

Re: Silly database error

2008-04-28 Thread Dovdimus Prime
Ah, in the controller itself I need to prefix the 'id' field in the call to the model: $currentPrompt = $this->Prompt->find("`Prompt`.`id` = $id", null, null, 1); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake

Re: Different Models in one view

2008-04-28 Thread Andrew Assarattanakul
Forms can only submit to one location, but you can put all of the fields together in form. Example View: $field_section): ?> inputs($field_section); ?> submit('Save');?> The value of $form_fields is: Array ( [Product] => Array (

Re: CakePHP full example web site?

2008-04-28 Thread Daniel Hofstetter
Hi BeroFX, > Does anyone have a link or an example of a Cake site? > > What I'd like to see is a site with a main page, md5 passwords etc. You may have a look at the source of the bakery: http://cakeforge.org/projects/bakery/ Hope that helps! -- Daniel Hofstetter http://cakebaker.42dh.com --~

Silly database error

2008-04-28 Thread Dovdimus Prime
I have just added a var $belongsTo to my 'Prompt' model, so that it now looks like this: array('className' => 'Choice', 'conditions' => '', 'order' => '', 'limit' => '', 'foreignKey' =

Re: CakePHP full example web site?

2008-04-28 Thread Jeff Seibert
Hi BeroFX, I'm somewhat confused - do you want to simply see a public website written in Cake? Or the full source to one? The former is of course much easier, but I do not see how it would help you... Jeff On Apr 28, 4:06 am, BeroFX <[EMAIL PROTECTED]> wrote: > Does anyone have a link or an exam

Different Models in one view

2008-04-28 Thread J. Eckert
Good evening ladies and gentlemen, I have an issue about different models in one view (to be precise: one form). In the current case i have three Models: Customer, BillingAddress, DeliveryAddress The system i am working on is a small shop system. At the end of the checkout i gather the needed

Re: renderElement strange behavior

2008-04-28 Thread rob5408
I emptied out the element and included it and tried just getting it to show up with "test" as the content, which worked. I then rewrote the element line by line starting with 1) HTML 2) Regular PHP 3) PHP using Cake objects until I got a fully functioning element and never ran into the problem aga

Re: Alias?

2008-04-28 Thread Davide
I wrote a code (at the bottom) that in case of missingAction will search in the database and if found then render the proper view. Everything works fine except when I turn DEBUG=0 (production setup). Now cake always render the 404 without entering the AppError::missingAction(). How can I do? Fo

Getting name of submit button

2008-04-28 Thread Dovdimus Prime
Hi all I understand that in html it is possible to have more than one submit button for a form, and that the name of the button clicked it available in the posted data in order that you can act differently based on the button clicked. This would be very useful in my cakephp application. Can anyo

Re: renderElement strange behavior

2008-04-28 Thread rob5408
Thanks Joel, The renderElement does work without passing anything, thats the strange part. In 1.1 I was used to passing in variables but with this I didn't and it worked, but only when paired with the code that was present inside the element as well (again making the desired output render twice).

CakePHP full example web site?

2008-04-28 Thread BeroFX
Does anyone have a link or an example of a Cake site? What I'd like to see is a site with a main page, md5 passwords etc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send

Re: Form data not available in controller

2008-04-28 Thread zendrumz
Well, I tried all your suggestions over the weekend, and none of them panned out. count($_POST) tells me the post array is empty, and likewise there is nothing in $this->params['form'] or $this->data. So thanks for the help, but I now suspect the problem lies in my Apache rewrite rules. The site i

Re: mod-rewrite exclusions on subfolder

2008-04-28 Thread francky06l
Alternatively you could use the QUERY_STRING in reqriteCond: RewriteCond %(QUERY_STRING) !^/report/.*$ should work.. hth On Apr 28, 2:35 pm, holodigm <[EMAIL PROTECTED]> wrote: > After hitting IRC kuja indicated a point that I have not seen > elsewhere: > > Once you have the RewriteCond entered

Re: Problem with the XML class

2008-04-28 Thread MarcS
thanks for the quick reply On Apr 28, 1:37 pm, nate <[EMAIL PROTECTED]> wrote: > This is in compliance with the W3C spec on parsing XML. It also comes > into play when a node's content contains both text and tags. However, > given the situation you described, perhaps an accessor method is in >

Re: Problem with the XML class

2008-04-28 Thread nate
This is in compliance with the W3C spec on parsing XML. It also comes into play when a node's content contains both text and tags. However, given the situation you described, perhaps an accessor method is in order. Open an enhancement ticket and I'll consider it. On Apr 28, 8:06 am, MarcS <[EM

Re: mod-rewrite exclusions on subfolder

2008-04-28 Thread holodigm
After hitting IRC kuja indicated a point that I have not seen elsewhere: Once you have the RewriteCond entered in the .htaccess file you need to place the excluded folder under /app/webroot. So in the above example /report is now under /app/webroot/report and the rewritecond is RewriteCond%{

Problem with the XML class

2008-04-28 Thread MarcS
Hi everyone. I recently upgraded to the most recent version of cake and as expected a few things didn't work. There is one thing, however, which I really can't work out. A part of my application is parsing some XML data which looks pretty much like this 82

mod-rewrite exclusions on subfolder

2008-04-28 Thread holodigm
Hi all, I have an app at http://orders.local/ and use URLs such as http://orders.local/orders http://orders.local/invoicing etc I have php soap calls under http://orders.local/report/ and wish to exclude /report from the CakePHP rewrites. In http://orders.local/.htaccess I have tried: Rewri

Re: Storing passwords

2008-04-28 Thread Amit Badkas
Alternative for this will be to extend auth component (ex:- MyAuthComponent extends AuthComponent) and to override password() method like function password($password) { return md5($password); } then to use MyAuth instead of Auth On Sun, Apr 27, 2008 at 8:03 AM, Kyle Decot <[EMAIL PROTECTED]>

Re: how to execute events like onmouseover in an link tag in cakephp

2008-04-28 Thread Rocky
Thanks On Apr 28, 1:57 pm, theChrisWalker <[EMAIL PROTECTED]> wrote: > $html->link('Link Text','/link/path',array('onmouseover'=>'alert("You > moused over me!");'); > > The third argument in Html::link() is the html attributes, onmouseover > stuff can be passed in there. > > On Apr 28, 6:55 am, R

Re: how to execute events like onmouseover in an link tag in cakephp

2008-04-28 Thread ygneo
It would be so easy as write the events in the attributes: http://api.cakephp.org/1.2/class_html_helper.html#71ff7f331b08318bc867a4d9057b7d9f I.e. $html->link('title','url',array('onmouseover'=>'javascript:<...>'); On 28 abr, 07:55, Rocky <[EMAIL PROTECTED]> wrote: > How to execute events like

Re: how to execute events like onmouseover in an link tag in cakephp

2008-04-28 Thread theChrisWalker
$html->link('Link Text','/link/path',array('onmouseover'=>'alert("You moused over me!");'); The third argument in Html::link() is the html attributes, onmouseover stuff can be passed in there. On Apr 28, 6:55 am, Rocky <[EMAIL PROTECTED]> wrote: > How to execute events like onmouseover. onchange

Re: Components, how many is too many?

2008-04-28 Thread [EMAIL PROTECTED]
On Apr 27, 1:32 pm, djiize <[EMAIL PROTECTED]> wrote: > Dont' forget that in CakePHP, there's still PHP ;-) That should be the next CakePHP t-shirt print! I need to be reminded of this so often I should print this and stick it to the top of my screen. --~--~-~--~~~---

Re: Is Configure::write('Config.language', "rus") writing to a static variable, and hence will not work in a concurrent system

2008-04-28 Thread [EMAIL PROTECTED]
Unlike in Java (and RoR I think), PHP-apps do not have any common "application" running. The whole app is setup and torn down for each request. User A setting a value in PHP will never affect User B under normal circumstances. (Exploiting security-holes is of-course another matter.) /Martin On

Trying to display survey information in add question page

2008-04-28 Thread rtanz
Hi I am making a questionnaire application and I have a survey model and a questions model. I have set the survey as hasMany question and question belongsTo survey. Now what I need to do is that when a user creates a survey and clicks 'Add Questions' on that page, the browser will redirect to the

Re: caching will not work with i18n

2008-04-28 Thread [EMAIL PROTECTED]
I only have some general advice for you. Maybe someone else can tell you something more specific. Whenever you have your debug on, caching will not work as you expect (since debugging data will be written to each page view.) So you need: "Configure::write('debug', 0);" in app/config/core.php Th

how to execute events like onmouseover in an link tag in cakephp

2008-04-28 Thread Rocky
How to execute events like onmouseover. onchange in an link tag in cakephp??? Help Me !!! Thanks Rocky --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-

caching will not work with i18n

2008-04-28 Thread robert123
am using the latest cakephp Beta: 1.2.0.6311 with i18n For every page access I add the below statement at the beforeFilter function in the app_controller to change the locale for the user Configure::write('Config.language', "en-gb"); I also enable caching, and for every url, I will prefix the

Problem In Sessions

2008-04-28 Thread Rocky
I am Facing a Problem in Session variable Of Cake Php. Once I log in than my Session Varialb have a value . But When I switch to other Link Of The Same Page Than it LOGOUT. Why ?? Until & Unless I Will not Logout my Session Variable Has to retain value But It Doesn't . Help Me Out To Figure O

Is Configure::write('Config.language', "rus") writing to a static variable, and hence will not work in a concurrent system

2008-04-28 Thread robert123
hello, I am implementing i18n, but dont seem to get answer to the above question, so hope some one can help me I set up two languages in my app: 'en-gb' and 'rus'. In core.php I added: define('DEFAULT_LANGUAGE', 'en-gb'); Configure::write('Config.language', 'en-gb'); In my app_controller befor

Problems with ibm tutorial no 2

2008-04-28 Thread chuck24
I have been trying to learn cakephp. Walking through tutorials has really been a great help. The problem I am having is I keep getting an error when trying to create the login component at the beginning of the second part of the tutorial. When I try to load the login view. I get this error: Fatal