Extend the cache when it has already expired

2009-09-01 Thread powtac
Hi, I read a feed into a cache. I do have a specific Cache::config() for this cache var. When the cache var expires I try to fill it again. But sometimes this "filling" fails. Therefore I want to extend the cache lifetime with additional 5 minutes before I fill it again, but when the cache has alr

Diskussion zu faq

2009-08-26 Thread powtac
Can somebody add http://cakeapp.com to "Interesting projects/source code"? --~--~-~--~~~---~--~~ 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

CakeApp.com

2009-08-25 Thread powtac
Added widly requested password protection to http://cakeapp.com the online WYSIWYG cake builder with free subdomain and downloadable application and SQL. Simon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP"

Re: cakeapp.com

2009-06-25 Thread powtac
Removed test.php and rerouted /pages/home. --~--~-~--~~~---~--~~ 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

Re: German Umlaut in form->end

2009-06-24 Thread powtac
Does an other string without umlauts/htmlencoding work? On 23 Jun., 07:06, Braindead wrote: > Thanks for the help. I guess it's a problem with the encoding, because > either "Löschen" nor "Löschen" work. :-( --~--~-~--~~~---~--~~ You received this message because

Re: List of protected class names

2009-06-11 Thread powtac
I updated the my script with all potential class names from Possible is: acl aclbase aclbehavior aclcomponent aclnode aclshell aco acoaction admin ajaxhelper apcengine apishell app_model apphelper aro authcomponent bake baker bakeshell behavior cachehelper cake cakeschema cakesocket consoleshell

Re: List of protected class names

2009-06-11 Thread powtac
class names are singular, but the related model tables are named plural. On 10 Jun., 17:52, Marcelo Andrade wrote: > On Wed, Jun 10, 2009 at 8:13 AM, powtac wrote: > > > What are protected (model) class names in CakePHP 1.2? I discovered > > > objects > > apps > >

List of protected class names

2009-06-10 Thread powtac
What are protected (model) class names in CakePHP 1.2? I discovered objects apps folder so far. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegr

Re: cakeapp.com

2009-06-10 Thread powtac
What do you think should be improved @ http://cakeapp.com? On 1 Mai, 10:44, powtac wrote: > I created a twitter account for updates and information about > thehttp://cakeapp.comproject:http://twitter.com/cakeapp > > On 18 Mrz., 09:33, powtac wrote: > > > Hi Leigh, > &g

Re: cakeapp.com

2009-05-01 Thread powtac
I created a twitter account for updates and information about the http://cakeapp.com project: http://twitter.com/cakeapp On 18 Mrz., 09:33, powtac wrote: > Hi Leigh, > thank you for your words :) > I never thought about the idea to publish this tool as a plugin, I > will prove this

Re: cakeapp.com

2009-03-18 Thread powtac
Hi Leigh, thank you for your words :) I never thought about the idea to publish this tool as a plugin, I will prove this idea in the near future. Simon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group.

Re: cakeapp.com

2009-03-09 Thread powtac
Added true SQL Validation and extended Cake specific DB schema validation. --~--~-~--~~~---~--~~ 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

Re: cakeapp.com

2009-01-30 Thread powtac
nd views > - designing views through wizard > > On Dec 20 2008, 9:34 am, powtac wrote: > > > Added auto creation of hasmany-, belongsto-, HABTM-relations in the > > SQL editor. Example:http://cakeapp.com/sqldesigners/sql/test3 > > Test the result:http://test3.cakeapp.c

Re: XAMMP for Windows with cakePHP

2009-01-26 Thread powtac
I created a step-by-step installation tutorial for windows XP and cakephp, its in german, but maybe it helps: http://www.kolchose.org/bc0711/ On 19 Jan., 02:12, Sharmo wrote: > I am not sure if my first post worked. I am therefore posting again. > > I am using XAMPP for Windows as my localhost s

Re: cakeapp.com

2008-12-19 Thread powtac
Added auto creation of hasmany-, belongsto-, HABTM-relations in the SQL editor. Example: http://cakeapp.com/sqldesigners/sql/test3 Test the result: http://test3.cakeapp.com/ or download the created SQL: http://cakeapp.com/sqldownload/get/141 --~--~-~--~~~---~--~~ Yo

Re: cakeapp.com

2008-12-14 Thread powtac
Added SQL download... On 23 Okt., 09:48, powtac wrote: > At the homepagehttp://cakeapp.com/you can download the app as zip, > tgz, tar or the app with full cakePHP (1.2.0.7692 RC3) as zip, tgz, > tar. > > ...SQL dump is

Re: Does the SQL structure looks the same at has_one and has_many?

2008-12-08 Thread powtac
So, just by the SQL structure I can't know if it's an has_one or has_many relationship? This information is only in the model? The console "bake all" command also can't differentiate between has_one and has_many!? --~--~-~--~~~---~--~~ You received this message bec

Re: Delete action intermittently bringing up a Not Found error instead of deleting and redirecting

2008-12-08 Thread powtac
Try an exit() after the redirect/flash. --~--~-~--~~~---~--~~ 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 [EM

Does the SQL structure looks the same at has_one and has_many?

2008-12-08 Thread powtac
Hi, does the SQL structure looks the same at has_one and has_many? Simon --~--~-~--~~~---~--~~ 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 f

Re: cakeapp.com

2008-10-23 Thread powtac
At the homepage http://cakeapp.com/ you can download the app as zip, tgz, tar or the app with full cakePHP (1.2.0.7692 RC3) as zip, tgz, tar. ...SQL dump is on my todo list... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: cakeapp.com

2008-10-22 Thread powtac
-Removed redundant row "updated" -SQL Designer is now english by default -Added download: http://cakeapp.com/ (also SQL dump of database will come) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To p

Re: cakeapp.com

2008-10-21 Thread powtac
Yes, this is the SQL Designer, a very nice one, I think. http://ondras.zarovi.cz/sql/demo/?keyword=default --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php

Re: cakeapp.com

2008-10-20 Thread powtac
om. > > Here you find a screencast how it works:http://cakeapp.com/pages/screencast/ > > > If you want, give me some feedback, here at this message/thread or by > > email: powtac at gmx dot de. > > Nice app. > > Here some feedback: > - When creating a new table

cakeapp.com

2008-10-20 Thread powtac
I just started to build a WYSIWYG cake application builder: http://cakeapp.com. Here you find a screencast how it works: http://cakeapp.com/pages/screencast/ If you want, give me some feedback, here at this message/thread or by email: powtac at gmx dot de

Re: FirePHP debugging on live server?

2008-10-13 Thread powtac
Test with Live HTTP Headers extension for Firefox (https:// addons.mozilla.org/de/firefox/addon/3829) if the FirePHP HTTP headers were really sent by the server. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePH

Re: same element in different controllers

2008-10-07 Thread powtac
You could use cakePHP elements (http://book.cakephp.org/view/97/ Elements) this are small view helpers. It is also possible to pass parameters to this elements, in your case I think: $menu. --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Difference between "modified" and "updated"?

2008-10-07 Thread powtac
I'm wondering what is the difference between the two automagic model fields "modified" and "updated"? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@goog

Re: CakePHP does not work with mod_rewrite and php-cgi

2008-10-03 Thread powtac
Exact error message? What is not found? On 3 Okt., 23:05, dtrax84 <[EMAIL PROTECTED]> wrote: > Hi, > Tried running cakephp on my server with php-cgi with mod_rewrite > enabled and got the error 404 message. Any ideas? --~--~-~--~~~---~--~~ You received this message

How to use the shell output in controller?

2008-10-03 Thread powtac
Silly question I know, but is there a other way beside "exec()" and "ob_start()" to call the functionality of a cake shell from inside a controller? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To

Re: SSL Certificate Login with CakePHP

2008-09-03 Thread powtac
The "SSL stuff" is not connected to cake! This is something your server (apache) handles. An certificate just encrypts the connection between browser and server. Therefore your user (his browser) needs this certifcate. Normally it is just enough to lead the user to https://www.asdf.com instead of

Re: change password

2008-09-03 Thread powtac
Perhaps this helps: http://groups.google.com/group/cake-php/browse_thread/thread/f3653bac41f58733/ff236e99a8313057?lnk=gst&q=change+password#ff236e99a8313057 ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP"

Re: Static controller connects to two other models

2008-09-03 Thread powtac
Wow, thank you Adam! Fixed! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECT

Re: Install openx or other php application together with cakephp

2008-09-03 Thread powtac
Maybe, you can create a dummy controller which collects the data from openx(?) and passes it to an dummy view... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to ca

Static controller connects to two other models

2008-09-03 Thread powtac
Hi, I have an static controller, which should just act as wrapper for two other controllers: set('businesses', $this->Businesses->find('all', array('limit' => 10))); $this->set('tags', $this->Tags->find('all', array('limit' => 10))); } } ?> In my view I get the followin

Re: How do i remove the query results

2008-09-03 Thread powtac
Remove in /views/layouts/default.ctp --~--~-~--~~~---~--~~ 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 [EMAI

CakePHP Corporate Identity Colorpalette

2008-06-30 Thread powtac
Is there a CakePHP (PS) colorpalette to use for cake applications? To get this "green" look and feel? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@goog

Re: Preventing the execution of beforeFind() on calling an admin function?

2008-01-25 Thread powtac
In the beforeFind() I delete some data of the current user which should only be in the database for 60 minutes. But when I want to take a look on the data as admin I dont want to delete anything... --~--~-~--~~~---~--~~ You received this message because you are subs

Re: Preventing the execution of beforeFind() on calling an admin function?

2008-01-25 Thread powtac
Hi red, I'm sorry this seems not to be working in the (1.2) model: Undefined property: library::$params How can I access to the params in model? powtac --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Re: Business Benifit?

2008-01-25 Thread powtac
Cake or any other MVC php framework is the state-of-the-art way of php/ web programming. This is could be a margeting argument. Show your boss the 15 minute setting up a blog on a ready mysql database. And ask him then for improvement he would like to see. Then just explain him how and where (con

Re: Functions in models

2008-01-25 Thread powtac
http://groups.google.com/group/cake-php/browse_frm/thread/4d8e4e0d5f33e5bb/4845ef32ed9c304d?lnk=gst&q=models+in+other+models http://groups.google.com/group/cake-php/browse_frm/thread/20d47ead223f4df7/c468e97fa443ecc9?lnk=gst&q=models+in+other+models http://groups.google.com/group/cake-php/browse_f

Re: Preventing the execution of beforeFind() on calling an admin function?

2008-01-25 Thread powtac
Great! Thanks. Is there an other more global solution to prevent before*() after*() functions to be executed? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cak

Re: fileinfo help needed

2008-01-25 Thread powtac
And also on this google search result: http://www.google.com/search?aq=f&hl=en&client=firefox-a&rls=org.mozilla%3Ade%3Aofficial&hs=yOl&q=pecl+fileinfo+supplied+argument+is+not+a+valid+file_info&btnG=Search --~--~-~--~~~---~--~~ You received this message because you

Re: fileinfo help needed

2008-01-25 Thread powtac
Take a look at this bug report on PECL: http://pecl.php.net/bugs/bug.php?id=7391 --~--~-~--~~~---~--~~ 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 unsu

Re: How to implement "Export to CSV" link in cake-php

2008-01-25 Thread powtac
To display just the link you can use this in your view: link( 'Export to CSV', '/link/to/your/export/csv/ controller', array('target'=>'_new'), null, false);?> --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PH

Preventing the execution of beforeFind() on calling an admin function?

2008-01-25 Thread powtac
led. But I only want this to be executed when called normally, not by the admin routing... How can I differ in beforeFind() how it was called? powtac --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP&quo

Re: Can I use Session::setFlash from model?

2008-01-22 Thread powtac
But what can I do when Im using beforeFind()? I dont call this function in my controller, it is called automatically. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email

Re: How do people usually learn CakePHP and what is best?

2008-01-21 Thread powtac
Thougt to set up a wiki. What do you think? --~--~-~--~~~---~--~~ 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 t

Re: How do people usually learn CakePHP and what is best?

2008-01-21 Thread powtac
Good question! The answers will show you that the manual and the tutorial for version 1.2 are not finished yet. My (current) way to learn cake is to set up and expand a very small projekt. Each question witch came up I post here (after searching if it wasnt already answerd). I think this is for t

Re: Why do I get "No id set for Library::view()"?

2008-01-18 Thread powtac
Other solution: In my controller after $this->Library->save($this->data); I now use $this->redirect('view/'.$this->Library->getLastInsertId()); to redirect to the view of the saved data... --~--~-~--~~~---~--~~ You received this message because you are subscrib

Re: Why do I get "No id set for Library::view()"?

2008-01-18 Thread powtac
Found the mistake: I redirected to the "view" controller and it requires an id! Fix: redirect to index: $this->redirect('index'); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this gro

Why do I get "No id set for Library::view()"?

2008-01-18 Thread powtac
When I save a new library I recieve this "No id set for Library::view()" flash message. The library has 3 database fields: id, content, timestamp. But in my controller I only fill content and save it. The field id is a auto_increment field, so do I have to fill it manually? --~--~-~--~--

Re: Problem with Postgresql 8.2 on Windows XP

2008-01-16 Thread powtac
Which version of cakePHP do you use? --~--~-~--~~~---~--~~ 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 [EMAI

Re: curse ye whitespaces!!

2008-01-16 Thread powtac
Avoid having whitespaces before in pure php-files. A q'n'd trick is to remove the trailing ?> in pure php-files to avoid this problem. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to thi

Re: Bakery password reset problem

2008-01-14 Thread powtac
There are allready some tickets for this problem: https://trac.cakephp.org/ticket/3479 (open) https://trac.cakephp.org/ticket/1724 (closed) https://trac.cakephp.org/ticket/1467 (closed) and also some google group discussions: http://groups.google.com/group/cake-php/browse_thread/thread/b54b0924

Re: bakery search fixed!!

2008-01-13 Thread powtac
Good idea! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more opti

Re: Login et Register on bakery problem

2008-01-13 Thread powtac
This seems to be a widely known problem: http://groups.google.com/group/cake-php/search?group=cake-php&q=login+bakery&qt_g=Search+this+group --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to

Re: bakery hates me

2008-01-05 Thread powtac
I also can not change my bakery profile or login or comment... :( --~--~-~--~~~---~--~~ 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 th

Diese Seite anzeigen: " Groups in other languages"

2008-01-02 Thread powtac
Rechanged the relative URLs to absolutes... --~--~-~--~~~---~--~~ 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 t

Re: Undefined index in app_controller

2007-12-27 Thread powtac
Did you changed anything at your database(configuration)? --~--~-~--~~~---~--~~ 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

Re: calling an Error 404 page from within the Controller

2007-12-11 Thread powtac
If You create a custom 404 layout, take care that an 404 code by HTTP is provided. This can be done by "header("http/1.0 404 not found");" To prevent errors you can use something like this: if(!headers_sent) { header("http/1.0 404 not found"); } --~--~-~--~~~---~-

Re: Problem sessions

2007-12-10 Thread powtac
What does it mean exactly "but my data session lost"? Example code? --~--~-~--~~~---~--~~ 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

Re: Dbdesigner :: hasAndBelongsToMany ER example

2007-12-07 Thread powtac
Hi zonium, a general question: in't it required to set up both "directions"? This is something I never understood! Simon On 7 Dez., 22:18, zonium <[EMAIL PROTECTED]> wrote: > I think your diagram is correct academically. > > For implementation using cake, I usually just need to specify one of >

Re: Do you hardcode your menu links?

2007-12-05 Thread powtac
Thanx a lot! This is how I used it successfully with cakePHP 1.2: 1. Downloaded http://cakeforge.org/snippet/download.php?type=snippet&id=361 into /app/views/helpers/menu.php 2. Added var $helpers = array('Menu'); to class AppController in /app/app_controller.php 3. Added '/home', 'User

new page "Groups in other languages"

2007-12-05 Thread powtac
I published a new page in this group: http://groups.google.de/group/cake-php/web/groups-in-other-languages. Any other language suggestions? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to

Re: Do you hardcode your menu links?

2007-12-05 Thread powtac
Could anybody publish his menuHelper? It would be very fine for beginners (like me). --~--~-~--~~~---~--~~ 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

German user group?

2007-12-04 Thread powtac
Is there a german speaking cakePHP user group / forum? --~--~-~--~~~---~--~~ 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, s

Re: Newbie -- Inserting data into mutliple tables with one form

2007-12-03 Thread powtac
http://tempdocs.cakephp.org/#TOC89602 --~--~-~--~~~---~--~~ 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: dbdesigner2cake version 1.0.4 released - minor change

2007-12-01 Thread powtac
Found it: 1. DBDesigner 4 Scaffold Tools for CakePHP, or simply dbdesigner2cake, is a tool which parses fabFORCE's DBDesigner 4 XML file into CakePHP models and controllers files. It aims to simplify the first two steps in any system development, modelling and model coding. 2. http://blog.cirell

Re: dbdesigner2cake version 1.0.4 released - minor change

2007-12-01 Thread powtac
What can I do with this??? Any tutorials? Im using dbdesigner... --~--~-~--~~~---~--~~ 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 thi

Re: cake + php5 = bad performance?

2007-11-30 Thread powtac
Code with very much object orientated code. Almost everything was an object and extended an other object... No code with only functions... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to t

Re: Don't see related tables in view (newbie)

2007-11-29 Thread powtac
Found the resolution of "sigular_id or plural_id" in the german wikipedia article: * Model: User, Group (Singular) * Controller: UsersController, GroupsController (Plural) * Datenbanktabelle: users, groups, groups_users (Plural, letztes Beispiel zeigt den Namen für eine Relationstabell

Re: why am I getting this "undefined index" error?

2007-11-29 Thread powtac
I had the same "Undefined index..." error. After I changed some things manualy at the database. But when I bake the model again it was resolved. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To pos

Re: Intermittent Blank Screen

2007-11-29 Thread powtac
http://groups.google.com/group/cake-php/browse_frm/thread/889295952424caf9 --~--~-~--~~~---~--~~ 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 unsubscrib

Re: Navigation set up? (newbie)

2007-11-29 Thread powtac
lol, I found my own question on this group in google: http://www.google.com/search?q=cakephp%20navigation, only 2 hours later! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, s

Re: Navigation set up? (newbie)

2007-11-29 Thread powtac
Thanx for your answer! For me as a cakePHP newbie (second day) it is very important to get the basic questions answered (to become a cakePHP fan, or not). In my opinion it is very important for a growing comunity to answer also silly questions. And I will do my work to answer others questions too.

Re: Navigation set up? (newbie)

2007-11-29 Thread powtac
Hi Samuel, Im sorry but I took already some time to search the API, Manual, Bakery but didnt found anything for the following reasons: API: no hint for something like navigation Manual: not possible to search (http://cakephp.org/search? q=navigation), search is broken Bakery: no real result, sear

Navigation set up? (newbie)

2007-11-29 Thread powtac
How can I set up a navigation? --~--~-~--~~~---~--~~ 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 PROT

Re: cake + php5 = bad performance?

2007-11-29 Thread powtac
We did some benchmarks (not with cake) and figured out, that hard objectorientated code in PHP5 is slower than PHP4! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email

Re: Don't see related tables in view (newbie)

2007-11-29 Thread powtac
Table scheme: peoples id name email positions_id OR position_id ??? foreign table name plural or singular ??? positions id description --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post

Re: Don't see related tables in view (newbie)

2007-11-28 Thread powtac
On Nov 29, 5:18 am, Grant Cox <[EMAIL PROTECTED]> wrote: > 1. Follow the cake conventions - it makes life easier > (http://manual.cakephp.org/appendix/conventions). Ok, Ill have a look at it. > 2. In your example above, you want: > Person belongsTo Position, with foreign_id 'position' > Pos

Re: .htaccess problem on shared hosting environment (cakephp -> SEO)

2007-11-28 Thread powtac
http://bakery.cakephp.org/articles/view/500-errors-with-1and1-hosting-apache-1-x --~--~-~--~~~---~--~~ 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 unsu

Re: .htaccess problem on shared hosting environment (cakephp -> SEO)

2007-11-28 Thread powtac
Try RewriteEngine on RewriteRule^$ /public_html/example.com/app/webroot/[L] RewriteRule(.*) /public_html/example.com/app/webroot/$1 [L] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake

Re: HTTPS

2007-11-28 Thread powtac
Is the apache DocumentRoot of HTTP the realy the same as for HTTPS? See httpd.conf and the ???ssl???.conf --~--~-~--~~~---~--~~ 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

Re: Beginner Model help!

2007-11-28 Thread powtac
Seems the same problem here http://groups.google.com/group/cake-php/browse_thread/thread/3a377be8dfe0de64/43185d3a9b42a7a3 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send

Re: https and mod_rewrite

2007-11-28 Thread powtac
Found a thread similar to your problem: http://www.webhostingtalk.com/archive/index.php/t-373698.html, they mention to run the easyapache or buildapache script... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake

Re: Getting 404 error after moving to production server

2007-11-28 Thread powtac
Can you set up a test.html into the webroot and call it? --~--~-~--~~~---~--~~ 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,

Don't see related tables in view (newbie)

2007-11-28 Thread powtac
Data model: One person can have only one position. One position can be used by many persons. How do I get this relation into my view? So, I can select the "position.name" in my person view as HTML drop down? SQL: CREATE TABLE `person` ( `personId` int(10) unsigned NOT NULL auto_increment,

Re: PowerBake - bake all at once (for 1.2)

2007-11-28 Thread powtac
Good idea, thougt already of this... --~--~-~--~~~---~--~~ 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: Clear definitions for M V C? (newbie)

2007-11-26 Thread powtac
Yes, but... For example I have a pice of code which handles a file upload. What "question" can I ask to figure out if this is a model or a controller? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group.

Clear definitions for M V C? (newbie)

2007-11-26 Thread powtac
Hi, Im trying to move an existing project into cakephp (and also into a MVC-modell). What questions can I use to find out if -an existing part of code -an existing functionality -an existing database table is a model or a controller or only a view... --~--~-~--~~~---~--

Re: Newbie: how to access to the first page controller?

2007-11-19 Thread powtac
Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more option

Newbie: how to access to the first page controller?

2007-11-18 Thread powtac
How can I set up a controller which is called in the webroot, for example http://www.example.com. Wich controller is called there? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this gro