emoncms, modular, no shared view

When trying to call a shared view with http://<my-ip>/emoncms/my-name&id=1 (or 2 or 3) I get a blank screen on my browser (Firefox as well as Konquerer)  with a black bar on top and the message: "Powered by openenergymonitor.org" in the upper third of the page.

In the error.log of apache2 appears the following message

"PHP Notice: Undefined index: CSFR_token in /var/www/emoncms/Modules/user/user_controller.php on line 212"

every time when I try to call a shared page.

With emoncms3 I was able to display the shared views.

Any help is very much appreciated.

Regards,

khs

 

TrystanLea's picture

Re: emoncms, modular, no shared view

Hmm, this seems to work fine for me, does this page show a dashboard for you: http://emoncms.org/trystan?id=504

 

TrystanLea's picture

Re: emoncms, modular, no shared view

It seems though the error you are getting is user/logout related which is strange. I've stripped the token stuff out from there for now as I need to look at that stuff again so that should remove the error anyway.

khs's picture

Re: emoncms, modular, no shared view

Yes, they look all very good!

khs's picture

Re: emoncms, modular, no shared view

Thank you, Trystan.

I tried to read through the code in that file, but to be honest I did not understand too much. But I have never seen the message "You are logged out").

Regards,

khs

stephen's picture

Re: emoncms, modular, no shared view

I have exactly the same problem - nothing is shown when viewing a public dashboard.

Trystan, have you realised that we are running our own installation of emoncms?  You say it works for you but that's on emoncms.org.  Mine is on a Raspberry Pi.

I think the error in the apache error log, which I also get, is a red herring.  This happens when the user logs out, not when viewing a public dashboard.

khs's picture

Re: emoncms, modular, no shared view

The hint from http://openenergymonitor.org/emon/node/1347 worked fine for me too.

Thank you.

Regards,

khs

Comment viewing options

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