List Info

Thread: Re: how to reset the base_url value?




Re: how to reset the base_url value?
user name
2007-05-26 10:31:09
Yes, I did hit the button on the admin page, too.

I believe to reproduce this:

1. Set up a Typo instance, start (using Mongrel).
2. Access using the "localhost:8000" address and
configure for use.
3. Create a blog entry.
4. Realize the problem, change the base_url value.
5. Restart, try clearing the cache, etc. -> links still
use old value.
6. Manually remove the files in tmp/cache -> links now
use new value.

Thanks

n


Piers Cawley wrote:
> It does rather.
> 
> Probably a bit late now, but did the sweep cache option
from the admin
> page work?
> 
> I believe that typo sweep_cache /path/to/blog just
calls the rake task,
> so it sounds like that's not doing the right thing.
_______________________________________________
Typo-list mailing list
Typo-listrubyforge.org
http:
//rubyforge.org/mailman/listinfo/typo-list

Re: how to reset the base_url value?
user name
2007-05-26 15:10:24
I may be wrong about the admin page "clear cache"
link. I just changed 
the base URL in the admin screen, saved the settings, then
cleared the 
cache, and after reloading the blog view, the links were
fine. Maybe 
then it is just the rake task that wasn't working?

Sorry if this is not helpful, I just wanted to clear that
issue.

Thanks for Typo, it's terrific.

n


Nathan Fiedler wrote:
> Yes, I did hit the button on the admin page, too.
> 
> I believe to reproduce this:
> 
> 1. Set up a Typo instance, start (using Mongrel).
> 2. Access using the "localhost:8000" address
and configure for use.
> 3. Create a blog entry.
> 4. Realize the problem, change the base_url value.
> 5. Restart, try clearing the cache, etc. -> links
still use old value.
> 6. Manually remove the files in tmp/cache -> links
now use new value.

_______________________________________________
Typo-list mailing list
Typo-listrubyforge.org
http:
//rubyforge.org/mailman/listinfo/typo-list

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )