Problems, need help? Have a tip or advice? Post it here.
5 posts Page 1 of 1
Hi,

I must be missing something simple. If I have entered data into CouchCMS, then upload a modified version of the page (aboutus.php), all the data is lost in those pages? Is there something in the config or elsewhere that I am missing.

Thanks in advance.
Hello and welcome, DoggaBreff

Under no circumstances should data be lost in Couch.
There are two scenarios (namely renaming/deleting an editable region or a template) where existing data becomes redundant but even in such cases Couch does not simply go ahead and delete the data - it adequately prompts the admin and asks for confirmation.

Can you reproduce the problem repeatedly? If so, could you please list out the exact steps you are taking that leads to the data loss?

Please let us know.

Thanks.
Thanks KK,

Everytime I upload a new versions of the file with this code in it.
Code: Select all
   <!-- Three columns of text below the carousel -->
      <div class="row">
      <cms:editable name='box1_group' label='Box 1' type='group' />
        <div class="span4">
          <img src="<cms:editable name='box1_image' label='Image' width='150' height='150' group='box1_group' type='image'></cms:editable>" class="img-circle" alt=""/>
     <h2><cms:editable name='box1_title' label='Title' group='box1_group' type='text'></cms:editable></h2>
          <p><cms:editable name='box1_text' label='Text' group='box1_group' type='textarea'></cms:editable></p>
          <p><a class="btn" href="<cms:editable name='box1_link' label='Link' group='box1_group' type='text'></cms:editable>">View details &raquo;</a></p>
        </div><!-- /.span4 -->
        <cms:editable name='box2_group' label='Box 2' type='group' />
        <div class="span4">
          <img src="<cms:editable name='box2_image' label='Image' width='150' height='150' group='box2_group' type='image'></cms:editable>" class="img-circle" alt=""/>
          <h2><cms:editable name='box2_title' label='Title' group='box2_group' type='text'></cms:editable></h2>
          <p><cms:editable name='box2_text' label='Text' group='box2_group' type='textarea'></cms:editable></p>
          <p><a class="btn" href="<cms:editable name='box2_link' label='Link' group='box2_group' type='text'></cms:editable>">View details &raquo;</a></p>
        </div><!-- /.span4 -->
        <cms:editable name='box3_group' label='Box 3' type='group' />
        <div class="span4">
          <img src="<cms:editable name='box3_image' label='Image' width='150' height='150' group='box3_group' type='image'></cms:editable>" class="img-circle" alt=""/>
          <h2><cms:editable name='box3_title' label='Title' group='box3_group' type='text'></cms:editable></h2>
          <p><cms:editable name='box3_text' label='Text' group='box3_group' type='textarea'></cms:editable></p>
          <p><a class="btn" href="<cms:editable name='box3_link' label='Link' group='box3_group' type='text'></cms:editable>">View details &raquo;</a></p>
         
        </div><!-- /.span4 -->
      </div><!-- /.row -->



Anything that is in the
Code: Select all
<cms:editable name='box2_text' label='Text' group='box2_group' type='textarea'></cms:editable>

and
Code: Select all
<p><a class="btn" href="<cms:editable name='box3_link' label='Link' group='box3_group' type='text'></cms:editable>">View details &raquo;</a></p>

is deleted, and original text is lost!
Hi,

I used your code but could not replicate the problem.

When you say "upload a new versions of the file", exactly what is changed in the new version? HTML markup or cms:editable definitions?

It seems you can consistently replicate this behaviour, so please do the following -
Keep a copy of the original template. Make changes to the original template and upload. Once you see that the data is gone, please send me over both the versions of the templates (complete files please - not snippets).

Thanks.
It was something I did.. I realized that I had content in the file, which overrode the original data. Thanks for the help!
5 posts Page 1 of 1