ovangle / TNC-admin-client

1 stars 0 forks source link

Cannot login to site #6

Closed TNC2263 closed 8 years ago

TNC2263 commented 8 years ago
  1. Entered admin username and password (correctly I think)
  2. Page didn't update.

Console shows XCEPTION: Error: Uncaught (in promise): Response with status: 500 Internal Server Error for URL: http://admin.tnc.org.au/api/user/loginBrowserDomAdapter.logError @ browser_adapter.ts:82BrowserDomAdapter.logGroup @ browser_adapter.ts:93ExceptionHandler.call @ exception_handler.ts:58(anonymous function) @ application_ref.ts:374schedulerFn @ async.ts:148SafeSubscriber.tryOrUnsub @ Subscriber.ts:240SafeSubscriber.next @ Subscriber.ts:192Subscriber._next @ Subscriber.ts:133Subscriber.next @ Subscriber.ts:93Subject._finalNext @ Subject.ts:154Subject._next @ Subject.ts:144Subject.next @ Subject.ts:90EventEmitter.emit @ async.ts:133onError @ ng_zone.ts:142onHandleError @ ng_zone_impl.ts:95ZoneDelegate.handleError @ zone.js:327Zone.runGuarded @ zone.js:233_loop_1 @ zone.js:487drainMicroTaskQueue @ zone.js:494ZoneTask.invoke @ zone.js:426 browser_adapter.ts:82 STACKTRACE:BrowserDomAdapter.logError @ browser_adapter.ts:82ExceptionHandler.call @ exception_handler.ts:61(anonymous function) @ application_ref.ts:374schedulerFn @ async.ts:148SafeSubscriber.tryOrUnsub @ Subscriber.ts:240SafeSubscriber.next @ Subscriber.ts:192Subscriber._next @ Subscriber.ts:133Subscriber.next @ Subscriber.ts:93Subject._finalNext @ Subject.ts:154Subject._next @ Subject.ts:144Subject.next @ Subject.ts:90EventEmitter.emit @ async.ts:133onError @ ng_zone.ts:142onHandleError @ ng_zone_impl.ts:95ZoneDelegate.handleError @ zone.js:327Zone.runGuarded @ zone.js:233_loop_1 @ zone.js:487drainMicroTaskQueue @ zone.js:494ZoneTask.invoke @ zone.js:426 browser_adapter.ts:82 Error: Uncaught (in promise): Response with status: 500 Internal Server Error for URL: http://admin.tnc.org.au/api/user/login at resolvePromise (zone.js:538) at SafeSubscriber._error (zone.js:515) at SafeSubscriber.tryOrUnsub (Subscriber.ts:240) at SafeSubscriber.error (Subscriber.ts:204) at Subscriber._error (Subscriber.ts:137) at Subscriber.error (Subscriber.ts:107) at ErrorObservable._subscribe (ErrorObservable.ts:79) at ErrorObservable.Observable.subscribe (Observable.ts:93) at CatchSubscriber._innerSub (catch.ts:69) at CatchSubscriber.error (catch.ts:62)BrowserDomAdapter.logError @ browser_adapter.ts:82ExceptionHandler.call @ exception_handler.ts:62(anonymous function) @ application_ref.ts:374schedulerFn @ async.ts:148SafeSubscriber.tryOrUnsub @ Subscriber.ts:240SafeSubscriber.next @ Subscriber.ts:192Subscriber._next @ Subscriber.ts:133Subscriber.next @ Subscriber.ts:93Subject._finalNext @ Subject.ts:154Subject._next @ Subject.ts:144Subject.next @ Subject.ts:90EventEmitter.emit @ async.ts:133onError @ ng_zone.ts:142onHandleError @ ng_zone_impl.ts:95ZoneDelegate.handleError @ zone.js:327Zone.runGuarded @ zone.js:233_loop_1 @ zone.js:487drainMicroTaskQueue @ zone.js:494ZoneTask.invoke @ zone.js:426 zone.js:461 Unhandled Promise rejection: Response {_body: "↵<!DOCTYPE html>↵↵↵ <meta h… status code.↵

↵↵↵↵", status: 500, ok: false, statusText: "Internal Server Error", headers: Headers…} ; Zone: angular ; Task: XMLHttpRequest.addEventListener:load ; Value: Response {_body: "↵<!DOCTYPE html>↵↵↵ <meta h… status code.↵

↵↵↵↵", status: 500, ok: false, statusText: "Internal Server Error", headers: Headers…}consoleError @ zone.js:461_loop_1 @ zone.js:490drainMicroTaskQueue @ zone.js:494ZoneTask.invoke @ zone.js:426 zone.js:463 Error: Uncaught (in promise): Response with status: 500 Internal Server Error for URL: http://admin.tnc.org.au/api/user/login(…)

ovangle commented 8 years ago

OK this has been fixed, somehow the HEAD got corrupted on the TNC-admin-server repo