New to PHP

2007-01-07 Thread AndreSantos


Hello guys,

I programmed in php for over 2 years, but had to stop due to some
problems, stoped for over a year. Now that im finally starting back, i
came across cake php, and i want to know if its a good idea to use it,
without a good knowledg in php. I would start from the beggining, doing
small things... Also, i would like to know if i can still program
normally afer installing cakephp on my server, or if ill HAVE to use it
everytime im programming. I hope i made myself clear, and that you guys
can answer my questions fast. 
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: I Just Installed Cake and then . . .

2007-01-07 Thread PHPBABY3


Larry E. Masters aka PhpNut wrote:

Peter,

A little advice, if you continue to send private emails to members on the
list without their consent, I am going to ban you from this list.


Excuse me?? It's bad enough when some feeble-minded people ridicule
others who know less than they do about a particular subject (a la
Nick the Computer Guy on Saturday Night Live), but now someone
actually threatens someone for asking for help - while offering money,
no less?  Have you no shame?


I have
already responded to your private emails to me. You can hire the foundation
for consulting if you like. But do not send direct request to me anymore.


Do I look stupid enough to ask the same person twice?  (Quick, who has
a mirror?)


You have already sent an email to the list once requesting help and offering
to pay someone to help. I have deleted the last 2 similar spam messages.


The spam is the result of problems with Google Groups messages not
appearing - or being mysteriously delayed (one never knows which.)  The
problem is common in Google Groups, you know?

Given that you are the (?) person who wrote CakePHP, maybe you could
spend your time a little more productively, like, e.g., writing a
CakePHP model for itself so we could have data entry screen (and
reports, and real programmer's utilities (beyone application
utilities))?

Just a thought.

P -


--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access  public
*/

--=_Part_26250_16147998.1168134151177
Content-Type: text/html; charset=ISO-8859-1
X-Google-AttachSize: 661

Peter,brbrA little advice, if you continue to send private emails to 
members on the list without their consent, I am going to ban you from this list. I have 
already responded to your private emails to me. You can hire the foundation for consulting 
if you like. But do not send direct request to me anymore.
brbrYou have already sent an email to the list once requesting help and offering to pay someone to help. I have 
deleted the last 2 similar quot;spamquot; messages.brbrbr-- br/**br* @author 
Larry E. Masters
br* @var string $userNamebr* @param string $realNamebr* @returns string aka PhpNutbr* 
@accessnbsp;nbsp;publicbr*/

--=_Part_26250_16147998.1168134151177--



--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: New to PHP

2007-01-07 Thread nate


First of all, no, you don't *have* to use Cake (or even PHP) just
because you install one or both of them on your server.  Your best bet,
before diving right into Cake, is to find a good intro book to PHP
programming.  Here's a good place to start:
http://www.oreilly.com/pub/topic/php


--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: using OpenLayers (like an external library) in my cake application

2007-01-07 Thread CraZyLeGs


Ain't openLayers a javascript library ?
Might be more logic to put it in webroot/js, include the Javascript
helper in your helper, and abstract the calls or whatever you want to
do.


--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: I Just Installed Cake and then . . .

2007-01-07 Thread Larry E. Masters aka PhpNut

On 1/6/07, PHPBABY3 [EMAIL PROTECTED] wrote:


Excuse me?? It's bad enough when some feeble-minded people ridicule
others who know less than they do about a particular subject (a la
Nick the Computer Guy on Saturday Night Live), but now someone
actually threatens someone for asking for help - while offering money,
no less?  Have you no shame?



Use the mirror you requested and ask yourself if you have any shame. You
have sent more then one email to this list, and to members of this list
privately asking for assistance with something you obviously can not
comprehend, offering them cash to help you. Once is enough! I let through
the first time, the second time it is spam.

Do I look stupid enough to ask the same person twice?  (Quick, who has

a mirror?)



Got that mirror handy?

I think you need to look through your sent mail, I have thread started from
you on Dec 28, 2006 in that email I posted you a list of places to look for
help, one being the IRC channel where many people, myself included are
helping other users daily. You know where the channel is because you joined
it for a brief moment using the web interface as baker389
http://irc.cakephp.org/cakephp/viewlog/2006-12-28#1130 how long did you wait
for someone to help you there? Does not look like every long from the log
does it? You did the same thing you have done here, requested that someone
contact you to help. Another link I gave you was the manual, which you asked
me to translate to English for you. I responded that it was in English since
I only speak English.

You continued to email me with comments like:
[snip]

Try to look the words up in Merriam-Webster. Then think back to what it was
like before you got wrapped up in computers - how few of the words are drawn
from English.

[/snip]

I then told you to contact the foundation for consulting which you did and
we responded back, you have not replied.

Today I log on after a long trip and find another email from you to my
personal account:
[snip]

Hi,
I would like to be able to email questions concerning CakePHP daily and
receive an answer. Please advise.
Peter

[/snip]

Now I am either imagining all of these emails from you to my personal
account, or you are stupid enough to ask the same person twice, how is that
mirror doing for you?



The spam is the result of problems with Google Groups messages not
appearing - or being mysteriously delayed (one never knows which.)  The
problem is common in Google Groups, you know?



spam would be unwanted email, which I along with others have received from
you to our private emails. You have offered money once in the group and
apparently no one responded to you, as I did about contacting the foundation
or with an offer to help. Or they did respond and your offer money is not
enough for them to tutor you on the finer points of Reading 101.



Given that you are the (?) person who wrote CakePHP, maybe you could
spend your time a little more productively, like, e.g., writing a
CakePHP model for itself so we could have data entry screen (and
reports, and real programmer's utilities (beyone application
utilities))?



Obviously you are one of the few who think what I do on this project is not
productive. I think you have a misunderstanding of what cake is used for, it
is not a application for you do enter data, build reports and so on. It is a
tool for you as a software developer to develop these type of applications.
Normally I would tell someone like you to read the manual, but since I
already have and you seem to lack the basic knowledge needed to comprehend
the examples there and expect everything to be handed to you on a silver
platter, I will not waste my time.

I think you are looking for something other then a framework, maybe a CMS is
more geared toward your needs, they are quite easy to use, and most do not
need any knowledge of software development to comprehend. Not sure if it is
in the Merriam-Webster but a CMS is a Content Management System. Google it.

Just a thought.


Think again Peter, think real hard again...

To everyone else reading this thread, I really am a nice guy, really I am.

/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access  public
*/

--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: I Just Installed Cake and then . . .

2007-01-07 Thread Dr. Tarique Sani


On 1/7/07, PHPBABY3 [EMAIL PROTECTED] wrote:


Larry E. Masters aka PhpNut wrote:
 Peter,

 A little advice, if you continue to send private emails to members on the
 list without their consent, I am going to ban you from this list.

Excuse me?? It's bad enough when some feeble-minded people ridicule



Peter - I don't feel that anyone rediculed you and right now you are
being an Ass deliberately - but it may not be the case so I will try
to answer you - given that people have tried to help you with
something which most would have seen as obvious - I would like to know
somethings more before I answer you.

#1 Is English your first language
#2 How long have you been programming with PHP
#3 What do you want the form to do when the form is submitted


Cheers
Tarique

--
=
PHP Applications for E-Biz: http://www.sanisoft.com
Cheesecake-Photoblog: http://cheesecake-photoblog.org
=

--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Rock the vote!

2007-01-07 Thread CraZyLeGs


80.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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: I Just Installed Cake and then . . .

2007-01-07 Thread Dr. Tarique Sani


On 1/7/07, Larry E. Masters aka PhpNut [EMAIL PROTECTED] wrote:


To everyone else reading this thread, I really am a nice guy, really I am.


Hey I don't care about that one bit! You just keep writing code for CakePHP ;)

T


--
=
PHP Applications for E-Biz: http://www.sanisoft.com
Cheesecake-Photoblog: http://cheesecake-photoblog.org
=

--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: ER Tools

2007-01-07 Thread CraZyLeGs


Oh yeah!
Larry E. Masters aka PhpNut wrote:

On 1/5/07, CraZyLeGs [EMAIL PROTECTED] wrote:


 Where is that Forum diagram again..


This one?
http://phpnut.cakephp.org/img/roundtable.png
http://phpnut.cakephp.org/img/roundtable.pdf

--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access  public
*/

--=_Part_17076_3528167.1168014425597
Content-Type: text/html; charset=ISO-8859-1
X-Google-AttachSize: 770

brbrdivspan class=gmail_quoteOn 1/5/07, b class=gmail_sendernameCraZyLeGs/b lt;a href=mailto:[EMAIL 
PROTECTED][EMAIL PROTECTED]/agt; wrote:/spanblockquote class=gmail_quote style=border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 
0.8ex; padding-left: 1ex;
brWhere is that Forum diagram again..br/blockquote/divbrThis one?bra 
href=http://phpnut.cakephp.org/img/roundtable.png;http://phpnut.cakephp.org/img/roundtable.png/abra 
href=http://phpnut.cakephp.org/img/roundtable.pdf;
http://phpnut.cakephp.org/img/roundtable.pdf/abrbr-- br/**br* @author Larry E. Mastersbr* @var 
string $userNamebr* @param string $realNamebr* @returns string aka PhpNutbr* @accessnbsp;nbsp;publicbr*/

--=_Part_17076_3528167.1168014425597--



--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Tutorial request

2007-01-07 Thread CraZyLeGs


You have the manual, if you think of it as a tutorial, it's pretty much
like building an application, http://manual.cakephp.org/

If you want real word apps, try cakeforge, it has some projects,
rdBloggery and bakesale as an example. download, and study the code.
You might want to look at the bakery's code too
https://cakeforge.org/plugins/scmsvn/viewcvs.php/?root=bakery
it might look a bit too much, but it's easy to follow

Best Regards


--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Bakery Source

2007-01-07 Thread Preloader


Hello bakers,

I'm wondering if there's a possibility to download the bakery source,
for learning purposes. I didn't find any bakery downloads in cakeforge.

Greets, Christoph :-)


--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Bakery Source

2007-01-07 Thread Dr. Tarique Sani


On 1/7/07, Preloader [EMAIL PROTECTED] wrote:


Hello bakers,

I'm wondering if there's a possibility to download the bakery source,
for learning purposes. I didn't find any bakery downloads in cakeforge.


No downloads but you can check it out from the SVN and install

HTH
Tarique

--
=
PHP Applications for E-Biz: http://www.sanisoft.com
Cheesecake-Photoblog: http://cheesecake-photoblog.org
=

--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Bakery Source

2007-01-07 Thread Felix Geisendörfer
No downloads but you can check it out from the SVN and install 
https://svn.cakeforge.org/svn/bakery/trunk/bakery is where you can 
download it ; ).


-- Felix Geisendörfer aka the_undefined
--
http://www.thinkingphp.org
http://www.fg-webdesign.de


Dr. Tarique Sani wrote:


On 1/7/07, Preloader [EMAIL PROTECTED] wrote:


Hello bakers,

I'm wondering if there's a possibility to download the bakery source,
for learning purposes. I didn't find any bakery downloads in cakeforge.


No downloads but you can check it out from the SVN and install

HTH
Tarique



--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Bakery Source

2007-01-07 Thread Preloader


Ahh, OK :-) I overlooked this, thank you very much!

Christoph


--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



controller calling an other controller with an array as parameter

2007-01-07 Thread [EMAIL PROTECTED]


I would like to save my date with this method:

function saveDocument($document){

   if ($this-Document-save($document))
   {
 $this-flash('Das Dokument wurde
gespeichert.','/documents/view/'.$this-Document-getLastInsertId());
   }

 }

but i don't know, how can i calling this method from an other
controller.

Thank you.

Klaus Schwarzkopf


--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Rock the vote!

2007-01-07 Thread georgeL


this post seems to rock their vote .. thanks for the hint nate.

81.4%


--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: dateTimeOptionTag Saving Error in Cake 1.1.10

2007-01-07 Thread Samuel DeVore


Try using

$this-cleanupFields('ModelName');

in your controller before doing the save

Sam D

On 1/7/07, ERic ZoU [EMAIL PROTECTED] wrote:


Hi, everyone,

As the title, I cant save the $dateTimeOptionTag for my edit function.

In my add fuction, it works great. I can add it and save it into mysql.

When I use edit, I can retrive the data. BUT, when I try to save it, I
cant save the dateTime only. The rest all works great.

I set core debug as 2, I get the following output :


SELECT COUNT(*) AS count FROM `events` WHERE (`id` = 7)  1 1 1
12 UPDATE `events` SET `id` = '7',`event_cate_lvl2_id` = '2',`name` =
'apple',`address` = 'Spr',`banner` = 'Cute',`costperperson` =
'300',`introduction` = '',`description` = '110',`transportation` =
'110',`payment_visa_ok` = '1',`payment_cash_ok` =
'0',`payment_yinliancard_ok` = '0',`payment_mastercard_ok` =
'1',`contact_number1` = '120',`contact_number2` = '110',`enabled` =
'2',`keywords` = 'Coffee' WHERE `id` = '7'

When I use $this-params['form'], to see the output after the form
submit. I can saw IT IS submit, like

Array
(
[data] = Array
(
[Event] = Array
(
[id] = 7
[name] = apple
[address] = Spr
[banner] = Cute
[costperperson] = 300
[event_start_day] = 23
[event_start_month] = 08
[event_start_year] = 1973
[event_start_hour] = 10
[event_start_min] = 53
[event_start_meridian] = pm
[event_end_day] = 26
[event_end_month] = 04
[event_end_year] = 1974
[event_end_hour] = 04
[event_end_min] = 55
[event_end_meridian] = pm
[enabled] = 2
[keywords] = Coffee
)

)







--
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you

--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Apache configuration

2007-01-07 Thread ms


Trainling slash isn't the problem. Looking at apache's error_log it
seems the request to 192.168.4.6/prova/users ir redirected to the
document root and from there to /var/www etc...
But I found a way out: I created a virtual host listening on port 81
with the document root set to /var/www/app/webroot.


--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



anything similar to acts_as_tree in Rails

2007-01-07 Thread river_jetties


I'm thinking of doing a project in cake and would like to know if there
is a model convention similar to 
'acts_as_tree' in rails.


-j


--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: anything similar to acts_as_tree in Rails

2007-01-07 Thread Felix Geisendörfer

I'm thinking of doing a project in cake and would like to know if there
is a model convention similar to 'acts_as_tree' in rails. 
CakePHP 1.2 has a similar functionality named Behaviors. However it's 
not officially been released yet (only a developer release).


-- Felix Geisendörfer aka the_undefined
--
http://www.thinkingphp.org
http://www.fg-webdesign.de


river_jetties wrote:


I'm thinking of doing a project in cake and would like to know if there
is a model convention similar to 'acts_as_tree' in rails.

-j






--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: anything similar to acts_as_tree in Rails

2007-01-07 Thread Olivier Percebois-Garve

Would it make sense to go after rails's documentation to get an idea of how
these new things in 1.2 are functioning ?

olivvv

Felix Geisendörfer wrote:

I'm thinking of doing a project in cake and would like to know if there
is a model convention similar to 'acts_as_tree' in rails. 
CakePHP 1.2 has a similar functionality named Behaviors. However it's 
not officially been released yet (only a developer release).


-- Felix Geisendörfer aka the_undefined
--
http://www.thinkingphp.org
http://www.fg-webdesign.de


river_jetties wrote:


I'm thinking of doing a project in cake and would like to know if there
is a model convention similar to 'acts_as_tree' in rails.

-j











--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Rock the vote!

2007-01-07 Thread [EMAIL PROTECTED]


the results give an unrealistic impression.
Most, if not all the other frameworks don't have posts on their forums
stating go vote on us.  Once this gets spread our percentage will go
down ;-)


--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Rock the vote!

2007-01-07 Thread Dinh

+1 for Cake but this poll is so... 2004. What time is it now? Phrame,
Mojavi, Studs oh my god

--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: anything similar to acts_as_tree in Rails

2007-01-07 Thread Felix Geisendörfer
 Would it make sense to go after rails's documentation to get an idea 
of how

these new things in 1.2 are functioning ?
Probably not. But maybe I can get you some sample code at some point if 
I find it.


-- Felix Geisendörfer aka the_undefined
--
http://www.thinkingphp.org
http://www.fg-webdesign.de


Olivier Percebois-Garve wrote:
Would it make sense to go after rails's documentation to get an idea 
of how

these new things in 1.2 are functioning ?

olivvv

Felix Geisendörfer wrote:

I'm thinking of doing a project in cake and would like to know if there
is a model convention similar to 'acts_as_tree' in rails. 
CakePHP 1.2 has a similar functionality named Behaviors. However it's 
not officially been released yet (only a developer release).


-- Felix Geisendörfer aka the_undefined
--
http://www.thinkingphp.org
http://www.fg-webdesign.de


river_jetties wrote:


I'm thinking of doing a project in cake and would like to know if there
is a model convention similar to 'acts_as_tree' in rails.

-j














--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: anything similar to acts_as_tree in Rails

2007-01-07 Thread Felix Geisendörfer
Cool. behaviors and especially act_as_tree look interesting but I 
still don't grasp it really.
Well to make a long story short, behaviors basically allow you to add 
new *methods* to a Model that has a certain behavior attached to it, as 
well as getting all the beforeFind/afterFind/etc. callbacks.


It's almost like inheritance, but better - it allows for multiple 
parents ; ).


-- Felix
--
http://www.thinkingphp.org
http://www.fg-webdesign.de


Olivier Percebois-Garve wrote:
Cool. behaviors and especially act_as_tree look interesting but I 
still don't grasp it really.



Felix Geisendörfer wrote:
Would it make sense to go after rails's documentation to get an idea 
of how

these new things in 1.2 are functioning ?
Probably not. But maybe I can get you some sample code at some point 
if I find it.


-- Felix Geisendörfer aka the_undefined
--
http://www.thinkingphp.org
http://www.fg-webdesign.de


Olivier Percebois-Garve wrote:
Would it make sense to go after rails's documentation to get an idea 
of how

these new things in 1.2 are functioning ?

olivvv

Felix Geisendörfer wrote:
I'm thinking of doing a project in cake and would like to know if 
there
is a model convention similar to 'acts_as_tree' in rails. 
CakePHP 1.2 has a similar functionality named Behaviors. However 
it's not officially been released yet (only a developer release).


-- Felix Geisendörfer aka the_undefined
--
http://www.thinkingphp.org
http://www.fg-webdesign.de


river_jetties wrote:


I'm thinking of doing a project in cake and would like to know if 
there

is a model convention similar to 'acts_as_tree' in rails.

-j





















--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Need a little suggestion how to get my javascript file invoked

2007-01-07 Thread Mikee Freedom


morning mate,

I've included the Js Calendar code successfully in a few applications.
You might be able to use the method I have employed.

1. Structure
- Put the `jscalendar` dir in your `vendors` directory (at the same
level as your Cake dir).
- Put the `jscalendar` dir in your `js` directory (within your webroot)
- NOTE: you probably only need the calendar.php file in part 1 of this
step, but for now just drop the whole thing in there

2. Component
- I've put my calendar code in a component as I use it quite often
- Create a calendar component (or I've created a general form
component) and include the following function

   /**
*
* Allows a form to include calendar elements
*
* @return boolean success
*/
   function initCalendar()
   {
   // include required vendors
   vendor('jscalendar/calendar');
   $calendar_lang = 'en';
   $calendar = new DHTML_Calendar($this-controller-base .
'/js/jscalendar/', $calendar_lang, 'calendar-win2k-2', false);
   $this-controller-set('calendar', $calendar);

   // set any header elements that may be required
   if (isset($this-controller-Header))
   {
   
$this-controller-Header-addHeader($calendar-get_load_files_code());
   }
   else
   {
$this-controller-set('headers', $calendar-get_load_files_code());
   }

   }

- NOTE: I use an additional Header component in the above code, you
will need to remove reference to it.

3. Controller
- Now we have this code wrapped up nicely you can call it wherever you like
- e.g.

   // init calendar
   $this-ExtForm-initCalendar();

- NOTE: My component is called ExtForm
- NOTE: don't forget to include your component in the controller that
calls it using the $components variable.

4. Layout
- In your layout you need to include the headers required for the calendar
- we set these in our component earlier
- NOTE: I'm using a helper again, you'll need to remove that code and
just output the $headers value

?php if (isset($headers)) $header-generateHeaders($headers); ?

5. View / Helper
- Again, I've packaged my code so I can reuse it all the time.
- My method of doing this is fairly cumbersome and has quickly become
outdated since the release of CakePHP v1.2 so I will try and summarize
with some code snippets.
- Basically, have a look at the calendar.php file and you can see how
it goes about outputting a calendar field. I also created a function
called get_input_field that returned the rendered input field as a
string as opposed to outputting it.

   $calendarOptions = array(
   'firstDay'   = 1, // show Monday first
   'showsTime'  = false,
   'showOthers' = true,
   'ifFormat'   = '%Y-%m-%d',
   'daFormat'   = '%Y-%m-%d',
   'timeFormat' = '12',
   'align'  = 'cR'
   );

  $calendar-get_input_field($calendarOptions,$calendarFieldAttributes);

- NOTE: set $calendarFieldAttributes to represent the attributes of
the text field to go along side the calendar.

I think that about covers it. I may have forgotten something, and the
instructions get a bit patchy towards the end - my apologies. The way
I've done it (in total) is too bulky to include here. I need to
streamline my code a lot more. Hope to do this when I venture in to
1.2.

Good luck,
mikee

On 06/01/07, keymaster [EMAIL PROTECTED] wrote:


Can someone please offer some instruction on how to get my javascript
popup menu working within cake?

The calendar javascript files are contained in:

webroot/js/jscalendar-1.0/


In the header of my views/layout, I have:
--

link rel=stylesheet type=text/css media=all
href=calendar-win2k-cold-1.css title=win2k-cold-1 /

script type=text/javascript src=?php echo
$html-url('/js/jscalendar-1.0/calendar.js'); ?/script

script type=text/javascript src=?php echo
$html-url('/js/jscalendar-1.0/lang/calendar-en.js'); ?/script

script type=text/javascript src=?php echo
$html-url('/js/jscalendar-1.0/calendar-setup.js'); ?/script


To invoke the calendar I do:


script type=text/javascript
Calendar.setup({
inputField :f_date_b,
ifFormat   :%m/%d/%Y %I:%M %p,
showsTime  :true,
button :f_trigger_b,
singleClick:false,
step   :1   });
/script


I am not at the stage where I want to get back the parameters from the
dates selected. Just want the javascript invoked (so I  can see the
popup calendar).

Any help will be appreciated. Thx.






--~--~-~--~~~---~--~~
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 

being able to set the base root to an action / controller with parameter

2007-01-07 Thread river_jetties



I see how the default route is setup and how default actions get mapped
in this manner:
http://www.domain.com/cake/controller/action/$var1
assuming that cake is set up in the development environment.

What I'd like to be able to do is have:
http://www.domain/com/cake/$var1
map to a controller and action and pass $var1 to the action configured
in routes.php.

Ideally, I'd like to remove the default behavior for the controller of
ignoring the trailing slash and have something like:
   $Route-connect('/',array('controller'='profiles',
'action'='index','query'));

in routes.php.
Maybe it could be done via .htaccess but I'm no expert on that.

Is this possible?

thanks,

-j


--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: How to use Vender Code

2007-01-07 Thread Chris Hartjes


On 1/7/07, Sam Sherlock [EMAIL PROTECTED] wrote:

I am trying to use the browser detection script Sniffer included vendor code

the comments in code advise the following '$sniff = new Sniffer();' but does
not
specifiy how to include the code nor where to include it.

have tried:
$vendors = Array('Sniffer'); in app_controller

whats the way to manage this?

thx - S


Hey Sam,

If you check out a posting on my blog about integrating PHP-SWF charts
with Cake, there is some info on how to integrate vendor code into
CakePHP:

http://www.littlehart.net/atthekeyboard/2006/09/26/tutorial-integrating-phpswf-charts-with-cakephp/

That might help you figure out the problem

--
Chris Hartjes

My motto for 2007:  Just build it, damnit!

rallyhat.com - digitial photo scavenger hunt
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Gwt + CakePhp

2007-01-07 Thread fixfax


Hi!

Im new in the world of CakePhp.

I want to create a web with CakePhp and Gwt. I configure CakePhp and i
do a lot of examples to understand it.

On the other hand, i run some examples about GWT. One of this is the
example of Angel,
http://angel.hurtado.googlepages.com/tutorialgwt2

Now i want to put this example in a index.thml..

But when i put the example in CakePhp, the navigator don' t load the
widgetbut the html is whell becouse if I view the html code and
copy and paste in simple file html it runs well... I don't understand
what happends

Somebody knows like integrate the widgets from GWT with the CakePhp ??

Regards!
fixfax


--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: beforeSave return false, what with afterFind...?!

2007-01-07 Thread Seb


Hey Nate,

Thanks for your time! What I'm trying to do evolves around virtual
fields. For instance in the user model, the afterFind() method creates
2 virtual fields, one named name_lf and containing a user full name in
'lastname, firstname' format. This works like a charm.

Now if I edit a user, and save my changes, if the beforeSave() in the
User Model returns false, nothing is saved to the db, and the 'error
mode' is triggered, the edit form shown again. (that's a pretty
standard cake behaviour)

Now that's from where my question was raised; because the user data is
stored in the post, it's not pulled from the DB again - which is great.
However because it's not pulled again, the afterFind() in the User
Model is not called, and the name_lf virtual field not created. Because
of that and because I'm using this virtual field in the edit form, I
get an error about this name_lf not being defined, hence my question,
when should a beforeSave return false..?!

Code?
function afterFind($results) {
   if (is_array($results)) {
   foreach ($results as $key = $obj) {
   if (!isset($obj[$this-name]['id'])) {
   continue;
   }
   $results[$key][$this-name]['name_lf'] =
($obj[$this-name]['lname'] ? $obj[$this-name]['lname'] . ', ' : '') .
$obj[$this-name]['fname'];
   }
   }
   return parent::afterFind($results);
}

function beforeSave() {
   // say I was to do something here... db related or not... and
something fails... which is possible according to the manual
   return false;
}

 end code


So.. yeah... I don't think I'm doing anything wrong... and am just
wondering why this all could be...

Cheers!

Seb.


On Jan 6, 5:09 am, nate [EMAIL PROTECTED] wrote:

Ummm.  beforeSave() and afterFind() are normally completely
unrelated.  It might help to post a code sample so we can see what it
is that you're trying to do.



--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Bakery Source

2007-01-07 Thread Ryan Snowden (Beijing)

SQL is in app\config\bakery.sql


On Jan 8, 2007, at 4:26 AM, Cadu wrote:



Hi,

I downloaded the bakery.xml schema from the svn repository, but I
couldn't manage to export the SQL create script in DBDesigner (I'm
using version 4.0.5.6 Beta).
It says: That are circular relations.

Which version are you using?

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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: controller calling an other controller with an array as parameter

2007-01-07 Thread TJSingleton


Try requestAction($url, $extra)


From the Manual:

This function calls a controller's action from any location and returns
the rendered view. The $url is a Cake URL
(/controllername/actionname/params). If the $extra array includes a
'return' key, AutoRender is automatically set to true for the
controller action.

http://manual.cakephp.org/chapter/controllers

--
TJ Singleton


--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Bakery Source

2007-01-07 Thread Cadu


The file is on app\config\sql\bakery.sql

Thank you Ryan!

Ryan Snowden (Beijing) escreveu:


SQL is in app\config\bakery.sql


On Jan 8, 2007, at 4:26 AM, Cadu wrote:


 Hi,

 I downloaded the bakery.xml schema from the svn repository, but I
 couldn't manage to export the SQL create script in DBDesigner (I'm
 using version 4.0.5.6 Beta).
 It says: That are circular relations.

 Which version are you using?

 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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



OT - Q for PHPNut on DBDesigner 4 - Was: ER Tools

2007-01-07 Thread Langdon Stevenson


Hi Larry

This question is way off topic for the list so feel free to 
ignore/delete/reply off list.  I would have asked it on the FabForce 
support forum, but is has been closed down due to attacks :-(  I have 
also scoured Google without luck on this topic.


I have hit a snag with DBDesigner and foreign keys and Cake.  As my 
tables are named in the Cake convention:


  model_names

I am getting foreign keys called:

  model_names_id

rather than

  model_name_id

Having looked at your output for the Bakery here:

http://phpnut.cakephp.org/img/roundtable.png

it looks like you have managed to get around this issue.  I have scoured 
settings in DBDesigner, but can't figure it out.


If there is a trick, perhaps you could share it with the list?

Regards,
Langdon



Langdon Stevenson wrote:


Thanks for that post Larry, I am checking out DbDesigner.  Should be a 
good addition to my tool set.


Regards,
Langdon


I also wrote a script that will parse the DbDesigner xml file and 
create a list of associations . Right now it only works when 
associations are noted as the Bakery. If I find the time I may convert 
it to use the simple notation used in the blog diagrams above.


--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: OT - Q for PHPNut on DBDesigner 4 - Was: ER Tools

2007-01-07 Thread Larry E. Masters aka PhpNut

Langdon,

Sure no problem...

For example users table comments table.

Create a 1:n association from users table to comments table. This will
create a users_id in the comments table.
Double click the link between them. The edit screen should allow you to
change users_id to user_id.

On 1/7/07, Langdon Stevenson [EMAIL PROTECTED] wrote:



Hi Larry

This question is way off topic for the list so feel free to
ignore/delete/reply off list.  I would have asked it on the FabForce
support forum, but is has been closed down due to attacks :-(  I have
also scoured Google without luck on this topic.

I have hit a snag with DBDesigner and foreign keys and Cake.  As my
tables are named in the Cake convention:

   model_names

I am getting foreign keys called:

   model_names_id

rather than

   model_name_id

Having looked at your output for the Bakery here:

http://phpnut.cakephp.org/img/roundtable.png

it looks like you have managed to get around this issue.  I have scoured
settings in DBDesigner, but can't figure it out.

If there is a trick, perhaps you could share it with the list?

Regards,
Langdon



Langdon Stevenson wrote:

 Thanks for that post Larry, I am checking out DbDesigner.  Should be a
 good addition to my tool set.

 Regards,
 Langdon


 I also wrote a script that will parse the DbDesigner xml file and
 create a list of associations . Right now it only works when
 associations are noted as the Bakery. If I find the time I may convert
 it to use the simple notation used in the blog diagrams above.






--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access  public
*/

--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: OT - Q for PHPNut on DBDesigner 4 - Was: ER Tools

2007-01-07 Thread Langdon Stevenson


Argh!  I knew it had to be something simple ...

I had forgotten about editing FK field names after much trouble with it 
renaming 'id' fields earlier.


Thanks Larry, very much appreciated.

Regards,
Langdon



Larry E. Masters aka PhpNut wrote:

Langdon,

Sure no problem...

For example users table comments table.

Create a 1:n association from users table to comments table. This will 
create a users_id in the comments table.
Double click the link between them. The edit screen should allow you to 
change users_id to user_id.


--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: dateTimeOptionTag Saving Error in Cake 1.1.10

2007-01-07 Thread ERic ZoU


It is works.

BUT, how come?  Why should add this before saving?


--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: dateTimeOptionTag Saving Error in Cake 1.1.10

2007-01-07 Thread Samuel DeVore


it's what it is for ;)

http://api.cakephp.org/class_controller.html#43aea5e84ef8550cf3ae8a97ca18ec1e

I'm surprised it's not in the manual, so I entered a ticket in trac

Sam D

On 1/7/07, ERic ZoU [EMAIL PROTECTED] wrote:


It is works.

BUT, how come?  Why should add this before saving?







--
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you

--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



custom query returns odd array

2007-01-07 Thread Zoltan


Hi,

I'm running a custom query that adds up the total number of
establishments (bars, stores, etc.) in a city and then order then my by
this total:

$aTopCitiesList = $this-query('SELECT `cities`.`id`, `cities`.`name`,
count( `establishments`.`name` ) AS `total`
FROM `cities`
LEFT JOIN `establishments` ON `establishments`.`city_id` =
`cities`.`id`
GROUP BY `cities`.`name`
ORDER BY `total` DESC , `cities`.`name` ASC
LIMIT 12 ');

This returns a result set like:

   [0] = Array
   (
   [cities] = Array
   (
   [id] = 28
   [name] = Barrie
   )

   [0] = Array
   (
   [total] = 181
   )

   )


I'm wondering why Cake is returning each row as two separate arrays
instead of just adding the total to the [cities] array. I'm thinking of
just post-processing this to put the total into the cities array, but
I'm wondering if I need to re-state the query a different way?

(btw: I noticed if I use execute instead of query, the total field is
dropped from the results completely)

Thanks, 
Zoltan 
www.yyztech.ca - Toronto cybercafes, reviews



--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



How to make links between controllers

2007-01-07 Thread roby


Suppose I have these views:
- http://localhost/users/index
- http://localhost/mails/index
And in users/index view, I want it have a link to mails/index. Does
anyone know how to make it without append the http://; in $html-link?
I've tried it with $html-link( 'Mail', 'mails/index' ); but it pointed
to http://localhost/users/mails/index not to
http://localhost/mails/index. If I suppose to make it with routing, how
to do that? I'm not clear with the manual. Thanx in advance.


--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: How to make links between controllers

2007-01-07 Thread Samuel DeVore


$html-link( 'Mail', '/mails/index' );

try with leading slash before mails

On 1/7/07, roby [EMAIL PROTECTED] wrote:


Suppose I have these views:
- http://localhost/users/index
- http://localhost/mails/index
And in users/index view, I want it have a link to mails/index. Does
anyone know how to make it without append the http://; in $html-link?
I've tried it with $html-link( 'Mail', 'mails/index' ); but it pointed
to http://localhost/users/mails/index not to
http://localhost/mails/index. If I suppose to make it with routing, how
to do that? I'm not clear with the manual. Thanx in advance.







--
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you

--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: How to make links between controllers

2007-01-07 Thread roby


Hurray... it works... thanks a lot :-)


--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Problem with mod_rewrite

2007-01-07 Thread roby


I've put my web application on my univ's lab server and my page didn't
load at all (even 1 page). I've been told from the admin that I can't
use mod_rewrite in Apache configuration. So, I try follow the
instruction in the manual:
- Clear out the comment on core.php that looks like define ('BASE_URL',
env('SCRIPT_NAME'));
- Delete all .htaccess in root, root/app/, root/app/webroot -- I've
read this in core.php

After that, the welcome screen from cake is seen (which it contains
... your database is present..). But when I try to point out the
address, something looks like http://localhost/username/users/index,
the Apache server return not found.

I've also tried to leave .htaccess in root, root/app, root/app/webroot,
and append RewriteBase /username/ in .htaccess file but all seems
didn't work at all.

So, how to solve this problem? I've no idea at all. Thanks in advance.


--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: lov.li - social network built on cake

2007-01-07 Thread Sebastian Macias


Thanks for the FLV tips Patrick :-)

On Jan 5, 10:50 pm, Patrick Sullivan [EMAIL PROTECTED] wrote:

Dallas.

On 1/5/07, Tijs Teulings [EMAIL PROTECTED] wrote:



 p.s. which datacenter did you pick? The site is very responsive from
 europe...

 Tijs



--~--~-~--~~~---~--~~
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 options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---