Can't add specific text to content SOLVED!!

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
tester
Posts: 76
Joined: Mon 3. Jul 2006, 20:36
Location: Århus, Denmark

Can't add specific text to content SOLVED!!

Post by tester »

Hey!

I've run into a weird problem - I think. Whenever or wherever I try to add this code:

Code: Select all

<div id="kulturretur">
<div class="hcss_menu">
<ul class="act_path">
    <li class="sub_ul"><a href="http://www.kulturretur.dk">KulturReturs teams</a>
    <ul>
        <li class="sub_no"><a href="http://www.team-island.dk">Team Island</a></li>
        <li class="sub_no"><a href="http://www.team-groenland.dk">Team Grønland</a></li>
        <li class="sub_no"><a href="http://www.team-rumaenien.dk">Team Rumænien</a></li>
    </ul>
    </li>
</ul>
</div>
</div>
I get this result when I try to update or save the content.
Bad Request

Your browser sent a request that this server could not understand.
(Error code 400).

I've tried to add the text as content type "html", "plain text" and "wysiwyg html" and no matter what I get same response from the browser

I'm running phpwcms 1.3.5

Any ideas? :?
tester
Last edited by tester on Tue 21. Oct 2008, 10:16, edited 1 time in total.
User avatar
santscho
Posts: 1442
Joined: Mon 2. Apr 2007, 08:56
Location: Schweiz

Re: Can't add specific text to content

Post by santscho »

I do not think, that this is a error of phpwcms.

I've tried to put your html code in a content part html (phpwcms 1.3.9). Everything works fine.
Maybe you provide more information like browser you are using, operating system...
and maybe also the url of this page. Then we can try to find the error with help of "tidy" or "web developer".

And try this: copy this code in a plain html-file. upload the file on your webserver and open it with your browser. what result do you get?

Open the website/testpage with IE-Netrenderer http://ipinfo.info/netrenderer/

Ralph
Schon Konfuzius sagte: "Sei kein YAML-Lappen". YAML-phpwcms-Integration auf http://www.yaml.phpwcms.org
tester
Posts: 76
Joined: Mon 3. Jul 2006, 20:36
Location: Århus, Denmark

Re: Can't add specific text to content

Post by tester »

Hi!

Thanx Ralph.
It has been tested with different versions of IE and Firefox on Windows.
I've tried with Safari and Firefox on Mac OS X.

The code is running on
http://www.team-rumaenien.dk and http://www.team-groenland.dk
Both phpwcms 1.3.9 and different server.

The problem is at http://www.team-island.dk (phpwcms 1.3.5) and I've tried to put the code
into the template without any success.

Based on your reply I tried to upload the source code of http://www.team-island.dk/index.php as http://www.team-island.dk/test.html
with the problematic code embedded and guess what - no problem - the code rendered nicely.

Any workarounds besides updating :?:

tester
User avatar
santscho
Posts: 1442
Joined: Mon 2. Apr 2007, 08:56
Location: Schweiz

Re: Can't add specific text to content

Post by santscho »

The problem is at http://www.team-island.dk (phpwcms 1.3.5) and I've tried to put the code
into the template without any success.
From my side (OSX 10.5.5 | Safari 3.1.2 | FireFox 3.0.3) no problems with this page. Correct output of a horizontal dropdown menu. Also no error message.
:?:
Schon Konfuzius sagte: "Sei kein YAML-Lappen". YAML-phpwcms-Integration auf http://www.yaml.phpwcms.org
tester
Posts: 76
Joined: Mon 3. Jul 2006, 20:36
Location: Århus, Denmark

Re: Can't add specific text to content

Post by tester »

Guess I didn't describe my problem good enough :oops:

There is no problem watching the page.
The problem arises when I try to update the page
with the code above from within phpwcms.

The code is not at the page now - I can't get it there.
Every time I try I get the error 403 and nothing gets updated.

tester
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Can't add specific text to content

Post by flip-flop »

I have tested your snippet in an v1.3.5 iso installation, it is running well for me.

I can´t solve your problem. I think an update to v1.3.9 is one option for you.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

Re: Can't add specific text to content

Post by marcus@localhorst »

when I read the error message Bad Request, I thinked first on "Bad Behavior" - I have no idea that "Bad Behaviour" affects thr backend. But can you check, that it is turned off in config and try it again? greetings m.
tester
Posts: 76
Joined: Mon 3. Jul 2006, 20:36
Location: Århus, Denmark

Re: Can't add specific text to content

Post by tester »

I don't think bad behaviour has anything to do with the back end.

I managed to get the code uploaded without updating. I split the code in two CP's.

CP #1

Code: Select all

<div id="kulturretur">
CP #2

Code: Select all

<div class="hcss_menu">
<ul class="act_path">
    <li class="sub_ul"><a href="http://www.kulturretur.dk">KulturReturs teams</a>
    <ul>
        <li class="sub_no"><a href="http://www.team-island.dk">Team Island</a></li>
        <li class="sub_no"><a href="http://www.team-groenland.dk">Team Grønland</a></li>
        <li class="sub_no"><a href="http://www.team-rumaenien.dk">Team Rumænien</a></li>
    </ul>
    </li>
</ul>
</div>
</div>
both as HTML.

Thanx to all of you for your effort
:D


tester
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Can't add specific text to content

Post by update »

tester wrote:I don't think bad behavior has anything to do with the back end.
Well, this doesn't seem to be true in every case... I've had such (or similar) errors too in an installation (version 051208) right in the back end every now and then, mainly occurring when using IE6
Updating to a newer version did the trick.
Your solution seems to work? Strange enough.
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
santscho
Posts: 1442
Joined: Mon 2. Apr 2007, 08:56
Location: Schweiz

Re: Can't add specific text to content

Post by santscho »

Yes, that is strange. But I would like to know, if that happen only with this specific code or with all html codes you put in a html cp.
Schon Konfuzius sagte: "Sei kein YAML-Lappen". YAML-phpwcms-Integration auf http://www.yaml.phpwcms.org
tester
Posts: 76
Joined: Mon 3. Jul 2006, 20:36
Location: Århus, Denmark

Re: Can't add specific text to content

Post by tester »

Bad behaviour is set to "0", Claus :), so I guess it doesn't have any influence anyways.

It's only with this specific code. And it doesn't matter what kind of CP i use. HTML, text, code, whatever.
I also tried to put it in the template without any luck.

tester :)
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

Re: Can't add specific text to content

Post by marcus@localhorst »

it's just witchcraft, nothing more :mrgreen:
tester
Posts: 76
Joined: Mon 3. Jul 2006, 20:36
Location: Århus, Denmark

Re: Can't add specific text to content

Post by tester »

The witchcraft continues and I'm getting kind of desperate.


On this page:

http://www.team-island.dk/index.php?8-dage

I'm trying to update "2008" in the headline to "2009". And I can't.

Every time the browser throws a "Bad request" at me when I try.
And I'm just changing the number "8" to a "9" in a WYSIWYG HTML CP.

I would be very glad if anyone has some ideas.

tester
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: Can't add specific text to content

Post by Jensensen »

no idea, sorry, btw:
8 dages grupperejser 2008
seems to be the article headline. my suggestion (--> search engines...): rather use h1

"Bad request" is new since some last weeks updates, i think. What/which version running?

BRING IT UP TO THE DEVELOPERS SCREEN AND POST IT HERE: http://code.google.com/p/phpwcms/issues/list
Last edited by Jensensen on Mon 20. Oct 2008, 22:23, edited 1 time in total.
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
tester
Posts: 76
Joined: Mon 3. Jul 2006, 20:36
Location: Århus, Denmark

Re: Can't add specific text to content

Post by tester »

Hi Jensensen!

Vesion 1.3.5

And the message I receive is:
"Bad Request

Your browser sent a request that this server could not understand."
tester
Post Reply