Re: $this-Form-create doesn't work as stated

2011-08-23 Thread WebbedIT
I have never tried to use Cake without URL Rewriting so can;t give you
an answer as to whether it's possible or advisable.

I would personally think you're creating a big headache for yourself
if you're trying to use Cake on a server that does not have URL
Rewriting, which let's face it should be available with any half
decent hosting service.

On Aug 22, 11:50 am, Jerome Tan jtan...@gmail.com wrote:
 I'm having tough time with this configuration, I followed the one on the
 CakePHP's book and just did a copy paste, the site just load the IIS default
 page with the web.config. Is there a way to fix this without using any URL
 Rewriting?

 Thanks.

 Regards,
 Jerome

 On Mon, Aug 22, 2011 at 3:21 AM, Tilen Majerle tilen.maje...@gmail.comwrote:







  For me it's working well..
  Actually...this is maybe because you are not using .htaccess...i didn't
  check this !

  Which cake version?
  --
  Lep pozdrav, Tilen Majerle
 http://majerle.eu

  2011/8/21 Jerome Tan jtan...@gmail.com

  I have tried checking and couldn't find out what's wrong with this, or
  is this a bug?

  I added this line on my code..

  echo $this-Form-create('Brand');

  then result is:

  form action=/stock/index.php/brands id=BrandIndexForm
  method=post accept-charset=utf-8div style=display:none;

  from the references the HTML code generated lacks add as it should
  add s on the form name then add /add

  Is this a bug?

  --
  Our newest site for the community: CakePHP Video Tutorials
 http://tv.cakephp.org
  Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
  others with their CakePHP related questions.

  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this group
  athttp://groups.google.com/group/cake-php

   --
  Our newest site for the community: CakePHP Video Tutorials
 http://tv.cakephp.org
  Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
  others with their CakePHP related questions.

  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this group
  athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: $this-Form-create doesn't work as stated

2011-08-23 Thread euromark
+1 for webbedIts answer :)

On 23 Aug., 11:08, WebbedIT p...@webbedit.co.uk wrote:
 I have never tried to use Cake without URL Rewriting so can;t give you
 an answer as to whether it's possible or advisable.

 I would personally think you're creating a big headache for yourself
 if you're trying to use Cake on a server that does not have URL
 Rewriting, which let's face it should be available with any half
 decent hosting service.

 On Aug 22, 11:50 am, Jerome Tan jtan...@gmail.com wrote:







  I'm having tough time with this configuration, I followed the one on the
  CakePHP's book and just did a copy paste, the site just load the IIS default
  page with the web.config. Is there a way to fix this without using any URL
  Rewriting?

  Thanks.

  Regards,
  Jerome

  On Mon, Aug 22, 2011 at 3:21 AM, Tilen Majerle 
  tilen.maje...@gmail.comwrote:

   For me it's working well..
   Actually...this is maybe because you are not using .htaccess...i didn't
   check this !

   Which cake version?
   --
   Lep pozdrav, Tilen Majerle
  http://majerle.eu

   2011/8/21 Jerome Tan jtan...@gmail.com

   I have tried checking and couldn't find out what's wrong with this, or
   is this a bug?

   I added this line on my code..

   echo $this-Form-create('Brand');

   then result is:

   form action=/stock/index.php/brands id=BrandIndexForm
   method=post accept-charset=utf-8div style=display:none;

   from the references the HTML code generated lacks add as it should
   add s on the form name then add /add

   Is this a bug?

   --
   Our newest site for the community: CakePHP Video Tutorials
  http://tv.cakephp.org
   Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp
   others with their CakePHP related questions.

   To unsubscribe from this group, send email to
   cake-php+unsubscr...@googlegroups.com For more options, visit this group
   athttp://groups.google.com/group/cake-php

    --
   Our newest site for the community: CakePHP Video Tutorials
  http://tv.cakephp.org
   Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp
   others with their CakePHP related questions.

   To unsubscribe from this group, send email to
   cake-php+unsubscr...@googlegroups.com For more options, visit this group
   athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: $this-Form-create doesn't work as stated

2011-08-23 Thread O.J. Tibi
Yes, the keyword is IIS.

I've done some web app scripting back in those IIS days in ASP and ASPX 
(*ick*), but I never really made something on top of IIS 7, which the 
CakePHP Cookbook describes, if not recommends.

http://book.cakephp.org/view/1636/URL-Rewrites-on-IIS7-Windows-hosts

Make sure you follow instruction number 1: use WPI to install URL Rewrite 
Module 2.0

WebbedIT's right, there are a lot of hosting services running Apache and 
mod_rewrite. I'm just curious, wouldn't it be easier for you to 
develop/deploy your app on Apache rather than IIS? What are the factors that 
are preventing you to serve on Apache?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: $this-Form-create doesn't work as stated

2011-08-22 Thread WebbedIT
Yeah, something wrong with your server/app configuration if google
routes are including an index.php file in URLs.

On Aug 21, 8:21 pm, Tilen Majerle tilen.maje...@gmail.com wrote:
 For me it's working well..
 Actually...this is maybe because you are not using .htaccess...i didn't
 check this !

 Which cake version?
 --
 Lep pozdrav, Tilen Majerlehttp://majerle.eu

 2011/8/21 Jerome Tan jtan...@gmail.com







  I have tried checking and couldn't find out what's wrong with this, or
  is this a bug?

  I added this line on my code..

  echo $this-Form-create('Brand');

  then result is:

  form action=/stock/index.php/brands id=BrandIndexForm
  method=post accept-charset=utf-8div style=display:none;

  from the references the HTML code generated lacks add as it should
  add s on the form name then add /add

  Is this a bug?

  --
  Our newest site for the community: CakePHP Video Tutorials
 http://tv.cakephp.org
  Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
  others with their CakePHP related questions.

  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this group
  athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


$this-Form-create doesn't work as stated

2011-08-21 Thread Jerome Tan
I have tried checking and couldn't find out what's wrong with this, or
is this a bug?

I added this line on my code..

echo $this-Form-create('Brand');

then result is:

form action=/stock/index.php/brands id=BrandIndexForm
method=post accept-charset=utf-8div style=display:none;

from the references the HTML code generated lacks add as it should
add s on the form name then add /add

Is this a bug?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: $this-Form-create doesn't work as stated

2011-08-21 Thread Tilen Majerle
For me it's working well..
Actually...this is maybe because you are not using .htaccess...i didn't
check this !


Which cake version?
--
Lep pozdrav, Tilen Majerle
http://majerle.eu



2011/8/21 Jerome Tan jtan...@gmail.com

 I have tried checking and couldn't find out what's wrong with this, or
 is this a bug?

 I added this line on my code..

 echo $this-Form-create('Brand');

 then result is:

 form action=/stock/index.php/brands id=BrandIndexForm
 method=post accept-charset=utf-8div style=display:none;

 from the references the HTML code generated lacks add as it should
 add s on the form name then add /add

 Is this a bug?

 --
 Our newest site for the community: CakePHP Video Tutorials
 http://tv.cakephp.org
 Check out the new CakePHP Questions site http://ask.cakephp.org and help
 others with their CakePHP related questions.


 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group
 at http://groups.google.com/group/cake-php


-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php