List Info

Thread: how to reset the base_url value?




how to reset the base_url value?
country flaguser name
United States
2007-05-25 17:20:26
Hello all,

I recently set up Typo 4.1.1 and made the mistake of
accessing it via one
of the mongrel instances at "localhost:8000", so
now Typo seems to think
that this is the default base URL for about half of the
links. That is,
after posting a few articles, when I view my blog, some of
the links are
to "localhost:8000" and some of them are for
"www.bluemarsh.com"
(permalink and tags links are "localhost:8000",
but archives and syndicate
links are okay).

BTW, I found the 'blogs' table and changed the 'base_url'
value, then
restarted everything, and cleared the cache several times,
but still the
same links are wrong.

So how do I change all of the occurrences of
"localhost:8000" to reference
the proper domain name?

Thanks

n


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

Re: how to reset the base_url value?
country flaguser name
France
2007-05-26 00:50:37
Le 26 mai 07 à 00:20, nfiedlerbluemarsh.com a écrit :

> Hello all,
>
> I recently set up Typo 4.1.1 and made the mistake of
accessing it  
> via one
> of the mongrel instances at "localhost:8000",
so now Typo seems to  
> think
> that this is the default base URL for about half of the
links. That  
> is,
> after posting a few articles, when I view my blog, some
of the  
> links are
> to "localhost:8000" and some of them are for
"www.bluemarsh.com"
> (permalink and tags links are
"localhost:8000", but archives and  
> syndicate
> links are okay).
>
> BTW, I found the 'blogs' table and changed the
'base_url' value, then
> restarted everything, and cleared the cache several
times, but  
> still the
> same links are wrong.
>
> So how do I change all of the occurrences of
"localhost:8000" to  
> reference
> the proper domain name?
>
> Thanks
>
> n

Log in the admin panel, and change it to what you wnat, save
your  
settings and here you are.

Frédéric

--
Frédéric de Villamil
fredericde-villamil.com                        tel: +33 (0)6
62 19 1337
http://fredericdevillam
il.com		     Typo : http://typosphere.org




_______________________________________________
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 00:58:47
Yes, like I said, I already set the 'base_url' value in the
'blogs' 
table. Still, the permalink and tags links are coming from
some where else.

Where else is the URL base value stored?

n


Frederic de Villamil wrote:
> Log in the admin panel, and change it to what you wnat,
save your  
> settings and here you are.

_______________________________________________
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 07:08:12
On 26/05/07, Nathan Fiedler <nfiedlerbluemarsh.com> wrote:
> Despite using both "typo sweep_cache
/path/to/blog" and the rake
> "sweep_cache" task, some files were left
behind in tmp/cache that
> included the old localhost:8000 value. Deleting the
files manually fixed
> the issue.
>
> This seems like a bug to me.

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

[1-4]

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