Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard changes not saved -- URI too long #717

Closed
anonymous-matomo-user opened this issue May 14, 2009 · 13 comments
Closed

Dashboard changes not saved -- URI too long #717

anonymous-matomo-user opened this issue May 14, 2009 · 13 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@anonymous-matomo-user
Copy link

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-matomo-user
Copy link
Author

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
Copy link
Contributor

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-matomo-user
Copy link
Author

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
Copy link
Contributor

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

@anonymous-matomo-user
Copy link
Author

-- 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-matomo-user
Copy link
Author

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

@robocoder
Copy link
Contributor

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-matomo-user
Copy link
Author

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

@robocoder
Copy link
Contributor

ok this sounds like #723

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

@anonymous-matomo-user
Copy link
Author

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

  • random.christoph-egger.org/snip

@till
Copy link

till commented May 16, 2009

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

414 REQUEST URI too large

@mattab
Copy link
Member

mattab commented May 16, 2009

we shoult POST the dashboard layout update

@mattab
Copy link
Member

mattab commented May 16, 2009

in [1123]

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

4 participants