Ticket #415 (closed defect: fixed)
Import of view on live not working
Reported by: | laura | Owned by: | jim |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Drupal modules & settings | Keywords: | views |
Cc: | chris | Estimated Number of Hours: | 0.0 |
Add Hours to Ticket: | 0 | Billable?: | yes |
Total Hours: | 0.75 |
Description
Hiya Jim,
Whilst adding another display and some more reports to initiative contacts in views, things were running slow, so then tried again, so had one too many.
Tried to remove the additional display but it then deleted the whole view for initiative contacts (my wrong doing - hot and stuffy day here!).
Went into dev, exported view, but cannot import the view on live.
Tried also as UID1 also (just incase was a user 1 only capability) and no go - after trying to import just says in red message box - Paste view code here field is required. (tried several times, with straight copy/paste, and saving into txt file then copy paste too).
Any ideas on how I being can import the view back from the dev copy? Is it a permissions thing somewhere that I haven't spotted to do with php settings, or some sort of caching issue?
Cheers
Laura
This was caused by the Suhosin PHP security doo-daa blocking a valid request because the post was too long.
I've upped the values in /etc/php5/apache2/conf.d/suhosin.ini like so:
So that's 200Kb per post, which is fair for a content-heavy site.
I imported the view from my machine, so Laura the view is here: https://www.transitionnetwork.org/admin/build/views/edit/initiative_contacts