Re: Looking for Cook up Web sites fast with CakePHP (PDF Version)

2008-06-16 Thread Marc MENDEZ



Sliv a écrit :
 try a search on scribd.com
It was the first place I downloaded the old version I have.



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



Re: Looking for Cook up Web sites fast with CakePHP (PDF Version)

2008-06-16 Thread leo

You could always google the title. That's how I found it.

On Jun 16, 10:23 am, Marc MENDEZ [EMAIL PROTECTED] wrote:
 Sliv a écrit : try a search on scribd.com

 It was the first place I downloaded the old version I have.
--~--~-~--~~~---~--~~
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 PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Looking for Cook up Web sites fast with CakePHP (PDF Version)

2008-06-16 Thread Marc MENDEZ

. and what did u think I did too before I asked for it in the forum 
, hummm ;) ?

maybe the new release is too recent to be somewhere else than IBM 
website ? maybe everybody think there is no update and go on keeping the 
old one ?


leo a écrit :
 You could always google the title. That's how I found it.

 On Jun 16, 10:23 am, Marc MENDEZ [EMAIL PROTECTED] wrote:
   
 Sliv a écrit : try a search on scribd.com

 It was the first place I downloaded the old version I have.
 
 

   




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



Looking for Cook up Web sites fast with CakePHP (PDF Version)

2008-06-13 Thread Marc MENDEZ

Hi,

I'm looking for a PDF version of the latest version of Cook up Web
sites fast with CakePHP (*01/2008*).
I found the serie on IBM web site, but unfortunaltely only 3 of 5
tutorial are available in PDF. I have asked IBM, but no answer.

Thanks a lot




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



Re: Looking for Cook up Web sites fast with CakePHP (PDF Version)

2008-06-13 Thread Sliv

look in the files section for this group

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



Re: Looking for Cook up Web sites fast with CakePHP (PDF Version)

2008-06-13 Thread Marc MENDEZ

Sorry, you should have paid attention to my comment in parenthesis : 
01/2008
This serie was updated and several bugs fixed in January.
the cook_up_web_sites_fast_with_cakephp.zip file on the files section of 
the group is the old version.

I'm looking for the new one


Sliv a écrit :
 look in the files section for this group

 

   




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



Re: Looking for Cook up Web sites fast with CakePHP (PDF Version)

2008-06-13 Thread Sliv

try a search on scribd.com
--~--~-~--~~~---~--~~
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 PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



developerWorks: Cook up Web sites fast with CakePHP

2008-06-02 Thread MB34

Finished doing everything in the tutorials but still having a problem.
Even though I can successfully login, it still  won't leet me view
products.
  Only registered users may view this product.

I can't tell if the Add to Favorites work without getting the the
product view.


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



Re: cook up web sites fast

2008-05-13 Thread Grant Cox

When your site is published it won't be shared with these other
packages will it?  Your development platform should replicate the
server as close as possible, which is why a virtualhost is usually a
very good idea.

But I've got Cake installations just in a folder in my webroot with no
problem.  If you don't touch the .htaccess files at all, but put the
whole package in say /var/www/html/cake1.2 (so you have /var/www/html/
cake1.2/app/webroot), then browse to http://localhost/cake1.2 it
should work fine.


On May 13, 11:30 am, Kent [EMAIL PROTECTED] wrote:
 I am running 3 other applications without a problem and without
 virtual hosts. Ftom localhost I don't think I should need to use
 virtual hosts.

 On May 5, 2:32 am, simonb [EMAIL PROTECTED] wrote:

  You are most likely running all the sites from the same directory so
  the  htaccess applies to all websites.

  assuming you are using apache you need to create a seperate entry in
  your virtualhosts to point to the cakephp webroot.
  so your default home page for cake at ~/cake/ this is where your
  htaccess file should sit along with the index.php file from /app/
  webroot/

  Look at creating virtualhosts first on google and then look at the
  problem you have above. It's not a cakephp issue it's a server setup
  problem.

  On May 5, 8:49 am, Kent [EMAIL PROTECTED] wrote:

   I know this question has been asked before but the answers have not
   seemed to help. I am trying to go thru this tutorial and I have
   created the user model the register view and the users_controller just
   as chapter one said. From the group I have added the RewriteBase /
   cake/ to the .htaccess files under ~/cake/ directory. When I run the
   app from localhost I get yhe register screen and I enter the data and
   press register. The next screen I see is the object not found 404
   error with the url pointing to /localhost/users/register instead of /
   cake/users/register. I then copied the .htaccess file to the web root.
   It then worked successfully and inserted the row into the database.
   However the other applications I am trying ro run such as egroupware
   and simple invoices then went to cake also and I could not run them.
   So I removed the .htaccess file from root and went back to the 404
   error in cake. I feel I am missing something simple here could someone
   please point me in the right direction?- Hide quoted text -

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



Re: cook up web sites fast

2008-05-13 Thread Kent

I agree with you that virtual hosts may be useful down the line. But
the problem I am having now is that when trying to run the tutorial
from IBM it brings the register screen up fine, but when I press
submit it shows the 404 error object not found and the url shows
localhost/users/register instead of localhost/cake/users/register. To
see the register view I rtpe in localhost/cake/users/register and it
displays fine. I even tried changing the code in the
user_controller.php to point to /cake/users/register instead of what
the tutorial states of /users/register and it did not help. I did add
RewriteBase /cake/ to my /cake directory as a FAQ suggested. This did
not help unless I moved it to my document root in which case cake
worked and my other apps did not!

On May 13, 12:14 am, Grant Cox [EMAIL PROTECTED] wrote:
 When your site is published it won't be shared with these other
 packages will it?  Your development platform should replicate the
 server as close as possible, which is why a virtualhost is usually a
 very good idea.

 But I've got Cake installations just in a folder in my webroot with no
 problem.  If you don't touch the .htaccess files at all, but put the
 whole package in say /var/www/html/cake1.2 (so you have /var/www/html/
 cake1.2/app/webroot), then browse tohttp://localhost/cake1.2it
 should work fine.

 On May 13, 11:30 am, Kent [EMAIL PROTECTED] wrote:



  I am running 3 other applications without a problem and without
  virtual hosts. Ftom localhost I don't think I should need to use
  virtual hosts.

  On May 5, 2:32 am, simonb [EMAIL PROTECTED] wrote:

   You are most likely running all the sites from the same directory so
   the  htaccess applies to all websites.

   assuming you are using apache you need to create a seperate entry in
   your virtualhosts to point to the cakephp webroot.
   so your default home page for cake at ~/cake/ this is where your
   htaccess file should sit along with the index.php file from /app/
   webroot/

   Look at creating virtualhosts first on google and then look at the
   problem you have above. It's not a cakephp issue it's a server setup
   problem.

   On May 5, 8:49 am, Kent [EMAIL PROTECTED] wrote:

I know this question has been asked before but the answers have not
seemed to help. I am trying to go thru this tutorial and I have
created the user model the register view and the users_controller just
as chapter one said. From the group I have added the RewriteBase /
cake/ to the .htaccess files under ~/cake/ directory. When I run the
app from localhost I get yhe register screen and I enter the data and
press register. The next screen I see is the object not found 404
error with the url pointing to /localhost/users/register instead of /
cake/users/register. I then copied the .htaccess file to the web root.
It then worked successfully and inserted the row into the database.
However the other applications I am trying ro run such as egroupware
and simple invoices then went to cake also and I could not run them.
So I removed the .htaccess file from root and went back to the 404
error in cake. I feel I am missing something simple here could someone
please point me in the right direction?- Hide quoted text -

   - Show quoted text -- Hide quoted text -

 - Show quoted text -

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



Re: cook up web sites fast

2008-05-13 Thread Sam Sherlock
if you go the virtual root then you'll easily avoid these issues

a simple one liner in the .htaccess with let you ignore a certain folders

If I recall correctly the IBM tutorials have some out of date info

have you seen chris hartjes tutorial and the stuff in book
*http://tinyurl.com/5pq9mh - first link is the chris's simple reg tutoral

*hth - S

2008/5/14 Kent [EMAIL PROTECTED]:


 I agree with you that virtual hosts may be useful down the line. But
 the problem I am having now is that when trying to run the tutorial
 from IBM it brings the register screen up fine, but when I press
 submit it shows the 404 error object not found and the url shows
 localhost/users/register instead of localhost/cake/users/register. To
 see the register view I rtpe in localhost/cake/users/register and it
 displays fine. I even tried changing the code in the
 user_controller.php to point to /cake/users/register instead of what
 the tutorial states of /users/register and it did not help. I did add
 RewriteBase /cake/ to my /cake directory as a FAQ suggested. This did
 not help unless I moved it to my document root in which case cake
 worked and my other apps did not!

 On May 13, 12:14 am, Grant Cox [EMAIL PROTECTED] wrote:
  When your site is published it won't be shared with these other
  packages will it?  Your development platform should replicate the
  server as close as possible, which is why a virtualhost is usually a
  very good idea.
 
  But I've got Cake installations just in a folder in my webroot with no
  problem.  If you don't touch the .htaccess files at all, but put the
  whole package in say /var/www/html/cake1.2 (so you have /var/www/html/
  cake1.2/app/webroot), then browse tohttp://localhost/cake1.2it
  should work fine.
 
  On May 13, 11:30 am, Kent [EMAIL PROTECTED] wrote:
 
 
 
   I am running 3 other applications without a problem and without
   virtual hosts. Ftom localhost I don't think I should need to use
   virtual hosts.
 
   On May 5, 2:32 am, simonb [EMAIL PROTECTED] wrote:
 
You are most likely running all the sites from the same directory so
the  htaccess applies to all websites.
 
assuming you are using apache you need to create a seperate entry in
your virtualhosts to point to the cakephp webroot.
so your default home page for cake at ~/cake/ this is where your
htaccess file should sit along with the index.php file from /app/
webroot/
 
Look at creating virtualhosts first on google and then look at the
problem you have above. It's not a cakephp issue it's a server setup
problem.
 
On May 5, 8:49 am, Kent [EMAIL PROTECTED] wrote:
 
 I know this question has been asked before but the answers have
 not
 seemed to help. I am trying to go thru this tutorial and I have
 created the user model the register view and the users_controller
 just
 as chapter one said. From the group I have added the RewriteBase
 /
 cake/ to the .htaccess files under ~/cake/ directory. When I run
 the
 app from localhost I get yhe register screen and I enter the data
 and
 press register. The next screen I see is the object not found 404
 error with the url pointing to /localhost/users/register instead
 of /
 cake/users/register. I then copied the .htaccess file to the web
 root.
 It then worked successfully and inserted the row into the
 database.
 However the other applications I am trying ro run such as
 egroupware
 and simple invoices then went to cake also and I could not run
 them.
 So I removed the .htaccess file from root and went back to the 404
 error in cake. I feel I am missing something simple here could
 someone
 please point me in the right direction?- Hide quoted text -
 
- Show quoted text -- Hide quoted text -
 
  - Show quoted text -

 


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



Re: cook up web sites fast

2008-05-13 Thread Sam Sherlock
also
localhost/cake/users/register - is the users controller of the cake app
installed in cake (folder of localhost)

/users/register when used is a cake route which is specific to the app (cake
knows where it is - see inside webroot/index.php)

2008/5/14 Sam Sherlock [EMAIL PROTECTED]:

 if you go the virtual root then you'll easily avoid these issues

 a simple one liner in the .htaccess with let you ignore a certain folders

 If I recall correctly the IBM tutorials have some out of date info

 have you seen chris hartjes tutorial and the stuff in book
 *http://tinyurl.com/5pq9mh - first link is the chris's simple reg tutoral

 *hth - S

 2008/5/14 Kent [EMAIL PROTECTED]:


  I agree with you that virtual hosts may be useful down the line. But
  the problem I am having now is that when trying to run the tutorial
  from IBM it brings the register screen up fine, but when I press
  submit it shows the 404 error object not found and the url shows
  localhost/users/register instead of localhost/cake/users/register. To
  see the register view I rtpe in localhost/cake/users/register and it
  displays fine. I even tried changing the code in the
  user_controller.php to point to /cake/users/register instead of what
  the tutorial states of /users/register and it did not help. I did add
  RewriteBase /cake/ to my /cake directory as a FAQ suggested. This did
  not help unless I moved it to my document root in which case cake
  worked and my other apps did not!
 
  On May 13, 12:14 am, Grant Cox [EMAIL PROTECTED] wrote:
   When your site is published it won't be shared with these other
   packages will it?  Your development platform should replicate the
   server as close as possible, which is why a virtualhost is usually a
   very good idea.
  
   But I've got Cake installations just in a folder in my webroot with no
   problem.  If you don't touch the .htaccess files at all, but put the
   whole package in say /var/www/html/cake1.2 (so you have /var/www/html/
   cake1.2/app/webroot), then browse tohttp://localhost/cake1.2it
   should work fine.
  
   On May 13, 11:30 am, Kent [EMAIL PROTECTED] wrote:
  
  
  
I am running 3 other applications without a problem and without
virtual hosts. Ftom localhost I don't think I should need to use
virtual hosts.
  
On May 5, 2:32 am, simonb [EMAIL PROTECTED] wrote:
  
 You are most likely running all the sites from the same directory
  so
 the  htaccess applies to all websites.
  
 assuming you are using apache you need to create a seperate entry
  in
 your virtualhosts to point to the cakephp webroot.
 so your default home page for cake at ~/cake/ this is where your
 htaccess file should sit along with the index.php file from /app/
 webroot/
  
 Look at creating virtualhosts first on google and then look at the
 problem you have above. It's not a cakephp issue it's a server
  setup
 problem.
  
 On May 5, 8:49 am, Kent [EMAIL PROTECTED] wrote:
  
  I know this question has been asked before but the answers have
  not
  seemed to help. I am trying to go thru this tutorial and I have
  created the user model the register view and the
  users_controller just
  as chapter one said. From the group I have added the
  RewriteBase /
  cake/ to the .htaccess files under ~/cake/ directory. When I
  run the
  app from localhost I get yhe register screen and I enter the
  data and
  press register. The next screen I see is the object not found
  404
  error with the url pointing to /localhost/users/register instead
  of /
  cake/users/register. I then copied the .htaccess file to the web
  root.
  It then worked successfully and inserted the row into the
  database.
  However the other applications I am trying ro run such as
  egroupware
  and simple invoices then went to cake also and I could not run
  them.
  So I removed the .htaccess file from root and went back to the
  404
  error in cake. I feel I am missing something simple here could
  someone
  please point me in the right direction?- Hide quoted text -
  
 - Show quoted text -- Hide quoted text -
  
   - Show quoted text -
 
   
 


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



Re: cook up web sites fast

2008-05-12 Thread Kent

I am running 3 other applications without a problem and without
virtual hosts. Ftom localhost I don't think I should need to use
virtual hosts.

On May 5, 2:32 am, simonb [EMAIL PROTECTED] wrote:
 You are most likely running all the sites from the same directory so
 the  htaccess applies to all websites.

 assuming you are using apache you need to create a seperate entry in
 your virtualhosts to point to the cakephp webroot.
 so your default home page for cake at ~/cake/ this is where your
 htaccess file should sit along with the index.php file from /app/
 webroot/

 Look at creating virtualhosts first on google and then look at the
 problem you have above. It's not a cakephp issue it's a server setup
 problem.

 On May 5, 8:49 am, Kent [EMAIL PROTECTED] wrote:



  I know this question has been asked before but the answers have not
  seemed to help. I am trying to go thru this tutorial and I have
  created the user model the register view and the users_controller just
  as chapter one said. From the group I have added the RewriteBase /
  cake/ to the .htaccess files under ~/cake/ directory. When I run the
  app from localhost I get yhe register screen and I enter the data and
  press register. The next screen I see is the object not found 404
  error with the url pointing to /localhost/users/register instead of /
  cake/users/register. I then copied the .htaccess file to the web root.
  It then worked successfully and inserted the row into the database.
  However the other applications I am trying ro run such as egroupware
  and simple invoices then went to cake also and I could not run them.
  So I removed the .htaccess file from root and went back to the 404
  error in cake. I feel I am missing something simple here could someone
  please point me in the right direction?- Hide quoted text -

 - Show quoted text -

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



cook up web sites fast

2008-05-05 Thread Kent

I know this question has been asked before but the answers have not
seemed to help. I am trying to go thru this tutorial and I have
created the user model the register view and the users_controller just
as chapter one said. From the group I have added the RewriteBase /
cake/ to the .htaccess files under ~/cake/ directory. When I run the
app from localhost I get yhe register screen and I enter the data and
press register. The next screen I see is the object not found 404
error with the url pointing to /localhost/users/register instead of /
cake/users/register. I then copied the .htaccess file to the web root.
It then worked successfully and inserted the row into the database.
However the other applications I am trying ro run such as egroupware
and simple invoices then went to cake also and I could not run them.
So I removed the .htaccess file from root and went back to the 404
error in cake. I feel I am missing something simple here could someone
please point me in the right direction?

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



Re: cook up web sites fast

2008-05-05 Thread simonb

You are most likely running all the sites from the same directory so
the  htaccess applies to all websites.

assuming you are using apache you need to create a seperate entry in
your virtualhosts to point to the cakephp webroot.
so your default home page for cake at ~/cake/ this is where your
htaccess file should sit along with the index.php file from /app/
webroot/

Look at creating virtualhosts first on google and then look at the
problem you have above. It's not a cakephp issue it's a server setup
problem.



On May 5, 8:49 am, Kent [EMAIL PROTECTED] wrote:
 I know this question has been asked before but the answers have not
 seemed to help. I am trying to go thru this tutorial and I have
 created the user model the register view and the users_controller just
 as chapter one said. From the group I have added the RewriteBase /
 cake/ to the .htaccess files under ~/cake/ directory. When I run the
 app from localhost I get yhe register screen and I enter the data and
 press register. The next screen I see is the object not found 404
 error with the url pointing to /localhost/users/register instead of /
 cake/users/register. I then copied the .htaccess file to the web root.
 It then worked successfully and inserted the row into the database.
 However the other applications I am trying ro run such as egroupware
 and simple invoices then went to cake also and I could not run them.
 So I removed the .htaccess file from root and went back to the 404
 error in cake. I feel I am missing something simple here could someone
 please point me in the right direction?
--~--~-~--~~~---~--~~
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 PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



IBM Tutorial - Part 3 / Cook up web sites fast - Dealer ACLs

2007-09-16 Thread Gould, Adrian

Hi everyone

Has anyone completed a solution to the Dealert ACLs problem that is set in Part 
3 of the IBM series Cook up web sites fast with CakePHP?

If so, could you let me know / post the code here for the dealers controller.

Thanks

Adrian

--~--~-~--~~~---~--~~
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: Problem with :Cook up Web sites fast with CakePHP, Part 1

2007-04-30 Thread lukemack

I think maybe you have misunderstood how the URLs work in cakePHP, in
conjunction with Apache's  mod_rewrite. You would be better to install
cake in a virtual host under apache rather than in a subdirectory.

On Apr 29, 6:20 am, Mariano Iglesias [EMAIL PROTECTED]
wrote:
 You shouldn't set the action manually.

 Either use $html-formTag('/users/register'), or use $html-url() to get
 proper CakePHP url.

 -MI

 ---

 Remember, smart coders answer ten questions for every question they ask.
 So be smart, be cool, and share your knowledge.

 BAKE ON!

 blog:http://www.MarianoIglesias.com.ar

 -Mensaje original-
 De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
 de johan_vm
 Enviado el: Domingo, 29 de Abril de 2007 06:42 a.m.
 Para: Cake PHP
 Asunto: Re: Problem with :Cook up Web sites fast with CakePHP, Part 1

 I had to change

 form action=/users/register method=post

 to

 form action=/CakePHP/users/register method=post


--~--~-~--~~~---~--~~
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 :Cook up Web sites fast with CakePHP, Part 1

2007-04-29 Thread johan_vm

Hi,

I'm following the Cook up Web sites fast with CakePHP, Part 1
tutorial.
It's my first experience with CakePHP (I do have some Ruby on Rails
experience).

___ I installed CakePHP,
(locally, using Apache2Triad - in a subdir: localhost/CakePHP)

___ I created a database cakephp

___ I created a table users:

___ I created the user model, the register view, the users controller
and the register action.

___ When I go to http://localhost/cakePHP/users/register;, the form I
expected shows up

___ But when I fill it out, and try to submit it, I get an error:
Object not found,
and the URL becomes: http://localhost/users/register;, without the
CakePHP dir !!!

What went wrong?  Should I configure a base url?  How do I do that?

Kind regards,

Johan Van Mol


--~--~-~--~~~---~--~~
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: Problem with :Cook up Web sites fast with CakePHP, Part 1

2007-04-29 Thread johan_vm

I'm still investigating the problem,
and by using the webdevelopper toolbar (firefox plugin),
I found out that the generated form:

uses a post method, and this action: http://localhost/users/register

which should be http://localhost/CakePHP/users/register ...

Any suggestions on how to fix that?

Kind regards,

Johan Van Mol


--~--~-~--~~~---~--~~
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: Problem with :Cook up Web sites fast with CakePHP, Part 1

2007-04-29 Thread johan_vm

fixed:

I had to change

form action=/users/register method=post

to

form action=/CakePHP/users/register method=post

in the register view (register.thtml).

So obvious!  Shame on me :-)

regards,

Johan



--~--~-~--~~~---~--~~
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: Problem with :Cook up Web sites fast with CakePHP, Part 1

2007-04-29 Thread Mariano Iglesias

You shouldn't set the action manually.

Either use $html-formTag('/users/register'), or use $html-url() to get
proper CakePHP url.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de johan_vm
Enviado el: Domingo, 29 de Abril de 2007 06:42 a.m.
Para: Cake PHP
Asunto: Re: Problem with :Cook up Web sites fast with CakePHP, Part 1

I had to change

form action=/users/register method=post

to

form action=/CakePHP/users/register method=post


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