Re: Web host doesn't use AllowOverride

2006-06-25 Thread cakeshop

Zach Cox, have you been able to solve your problem?

If not, please refer to this thread:
http://groups.google.com/group/cake-php/browse_thread/thread/e86def1583d50760/0f4bc3ae1402d278

Hope that helps. 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
-~--~~~~--~~--~--~---



Re: Web host doesn't use AllowOverride

2006-06-09 Thread Zach Cox
Thanks for the help David, but my web host uses apache so that probably won't fix it.  Also, the flash() and link() calls don't hang, they keep appending the relative url (like "/posts/index") onto the current url, so you get like:
http://cake.smartabouthealth.com/index.php/posts/view/3/posts/index/posts/indexThanks,Zach
On 6/9/06, David Spitzley <[EMAIL PROTECTED]> wrote:
I was having the flash calls hang as well, and discovered that I hadn't setdefine('SERVER_IIS', true);in app/config/core.php.  On the other hand, I don't recall whether or not you're on a Windows server with IIS, so this may or may not be your problem.
David>>> [EMAIL PROTECTED] 06/09/06 9:28 AM >>>OK so I uncommented the define('BASE_URL'  line from/app/config/core.php and removed all of the .htaccess files (using the
15 min blog tutorial on my web host).  The index, add, view, editcontroller actions & views seem to work fine until you add/view/editand continue from there.  It should take you back to /posts/index but
it just keeps appending the relative url in the flash() call to the endof the current url so you never get back to /posts/index.Give it a try if you want to see the weirdness:
http://cake.smartabouthealth.comI also set the document root to /app/webroot/ since this is a"production" server.  Any ideas what's going on?  Do I have to changeall of my flash() and link() calls if I"m using Cake's pretty URLs
instead of mod_rewrite & .htaccess?

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


Re: Web host doesn't use AllowOverride

2006-06-09 Thread David Spitzley

I was having the flash calls hang as well, and discovered that I hadn't set

define('SERVER_IIS', true); 

in app/config/core.php.  On the other hand, I don't recall whether or not 
you're on a Windows server with IIS, so this may or may not be your problem.



David

>>> [EMAIL PROTECTED] 06/09/06 9:28 AM >>>

OK so I uncommented the define('BASE_URL'  line from
/app/config/core.php and removed all of the .htaccess files (using the
15 min blog tutorial on my web host).  The index, add, view, edit
controller actions & views seem to work fine until you add/view/edit
and continue from there.  It should take you back to /posts/index but
it just keeps appending the relative url in the flash() call to the end
of the current url so you never get back to /posts/index.

Give it a try if you want to see the weirdness:

http://cake.smartabouthealth.com 

I also set the document root to /app/webroot/ since this is a
"production" server.  Any ideas what's going on?  Do I have to change
all of my flash() and link() calls if I"m using Cake's pretty URLs
instead of mod_rewrite & .htaccess?





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



Re: Web host doesn't use AllowOverride

2006-06-09 Thread Zach Cox
Sorry should have mentioned: it does it in both flash() and link() calls - would they both have the same bug?On 6/9/06, nate <
[EMAIL PROTECTED]> wrote:Probably a bug in flash( ).  You can submit a ticket at
https://trac.cakephp.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  -~--~~~~--~~--~--~---


Re: Web host doesn't use AllowOverride

2006-06-09 Thread nate

Probably a bug in flash( ).  You can submit a ticket at
https://trac.cakephp.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
-~--~~~~--~~--~--~---



Re: Web host doesn't use AllowOverride

2006-06-09 Thread [EMAIL PROTECTED]

OK so I uncommented the define('BASE_URL'  line from
/app/config/core.php and removed all of the .htaccess files (using the
15 min blog tutorial on my web host).  The index, add, view, edit
controller actions & views seem to work fine until you add/view/edit
and continue from there.  It should take you back to /posts/index but
it just keeps appending the relative url in the flash() call to the end
of the current url so you never get back to /posts/index.

Give it a try if you want to see the weirdness:

http://cake.smartabouthealth.com

I also set the document root to /app/webroot/ since this is a
"production" server.  Any ideas what's going on?  Do I have to change
all of my flash() and link() calls if I"m using Cake's pretty URLs
instead of mod_rewrite & .htaccess?


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



Re: Web host doesn't use AllowOverride

2006-06-09 Thread 100rk

> They said they have mod_rewrite but there's no AllowOverride

Try ask support of Your provider for mod_rewrite rules - they can put
them into Your vhost configuration, if they are afraid to AllowOverride
for 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
-~--~~~~--~~--~--~---



Re: Web host doesn't use AllowOverride

2006-06-08 Thread kumas

AllowOverride makes it possible to use .htaccess files. But it's weird
they have mod_rewrite enabled but no AllowOverride because you won't be
able to make use of mod_rewrite without .htaccess . But you can still
use cake without it as the others say


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Re: Web host doesn't use AllowOverride

2006-06-08 Thread Zach Cox
They said they have mod_rewrite but there's no AllowOverride in httpd.conf and they won't put it in.  Will commenting that line out still work?On 6/8/06, 
RosSoft <[EMAIL PROTECTED]> wrote:
If you don't have mod_rewrite, uncomment define('BASE_URL' fromapp/config/core.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  -~--~~~~--~~--~--~---


Re: Web host doesn't use AllowOverride

2006-06-08 Thread RosSoft

If you don't have mod_rewrite, uncomment define('BASE_URL' from
app/config/core.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
-~--~~~~--~~--~--~---



Re: Web host doesn't use AllowOverride

2006-06-08 Thread Zach Cox
Is there anything special you have to do?  Or does Cake figure it out for you?Thanks,ZachOn 6/8/06, nate <
[EMAIL PROTECTED]> wrote:You can use Cake with or without mod_rewrite (AllowOverride) enabled.


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


Re: Web host doesn't use AllowOverride

2006-06-08 Thread nate

You can use Cake with or without mod_rewrite (AllowOverride) enabled.


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



Web host doesn't use AllowOverride

2006-06-08 Thread [EMAIL PROTECTED]

My web host (netfirms.com) apparently doesn't use the AllowOverride
setting in the  section of httpd.conf.  Is there any way I
can get around this to still use Cake on their server?


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