Welcome Guest Login Register Member List
ExpressionEngine Forums
Advanced Search
Username: Password:
Remember Me? forgot password?
You are here: Forum Home  >  Installation  >  Tracks on a web host  >  Thread
   
 
Installing Tracks on Webhost - Server Error 500
 
Juicy
Posted: 14 August 2008 04:37 PM   [ Ignore ]  
Newbie
Rank
Total Posts:  3
Joined  2008-08-14

First, please excuse my bad english. smile
I tried to install Tracks on my webhosting, but if i want to open the url i get a 500 Server Error.

What is wrong?


Here is my developer.log:

Profile
 
Juicy
Posted: 14 August 2008 04:38 PM   [ Ignore ]   [ # 1 ]  
Newbie
Rank
Total Posts:  3
Joined  2008-08-14

# Logfile created on Wed Aug 13 19:32:56 +0200 2008** has_many_polymorphs: rails environment detected
** has_many_polymorphs: loaded ok
** has_many_polymorphs: autoload hook invoked
** has_many_polymorphs: preloading parent model Tag
** has_many_polymorphs: associating Tag.taggables
  [4;36;1mSQL (0.000140)[0m   [0;1mSET SQL_AUTO_IS_NULL=0[0m
  [4;35;1mTagging Columns (0.000000)[0m   [0mMysql::Error: Table ‘wa9276_db13.taggings’ doesn’t exist: SHOW FIELDS FROM `taggings`[0m
** has_many_polymorphs: WARNING; possibly critical error preloading Tag: #<ActiveRecord::StatementInvalid: Mysql::Error: Table ‘wa9276_db13.taggings’ doesn’t exist: SHOW FIELDS FROM `taggings`>
** has_many_polymorphs: associating Tag.taggables
  [4;36;1mTagging Columns (0.000000)[0m   [0;1mMysql::Error: Table ‘wa9276_db13.taggings’ doesn’t exist: SHOW FIELDS FROM `taggings`[0m
/!\ FAILSAFE /!\  Wed Aug 13 19:32:56 +0200 2008
  Status: 500 Internal Server Error
  Mysql::Error: Table ‘wa9276_db13.taggings’ doesn’t exist: SHOW FIELDS FROM `taggings`
  /home/www/ror/tracks/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:150:in `log’
  /home/www/ror/tracks/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:281:in `execute’
  /home/www/ror/tracks/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:411:in `columns’
  /home/www/ror/tracks/vendor/rails/activerecord/lib/active_record/base.rb:1080:in `columns’
  /home/www/ror/tracks/vendor/plugins/has_many_polymorphs/lib/has_many_polymorphs/class_methods.rb:369:in `build_table_aliases’
  /home/www/ror/tracks/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb:131:in `each_with_index’
  /home/www/ror/tracks/vendor/plugins/has_many_polymorphs/lib/has_many_polymorphs/class_methods.rb:363:in `each’
  /home/www/ror/tracks/vendor/plugins/has_many_polymorphs/lib/has_many_polymorphs/class_methods.rb:363:in `each_with_index’
  /home/www/ror/tracks/vendor/plugins/has_many_polymorphs/lib/has_many_polymorphs/class_methods.rb:363:in `build_table_aliases’
  /home/www/ror/tracks/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/core_ext/object/misc.rb:28:in `returning’
  /home/www/ror/tracks/vendor/plugins/has_many_polymorphs/lib/has_many_polymorphs/class_methods.rb:362:in `build_table_aliases’
  /home/www/ror/tracks/vendor/plugins/has_many_polymorphs/lib/has_many_polymorphs/class_methods.rb:332:in `create_has_many_polymorphs_reflection’
  /home/www/ror/tracks/vendor/plugins/has_many_polymorphs/lib/has_many_polymorphs/class_methods.rb:243:in `has_many_polymorphs’
  /home/www/ror/tracks/app/models/tag.rb:2
  /home/www/ror/tracks/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:203:in `load_without_new_constant_marking’
  /home/www/ror/tracks/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:203:in `load_file’
  /home/www/ror/tracks/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in_without_injection’
  /home/www/ror/tracks/vendor/plugins/has_many_polymorphs/lib/has_many_polymorphs/dependencies.rb:29:in `new_constants_in’
  /home/www/ror/tracks/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:202:in `load_file’
  /home/www/ror/tracks/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:94:in `require_or_load’
  /home/www/ror/tracks/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:248:in `load_missing_constant’
  /home/www/ror/tracks/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:453:in `const_missing’
  /home/www/ror/tracks/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:465:in `const_missing’  /home/www/ror/tracks/app/controllers/application.rb:10
  /home/www/ror/tracks/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:203:in `load_without_new_constant_marking’
  /home/www/ror/tracks/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:203:in `load_file’
  /home/www/ror/tracks/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in_without_injection’
  /home/www/ror/tracks/vendor/plugins/has_many_polymorphs/lib/has_many_polymorphs/dependencies.rb:29:in `new_constants_in’
  /home/www/ror/tracks/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:202:in `load_file’
  /home/www/ror/tracks/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:94:in `require_or_load’
  /home/www/ror/tracks/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:60:in `depend_on’
  /home/www/ror/tracks/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:442:in `require_dependency’
  /home/www/ror/tracks/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:141:in `prepare_application’
  /home/www/ror/tracks/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:178:in `send!’
  /home/www/ror/tracks/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:178:in `run_callbacks’
  /home/www/ror/tracks/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:175:in `each’
  /home/www/ror/tracks/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:175:in `send!’
  /home/www/ror/tracks/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:175:in `run_callbacks’


[...]

Profile
 
Reinier Balt
Posted: 15 August 2008 09:09 PM   [ Ignore ]   [ # 2 ]  
Sr. Member
RankRankRankRank
Total Posts:  633
Joined  2006-10-05

the error message includes

Mysql::Error: Table ‘wa9276_db13.taggings’ doesn’t exist: SHOW FIELDS FROM `taggings`

This means that your database does not contain the taggings table.

Did you run rake db:migrate as described in the install docs?

Profile
 
Juicy
Posted: 16 August 2008 12:11 PM   [ Ignore ]   [ # 3 ]  
Newbie
Rank
Total Posts:  3
Joined  2008-08-14

Upps. So on my webspace it works, but on Instantrails on my windows not, but that’s ok.
The last question i have, how could i import my data from an export-yaml-file. i didn’t find anything in the wiki?

Profile
 
Reinier Balt
Posted: 17 August 2008 05:54 PM   [ Ignore ]   [ # 4 ]  
Sr. Member
RankRankRankRank
Total Posts:  633
Joined  2006-10-05

Unfortunately the current version of tracks does not support importing from yaml file :-( There are people working on it, but it has not yet resulted in any code…

Profile
 
   
 
 
‹‹ How to install Tracks on a Cpanel / WHM server?      Litespeed optimization ››

Powered By ExpressionEngine
Template Design By Sonnenvogel.com
Select a theme:

ExpressionEngine Discussion Forum - Version 2.1.2 (20091002)
Script Executed in 0.1234 seconds

Atom Feed
RSS 2.0