This is driving me nuts...
I am trying to create a new page and I can
Enter a Title and save it
Enter a line of text and save it
Try entering a second line and I get
Forbidden
You don't have permission to access /node/26/edit on this server.
Every time I try to save more then one line of body. I can't figure out what is going on. It used to work fine and as far as I know, I did nothing to my setup. I am trying to create the page that error 403 will go to instead of access denied. That is, a page with a message and a login dialog. This error has no theme so I figure it is something Apache is sending me and I haven't touched it in months. Heck, I tested this by creating a throw away page. So long as I do not have a second line of html text, I can save it. I use FCKeditor and If I press enter, it won't save.
I switched from FCKEditor to the plain text editor. I can have a second line if there is no html on any line past the first one. I tried entering a second paragraph tag (<p>) on the same line... no, I get this message again. This issue is hard to research because the terms are way too common.
Examples
Works.
<p>I can't save a page with more then one line on it</p>
Doesn't work
<p>I can't save a page with more then one line on it</p>
<p>I can't save a page with more then one line on it</p>
Works
I can't save a page with more then one line on it
I can't save a page with more then one line on it
works
<p>I can't save a page with more then one line on it</p>
I can't save a page with more then one line on it
Doesn't work
<p>I can't save a page with more then one line on it</p><p>more text same line</p>
What is going on?
PS, to get the code to show, I use amperstand lt; and amperstand gt; for < and >. This is how FCKEditor does it.
Comments
UID 1?
To clarify, you're trying to edit an existing node to add additional content?
Also what is your UID?
If it isn't 1, I suggest taking another look at your role permissions. Make sure you have either "administer nodes", "edit any $type" or "edit own $type" permissions. If this is a CCK field and you have field permissions enabled you'll want to check to make sure you have edit permission for this field as well.
It's UID 1
And I checked, I can't edit existing stuff either. Still searching for answer.
I was afraid of that
UID 1 bypasses all permission checks, so for you to encounter a permissions error something is seriously out of joint.
I had a similar problem
When I had this problem, I created a new file, changed admin/settings/error-reporting to point to the new file, then deleted the old one.
My guess is that when you set the 403 file, it gets copied somewhere -- that it's not using an alias but using a copy of the file instead.
Judy Hallman
Judy Hallman
Never got as far as pointing my 403 error.
It should still be pointed to the default 403. The 403 that I get has a white background so this is being served by Apache or something other than Drupal.
try drupal IRC channel
You can always ask support questions on the Drupal IRC channel. The easiest way for me is to go to http://drupalchat.net/
Any luck?
Have you been able to solve the problem?
I'm wondering if your hosting has changed in any way. Also have you rebuilt your permissions recently? I put together this guide when I was having problems a year ago that you might find helpful:
http://www.juliakm.com/drupal-permissions-issues-debugging-checklist
Resolved
Thank you Julia...
Your number 4 did it.
Path: mysite.com/admin/content/node-settings/rebuild
Sometimes Drupal node permissions get corrupted. When this happens, rebuilding the node permissions can solve the problem. Please be advised that if you have a lot of nodes, this can take a very long time.
I didn't know there was a rebuild permissions thing.
Now to go back to figuring out how to make login time reasonable. The Drupal default is 2 million seconds or 23.1481481 days (google 2,000,000 seconds = ? day) I consider that insane. Now it logs me off in 5 minutes, even if I am doing things. I'd like it to be something like 5 minutes of inactivity, not five minutes period.
same problem
I tried to rebuild permissions but the problem remains the same.
When i save the post it redirects me to page not found !
Please help
mike
Same problem
I'm using UID 1. And i've got the same problem, I tried Julia suggestion but no luck.
Any Idea?
Need clarification
Firstly, version info, please.
Are you saying that, for a given node, you have a rich-text client (WYSIWYG + fcedit or tinyMCE or...?) enabled on a CCK-field. When the rich-text editor is enabled you can only save a single line of text, without regards to the amount of text you originally entered? With the rich-text client disabled, you can save text longer than a single line (what defines a "single line of text?") However, the body field works fine regardless of the rich-text field's client settings? And, were you seeing permissions-related errors?
Thank you very much for the quick response :)
Drupal 6.14
WYSIWYG 6.x-2.0
FCKeditor module 6.x-1.4 and FCKeditor 2.6.5 (I also tried 2.6.. no luck)
what defines a "single line of text?"
- a line of text without <p></p> or <div></div> when you see in Source mode
- if i input the following, the error will occur
<p>1st line</p>
<p>2nd line</p>
When the rich-text editor is enabled you can only save a single line of text, without regards to the amount of text you originally entered?
- yes
However, the body field works fine regardless of the rich-text field's client settings?
- yes
And, were you seeing permissions-related errors?
- it shown as the following
Forbidden
You don't have permission to access /node/add/blah-blah on this server.
Apache/2.2.0 (Fedora) Server at mywebsite.com Port 80
Note:
I tried both FCKeditor/IMCE and TinyMCE/IMCE both got the same result 403.
I created a node for 403 and configured in error reporting. But it went to Apache 403 not the created node.
The CCK text widget
I'm guessing you used CCK for your custom text field? If so, what type of text widget is it; text-field or text-area? (There are 3 other types, but choosing those would have forced a different problem.)
I'm using text-area. I also
I'm using text-area.
I also tried the following...
1.) I created a new content type using CCK text-area and set the Text Processing value to Plain Text and created new content. Still not work.
2.) I removed FCKEditor from WYSIWYG and tried to create new content again. No luck.
3.) I disabled WYSIWYG module and tried to create new content again. Didn't work.
Uncle!
Is this on a live, externally hosted site? Can you replicate this on a development server that's not live? What about locally on a clean install of a new drupal installation? The good news is that I don't see this on a default install (and as user/1) so my guess is there's an underlining data corruption.
Did you find the cause?
We've run into this as well. Did you ever find the cause?
This sound like an apache
This sound like an apache mod_security error. You can verify in your apache error log. Also see this: http://drupal.org/node/695902