rappid/rAppid.js

Node-rendering - Fix google+ button

it-ony opened this issue · 0 comments

Google plus button isn't working on rappidjs.com

I checked the access log and google requests the following

66.249.81.204 - - [06/Mar/2013:00:15:24 +0100] "GET /?_escaped_fragment_=/ HTTP/1.1" 200 6568 "-" "Mozilla/5.0 (Windows NT 6.1; rv:6.0) Gecko/20110814 Firefox/6.0 Google (+https://developers.google.com/+/web/snippet/)"
66.249.81.204 - - [06/Mar/2013:00:15:24 +0100] "GET /?_escaped_fragment_=/ HTTP/1.1" 200 6568 "-" "Mozilla/5.0 (Windows NT 6.1; rv:6.0) Gecko/20110814 Firefox/6.0 Google (+https://developers.google.com/+/web/snippet/)"
66.249.81.204 - - [06/Mar/2013:00:15:25 +0100] "GET /?_escaped_fragment_=/&_escaped_fragment_ HTTP/1.1" 500 797 "-" "Mozilla/5.0 (Windows NT 6.1; rv:6.0) Gecko/20110814 Firefox/6.0 Google (+https://developers.google.com/+/web/snippet/)"
66.249.81.204 - - [06/Mar/2013:00:15:27 +0100] "GET /?_escaped_fragment_=/&_escaped_fragment_ HTTP/1.1" 500 797 "-" "Mozilla/5.0 (Windows NT 6.1; rv:6.0) Gecko/20110814 Firefox/6.0 Google (+https://developers.google.com/+/web/snippet/)"

And node-rendering answers with 500 for http://www.rappidjs.com/?_escaped_fragment_=/&_escaped_fragment_

Internal Server Error

Object /, has no method 'replace'
TypeError: Object /, has no method 'replace'
    at js.core.History.Bindable.inherit._getFragment (/local/rAppid.js/js/core/History.js:47:29)
    at js.core.History.Bindable.inherit.start (/local/rAppid.js/js/core/History.js:80:32)
    at app.Index.Window.inherit._startHistory (/local/rAppid.js/js/core/Application.js:58:38)
    at app.Index.Window.inherit.start (/local/rAppid.js/js/core/Application.js:39:22)
    at app.Index.inherit.callBase (/local/rAppid.js/js/lib/inherit.js:90:59)
    at app.Index.Application.inherit.start (/var/www/vhosts/www.rappidjs.com/rappidjs.com/public/app/IndexClass.js:50:22)
    at Function.Handler.inherit.handleRequest.flow.seq.seq.seq.seq.exec.context.response.writeHead.Content-Type (/local/rAppid.js/srv/handler/NodeRenderingHandler.js:122:36)
    at Array.Flow.seq [as 2] (/local/rAppid.js/js/lib/flow.js:81:28)
    at execNext (/local/rAppid.js/js/lib/flow.js:405:45)
    at Flow.exec (/local/rAppid.js/js/lib/flow.js:409:25)
    at Flow.seq.$context.actions.push.setDataAndReturn (/local/rAppid.js/js/lib/flow.js:60:21)