Help! Made "search&replace" in whole app, nothing works anym

Hi

Me silly coder kid have done a Search&Replace over the whole project,
and since I’m always getting a 505 error when trying to access my
project! :frowning:

My development.log tells me:

dump format error(0x68)
/usr/local/lib/ruby/1.8/pstore.rb:354:in load' /usr/local/lib/ruby/1.8/pstore.rb:354:inload’
/usr/local/lib/ruby/1.8/pstore.rb:307:in transaction' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/cgi_ext/pstore_performance_fix.rb:26:ininitialize’
/usr/local/lib/ruby/1.8/cgi/session.rb:273:in new' /usr/local/lib/ruby/1.8/cgi/session.rb:273:ininitialize’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/cgi_process.rb:132:in
new' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/cgi_process.rb:132:insession’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/cgi_process.rb:164:in
stale_session_check!' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/cgi_process.rb:116:insession’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:1058:in
assign_shortcuts_without_flash' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/flash.rb:140:inassign_shortcuts’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:429:in
process_without_filters' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:684:inprocess_without_session_management_support’
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/session_management.rb:114:in
process' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:334:inprocess’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/dispatcher.rb:41:in
dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/webrick_server.rb:113:inhandle_dispatch’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/webrick_server.rb:79:in
service' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:inservice’
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in run' /usr/local/lib/ruby/1.8/webrick/server.rb:173:instart_thread’
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in start' /usr/local/lib/ruby/1.8/webrick/server.rb:162:instart_thread’
/usr/local/lib/ruby/1.8/webrick/server.rb:95:in start' /usr/local/lib/ruby/1.8/webrick/server.rb:92:ineach’
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in start' /usr/local/lib/ruby/1.8/webrick/server.rb:23:instart’
/usr/local/lib/ruby/1.8/webrick/server.rb:82:in start' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/webrick_server.rb:63:indispatch’
/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/commands/servers/webrick.rb:59
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in
require' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:342:innew_constants_in’
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in
require' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/commands/server.rb:39 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:ingem_original_require’
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require’
script/server:3

What can I do? I’m absolutely in fear that I’ve broken anything…!
Please help.

Thanks
Josh

Well it can’t load your session. Maybe you searched and replaced
inside the session files too ? I’d try clearing your your sessions.

Fred

Frederick C. wrote:

Well it can’t load your session. Maybe you searched and replaced
inside the session files too ? I’d try clearing your your sessions.

Fred

Hrm I use ActiveRecord sessions…? Shouldn’t be a problem, could it?
Anyway, how can I clear the sessions?

The best way to clear your sessions (if you are using AR session) is
to go to your app root and run
rake db:sessions:clear

This should do the trick

On Nov 5, 10:38 pm, Joshua M. [email protected]

On 5 Nov 2007, at 22:38, Joshua M. wrote:

Frederick C. wrote:

Well it can’t load your session. Maybe you searched and replaced
inside the session files too ? I’d try clearing your your sessions.

Fred

Hrm I use ActiveRecord sessions…? Shouldn’t be a problem, could it?
Anyway, how can I clear the sessions?

In that case no but If you’ve got model objects in your session it’s
still worth a go. Just delete everything from the sessions table.

Fred