Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated to remove log file from commit.

  • Loading branch information...
commit c6447db1e116b12db0d6b67d09053aabc709bacc 1 parent e0ed62d
@mikevalstar authored
Showing with 2 additions and 274 deletions.
  1. +2 −1  .gitignore
  2. +0 −273 log/error_log
View
3  .gitignore
@@ -1 +1,2 @@
-node_modules
+node_modules
+log
View
273 log/error_log
@@ -1,273 +0,0 @@
-2011-11-17T19:08:47.450Z - Error Happened:
-Error: keyboard cat!
- at /Users/mikevalstar/Dropbox/Public/mv_app/app.js:44:8
- at callbacks (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:272:11)
- at param (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:246:11)
- at pass (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:253:5)
- at Router._dispatch (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:280:4)
- at Object.handle (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:45:10)
- at next (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/http.js:201:15)
- at Object.methodOverride [as handle] (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/middleware/methodOverride.js:35:5)
- at next (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/http.js:201:15)
- at Object.bodyParser [as handle] (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:59:61)2011-11-17T19:08:58.254Z - Error Happened:
-Error: keyboard cat!
- at /Users/mikevalstar/Dropbox/Public/mv_app/app.js:44:8
- at callbacks (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:272:11)
- at param (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:246:11)
- at pass (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:253:5)
- at Router._dispatch (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:280:4)
- at Object.handle (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:45:10)
- at next (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/http.js:201:15)
- at Object.methodOverride [as handle] (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/middleware/methodOverride.js:35:5)
- at next (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/http.js:201:15)
- at Object.bodyParser [as handle] (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:59:61)2011-11-17T19:09:09.524Z - Error Happened:
-Error: keyboard cat!
- at /Users/mikevalstar/Dropbox/Public/mv_app/app.js:44:8
- at callbacks (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:272:11)
- at param (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:246:11)
- at pass (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:253:5)
- at Router._dispatch (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:280:4)
- at Object.handle (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:45:10)
- at next (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/http.js:201:15)
- at Object.methodOverride [as handle] (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/middleware/methodOverride.js:35:5)
- at next (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/http.js:201:15)
- at Object.bodyParser [as handle] (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:59:61)2011-12-09T18:33:18.956Z - Error Happened:
-ReferenceError: /Users/mikevalstar/Dropbox/Public/mv_app/views/layout.jade:4
- 2| html(lang="en")
- 3| head
- > 4| title #{title} - Mike Valstar - Programming & Web Development
- 5| link(rel='stylesheet', href='/css/css.css')
- 6|
- 7| script(src='http://code.jquery.com/jquery-1.7.min.js', type='text/javascript')
-
-title is not defined
- at eval at <anonymous> (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/jade/lib/jade.js:165:3)
- at Object.<anonymous> (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/jade/lib/jade.js:166:12)
- at ServerResponse._render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:422:21)
- at ServerResponse.render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:315:17)
- at ServerResponse._render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:429:10)
- at ServerResponse.render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:315:17)
- at /Users/mikevalstar/Dropbox/Public/mv_app/app.js:36:7
- at callbacks (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:272:11)
- at param (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:246:11)
- at pass (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:253:5)
-2011-12-09T18:34:11.142Z - Error Happened:
-Error: keyboard cat!
- at /Users/mikevalstar/Dropbox/Public/mv_app/app.js:44:8
- at callbacks (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:272:11)
- at param (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:246:11)
- at pass (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:253:5)
- at Router._dispatch (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:280:4)
- at Object.handle (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:45:10)
- at next (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/http.js:203:15)
- at Object.methodOverride [as handle] (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/middleware/methodOverride.js:35:5)
- at next (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/http.js:203:15)
- at Object.bodyParser [as handle] (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:85:61)
-2011-12-09T18:36:52.500Z - Error Happened:
-ReferenceError: /Users/mikevalstar/Dropbox/Public/mv_app/views/layout.jade:4
- 2| html(lang="en")
- 3| head
- > 4| title #{title} - Mike Valstar - Programming &amp; Web Development
- 5| link(rel='stylesheet', href='/css/css.css')
- 6|
- 7| script(src='http://code.jquery.com/jquery-1.7.min.js', type='text/javascript')
-
-title is not defined
- at eval at <anonymous> (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/jade/lib/jade.js:165:3)
- at Object.<anonymous> (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/jade/lib/jade.js:166:12)
- at ServerResponse._render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:422:21)
- at ServerResponse.render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:315:17)
- at ServerResponse._render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:429:10)
- at ServerResponse.render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:315:17)
- at /Users/mikevalstar/Dropbox/Public/mv_app/app.js:36:7
- at callbacks (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:272:11)
- at param (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:246:11)
- at pass (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:253:5)
-2012-01-25T16:10:55.193Z - Error Happened:
-TypeError: Object #<Object> has no method '_checkLogin'
- at /Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:44:13
- at callbacks (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:272:11)
- at param (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:246:11)
- at pass (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:253:5)
- at Router._dispatch (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:280:4)
- at Object.handle (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:45:10)
- at next (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/http.js:203:15)
- at Object.methodOverride [as handle] (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/middleware/methodOverride.js:35:5)
- at next (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/http.js:203:15)
- at Object.bodyParser [as handle] (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:88:61)
-2012-01-25T16:12:42.708Z - Error Happened:
-TypeError: Object #<Object> has no method 'pageIndex'
- at /Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:15:47
- at callbacks (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:272:11)
- at param (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:246:11)
- at pass (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:253:5)
- at Router._dispatch (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:280:4)
- at Object.handle (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:45:10)
- at next (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/http.js:203:15)
- at Object.methodOverride [as handle] (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/middleware/methodOverride.js:35:5)
- at next (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/http.js:203:15)
- at Object.bodyParser [as handle] (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:88:61)
-2012-01-25T18:02:52.495Z - Error Happened:
-SyntaxError: Unexpected identifier
- at Object.Function (unknown source)
- at Object.compile (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/jade/lib/jade.js:161:8)
- at Function.compile (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:68:33)
- at ServerResponse._render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:417:18)
- at ServerResponse.render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:318:17)
- at Object.pageLogin (/Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:31:7)
- at /Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:12:53
- at callbacks (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:272:11)
- at param (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:246:11)
- at pass (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:253:5)
-2012-01-25T18:09:07.447Z - Error Happened:
-SyntaxError: Unexpected identifier
- at Object.Function (unknown source)
- at Object.compile (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/jade/lib/jade.js:161:8)
- at Function.compile (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:68:33)
- at ServerResponse._render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:417:18)
- at ServerResponse.render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:318:17)
- at Object.pageLogin (/Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:31:7)
- at /Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:12:53
- at callbacks (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:272:11)
- at param (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:246:11)
- at pass (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:253:5)
-2012-01-25T18:09:23.382Z - Error Happened:
-SyntaxError: Unexpected identifier
- at Object.Function (unknown source)
- at Object.compile (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/jade/lib/jade.js:161:8)
- at Function.compile (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:68:33)
- at ServerResponse._render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:417:18)
- at ServerResponse.render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:318:17)
- at Object.pageLogin (/Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:31:7)
- at /Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:12:53
- at callbacks (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:272:11)
- at param (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:246:11)
- at pass (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:253:5)
-2012-01-25T18:09:41.946Z - Error Happened:
-SyntaxError: Unexpected identifier
- at Object.Function (unknown source)
- at Object.compile (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/jade/lib/jade.js:161:8)
- at Function.compile (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:68:33)
- at ServerResponse._render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:417:18)
- at ServerResponse.render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:318:17)
- at Object.pageLogin (/Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:31:7)
- at /Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:12:53
- at callbacks (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:272:11)
- at param (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:246:11)
- at pass (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:253:5)
-2012-01-25T18:09:58.492Z - Error Happened:
-ReferenceError: /Users/mikevalstar/Dropbox/Public/mv_app/views/admin/login.jade:5
- 3| h3 You are not logged in
- 4|
- > 5| -if(error)
- 6| div.error
- 7| span=error
- 8|
-
-error is not defined
- at eval at <anonymous> (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/jade/lib/jade.js:161:8)
- at Object.<anonymous> (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/jade/lib/jade.js:166:12)
- at ServerResponse._render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:425:21)
- at ServerResponse.render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:318:17)
- at Object.pageLogin (/Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:31:7)
- at /Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:12:53
- at callbacks (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:272:11)
- at param (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:246:11)
- at pass (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:253:5)
- at Router._dispatch (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:280:4)
-2012-01-25T18:10:16.636Z - Error Happened:
-ReferenceError: /Users/mikevalstar/Dropbox/Public/mv_app/views/admin/login.jade:5
- 3| h3 You are not logged in
- 4|
- > 5| - if(error)
- 6| div.error
- 7| span=error
- 8|
-
-error is not defined
- at eval at <anonymous> (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/jade/lib/jade.js:161:8)
- at Object.<anonymous> (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/jade/lib/jade.js:166:12)
- at ServerResponse._render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:425:21)
- at ServerResponse.render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:318:17)
- at Object.pageLogin (/Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:31:7)
- at /Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:12:53
- at callbacks (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:272:11)
- at param (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:246:11)
- at pass (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:253:5)
- at Router._dispatch (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:280:4)
-2012-01-25T18:12:01.739Z - Error Happened:
-ReferenceError: /Users/mikevalstar/Dropbox/Public/mv_app/views/admin/login.jade:5
- 3| h3 You are not logged in
- 4|
- > 5| - if(error_text)
- 6| div.error
- 7| span=error_text
- 8|
-
-error_text is not defined
- at eval at <anonymous> (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/jade/lib/jade.js:161:8)
- at Object.<anonymous> (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/jade/lib/jade.js:166:12)
- at ServerResponse._render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:425:21)
- at ServerResponse.render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:318:17)
- at Object.pageLogin (/Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:31:7)
- at /Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:12:53
- at callbacks (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:272:11)
- at param (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:246:11)
- at pass (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:253:5)
- at Router._dispatch (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:280:4)
-2012-01-25T18:15:15.496Z - Error Happened:
-ReferenceError: db is not defined
- at Object.pageLoginPost (/Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:36:20)
- at /Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:13:54
- at callbacks (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:272:11)
- at param (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:246:11)
- at pass (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:253:5)
- at Router._dispatch (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:280:4)
- at Object.handle (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:45:10)
- at next (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/http.js:203:15)
- at Object.methodOverride [as handle] (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/middleware/methodOverride.js:35:5)
- at next (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/http.js:203:15)
-2012-01-25T18:15:36.931Z - Error Happened:
-TypeError: undefined is not a function
- at Object.pageLoginPost (/Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:37:15)
- at /Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:13:54
- at callbacks (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:272:11)
- at param (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:246:11)
- at pass (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:253:5)
- at Router._dispatch (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:280:4)
- at Object.handle (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:45:10)
- at next (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/http.js:203:15)
- at Object.methodOverride [as handle] (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/middleware/methodOverride.js:35:5)
- at next (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/http.js:203:15)
-2012-01-25T18:16:23.851Z - Error Happened:
-TypeError: Object { _id: 4f2046f71b1a8b7d6f000001 } has no method 'findOne'
- at Object.pageLoginPost (/Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:38:9)
- at /Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:13:54
- at callbacks (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:272:11)
- at param (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:246:11)
- at pass (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:253:5)
- at Router._dispatch (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:280:4)
- at Object.handle (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/router/index.js:45:10)
- at next (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/http.js:203:15)
- at Object.methodOverride [as handle] (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/middleware/methodOverride.js:35:5)
- at next (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/node_modules/connect/lib/http.js:203:15)
-2012-01-25T18:29:39.615Z - Error Happened:
-ReferenceError: /Users/mikevalstar/Dropbox/Public/mv_app/views/admin/login.jade:13
- 11| - if(typeof(error_text) != 'undefined')
- 12| input(type="text", name="email", value=email)
- > 13| - else
- 14| input(type="text", name="email")
- 15| br
- 16| span Password
-
-email is not defined
- at eval at <anonymous> (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/jade/lib/jade.js:161:8)
- at Object.<anonymous> (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/jade/lib/jade.js:166:12)
- at ServerResponse._render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:425:21)
- at ServerResponse.render (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/express/lib/view.js:318:17)
- at Promise.<anonymous> (/Users/mikevalstar/Dropbox/Public/mv_app/lib/AdminPages.js:50:11)
- at Promise.<anonymous> (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/mongoose/lib/promise.js:120:8)
- at Promise.<anonymous> (events.js:67:17)
- at Promise.emit (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/mongoose/lib/promise.js:59:38)
- at Promise.complete (/Users/mikevalstar/Dropbox/Public/mv_app/node_modules/mongoose/lib/promise.js:70:20)
- at /Users/mikevalstar/Dropbox/Public/mv_app/node_modules/mongoose/lib/query.js:898:15
Please sign in to comment.
Something went wrong with that request. Please try again.