Re: CakePHP 1.2 Layout error

2013-01-02 Thread Marcus James
Found the error there was a file BOM encoded -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/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@google

Re: CakePHP 1.2 Layout error

2013-01-02 Thread Maicon Pinto
Hello Marco, Do you can to put of source code of your Layout? ;) Em quarta-feira, 2 de janeiro de 2013 03h39min30s UTC-3, marco metal escreveu: > > Hi, > > I made a custom layout for admin panel. The problem is when i validated my > HTML i am getting an error > > *"* *Non-space characters fou

Re: CakePHP 1.2 Layout error

2013-01-02 Thread lowpass
My guess is that one of your files contains a byte-order mark (BOM) which you should remove. What editor are you using? Be sure to check not only your layout template, but any view or element templates as well. On Wed, Jan 2, 2013 at 1:39 AM, Marcus James wrote: > Hi, > > I made a custom layout

Re: Cakephp 1.2 Paginator Helper, setting limit from view

2009-12-30 Thread Jon Bennett
> I would like to put in the view a link like the following: > > Show 20 50 100 Records > > And change the limit parameter if the user clicks on 20 50 100. Yep, use the paginator helper: link('20', array('limit' => 20)); echo $paginator->link('50', array('limit' => 50)); echo $paginator->link('10

Re: CakePHP 1.2 can't find my foreign key relationship

2009-12-04 Thread Mike Hostetler
Thank Kani -- that worked! For some reason, I think it was the capitalized Regions that was causing me grief. See, I knew it was something silly On Fri, Dec 4, 2009 at 8:15 PM, kani wrote: > Maybe shoud remove plural 's' suffix from model class name > like this > > class Ajiltan extends A

Re: CakePHP 1.2 can't find my foreign key relationship

2009-12-04 Thread kani
Maybe shoud remove plural 's' suffix from model class name like this array( // It was BankSalbrs 'className' => 'BankSalbr',// It was BankSalbrs 'foreignKey' => 'bank_salbrs_id', 'condition

Re: CakePHP 1.2 Missing Database Table

2009-09-05 Thread mikeottinger
Oh boy, what a difference a night of sleep makes. I went to grab the model for my missing database table and the problem jumped right at me: var $useDbConfig = 'local'; was found at the top of the work.php model, I switched it to 'default' and voila, it worked. So *this* is another solution for

Re: CakePHP 1.2 Missing Database Table

2009-09-05 Thread Teh Treag
Are your database connection settings different on your production and development servers? Do you have other models that work? On Sep 5, 1:55 am, mikeottinger wrote: > Hi All, > >   I just deployed the beginnings of a new site onto a little > development space up on my host server. Everything

Re: CakePHP 1.2 Missing Database Table

2009-09-05 Thread learning_cake_php
please post your model and database structure for us to envistigate; ) On Sep 4, 11:55 pm, mikeottinger wrote: > Hi All, > >   I just deployed the beginnings of a new site onto a little > development space up on my host server. Everything works great in my > local environment. But upon deploy, I

Re: Cakephp 1.2 + swfupload

2009-06-24 Thread Bryan Paddock
hey man thanks for the heads up... tried searching through there again.. still no luck... It's a weird problem.. swfupload appears to be working 99%... I get the file upload box, I can upload a file and it displayed the progress etc as the file gets uploaded... but theres just no data appearing at

Re: Cakephp 1.2 + swfupload

2009-06-19 Thread rod
I'm sure you can find something on this group: http://groups.google.com/group/cake-php/search?group=cake-php&q=swfupload&qt_g=Search+this+group or at swfupload website: http://swfupload.org/search/node/cakeph I've been using a similar one, Uploadify: www.uploadify.com On Jun 18, 1:38 pm, Bryan P

Re: CakePHP 1.2 Javascript Problem

2009-04-29 Thread brian
That should work fine. Do you have a file at webroot/js/util.js? Have you viewed the source to be sure the link is there? If you have Firebug or webdeveloper extension, can you see the JS? On Wed, Apr 29, 2009 at 4:22 PM, simon...@gmail.com wrote: > > Hi, > > When I was using the older version o

Re: CakePHP 1.2 Javascript Problem

2009-04-29 Thread starkey
link(array('prototype')); ?> Works for me. On Apr 29, 4:22 pm, "simon...@gmail.com" wrote: > Hi, > > When I was using the older version of cakephp,  I was using javascript > in a view this way: > >                 link('util'); ?> > > In the version 1.2, it doesn't work. What is the sintax I ha

Re: cakephp 1.2 routes simple example ?

2009-02-13 Thread Miles J
about_controller index action will automatically become /about/. You only do routes if you want custom looking urls that cant be done using the controller/action setup. On Feb 13, 6:29 pm, Mark Thien wrote: > Hi guys, > > I tried to use cakephp routes function but I just couldn't get it to > wo

Re: CakePHP 1.2 RC3 - Problem with alphaNumeric validation

2008-10-19 Thread stefanski
Hey James. I had the problem with alphanumeric never validated on a production server. I found out that cake's alphaNumeric validation uses the /u regex parameter which has a bug in PHP 5.1.6: http://bugs.php.net/bug.php?id=42298 So I wrote my own alphaNumeric: app_model.php: / ***

Re: CakePHP 1.2 RC3 - Problem with alphaNumeric validation

2008-10-18 Thread John Jackson
I've figured out the problem. In my controller, when I call the save() method on the model, I also set the third parameter, fieldList, for the fields to save. I found a change in RC3 which meant that only the fields that are supplied in the fieldList array are validated. In RC2 all the fields were

Re: CakePHP 1.2 RC3 - Problem with alphaNumeric validation

2008-10-12 Thread John Jackson
Sorry for the continued posting, but I've discovered it's cake/libs/ model/model.php which changes between 7689 and 7690 and stops my validation working. There are lots of changes between these revisions so I'm wondering if anyone could help me work out if it's a bug or if I need to change my code

Re: CakePHP 1.2 RC3 - Problem with alphaNumeric validation

2008-10-12 Thread John Jackson
After a bit of investigation, I have found that the exact same validation code works in revision 7689, but not in 7690. On Oct 12, 3:44 pm, John Jackson <[EMAIL PROTECTED]> wrote: > I have the same problem here with 1.2 RC3. It's odd because my > username and email validation appears to be working

Re: CakePHP 1.2 RC3 - Problem with alphaNumeric validation

2008-10-12 Thread John Jackson
I have the same problem here with 1.2 RC3. It's odd because my username and email validation appears to be working as expect, but my validation on the password fields isn't working. My validation rules are as follows: var $validate = array ( 'email' => array ( 'val

Re: CakePHP 1.2: Layout and views design issue

2008-09-10 Thread RichardAtHome
I'll answer b) /app/views/layouts/default.ctp: header markup goes here menu markup goes here markup for footer > if(session) print "hello $user" > else show login link. That's correct :-) Why do you not think this should go in the layout? You could paste the code into an elemen

Re: Cakephp 1.2 RC2 - Model Spread among 2 databases

2008-09-06 Thread Dérico Filho
Just managed to solve it, I added "persistent" => 0 in each configuration Dérico Filho wrote: > I forgot to mention that it only happens on methods I created that > uses $this->query(); > > Dérico Filho wrote: > > Hi! > > > > > > I am developing a tool which read/writes data into one database,

Re: Cakephp 1.2 RC2 - Model Spread among 2 databases

2008-09-06 Thread Dérico Filho
I forgot to mention that it only happens on methods I created that uses $this->query(); Dérico Filho wrote: > Hi! > > > I am developing a tool which read/writes data into one database, and > only reads data from another one, my database.php is something like > this: > > class DATABASE_CONFIG { >

Re: Cakephp 1.2 RC2 update

2008-09-05 Thread mark_story
You can remove all your components temporarily, that removes them from the equation. After controllers are constructed, private actions are checked, components are initialized, beforeFilter() is fired, components get startup()'d. Then missing action is checked and finally the action is fired.

Re: Cakephp 1.2 RC2 update

2008-09-05 Thread RLR
Thomas, thanks for the help. Unfortunatly this is not the case. What code could be causing the redirects after the __construct method in app_controller? If I call up a bogus url I see the browser redirecting to / then to the url I entered. I was using the auth system called "CakeAuthComponent (YA

Re: Cakephp 1.2 RC2 update

2008-09-04 Thread [EMAIL PROTECTED]
Hi just in case ... do you have a component extending Component ? if so make it extend Object that might be it I might be completely off track though t. On Sep 4, 6:20 pm, RLR <[EMAIL PROTECTED]> wrote: > I felt very adventurous today and decided to update my app which was > running on cake

Re: CakePHP 1.2 ACL checking single record Problem

2008-07-08 Thread James K
As far as I know there's nothing out of the box that's going to help you do this. The ACL check function is designed to check one CRUD value on one ACO path at a time. It's a pretty basic implementation designed for performing a single check on a per-page basis (as opposed to dozens of checks on a

Re: Cakephp 1.2 App::import

2008-07-07 Thread mich2211
Clear now. Thank you for fast resopnse. Mich On Jul 8, 6:39 am, "Siebren Bakker" <[EMAIL PROTECTED]> wrote: > In 1.2RC1, when using uses(), I get a deprecated warning, so I'm assuming > that uses will be removed in the near future, as App::import() replaces it > completely in the new system. > >

Re: Cakephp 1.2 App::import

2008-07-07 Thread Siebren Bakker
In 1.2RC1, when using uses(), I get a deprecated warning, so I'm assuming that uses will be removed in the near future, as App::import() replaces it completely in the new system. In the name of Life, Liberty, and the pursuit of my sanity. Siebren Bakker(Aevum Decessus) On Mon, Jul 7, 2008 at 05:4

Re: Cakephp 1.2 App::import

2008-07-07 Thread dr. Hannibal Lecter
Simple questions usually have simple answers :) http://api.cakephp.org/class_app.html#2a84eb340fe947c7fdc753c3bf8cd053 I believe App::import() is supposed to replace the uses() some day, but I'm not sure about that.. On Jul 7, 12:21 pm, mich2211 <[EMAIL PROTECTED]> wrote: > Hi everyone > I am n

Re: CakePHP 1.2 RC2 - Apache Crash on Vista

2008-07-01 Thread James K
You'd likely have better luck setting PHP up under IIS. PHP is now officially supported under IIS via FastCGI. Check out http://iis.net/php for details. On Jul 1, 12:54 am, Eric Martin <[EMAIL PROTECTED]> wrote: > I ran into an issue tonight that caused Apache 2.2 to crash on Vista > using RC2. B

Re: CakePHP 1.2 RC2 - Apache Crash on Vista

2008-07-01 Thread Eric Martin
Ahh...thanks floob. I didn't think to search on trac (duh), but will next time. At least now there is mention of it here in the groups (I couldn't find anything previously). On Jul 1, 12:53 am, floob <[EMAIL PROTECTED]> wrote: > Hi Eric, > > I believe I had the same issue a few days ago.  There's

Re: CakePHP 1.2 RC2 - Apache Crash on Vista

2008-07-01 Thread floob
Hi Eric, I believe I had the same issue a few days ago. There's already a bug report filed for it (https://trac.cakephp.org/ticket/5010). I'm not familiar with Vista's server setup, but if you install a php debugger, I'd bet you'll find the application stuck in an infinite loop. On Mon, Jun 30

Re: Cakephp 1.2 l10n and i18n - how to switch current language?!

2008-06-26 Thread Pento
No, but I use Auth component and initialize it in App's beforeFilter. And this component call __( ) function ...and so set language On Jun 26, 4:51 pm, "Marcin Domanski" <[EMAIL PROTECTED]> wrote: > Het, > are you setting the lang in beforeFilter ? > greets, > > > > On Thu, Jun 26, 2008 at 1:56 P

Re: Cakephp 1.2 l10n and i18n - how to switch current language?!

2008-06-26 Thread Marcin Domanski
Het, are you setting the lang in beforeFilter ? greets, On Thu, Jun 26, 2008 at 1:56 PM, Pento <[EMAIL PROTECTED]> wrote: > > Thanks for reply! > Hmmm, I will have to hack some code in this situation.. > > > On Jun 26, 12:12 pm, biesbjerg <[EMAIL PROTECTED]> wrote: >> I don't think it's possible

Re: Cakephp 1.2 l10n and i18n - how to switch current language?!

2008-06-26 Thread Pento
Thanks for reply! Hmmm, I will have to hack some code in this situation.. On Jun 26, 12:12 pm, biesbjerg <[EMAIL PROTECTED]> wrote: > I don't think it's possible to change language mid-page, as you just > said, i18n is a singleton and the po/mo file is parsed and loaded once > per request. > > O

Re: Cakephp 1.2 l10n and i18n - how to switch current language?!

2008-06-26 Thread biesbjerg
I don't think it's possible to change language mid-page, as you just said, i18n is a singleton and the po/mo file is parsed and loaded once per request. On Jun 25, 6:47 pm, Pento <[EMAIL PROTECTED]> wrote: > Thanks, but it not work correctly when for example auth component is > used. > Problem be

Re: Cakephp 1.2 l10n and i18n - how to switch current language?!

2008-06-25 Thread Pento
Thanks, but it not work correctly when for example auth component is used. Problem because of Singlton pattern used in "cake/libs/i18n.php" translate function: $_this =& I18n::getInstance(); When I call $this->Session->write('Config.language', 'ru'); it's already called in auth component before,

Re: Cakephp 1.2 l10n and i18n - how to switch current language?!

2008-06-25 Thread biesbjerg
Like this: $this->Session->write('Config.language', 'dan'); On 25 Jun., 11:32, Pento <[EMAIL PROTECTED]> wrote: > Hello, everybody! > > How can I control current langauge for l10n and i18n in my controller? --~--~-~--~~~---~--~~ You received this message because yo

Re: Cakephp 1.2 l10n and i18n - how to switch current language?!

2008-06-25 Thread Dr. Tarique Sani
On Wed, Jun 25, 2008 at 3:02 PM, Pento <[EMAIL PROTECTED]> wrote: > > Hello, everybody! > > How can I control current langauge for l10n and i18n in my controller? $this->Session->write('Config.language', 'new lang TLA'); ?? T -- =

Re: CakePHP 1.2 RC1 on IIS with ISAPI_Rewrite

2008-06-18 Thread uniacid
Well I believe I've figured it out, here's what I'm using for my main .htaccess file and using ISAPI_Rewrite 3 CODE # Helicon ISAPI_Rewrite configuration file # Version 3.1.0.49 RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^

Re: CakePHP 1.2 Internationalization

2008-05-16 Thread b logica
Have a look at Jason Chow's P28N tutorial: http://bakery.cakephp.org/articles/view/p28n-the-top-to-bottom-persistent-internationalization-tutorial He uses both a component and a controller fr switching. I haven't implemented everything quite the same way but this part works like a charm. On Fri

Re: cakephp 1.2 form helper,how to create() form without ugly inline css

2008-05-05 Thread Action
The items within the form need to be contained in any block element to be validate as Strict. However, why is form helper inserting a SECOND fieldset and input (both are hidden): On Apr 12, 10:41 pm, "dzojntywole!" <[EMAIL PROTECTED]> wrote: > Ok guys... i got answer from jonathansnook on #cake

Re: Cakephp 1.2 Schema could not be loaded

2008-04-23 Thread aaady
I updated CakePHP 1.2 of latest nightly built version. The command, "cake acl initdb", has revived. Successfully the above 3 tables will be created. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. T

Re: CakePHP 1.2

2008-04-15 Thread Ma'moon
Thanks for all the help On 4/15/08, Sam Sherlock <[EMAIL PROTECTED]> wrote: > > kinda > > > is a vague word, completly devoid of certitude. > > https://trac.cakephp.org/roadmap & and tickets has more information > > There are a few critical bug & exploits at the mo > > when exactly is it expected

Re: CakePHP 1.2

2008-04-15 Thread Sam Sherlock
> > kinda is a vague word, completly devoid of certitude. https://trac.cakephp.org/roadmap & and tickets has more information There are a few critical bug & exploits at the mo when exactly is it expected to launch 1.2 as a stable version for this great > framework? Is a question thats been

Re: CakePHP 1.2

2008-04-15 Thread Ma'moon
thank you for your fast replies, i've got a question though, when exactly is it expected to launch 1.2 as a stable version for this great framework?, if the majority uses 1.2 and a lot of talk has been said regarding this issue and a lot of sites and applications has been built upon it then that me

Re: CakePHP 1.2

2008-04-15 Thread hausburger
the majority uses cakephp1.2 On 15 Apr., 11:26, Ma'moon <[EMAIL PROTECTED]> wrote: > Hello guys, > Did anyone of you use CakePHP 1.2 in a production environment?, since its > still in beta and i am planing to use it in a video network sharing site. > if anyone had experience with this i would be

Re: CakePHP 1.2

2008-04-15 Thread Sam Sherlock
there a few listed as 1.2 http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild?version=300 this question has been ask before (and before that too :)) http://groups.google.com/group/cake-php/search?group=cake-php&q=1.2+production&qt_g=Search+this+group the general response is ju

Re: cakephp 1.2 form helper,how to create() form without ugly inline css

2008-04-12 Thread dzojntywole!
Ok guys... i got answer from jonathansnook on #cakephp, that extra fieldset is needed only for strict doc type... for transitional it is ok to remove it( cake/libs/views/helpers/ form.php ( line 212 on my rev 6637 to remove just fieldset or.. line 187 to remove all that hidden thing.. i checked

Re: cakephp 1.2 form helper,how to create() form without ugly inline css

2008-04-07 Thread dzojntywole!
Hi again, I just read your post, I removed manually that fieldset thing( I removed whole but what I dislike there was that inline css.. by the rule I keep my css and javascript in external files) I created simple form(below) and I checked in w3validator.. I got "This Page Is Valid XHTML 1.0 Trans

Re: cakephp 1.2 form helper,how to create() form without ugly inline css

2008-04-07 Thread Stephen Orr
The CSS is there because of a ticket I posted - in XHTML it's invalid to have any input elements within a form element that aren't also enclosed by a block-level element (so, a fieldset, a paragraph, a div). The inline CSS is purely there to allow you to have valid XHTML and not break your layout

Re: cakephp 1.2 form helper,how to create() form without ugly inline css

2008-04-07 Thread dr. Hannibal Lecter
Why is it bothering you? You can't see it, the user can't see it..which means - by all means - that it isn't really there ;-) On Apr 5, 10:10 am, "dzojntywole!" <[EMAIL PROTECTED]> wrote: > Hi everybody, > I am trying to use form helper to create a form in my view: > create() ?> > > the result is

Re: CakePHP 1.2 Routing with prefixes

2008-04-01 Thread Adam Royle
Try this one (untested): Router:connect('/:year/:controller/:action/*', null, array('year'=>'\d{4}')); Cheers, Adam ModByChris wrote: > I have not been able to find the way around this an it seems like it > should be possible. > I have a News controller, and I am dealing with a biennial event,

Re: Cakephp 1.2 on PHP 4.3.10/Apache/2.0.49 (Fedora)

2008-03-28 Thread AL
I still have the same error with index.php/pages/home Fatal error: Maximum execution time of 60 seconds exceeded in /var/www/ html/staging_web/cake/libs/view/view.php on line 634 Fatal error: Call to a member function on a non-object in /var/www/ html/staging_web/cake/libs/cache.php on line 208

Re: Cakephp 1.2 on PHP 4.3.10/Apache/2.0.49 (Fedora)

2008-03-27 Thread Gwoo
http://domain.com/staging_web/index.php/pages/home is the correct url. --~--~-~--~~~---~--~~ 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 fr

Re: cakephp 1.2 find('list') changing displayField

2008-03-06 Thread clrockwell
Works like a charm, thanks much Guillaume! On Mar 6, 4:03 am, Guillaume <[EMAIL PROTECTED]> wrote: > I think you just have to set the $displayField var in your model > tag.php > > $displayField = 'word'; > > Guillaume > --http://cherryonthe.popnews.com > > On 6 mar, 03:25, clrockwell <[EMAIL PROT

Re: cakephp 1.2 find('list') changing displayField

2008-03-06 Thread Guillaume
I think you just have to set the $displayField var in your model tag.php $displayField = 'word'; Guillaume -- http://cherryonthe.popnews.com On 6 mar, 03:25, clrockwell <[EMAIL PROTECTED]> wrote: > Using 1.2, i have a tag table that has two fields -> 'id' and 'word', > when i use $this->Tag->fi

Re: CakePHP 1.2 Validation on Client Side

2008-02-25 Thread MattC
Check out: http://www.pseudocoder.com/archives/2008/02/17/automagic-javascript-validation-helper-beta/ It uses jQuery, but not AJAX. Instead it converts the validation rules to JavaScript (where possible). -Matt www.pseudocoder.com On Feb 25, 4:09 am, manish <[EMAIL PROTECTED]> wrote: > Hi >

Re: cakephp 1.2 form

2008-02-24 Thread b logica
Actually, I really should have mentioned that I don't think I can answer either of those with a great deal of confidence (I've never used either) Sorry about that. I just wanted to chip in on the render point. On Sun, Feb 24, 2008 at 1:26 PM, mason k <[EMAIL PROTECTED]> wrote: > > Thanks for the

Re: cakephp 1.2 form

2008-02-24 Thread mason k
Thanks for the answer, but I'd love a little more guidance myself. Can you answer OP's Q1, which is the difference between $ajax->form and $ajax->submit? Also, please explain the $this->render('view','ajax'); line of code? There is nothing in the API (http://api.cakephp.org/1.2/ class_controller.

Re: cakephp 1.2 form

2008-02-23 Thread b logica
Try this to close your controller action: $this->render('VIEW', 'ajax'); where VIEW is the name of your view. (or element?) On Sat, Feb 23, 2008 at 12:30 PM, brammeleman <[EMAIL PROTECTED]> wrote: > > I'm trying to create a simple Ajax based form. These are the steps > I've taken along with

Re: Cakephp 1.2 Schema could not be loaded

2008-02-22 Thread ste.ve
I got the same problem. Please help! --~--~-~--~~~---~--~~ 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

Re: Cakephp 1.2 Schema could not be loaded

2008-02-22 Thread ste.ve
I get exactly the same error: Error: schema.php could not be loaded". I tried from every possible folder, with and without the -app parameter. Please someone help me out! Or, alternatively, can someone post the sql dump for the Acl tables so I can skip that weirdy console completely? Thanks a l

Re: cakephp 1.2 pagination problem.

2008-02-20 Thread Mr-Yellow
Sorry google sent me to a single msg page instead of the thread page, didn't see the rest. -Ben On Feb 21, 10:21 am, Mr-Yellow <[EMAIL PROTECTED]> wrote: > http://www.domain.com/controller/action/test/test:1/page:2 > results > in:http://www.domain.com/controller/action/page:1http://www.domain.

Re: cakephp 1.2 pagination problem.

2008-02-20 Thread Mr-Yellow
http://www.domain.com/controller/action/test/test:1/page:2 results in: http://www.domain.com/controller/action/page:1 http://www.domain.com/controller/action/page:3 -Ben On Feb 20, 10:26 am, "Mouse[ON]" <[EMAIL PROTECTED]> wrote: > hi guys, > >  maybe someone could help me, today i hit a wall

Re: cakephp 1.2 pagination problem.

2008-02-20 Thread Mr-Yellow
http://api.cakephp.org/1.2/paginator_8php-source.html#00287 It seems to me that it's missing the code to pass in any existing params or the full URL of the current page. Ticket time? -Ben On Feb 20, 10:26 am, "Mouse[ON]" <[EMAIL PROTECTED]> wrote: > hi guys, > >  maybe someone could help me,

Re: CakePHP 1.2 Email Component works there but not here

2008-02-16 Thread Samuel DeVore
my guess is that you may need to use authenticated smtp methods see http://book.cakephp.org/view/176/email and the $smtpOptions On Feb 16, 2008 10:55 AM, Carl <[EMAIL PROTECTED]> wrote: > > I have a project that uses the cake email component. It works fine > when I upload the project to a shared

Re: Cakephp 1.2 Schema could not be loaded

2008-02-14 Thread FoW
Hi again, I have manage to set up the %path% as shown is the screencast (bake for windows), i had a problem with my %path% variable but i fixed it up. I still have the message : "Error: schema.php could not be loaded" when I lauch "cake schema create run Dbacl" from d:\www\cake\app\ wich is my a

Re: Cakephp 1.2 Schema could not be loaded

2008-02-13 Thread FoW
Hi all, I have exactly the same probleme : "Error: schema.php could not be loaded" I've seen the screen cast and i change cake.bat to give a full path to php.exe I lauched the script from d:\www\cake\app\ When i baked my controler and view i didn't have any probleme. Up to now it only happend wh

Re: cakephp 1.2 pdfb helper

2008-02-10 Thread Seandy
yes, post ur codes. --~--~-~--~~~---~--~~ 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

Re: cakephp 1.2 pdfb helper

2008-02-07 Thread Matias Lespiau
Andrés, With the information you are giving us there is little we can do to help you. Also, you didn't asked a question. Are you looking for another PDF solution? What does broken PDF means? Why don't you post the code of you controller/view? Cheers, On Feb 7, 2008 11:07 AM, Andrés Otárola <[EM

Re: Cakephp 1.2 Schema could not be loaded

2008-02-01 Thread Flash
Yes, I had only checked out the screencast for the "Bakery" later that day and that was when I only discovered it by chance. It would have been more useful if the error message generated from the console told you what was missing (eg. wrong app path?) I very new to Cake and I am trying to unders

Re: Cakephp 1.2 Schema could not be loaded

2008-02-01 Thread Dardo Sordi Bogado
Also you can be outside of the whatever_app directory and run ./cake/console/cake -app MYAPP On Feb 1, 2008 7:16 AM, Marcin Domanski <[EMAIL PROTECTED]> wrote: > > I tought that it was clear (screencast anyone ? console help?) that > you have to be in the app directory so cake knows which app do

Re: Cakephp 1.2 Schema could not be loaded

2008-02-01 Thread Marcin Domanski
I tought that it was clear (screencast anyone ? console help?) that you have to be in the app directory so cake knows which app do you want to use ? you can specify -app and tell cake manually but otherwise - cake should guess what app are you thinking about ? not before cake 4.0 ;) And if you se

Re: Cakephp 1.2 Schema could not be loaded

2008-01-31 Thread Flash
I think I managed to solve the problem on my own Only happened because of shear fluke (no documentation tells you about this). I was in the wrong Directory in my Console. You must be situated in your Application folder in order to use "cake schema run create DbAcl". So you need change direct

Re: Cakephp 1.2 And PHP4

2008-01-28 Thread Arjen V.
I've experienced almost the same problem on a PHP4 host, at the time with the CakePHP 1.2 pre-beta. My problem came from the JavaScript helper. Whenever I included that, my script would pass the execution. Fix: include the JavaScript files with tags. I also encountered several other problems: fi

Re: Cakephp 1.2 And PHP4

2008-01-28 Thread dr. Hannibal Lecter
Um, am I getting this the wrong way: the maximum execution time has been reached? Is that a 386 with 4MB or RAM? :-) Either increase the maximum execution in php.ini or optimize your code, it doesn't seem to be an issue with PHP4 at all. (unless I've misread the post somehow..) Cheers, dr. H. --

Re: Cakephp 1.2 And PHP4

2008-01-28 Thread Jan Boonen
I have never had such a problem, but I only use PHP4. Have you checked the naming of all of your classes? In PHP4 the property name is vital for well functioning. Btw, which version of Cake are you using? Cheers, Jan --~--~-~--~~~---~--~~ You received this messag

Re: cakephp 1.2 :: Database prefix and tips about sanitize

2008-01-24 Thread José Pablo Orozco Marín
Thanks. But in custom queries like: $this->query('UPDATE `bm_aros` SET `alias`... We need to use: $this->query('UPDATE ' . $this->database prefix. '`bm_aros` SET `alias`... I dont remember if is databaseprefix or just only prefix. hydra12 escribió: > I could be wrong, but I don't think you

Re: cakephp 1.2 :: Database prefix and tips about sanitize

2008-01-21 Thread hydra12
I could be wrong, but I don't think you have to do anything to use the database prefix. That's configured in database.php. On Jan 19, 1:21 pm, Josoroma <[EMAIL PROTECTED]> wrote: > I have an afterSave function inside a model, my two questions are: > > #1 How do i use the database prefix? > > #2

Re: cakephp 1.2 beta, How to add metalanguage support in my application?

2008-01-21 Thread djiize
http://groups.google.com/group/cake-php/web/frequent-discussions Go to section "How to add i18n support?" On 21 jan, 11:40, ali <[EMAIL PROTECTED]> wrote: > Can any body tell me in detail, how I can add multi language support > in application. I am newby to cakephp. Please help me in this regard,

Re: CakePHP 1.2 - Controller

2008-01-15 Thread DJ Spark
Sugiro então fazer um Model 'Login' que nao use nenhuma tabela. http://api.cakephp.org/1.2/class_model.html $useTable = null; Abraços Spark 2008/1/14 pamp_php <[EMAIL PROTECTED]>: > > Bom, me expressei mal. > Na verdade o Controller irá utilizar vários MODELs. > O problema

Re: CakePHP 1.2 - Controller

2008-01-14 Thread pamp_php
Bom, me expressei mal. Na verdade o Controller irá utilizar vários MODELs. O problema é que o nome do Controller (var $name = 'Login';) não é o nome de nenhum model do meu banco de dados. Paulo. On 14 jan, 14:13, "DJ Spark" <[EMAIL PROTECTED]> wrote: >   tente: >   $uses

Re: CakePHP 1.2 - Controller

2008-01-14 Thread DJ Spark
tente: $uses = null; ou $uses = array(); isso deve servir, para dizer que o Controller não vai usar nenhum Model Spark 2008/1/14 pamp_php <[EMAIL PROTECTED]>: > > Estou usando o CakePHP 1.2 e me surgiu uma dúvida: > > > Define um controller cujo nome não está relacionad

Re: cakephp 1.2 Translations

2008-01-09 Thread [EMAIL PROTECTED]
The original content (spanish) is stored in the Page Model and the translations are stored in the i18n table. How can I show the content stored in the Model (spanish). How can I make the Translation behaviour not to look in the i18n and instead look in the original Model. On Jan 8, 9:25 pm, "[EMA

Re: CakePHP 1.2 primary key suggestions

2007-12-14 Thread rtconner
You might need to use updateAll and deleteAll a lot. I'm not 100% sure but I think the normal save() method should still work without a primary key. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To

Re: CakePHP 1.2. pre-beta with CakeAMFPHP

2007-12-13 Thread John David Anderson
On Dec 13, 2007, at 1:37 PM, Gwoo wrote: > > I have not been working too much on the CakeAMFPHP mainly because I > wanted something simple and easy to move around. Plus, with the new > AMFEXT, it made sense to write something new. So, we put together the > AMF plugin. AMFPHP is not required and

Re: CakePHP 1.2. pre-beta with CakeAMFPHP

2007-12-13 Thread Gwoo
I have not been working too much on the CakeAMFPHP mainly because I wanted something simple and easy to move around. Plus, with the new AMFEXT, it made sense to write something new. So, we put together the AMF plugin. AMFPHP is not required and working with AMF is a little more Cake. You can find

Re: CakePHP 1.2. pre-beta with CakeAMFPHP

2007-12-12 Thread R. Rajesh Jeba Anbiah
On Dec 13, 12:47 am, mastorna <[EMAIL PROTECTED]> wrote: > Before I launch headlong into a Cake\Flash project, I was wondering if > CakePHP 1.2. pre-beta is compatible with CakeAMFPHP.0.6.0, which is > the latest version that the team has produced. If anyone has used > these two packages togethe

Re: CakePHP 1.2. pre-beta with CakeAMFPHP

2007-12-12 Thread Grant Cox
Yes, we use CakeAMFPHP with the 1.2.x svn branch. We have made some modifications to CakeAMFPHP though - making it use the cake dispatcher rather than executing the controller actions directly. These modifications were not necessary to get it working though, just to fit in with the rest of our a

Re: Cakephp 1.2: non-exist image and session

2007-11-16 Thread AD7six
On Nov 16, 9:27 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > This > problemhttp://groups.google.com/group/cake-php/browse_thread/thread/5e89ca41... > > So. Of couse, I must control all what I can. > > But, my client can edit pages with FCK Editor. So, situation, when he > add images to

Re: CakePHP 1.2 and Oracle throwing errors

2007-11-08 Thread Martin Schapendonk
On 11/6/07, Chris Thompson <[EMAIL PROTECTED]> wrote: > This is for the reserved words table names. Don't expect the "dbo_oracle does not quote identifiers"-problem to be solved any time soon. I have emailed the author of dbo_oracle (Jeff Loiselle) about this and besides his lack of time there ar

Re: CakePHP 1.2 and Oracle throwing errors

2007-11-06 Thread Chris Thompson
Found a ticket submitted here: http://groups.google.com/group/tickets-cakephp/msg/25b70f403ce47e23 This is for the reserved words table names. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To p

Re: CakePHP 1.2 and Oracle throwing errors

2007-11-06 Thread Chris Thompson
I wanted to add something else to this. If you have a table Users and you try to select against it, CakePHP uses the table alias of User, however this is a reserved word in Oracle. Any ideas how to get around this? --~--~-~--~~~---~--~~ You received this message

Re: cakephp 1.2: saveField, why ?

2007-10-26 Thread daphonz
I was getting a similar problem when I was using saveField. In Cake 1.2.4605 alpha I used a saveField call while updating my Category model. The SQL command would look like this: UPDATE `categories` SET `options` = 'a:2:{i:0;s:1:\"0\";i:1;s: 0:\"\";}' WHERE `id` IN (66) and work just fine. Wh

Re: CakePHP 1.2: paginate igoner recursive = 0?

2007-10-23 Thread [EMAIL PROTECTED]
Thanks a lot! On Oct 23, 8:14 pm, Gwoo <[EMAIL PROTECTED]> wrote: > You will see the belongTo and hasOne. > > If you dont want anything use $this->User->recursive = -1; --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: CakePHP 1.2: paginate igoner recursive = 0?

2007-10-23 Thread rtconner
Oh. I was wondering... On Oct 23, 11:14 am, Gwoo <[EMAIL PROTECTED]> wrote: > You will see the belongTo and hasOne. > > If you dont want anything use $this->User->recursive = -1; --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

Re: CakePHP 1.2: paginate igoner recursive = 0?

2007-10-23 Thread Gwoo
You will see the belongTo and hasOne. If you dont want anything use $this->User->recursive = -1; --~--~-~--~~~---~--~~ 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@googl

Re: CakePHP 1.2 - Form select

2007-10-18 Thread silid
I could do with finding a good tutorial too. I found the samples at http://www.donutczar.com/cake1point2/donuts/form_helper They are a good start. On Oct 14, 4:49 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Its okay now. I just add 1 null value to the attribute of select > > before it

Re: CakePHP 1.2 - Form select

2007-10-13 Thread [EMAIL PROTECTED]
Its okay now. I just add 1 null value to the attribute of select before it was... echo $form->select("gender", array("" => "- Select One -", "M" => "Male", "F" => "Female"), null, false); after.. echo $form->select("gender", array("" => "- Select One -", "M" => "Male", "F" => "Female"), null, nu

  1   2   >