<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #415: Import of view on live not working</title>
    <link>http://localhost:8080/trac/ticket/415</link>
    <description>&lt;p&gt;
Hiya Jim,
&lt;/p&gt;
&lt;p&gt;
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.
&lt;/p&gt;
&lt;p&gt;
Tried to remove the additional display but it then deleted the whole view for initiative contacts (my wrong doing - hot and stuffy day here!).
&lt;/p&gt;
&lt;p&gt;
Went into dev, exported view, but cannot import the view on live.
&lt;/p&gt;
&lt;p&gt;
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).
&lt;/p&gt;
&lt;p&gt;
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?
&lt;/p&gt;
&lt;p&gt;
Cheers
Laura
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>Transition Technology</title>
      <url>/trac/chrome/site/TransitionNetwork-Logo-Web-Small.jpg</url>
      <link>http://localhost:8080/trac/ticket/415</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Sun, 29 Jul 2012 17:18:28 GMT</pubDate>
      <title>hours, status, totalhours changed; cc, resolution set</title>
      <link>http://localhost:8080/trac/ticket/415#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/415#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;cc&lt;/strong&gt;
              &lt;em&gt;chris&lt;/em&gt; added
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.75&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.75&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
This was caused by the Suhosin PHP security doo-daa blocking a valid request because the post was too long.
&lt;/p&gt;
&lt;p&gt;
I've upped the values in &lt;tt&gt;/etc/php5/apache2/conf.d/suhosin.ini&lt;/tt&gt; like so:
&lt;/p&gt;
&lt;pre class="wiki"&gt;; Jim
;suhosin.post.max_value_length = 65000
suhosin.post.max_value_length  = 200000
...
; Jim
;suhosin.request.max_value_length = 65000
suhosin.request.max_value_length  = 200000
&lt;/pre&gt;&lt;p&gt;
So that's 200Kb per post, which is fair for a content-heavy site.
&lt;/p&gt;
&lt;p&gt;
I imported the view from my machine, so Laura the view is here: &lt;a class="ext-link" href="https://www.transitionnetwork.org/admin/build/views/edit/initiative_contacts"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/admin/build/views/edit/initiative_contacts&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>laura</dc:creator>

      <pubDate>Sun, 29 Jul 2012 18:03:40 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/415#comment:2</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/415#comment:2</guid>
      <description>
        &lt;p&gt;
Cheers Jim - once I have Git running all ok, can do via features if needed, tho this is helpful just in case of this sort of stuff happening, being able to import views is good at times! Thanks
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>