Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Dashboard changes not saved -- URI too long #717

Closed
anonymous-piwik-user opened this Issue · 13 comments

4 participants

@anonymous-piwik-user

on current Piwik 0.2.35 all the changes I make to my dashboard are not saved. Reloading the page, switching to other tabs and back or logging in+out restores the old dashboard layout. This effectifely prevents me from trying the workaround for #709

@anonymous-piwik-user

This is both, Opera 10.0 and Iceweasel 3.0.?.

It seems to work for some widgets but adding the user_browser or last_visitors_graph view, the changes are lost on any kind of reload

@robocoder

Is this as an anonymous user or when logged in?

Have you tried clearing your browser cache and tmp/templates_c? Others have reported success on the forum.

@anonymous-piwik-user

just rm -rf -ed the whole content of tmp/ and purged my browsers cache and cookies (the Iceweasel(Firefox) one), the problem seems to persist. This is a logged-in user, no anonymous access

@robocoder

Can you do a select query on your piwik_user_dashboard table and attach the output?

@anonymous-piwik-user
-- phpMyAdmin SQL Dump
-- version 2.11.8.1deb5
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Erstellungszeit: 14. Mai 2009 um 19:02
-- Server Version: 5.0.51
-- PHP-Version: 5.2.6-1+lenny3

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

--
-- Datenbank: `cnemesissql3`
--

-- --------------------------------------------------------

--
-- Tabellenstruktur fr Tabelle `piwik_user_dashboard`
--

CREATE TABLE IF NOT EXISTS `piwik_user_dashboard` (
  `login` varchar(100) NOT NULL,
  `iddashboard` int(11) NOT NULL,
  `layout` text NOT NULL,
  PRIMARY KEY  (`login`,`iddashboard`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Daten fr Tabelle `piwik_user_dashboard`
--

INSERT INTO `piwik_user_dashboard` (`login`, `iddashboard`, `layout`) VALUES
('steffen', 1, 'VisitsSummary.getLastVisitsGraph~VisitorInterest.getNumberOfVisitsPerVisitDuration~ExampleFeedburner.feedburner|Referers.getKeywords~Referers.getWebsites~UserSettings.getBrowser|Referers.getSearchEngines~VisitTime.getVisitInformationPerServerTime~ExampleRssWidget.rssPiwik|'),
('christoph', 1, '[[{"uniqueId":"widgetActionsgetActions","parameters":{"module":"Actions","action":"getActions"}}],[],[{"uniqueId":"widgetReferersgetSearchEngines","parameters":{"module":"Referers","action":"getSearchEngines"}},{"uniqueId":"widgetReferersgetKeywords","parameters":{"module":"Referers","action":"getKeywords"}},{"uniqueId":"widgetReferersgetWebsites","parameters":{"module":"Referers","action":"getWebsites"}}]]');
@anonymous-piwik-user

Removing the line of the relevant user ('christoph') in the hope of it getting auto-recreated on modifications did not work

@robocoder

Thanks christoph. I wasn't going to suggest deleting that row -- I don't recall at this point whether or not it is recreated (ala INSERT).

For anonymous users, I believe Piwik stores the dashboard layout in $_SESSION. Investigating...

@anonymous-piwik-user

recreation should work as not all registered users here have an entry in the db

@robocoder

ok this sounds like #723

the dashboard does recreate the layout. so deleting the row from the piwik_user_dashboard should have worked.

@anonymous-piwik-user

You're probably right, the corresponding serverlog has loads of lines like

  • random.christoph-egger.org/snip
@till

Just for the search, because I did not find this before:

414 REQUEST URI too large
@mattab
Owner

we shoult POST the dashboard layout update

@mattab
Owner

in [1123]

@anonymous-piwik-user anonymous-piwik-user added this to the RobotRock milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.