Re: Help - How do I Use CakePHP?

2006-12-29 Thread [EMAIL PROTECTED]
Good tips, thanks :) On Dec 29, 2:05 am, "Jon M." <[EMAIL PROTECTED]> wrote: Hello here are some links I can recommend to you that should get you started and get a taste of CakePHP. Just remember ... CakePHP is not hard ... it makes your life easier ... really it does :) . http://www.sitepoint

Re: /cake

2006-12-29 Thread lukem
great - that saves me trying to fix it! thanks - lukemack. --~--~-~--~~~---~--~~ 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 g

recursive >1 does not work

2006-12-29 Thread igor
Hello, I'm writing an interface for products database. My models: products, manufacturers, subcategories, categories. Each product belongsTo manufacturer and HABTM subcategories. Subcategory belongsTo category. Also the other way around - manufacturer hasMany products etc. I need a page listing

Re: Where is Cake Conventions?

2006-12-29 Thread ShepherdWeb
Along this same line. Is there some sort of changelog or record of updates kept when/if changes are made to the online manual? It would be nice to have a record like this to be able to "update" myself when I start a new project and download the latest version. --~--~-~--~~

Re: /cake

2006-12-29 Thread gwoo
This is a mod_rewrite problem when operating in sub directories. Unfortunately, there is no easy way around it, and we only recommend installing Cake in a sub directory for development. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Weird stuff

2006-12-29 Thread gwoo
oh, i did not see the other message, sorry. Can you provide any more information on your setup? --~--~-~--~~~---~--~~ 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@google

Re: Weird stuff

2006-12-29 Thread gwoo
What does the Apache error.log say? --~--~-~--~~~---~--~~ 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 [EM

/cake

2006-12-29 Thread lukem
hi, i've installed cake in a subdirectory on a test server (linux, apache, php 5.1.6) which works fine. however, i've noticed that i only see the cake default page if i go to http://www.mysite.com/cake/ and not when i go to http://www.mysite.com/cake (note the missing trailing slash). Could ther

Re: Weird stuff

2006-12-29 Thread MrTufty
And the latest SVN 4230 also crashes in the same way... just tested now. Any ideas? --~--~-~--~~~---~--~~ 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

Re: Weird stuff

2006-12-29 Thread MrTufty
DJ Spark contacted me off-list, advising me to check the Apache error logs - unfortunately in this case, it didn't help at all. When Apache is crashing here, it's crashing badly enough so that nothing is written to the log file. I'm now testing 4205 and 4206 side-by-side, in different folders. 4

Re: Where is Cake Conventions?

2006-12-29 Thread John David Anderson (_psychic_)
On Dec 29, 2006, at 10:58 AM, Ámon Tamás wrote: Hello, I see the wiki pages going to the Bakery, but I always use wiki for the looking for the Cake Conventions, but now it is not available. I putted to the new bakery site this document, if it is available in an other place please delet

Where is Cake Conventions?

2006-12-29 Thread Ámon Tamás
Hello, I see the wiki pages going to the Bakery, but I always use wiki for the looking for the Cake Conventions, but now it is not available. I putted to the new bakery site this document, if it is available in an other place please delete it and send me the new link. Thanks. -- Ámon Tamás

Re: How to use dauth.

2006-12-29 Thread devon
AD7 Thanks very much for your thorough explanation. I'm a newcomer to Cake and it helps to get solid information. It is appreciated. I will check out your links and ACL implementation. hen will the new collaboration with dieter be unveiled. It is very much needed as I can see form the plethora o

Re: How to use dauth.

2006-12-29 Thread Tazz
Ok cool! I supose... if(!user) redirect(to some page) or flash; 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 unsubs

Re: sorry, but i dont get the routing/nice url-thing in cake

2006-12-29 Thread thdz.x
thank you for your help > what does the ":" mean?It's a marker, such that whatever is in the place of ":myParam" will become array('myParam'=>'whatever matched in the regex'). if it's :controller it's the name of the controller to use, if it's :action it's the method to run otherwise it's (jus

Re: How to use dauth.

2006-12-29 Thread devon
I look forward to the result of your combined knowledge in producing something that works out of the box. As you are certainly aware, the holes in the cake documentation, invalid code links in the Bakery, deprecated wiki, etc is a cause for concern, especially when you're not a hobbyist with rea

Re: Help - How do I Use CakePHP?

2006-12-29 Thread Olivier Percebois-Garve
http://www.cakefoundation.org/pages/services PHPBABY3 wrote: I have been using PHP for a few years part-time. Now I have to use CakePHP. Where is is the best documentation? Could someone walk me through it or something? We can make this a business relationship if you are a business. Reply

Re: dAuth 0.3 Issue

2006-12-29 Thread devon
1.1.12. Thanks for your reply. --~--~-~--~~~---~--~~ 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 P

Re: Count of rows in a join table

2006-12-29 Thread AD7six
On Dec 29, 3:27 pm, "Olexandr Melnyk" <[EMAIL PROTECTED]> wrote: Hello, I need to get certain rows from table one with count of associated rows from table two? The best thing I know so far (thanks to dudes from IRC) is to use a subquery in list of fields I want to get. Does anyone know a bette

Weird stuff

2006-12-29 Thread MrTufty
Ok, I know 1.2 isn't out yet, and there's no rush. But I've run into a small issue, and I was just wondering if anyone else had seen it before reporting it on Trac. I'm running a local test server using Vertrigo 2.14 - I've been using this version, and older, quite successfully for the past few

Count of rows in a join table

2006-12-29 Thread Olexandr Melnyk
Hello, I need to get certain rows from table one with count of associated rows from table two? The best thing I know so far (thanks to dudes from IRC) is to use a subquery in list of fields I want to get. Does anyone know a better (more Cake- but less SQL-based) way to do this? -

Re: Cake Hosting

2006-12-29 Thread Drex
I recommend rosehosting.com with a directadmin panel cheap and stable virtual servers. you can install and configure whatever you want to. regards dz --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" gro

RE: Cake Hosting

2006-12-29 Thread Brandon Olivares
Hi, I have both shared and VPS hosting from webonce.com. they've been very satisfactory for me. They also have an addition to the control panel that let's you change between PHP4 and PHP5. Brandon --~--~-~--~~~---~--~~ You received this message because you a

Re: Cake Hosting

2006-12-29 Thread Marcelo de Moraes Serpa
I've got a server at Layered Tech. Support is excellent and didn't have any problems so far. On 12/29/06, CraZyLeGs <[EMAIL PROTECTED]> wrote: Most hosts give unlimited multi-domains hosting on a single account nowadays anyway. Traffic and storage aren't much of an issue, unless you host some

RE: How to get the SUM for this array? A shopping-chart

2006-12-29 Thread Mariano Iglesias
Can you should me the CakePHP model query you used to obtain this array? So I can modify and add SUM() clause. On the other hand you could just sum up with PHP: $sum = 0; foreach($result as $row) { $sum += $row['price']; } -MI --

Re: dAuth 0.3

2006-12-29 Thread PaulV
[EMAIL PROTECTED] wrote: I assume that most of your problems are solved now, given what we've discussed on the bakery ;-) Yes. Thanks. For those people who don't read the bakery comments (or read the text properly like me ;) ), The hash problem was due to the code in the Bakery for the sha1.js

Re: How to use dauth.

2006-12-29 Thread AD7six
On Dec 29, 1:35 am, "devon" <[EMAIL PROTECTED]> wrote: Hello I've used Dieters dAuth 0.3 successfully with the latest security.php component. Good stuff Dieter. Question: Will they both play together with ACL on build 1.1.12.4205? I've tried to configure ACL today and ran into some problems.

Re: How to use dauth.

2006-12-29 Thread [EMAIL PROTECTED]
devon wrote: Question: Will they both play together with ACL on build 1.1.12.4205? probably not. the current version of AD's acl component works nicely on 1.1, and so does dAuth v0.3. But from now on, we will both focus on 1.2. 1.2 brings many improvements, especially on the domain of acl

Re: dAuth 0.3 Issue

2006-12-29 Thread [EMAIL PROTECTED]
"the latest cake", do you mean 1.1.12 or 1.2 dev-release ? --~--~-~--~~~---~--~~ 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 g

How to get the SUM for this array? A shopping-chart

2006-12-29 Thread ERic ZoU
Hi, everyone, I am doing a shopping-chart. And I have users,goods, and users_goods. There are three tables. I can add and delete from the app. I create Users HABTM Goods. Now, I have the array when I check one user's shopping-chart. I get the array: Array ( [0] => Array (

Re: dAuth 0.3

2006-12-29 Thread [EMAIL PROTECTED]
I assume that most of your problems are solved now, given what we've discussed on the bakery ;-) Except the "headers already sent one" that's probably still unresolved.. i've looked a bit around in the sources (of both dAuth and cake/libs) but couldn't find the real culprit; when i have more tim

Re: Cake Hosting

2006-12-29 Thread CraZyLeGs
Most hosts give unlimited multi-domains hosting on a single account nowadays anyway. Traffic and storage aren't much of an issue, unless you host some BT stuff. support and uptime is kinda what makes the difference nowadays. dreamhost doesn't have a great uptime, support is ok to an extend. --~

Re: sorry, but i dont get the routing/nice url-thing in cake

2006-12-29 Thread AD7six
Hi thdz.x, On Dec 29, 2:06 am, "thdz.x" <[EMAIL PROTECTED]> wrote: > $Route->connect('/', array('controller' => 'main'); > //you'll need to specify controllers that don't fit into the ArtistName > construct > $Route->connect('/admin/', array('controller' = 'admin'); > $Route->connect('/:artistn

Re: Passing string in url

2006-12-29 Thread Nimrod A. Abing
On 12/29/06, @leX <[EMAIL PROTECTED]> wrote: I'm using the SLASH format for passing params to controller from a URL so that users can modify the url i.e. http://www.somthing.com/controller/param1/param2/param3 last param (i.e. param3) is a string which may contain characters such as question

dAuth 0.3 Issue

2006-12-29 Thread devon
The 0.2 and 0.3 versions worked well until this morning. Now I get: Register failed: Choose a better/other username This flash message is generated regardless of username strength. Any idea of what is happening here? I'm beginning to think it's an incompatibility with the latest build. Was worki