I have emoncms (downloaded and installed 10/3) running on Apache 2.2.22 CentOS server. (hostgator.com)
The Dashboard Save Button is not working only after I Add a Visulation graph. It saves fine with dials, text, values, etc.
In Error Console: after the long http://mywebsite/emoncms/dashboard/set.json?.........
Failed to load resource: the server responded with a status of 403 (Forbidden)
When I click on the long .json link, this is the error: You don't have permission to access /emoncms/dashboard/set.json on this server.
I added:
[suhosin]
suhosin.get.max_value_length = 16000
to the php.ini file with no luck.
Tested on OSX Safari 6.0.1, Firefox 15.0.1, and Win7 pro, IE 9.0.
Re: Emoncms Install - Dashboard Save not working
Hmm thats a strange error to get at that point. It suggests a server setup error rather than an issue due to emoncms.
Did you set up mod rewrite fully, see 4th step here: http://openenergymonitor.org/emon/emoncms/installing-ubuntu-debian-pi
Although I would expect a page does not exist error.
What happens if you click on the inputs or feeds tab in emoncms?
Did you try step 7: sudo chown yourusername www
Re: Emoncms Install - Dashboard Save not working
I've added a few different types of:
<IfModule mod_rewrite.c>
RewriteEngine on
# Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>
To the .htaccess file. No Luck (My host provides mod_rewrite by default)
It only happens when trying to save a dashboard with visualizations. Everything else works just fine. Here's the error console output:
Failed to load resource: the server responded with a status of 403 (Forbidden)
Thanks for the help,
Pat
Re: Emoncms Install - Dashboard Save not working
Ahh ok, If everything else works then its not mod_rewrite, sounds like it may be the same error as this http://openenergymonitor.org/emon/node/1108
I have just spotted what I think it may be, as in your debug info there, the content is being sent in the URL rather than the body as it should. I have just changed it and updated the github repo.
Re: Emoncms Install - Dashboard Save not working
Thanks for checking into this. I have installed the new version and still get the same error with both Safari and Firefox. Here is the json string that generates the error:
http://www.***.com/iSYSremote/dashboard/set.json?&content=%3Cdiv%20id%3D...