gterrono / houston

A zero-config, Django Admin-like admin for Meteor
https://atmospherejs.com/houston/admin
MIT License
806 stars 96 forks source link

Records are not shown #375

Open AlABarazi opened 8 years ago

AlABarazi commented 8 years ago

I cannot see any records. The admin panel show only the count . I can add records in houston but I cannot see them...just the counts. screen shot 2016-04-24 at 11 46 04

On client console I am getting the following error:

Exception in template helper: ReferenceError: Session is not defined at Object.Houston._session (http://localhost:3000/packages/houston_admin.js?hash=8ea37791a5747c5afecdec9cd3939ba1f40d6bad:1114:12) at get_filter_query (http://localhost:3000/packages/houston_admin.js?hash=8ea37791a5747c5afecdec9cd3939ba1f40d6bad:1432:19) at Template._houston_collection_view.helpers.rows (http://localhost:3000/packages/houston_admin.js?hash=8ea37791a5747c5afecdec9cd3939ba1f40d6bad:1514:74) at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:2994:16 at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:1653:16 at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:3046:66 at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:3687:12) at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:3045:27 at Object.Spacebars.call (http://localhost:3000/packages/spacebars.js?hash=65db8b6a8e3fca189b416de702967b1cb83d57d5:172:18) at http://localhost:3000/packages/houston_admin.js?hash=8ea37791a5747c5afecdec9cd3939ba1f40d6bad:321:22 3meteor.js:930 Exception in template helper: ReferenceError: Session is not defined at Object.Houston._session (http://localhost:3000/packages/houston_admin.js?hash=8ea37791a5747c5afecdec9cd3939ba1f40d6bad:1114:12) at Object.Template._houston_sidenav.helpers.is_active (http://localhost:3000/packages/houston_admin.js?hash=8ea37791a5747c5afecdec9cd3939ba1f40d6bad:1224:29) at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:2994:16 at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:1653:16 at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:3046:66 at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:3687:12) at http://localhost:3000/packages/blaze.js?hash=ef41aed769a8945fc99ac4954e8c9ec157a88cea:3045:27 at Spacebars.call (http://localhost:3000/packages/spacebars.js?hash=65db8b6a8e3fca189b416de702967b1cb83d57d5:172:18) at Spacebars.mustacheImpl (http://localhost:3000/packages/spacebars.js?hash=65db8b6a8e3fca189b416de702967b1cb83d57d5:106:25) at Object.Spacebars.dataMustache (http://localhost:3000/packages/spacebars.js?hash=65db8b6a8e3fca189b416de702967b1cb83d57d5:138:39) meteor.js:930 Exception from Tracker afterFlush function: meteor.js:930 ReferenceError: Session is not defined at Object.Houston._session (houston_admin.js:1114) at get_sort_by (houston_admin.js:1426) at resubscribe (houston_admin.js:1459) at Template._houston_collection_view.rendered (houston_admin.js:1562) at blaze.js:3341 at Function.Template._withTemplateInstanceFunc (blaze.js:3687) at fireCallbacks (blaze.js:3337) at . (blaze.js:3430) at blaze.js:1783 at Object.Blaze._withCurrentView (blaze.js:2214)

I am using Chrome Version 49.0.2623.110 (64-bit) , MAC OSX 10.11.4, meteor 1.3.2.4 with the follwoing packages:

accounts-base@1.2.7 accounts-password@1.1.8 aldeed:collection2@2.9.1 aldeed:collection2-core@1.1.1 aldeed:schema-deny@1.0.1 aldeed:schema-index@1.0.1 aldeed:simple-schema@1.5.3 allow-deny@1.0.4 autopublish@1.0.7 autoupdate@1.2.9 babel-compiler@6.6.4 babel-runtime@0.1.8 base64@1.0.8 binary-heap@1.0.8 blaze@2.1.7 blaze-html-templates@1.0.4 blaze-tools@1.0.8 boilerplate-generator@1.0.8 caching-compiler@1.0.4 caching-html-compiler@1.0.6 callback-hook@1.0.8 check@1.2.1 coffeescript@1.0.17 dburles:mongo-collection-instances@0.3.4 ddp@1.2.5 ddp-client@1.2.7 ddp-common@1.2.5 ddp-rate-limiter@1.0.4 ddp-server@1.2.6 deps@1.0.12 diff-sequence@1.0.5 ecmascript@0.4.3 ecmascript-runtime@0.2.10 ejson@1.0.11 email@1.0.12 es5-shim@4.5.10 ewall:foundation@5.5.3 fastclick@1.0.11 geojson-utils@1.0.8 gwendall:body-events@0.1.6 hot-code-push@1.0.4 houston:admin@2.0.7 html-tools@1.0.9 htmljs@1.0.9 http@1.1.5 id-map@1.0.7 insecure@1.0.7 iron:controller@1.0.12 iron:core@1.0.11 iron:dynamic-template@1.0.12 iron:layout@1.0.12 iron:location@1.0.11 iron:middleware-stack@1.0.11 iron:router@1.0.12 iron:url@1.0.11 jquery@1.11.8 lai:collection-extensions@0.1.4 launch-screen@1.0.11 livedata@1.0.18 localstorage@1.0.9 logging@1.0.12 mdg:validation-error@0.2.0 meteor@1.1.14 meteor-base@1.0.4 meteortoys:allthings@2.3.1 meteortoys:authenticate@2.1.0 meteortoys:autopub@2.1.0 meteortoys:blueprint@2.1.0 meteortoys:email@2.1.0 meteortoys:hotreload@2.1.0 meteortoys:listen@2.1.0 meteortoys:method@3.0.2 meteortoys:pub@3.0.2 meteortoys:result@2.1.0 meteortoys:shell@2.1.0 meteortoys:status@2.1.0 meteortoys:sub@2.1.0 meteortoys:throttle@2.1.0 meteortoys:toykit@2.2.1 minifier-css@1.1.11 minifier-js@1.1.11 minimongo@1.0.16 mobile-experience@1.0.4 mobile-status-bar@1.0.12 modules@0.6.1 modules-runtime@0.6.3 mongo@1.1.7 mongo-id@1.0.4 msavin:jetsetter@1.5.2 msavin:mongol@1.6.2 npm-bcrypt@0.8.5 npm-mongo@1.4.43 observe-sequence@1.0.11 ordered-dict@1.0.7 promise@0.6.7 raix:eventemitter@0.1.3 random@1.0.9 rate-limit@1.0.4 reactive-dict@1.1.7 reactive-var@1.0.9 reload@1.1.8 retry@1.0.7 routepolicy@1.0.10 service-configuration@1.0.9 session@1.1.5 sha@1.0.7 spacebars@1.0.11 spacebars-compiler@1.0.11 srp@1.0.8 standard-minifier-css@1.0.6 standard-minifier-js@1.0.6 templating@1.1.9 templating-tools@1.0.4 tmeasday:paginated-subscription@0.2.4 tracker@1.0.13 ui@1.0.11 underscore@1.0.8 url@1.0.9 webapp@1.2.8 webapp-hashing@1.0.9

sebdi commented 8 years ago

same here

kenshinman commented 8 years ago

Same issues here. Any way to resolve this?

AlABarazi commented 8 years ago

try meteor add session

awaemmanuel commented 8 years ago

I had the same problem but meteor add session solved it.

JustinRvt commented 8 years ago

You guys just made my day.

Eloyjaws commented 8 years ago

same here

kenshinman commented 8 years ago

@Eloyjaws Just add session to your packages like this: meteor add session

Eloyjaws commented 8 years ago

Thank you