Problems, need help? Have a tip or advice? Post it here.
20 posts Page 2 of 2
I suppose you get that error when you try to save a page. right?

If yes, then this, in all likelihood, would be a problem with some hardened security mod used by your web server (e.g. suhosin). You'll find a few posts on this forum discussing this problem.

Basically, certain words in the text that you input through editable regions (e.g. 'cmd') make the security mod go into a paranoid tizzy and block the form submission.

To test it out do the following in the edit screen of the problem page -
empty out all text and save. It should save fine. Then test by adding the same text little by little. You'll spot the problem word.

If this is the case, I am afraid it is not Couch related - rather it related to your web server.
KK wrote: I suppose you get that error when you try to save a page. right?

If yes, then this, in all likelihood, would be a problem with some hardened security mod used by your web server (e.g. suhosin). You'll find a few posts on this forum discussing this problem.

Basically, certain words in the text that you input through editable regions (e.g. 'cmd') make the security mod go into a paranoid tizzy and block the form submission.

To test it out do the following in the edit screen of the problem page -
empty out all text and save. It should save fine. Then test by adding the same text little by little. You'll spot the problem word.

If this is the case, I am afraid it is not Couch related - rather it related to your web server.


i found some old post about that:

viewtopic.php?f=4&t=6927

"The only way to circumvent this problem is to remove the 'http://', 'https://' from the editable regions (and add them while outputting the values on the webpage). I have done so for testing purpose and the template is getting saved without a hitch."

how to remove http, https?

tnx again ;)
how to remove http, https?
In the post that you mentioned, the 'https://' was contained in the default text of the editable region (i.e. the text within the opening and closing cms:editable tags>
<cms:editable name='facebook_page' group='social_media' label='Facebook' type='text' >https://facebook.com/mediumwideshot</cms:editable>

It is the same as manually inputting this text within the editable region.

In your case you need to take a look at the text that you input in the regions.
As I suggested before, try deleting all text and see if the page saves. Then try adding more and more of the same text and see at what point you get the error.
KK wrote:
how to remove http, https?
In the post that you mentioned, the 'https://' was contained in the default text of the editable region (i.e. the text within the opening and closing cms:editable tags>
<cms:editable name='facebook_page' group='social_media' label='Facebook' type='text' >https://facebook.com/mediumwideshot</cms:editable>

It is the same as manually inputting this text within the editable region.

In your case you need to take a look at the text that you input in the regions.
As I suggested before, try deleting all text and see if the page saves. Then try adding more and more of the same text and see at what point you get the error.


Ok. I will take a look later. But i know that i don't have http/https in <cms:editable name>
misho86 wrote:
KK wrote:
how to remove http, https?
In the post that you mentioned, the 'https://' was contained in the default text of the editable region (i.e. the text within the opening and closing cms:editable tags>
<cms:editable name='facebook_page' group='social_media' label='Facebook' type='text' >https://facebook.com/mediumwideshot</cms:editable>

It is the same as manually inputting this text within the editable region.

In your case you need to take a look at the text that you input in the regions.
As I suggested before, try deleting all text and see if the page saves. Then try adding more and more of the same text and see at what point you get the error.


Ok. I will take a look later. But i know that i don't have http/https in <cms:editable name>


KK, i only have this in snippets/index.html

<cms:pages masterpage='index.php' limit='3'>
<div class="kratka-vijest">
<div class="slika-vijest">
<img class="slika-vijest" src="<cms:show prva_slika />" />
</div>
<h3><cms:date k_page_date format='d.m.Y.' /><a href="<cms:show k_page_link />"><cms:show k_page_title class=""/></a></h3>

<cms:excerpt count='50'>
<cms:show vijesti_velike /></cms:excerpt>
<div class="procitaj-vise"><a href="<cms:show k_page_link />">Pročitaj više</a>
Can you please tell me where exactly are you getting the error?
In the admin-panel while saving a page or
The front-end (i.e. the site) while viewing a page?
KK wrote: Can you please tell me where exactly are you getting the error?
In the admin-panel while saving a page or
The front-end (i.e. the site) while viewing a page?


Sometimes when i'm saving in the admin panel.
OK, so keep a note of which page in admin-panel throws this error.

Edit it and then remove all contents from its editable regions (except name and title).
Save.
It should save now.

Now add the same content as before but only a part of it.
Save.
If ok, add some more content.

Do so until you get the error again.
You'll come to know which word in the content is troubling your web server.
KK wrote: OK, so keep a note of which page in admin-panel throws this error.

Edit it and then remove all contents from its editable regions (except name and title).
Save.
It should save now.

Now add the same content as before but only a part of it.
Save.
If ok, add some more content.

Do so until you get the error again.
You'll come to know which word in the content is troubling your web server.


This sometimes happend on the index.php(global.php) which is news section. Before that problem was with picture field. Maybe problem is solved. Today i didn't get any error.
misho86 wrote:
KK wrote: OK, so keep a note of which page in admin-panel throws this error.

Edit it and then remove all contents from its editable regions (except name and title).
Save.
It should save now.

Now add the same content as before but only a part of it.
Save.
If ok, add some more content.

Do so until you get the error again.
You'll come to know which word in the content is troubling your web server.


This sometimes happend on the index.php(global.php) which is news section. Before that problem was with picture field. Maybe problem is solved. Today i didn't get any error.


I try for about 50 times and i didn't get any error. Maybe error is fix because i had a cms template in .html
20 posts Page 2 of 2