Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#717 closed Bug (fixed)

Dashboard changes not saved -- URI too long

Reported by: christoph Owned by:
Priority: major Milestone: RobotRock
Component: Core Keywords:
Cc: Sensitive:

Description

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

Change History (16)

comment:1 Changed 5 years ago by christoph

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

comment:2 Changed 5 years ago by vipsoft (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.

comment:3 Changed 5 years ago by christoph

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

comment:4 Changed 5 years ago by vipsoft (robocoder)

  • Milestone set to 1- RobotRock

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

comment:5 Changed 5 years ago by christoph

-- 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 für 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 für 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"}}]]');

comment:6 Changed 5 years ago by christoph

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

comment:7 Changed 5 years ago by vipsoft (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...

comment:8 Changed 5 years ago by christoph

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

comment:9 Changed 5 years ago by vipsoft (robocoder)

ok this sounds like #723

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

comment:10 Changed 5 years ago by christoph

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

  • random.christoph-egger.org/snip

comment:11 Changed 5 years ago by vipsoft (robocoder)

  • Summary changed from Dashboard changes not saved to Dashboard changes not saved -- URI too long

comment:12 Changed 5 years ago by till

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

414 REQUEST URI too large

comment:13 Changed 5 years ago by matt (mattab)

we shoult POST the dashboard layout update

comment:14 Changed 5 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

comment:16 Changed 5 years ago by alivenk

Note: See TracTickets for help on using tickets.