- xml - AJAX/Jquery XML 解析
- 具有多重继承的 XML 模式
- .net - 枚举序列化 Json 与 XML
- XML 简单类型、简单内容、复杂类型、复杂内容
我正在按照教程从 http://tutorials.jumpstartlab.com/projects/contact_manager.html 构建联系人管理器应用程序
部署后我收到 htis 错误消息“您要查找的页面不存在。
您可能输入了错误的地址或页面可能已移动。"页面位于 http://safe-tundra-2124.herokuapp.com/
这里是heroku日志的记录
2014-08-01T21:21:56.962286+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=1bf78c7b-2d92-467d-a655-f860501ec2ad fwd="198.105.46.47" dyno=web.1 connect=11 service=6 status=404 bytes=606
2014-08-01T21:21:57.255981+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=4f2708d7-ce66-435f-a636-a83272b146a6 fwd="198.105.46.47" dyno=web.1 connect=1 service=5 status=404 bytes=605
2014-08-01T21:21:57.566890+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=85a96d39-2a15-4a3e-859e-9d5ae0328169 fwd="198.105.46.47" dyno=web.1 connect=10 service=32 status=404 bytes=606
2014-08-01T21:21:57.782291+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=dcd61f4e-9033-4e9a-bbeb-8c3c6e199e91 fwd="198.105.46.47" dyno=web.1 connect=1 service=6 status=404 bytes=605
2014-08-01T21:22:34.256509+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=6e960760-c293-4ff5-8ca7-f73e4629eb06 fwd="198.105.46.47" dyno=web.1 connect=0 service=5 status=404 bytes=605
2014-08-01T21:22:35.399376+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=017e319d-f1e6-467b-ae54-c0829f8ca160 fwd="198.105.46.47" dyno=web.1 connect=1 service=5 status=404 bytes=605
2014-08-01T21:22:35.811789+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=c0b4fdc9-161c-4bd5-be30-a3487f9aa43b fwd="198.105.46.47" dyno=web.1 connect=1 service=8 status=404 bytes=605
2014-08-01T21:22:36.065855+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=21c9f5d5-57f2-4a64-a726-e4d54b18514b fwd="198.105.46.47" dyno=web.1 connect=4 service=8 status=404 bytes=605
2014-08-01T21:22:36.273375+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=cc1e9bac-b752-4a61-a745-50a66090b048 fwd="198.105.46.47" dyno=web.1 connect=4 service=5 status=404 bytes=605
2014-08-01T21:22:36.432949+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=b62e665c-e92e-4265-8aa0-44f478635b7b fwd="198.105.46.47" dyno=web.1 connect=1 service=6 status=404 bytes=605
2014-08-01T21:22:36.985878+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=e41d514a-d19b-43a0-af16-3782c11c55f6 fwd="198.105.46.47" dyno=web.1 connect=1 service=6 status=404 bytes=605
2014-08-01T21:22:37.335984+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=ee9dd450-b9e2-4807-b581-75b183257866 fwd="198.105.46.47" dyno=web.1 connect=1 service=5 status=404 bytes=605
2014-08-01T21:22:54.942948+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by matif84@gmail.com
2014-08-01T21:22:59.384536+00:00 heroku[run.7383]: State changed from starting to up
2014-08-01T21:22:59.427929+00:00 heroku[run.7383]: Awaiting client
2014-08-01T21:23:11.353244+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=5e7e811a-350f-4a91-b9cc-b166dcf7c6d1 fwd="198.105.46.47" dyno=web.1 connect=1 service=8 status=404 bytes=605
2014-08-01T21:23:11.906902+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=5d75b2c6-c5eb-4ca7-bb33-9a0c4a213042 fwd="198.105.46.47" dyno=web.1 connect=1 service=6 status=404 bytes=605
2014-08-01T21:23:30.575232+00:00 heroku[run.7383]: Process exited with status 128
2014-08-01T21:23:29.430262+00:00 heroku[run.7383]: Error R13 (Attach error) -> Failed to attach to process
2014-08-01T21:23:30.590398+00:00 heroku[run.7383]: State changed from up to complete
2014-08-01T21:23:36.366280+00:00 heroku[api]: Starting process with command `bundle exec rake db:setup` by matif84@gmail.com
2014-08-01T21:23:40.282474+00:00 heroku[run.6682]: State changed from starting to up
2014-08-01T21:23:40.541404+00:00 heroku[run.6682]: Awaiting client
2014-08-01T21:24:00.075231+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by matif84@gmail.com
2014-08-01T21:24:04.213063+00:00 heroku[run.4882]: State changed from starting to up
2014-08-01T21:24:04.222845+00:00 heroku[run.4882]: Awaiting client
2014-08-01T21:24:09.929723+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=54228362-bc47-4e17-8a6f-ecca99b93238 fwd="198.105.46.47" dyno=web.1 connect=1 service=18 status=404 bytes=605
2014-08-01T21:24:10.322375+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=1e178a1e-5b3b-4289-a514-bf02f98a01c3 fwd="198.105.46.47" dyno=web.1 connect=0 s
ervice=6 status=404 bytes=605
2014-08-01T21:24:10.556592+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=3ed57ba2-4c04-4f96-8aac-13b089cf2911 fwd="198.105.46.47" dyno=web.1 connect=2 service=7 status=404 bytes=605
2014-08-01T21:24:10.760255+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=8c1e7000-0027-4e51-8d26-5e2f6196c694 fwd="198.105.46.47" dyno=web.1 connect=0 service=6 status=404 bytes=605
2014-08-01T21:24:11.024884+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=aabd5863-fba3-4600-8cb1-b87c89c79d2f fwd="198.105.46.47" dyno=web.1 connect=1 service=6 status=404 bytes=605
2014-08-01T21:24:11.205589+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=b678d050-a490-45e5-96f5-6c2bf2b7eb40 fwd="198.105.46.47" dyno=web.1 connect=1 service=11 status=404 bytes=605
2014-08-01T21:24:10.551580+00:00 heroku[run.6682]: Error R13 (Attach error) -> Failed to attach to process
2014-08-01T21:24:11.663950+00:00 heroku[run.6682]: State changed from up to complete
2014-08-01T21:24:11.652713+00:00 heroku[run.6682]: Process exited with status 128
2014-08-01T21:24:35.452736+00:00 heroku[run.4882]: State changed from up to complete
2014-08-01T21:24:34.226020+00:00 heroku[run.4882]: Error R13 (Attach error) -> Failed to attach to process
2014-08-01T21:24:35.451331+00:00 heroku[run.4882]: Process exited with status 128
2014-08-01T22:25:16.541175+00:00 heroku[web.1]: Idling
2014-08-01T22:25:16.542259+00:00 heroku[web.1]: State changed from up to down
2014-08-01T22:25:20.107386+00:00 app[web.1]: [2014-08-01 22:25:20] FATAL SignalException: SIGTERM
2014-08-01T22:25:20.107394+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:in `select'
2014-08-01T22:25:20.107401+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:160:in `start'
2014-08-01T22:25:20.107405+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/server.rb:69:in `start'
2014-08-01T22:25:20.107407+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:81:in `block in server'
2014-08-01T22:25:20.107402+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:14:in `run'
2014-08-01T22:25:20.107396+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:170:in `block in start'
2014-08-01T22:25:20.107411+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:76:in `server'
2014-08-01T22:25:20.107398+00:00 app[web.1]: /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:32:in `start'
2014-08-01T22:25:20.107404+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:264:in `start'
2014-08-01T22:25:20.107412+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
2014-08-01T22:25:20.107415+00:00 app[web.1]: bin/rails:8:in `require'
2014-08-01T22:25:20.107417+00:00 app[web.1]: bin/rails:8:in `<main>'
2014-08-01T22:25:20.107426+00:00 app[web.1]: [2014-08-01 22:25:20] INFO WEBrick::HTTPServer#start done.
2014-08-01T22:25:20.107409+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:76:in `tap'
2014-08-01T22:25:20.107414+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands.rb:17:in `<top (required)>'
2014-08-01T22:25:20.350762+00:00 app[web.1]: => Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
2014-08-01T22:25:20.350760+00:00 app[web.1]: => Run `rails server -h` for more startup options
2014-08-01T22:25:20.107424+00:00 app[web.1]: [2014-08-01 22:25:20] INFO going to shutdown ...
2014-08-01T22:25:20.350750+00:00 app[web.1]: => Booting WEBrick
2014-08-01T22:25:20.350758+00:00 app[web.1]: => Rails 4.1.4 application starting in production on http://0.0.0.0:5465
2014-08-01T22:25:20.350764+00:00 app[web.1]: => Ctrl-C to shutdown server
2014-08-01T22:25:20.350766+00:00 app[web.1]: Exiting
2014-08-01T22:25:19.441225+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2014-08-01T22:25:22.335578+0
0:00 heroku[web.1]: Process exited with status 143
2014-08-02T00:54:44+00:00 heroku[slug-compiler]: Slug compilation started
2014-08-02T00:55:13+00:00 heroku[slug-compiler]: Slug compilation finished
2014-08-02T00:55:13.134524+00:00 heroku[api]: Deploy 1be2800 by matif84@gmail.com
2014-08-02T00:55:13.134592+00:00 heroku[api]: Release v7 created by matif84@gmail.com
2014-08-02T00:55:19.453944+00:00 heroku[web.1]: Unidling
2014-08-02T00:55:19.454198+00:00 heroku[web.1]: State changed from down to starting
2014-08-02T00:55:22.246658+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 42277 -e production`
2014-08-02T00:55:24.835901+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by matif84@gmail.com
2014-08-02T00:55:25.821524+00:00 app[web.1]: [2014-08-02 00:55:25] INFO ruby 2.0.0 (2014-05-08) [x86_64-linux]
2014-08-02T00:55:25.821474+00:00 app[web.1]: [2014-08-02 00:55:25] INFO WEBrick 1.3.1
2014-08-02T00:55:25.821927+00:00 app[web.1]: [2014-08-02 00:55:25] INFO WEBrick::HTTPServer#start: pid=2 port=42277
2014-08-02T00:55:26.056127+00:00 heroku[web.1]: State changed from starting to up
2014-08-02T00:55:27.567255+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=83ab663f-09a9-49f3-9e14-a0ddde454b3d fwd="107.22.80.94" dyno=web.1 connect=1ms service=68ms status=404 bytes=405
2014-08-02T00:55:27.623070+00:00 heroku[run.2664]: Awaiting client
2014-08-02T00:55:27.851898+00:00 heroku[run.2664]: State changed from starting to up
2014-08-02T00:55:58.710241+00:00 heroku[run.2664]: State changed from up to complete
2014-08-02T00:55:58.698719+00:00 heroku[run.2664]: Process exited with status 128
2014-08-02T00:55:57.624660+00:00 heroku[run.2664]: Error R13 (Attach error) -> Failed to attach to process
2014-08-02T00:56:59.143397+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=9476ae48-f809-442b-a4ec-b850eb555240 fwd="198.105.46.47" dyno=web.1 connect=1ms service=9ms status=404 bytes=579
2014-08-02T00:57:11.235984+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by matif84@gmail.com
2014-08-02T00:57:15.136794+00:00 heroku[run.7352]: State changed from starting to up
2014-08-02T00:57:19.065148+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=be2912f8-599b-4a28-ac88-cf328dcb4594 fwd="198.105.46.47" dyno=web.1 connect=1ms service=7ms status=404 bytes=605
2014-08-02T00:57:15.064777+00:00 heroku[run.7352]: Awaiting client
2014-08-02T00:57:45.067679+00:00 heroku[run.7352]: Error R13 (Attach error) -> Failed to attach to process
2014-08-02T00:57:46.602185+00:00 heroku[run.7352]: Process exited with status 128
2014-08-02T00:57:46.609525+00:00 heroku[run.7352]: State changed from up to complete
2014-08-02T00:58:05.331942+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=b6944792-411e-4dc1-8429-8620785b69a3 fwd="198.105.46.47" dyno=web.1 connect=1ms service=7ms status=404 bytes=605
2014-08-02T01:02:35.615565+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=1eea6666-37aa-487c-a6b2-42999ed2e5fc fwd="198.105.46.47" dyno=web.1 connect=1ms service=7ms status=404 bytes=579
2014-08-02T01:03:54.885182+00:00 heroku[api]: Starting process with command `bundle exec rake db:migrate` by matif84@gmail.com
2014-08-02T01:03:58.558256+00:00 heroku[run.7002]: State changed from starting to up
2014-08-02T01:03:58.496847+00:00 heroku[run.7002]: Awaiting client
2014-08-02T01:04:28.503140+00:00 heroku[run.7002]: Error R13 (Attach error) -> Failed to attach to process
2014-08-02T01:04:29.625533+00:00 heroku[run.7002]: State changed from up to complete
2014-08-02T01:04:29.604536+00:00 heroku[run.7002]: Process exited with status 128
2014-08-02T01:05:13.427487+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=5f07822d-ae0d-4fd9-b256-3707e8ba24ab fwd="198.105.46.47" dyno=web.1 connect=1ms service=8ms status=404 bytes=579
2014-08-02T01:08:57.349297+00:00 heroku[router]: at=info method=GET path="/" host=safe-tundra-2124.herokuapp.com request_id=c87c547e-7163-4a0f-9ba0-4e3bfeefc61c fwd="198.105.46.47" dyno=web.1 connect=1ms service=166ms status=404 bytes=579
这是我的 gemfile
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.1.4'
# Use sqlite3 as the database for Active Record
# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.3'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring', group: :development
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
group :development, :test do
gem 'rspec-rails'
gem 'sqlite3'
end
group :production do
gem 'pg'
end
# Use unicorn as the app server
# gem 'unicorn'
gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
# Use debugger
# gem 'debugger', group: [:development, :test]
这是我的配置文件中的 routes.rb
Rails.application.routes.draw do
resources :people
end
最佳答案
关于ruby-on-rails - Rails Heroku “The page you were looking for doesn’ t 存在。”部署后,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25090736/
我正在尝试将我的 xcode 应用程序存档到 Itunes,但我得到了 following errors : 1.) “配置文件不支持推送通知。” 2.) “配置文件不包含 aps-environme
我正在尝试为我们的组织构建一个 Web 应用程序,它将使用我们的 O365 进行身份验证。在尝试使用管理员帐户连接到域时,我遇到了这个错误,其中提到 admin..onmicrosoft.com(全局
当我尝试构建 MUAI 项目时,它给出错误“该项目不知道如何运行配置文件 sample.WinUI”。项目已构建但无法运行。我使用的是 Visual Studio 2022 Preview(17.0
当某项包含在列表中时,有一个查询要搜索,但当某项不在列表中时,则没有查询。 此查询查找在给定列表 cdiffnums 中没有 ContactNum 的 customer 对象。我该怎么做才能仅返回此列
我们有一个黑盒第三方 Java 程序,可以从某个位置获取输入文件并制作 PDF。每次输入时,它都会将 list 文件放在同一位置,这需要我们以受控方式提供文件。 list (或 .xen/.que)是
我看到这个has选择器,hasnt 选择器在哪里?我想查找不包含图像的表格。 最佳答案 类似$("table:not(:has(img))")? 关于jQuery: "Doesn' t 有“选择器?,
为什么?这让我发疯??? $(document).ready(function () { $('#slides1').bxSlider({ prev_
我是 kubernetes 的新手。 我无法使用 kubectl 进行部署,但我可以在 kubernetes 仪表板上看到所有部署。我该如何解决这个问题? user@master:~$ kubectl
这个问题已经有答案了: What do querySelectorAll and getElementsBy* methods return? (12 个回答) 已关闭 6 年前。 HTML JS
我有两个数组,一个包含字符串值,另一个包含整数值,尽管这可能很愚蠢,但我陷入了困境,我需要一点帮助,我想遍历两者,如果 arr1 包含 arr2 中不存在的项目,它将被推送到 newArray 这是我
我一直在尝试为我的网站安装一个 PHP 脚本,设置所有内容,通过脚本附带的 phpMyAdmin 导入 SQL 文件,但我面对的是一个空白页面,错误如下所示: File /home/user/publ
我正在努力将站点的服务器从 PHP 5.2.17 升级到 5.5,以使其在未来的升级中保持新鲜,并安装其他需要 PHP 5.4+ 的软件。 数据库有一个我正在测试的表,其中有许多列在初始 INSERT
我一直收到这个错误: Object doesn't support this property or method 每当我在 IE7 和 IE8 中运行我的代码时。这是它停止的代码: _renderU
我想使用正则表达式排除某些单词。 输入文本: aaa1234 cc bbb1234 c1234 cc dd aacc cccc ccadf cc 输出文本: aaa1234 bbb1234 c1234
我有一个名为 adjust_status 的存储函数和一个包含 status 列的表 users。 select adjust_status(status) as adjusted_status
我有一个表,其中有一列由插入前触发器填充,该列设置为 NOT NULL 并且没有DEFAULT VALUE。 当我执行 INSERT TABLE 而不传递此列时,我收到错误:1364 - Field
这个问题已经有答案了: Modify the value of each textfield based on original value using jQuery (3 个回答) 已关闭去年。 使
我正在阅读 this , 它说 @keyframes rules don't cascade, so animations never derive keyframes from more than
编辑:我解决了问题,请参阅答案中的链接。 我正在使用 XMLHttpRequest AJAX API 将来自不同网站的数据发送到我们在 PythonAnywhere 中的服务器。奇怪的事情发生了:根据
我已经阅读了 Linux 调用 dlopen() 和 dlsym() 的文档,它们分别打开一个动态库并在库中加载一个符号。 这些调用似乎等同于 Windows 的 LoadLibrary() 和 Ge
我是一名优秀的程序员,十分优秀!