Closed fluxlabs closed 10 years ago
The JS is dynamically generated should not be a static file
I've asked several times on the ML regarding this file, and have had no reply. I was getting error 500 on this file, so if it is in fact being generated dynamically, It is broken some where.
tail -n 25 baruwa-access_log | grep jsi18n.js x.x.x.x - - [24/Dec/2013:18:20:44 +0000] "GET /jsi18n.js HTTP/1.1" 500 1175 x.x.x.x - - [24/Dec/2013:18:24:02 +0000] "GET /jsi18n.js HTTP/1.1" 500 1175 x.x.x.x - - [24/Dec/2013:18:24:05 +0000] "GET /jsi18n.js HTTP/1.1" 500 1175 x.x.x.x - - [24/Dec/2013:18:24:06 +0000] "GET /jsi18n.js HTTP/1.1" 500 1175
This commit fixes the errors I was receiving by going static. I am unable to locate any dynamic generation of this file.
x.x.x.x - - [24/Dec/2013:18:25:02 +0000] "GET /js/jsi18n.js HTTP/1.1" 200 3580 x.x.x.x - - [24/Dec/2013:18:33:05 +0000] "GET /js/jsi18n.js HTTP/1.1" 304 - x.x.x.x - - [24/Dec/2013:18:40:59 +0000] "GET /js/jsi18n.js HTTP/1.1" 304 -
Request the file in the browser you will see what the 500 error is
404 in browser, 500 in logs with direct browser request to /jsi18n.js
PATH_INFO '/jsi18n.js' PATH_TRANSLATED '/home/baruwa/px/lib/python2.6/site-packages/baruwa/baruwa.wsgi/jsi18n.js'
On 24 Dec 2013, at 8:58 PM, Flux Labs notifications@github.com wrote:
not sure how its generating itself inside of another file ..
That is just indicating it is running thru wsgi
Added jsi18n.js to /js Appended /js to necessary files
Signed-off-by: Jeremy McSpadden jeremy@fluxlabs.net