[typo] missing posts after database restore

de Villamil Frédéric frederic at de-villamil.com
Wed Aug 6 15:40:50 EDT 2008


Le 31 juil. 08 à 09:24, Bill McGonigle a écrit :

> Hi,
>
> Until I can get the 5.1 series to run, I'm trying to retreat to  
> 5.0.2, which had been working for me.  I dropped my old db and  
> removed the install directory, created new of each, installed using  
> the gem/installer, stop mongrel, and get a clean restore of the  
> database (at least no complaints) and I can see all of the data in  
> both the yaml file and the database itself, but typo says, "No posts  
> found..." on the blog's page and the admin interface agrees about no  
> posts.  Usernames, passwords, categories, files, all work.
>
> The only logged message is:
>
> Processing ArticlesController#index (for 172.16.134.244 at  
> 2008-07-31 03:00:40) [GET]
>  Session ID: 807e93eef31ec4b2fabcfcffe3c4f654
>  Parameters: {"action"=>"index", "controller"=>"articles"}
> Filter chain halted as  
> [#<ActionController::Caching::ActionParams::ActionParamCacheFilter: 
> 0xb69a8c2c @actions=[:index, :read, :show, :archives, :view_page]>]  
> rendered_or_redirected.
> Filter chain halted as  
> [#<ActionController::Filters::ClassMethods::ProcWithCallFilter: 
> 0xb69a8a24 @filter=#<Proc:0xb6f28f80@/opt/typo/vendor/rails/ 
> actionpack/lib/action_controller/filters.rb:657>>] did_not_yield.
> Completed in 0.00263 (379 reqs/sec) | Rendering: 0.00021 (7%) | DB:  
> 0.00000 (0%) | 200 OK [http://example.com/bill/blog]
>
> Before I attempted an upgrade I remove the sidebar plug-ins.
>
> Any thoughts on how to convince typo that articles are there or  
> where to look next?
>

Hello,

first, sorry for not replying faster, I was in holliday and got  
internet access only tonight. Trying to answer the pile of mails  
that's waiting for me.

Can you use mysql / pgsql client and do
select * from contents;

What is the output ?

Can you also use
./script/console
Article.count(:all)

Thx
Cheers,
Frédéric

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



More information about the Typo-list mailing list