Help with emoncms3

 Hello,

I have installed emoncms3 on a windows server running wamp.  I got it most of the way going except that none of the feed bar graphs will show up.  In chrome console I'm getting a warning:

Resource interpreted as Other but transferred with MIME type undefined.

All i see is a blank page with the emoncms menu and footer.

In the resources list i dont see any of the js files.  I'm guessing its a server config problem but I can't seem to figure it out.  I tried adding  AddType application/x-javascript .js to my httpd.conf file but that didnt seem to help.

Any Ideas?

 

Thanks,

Ryan

Larsjo's picture

Re: Help with emoncms3

 First i think you have to check if you are running php5.

dexa187's picture

Re: Help with emoncms3

 Yep running php 5.5.16, apache 2.2.21

One thing to note i just setup cms2 on the same server and everything for it runs just fine.

 

dexa187's picture

Re: Help with emoncms3

 Ok the error i was getting "Resource interpreted as Other but transferred with MIME type undefined." doesnt seem to be related.  It was just complaining about android.css which isnt there.  Still searching..

 

dexa187's picture

Re: Help with emoncms3

Figured it out.  Problem was on line 30 of index.php

$q = preg_replace('/[^.\/a-z]/','',$_GET['q']); // filter out all except a-z / . 

This uppercase letters were getting stripped out so the calls to emoncms/Vis/... were getting stripped to emoncms/is/...
 

Changed to following and all is well.

$q = preg_replace('/[^.\/A-z]/','',$_GET['q']); // filter out all except A-z / . 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.