Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

error saving conent due to 403 to ajax request


Go to End


1945 Views

Avatar
adam_B

Community Member, 1 Post

8 November 2008 at 4:26am

Edited: 09/11/2008 9:50am

I installed freshly SS 2.2.3 on two different servers of the same provider, both running apache 2 with mod_rewrite, PHP 5.2.6, and mySQL.

On the one the fresh install works well.

On the other I can create new pages in the CMS but not save any modification or delete pages.
When pressing the "Save & Publish" button SS says "error saving content".

Investigating the AJAX response with Firebug shows:

http://my_server/ss/admin/?executeForm=EditForm  |X|  403
...
<title>403 Forbidden</title>
...

Turning on error mails reveals:

Error: No action button has been clicked in this 
form executon, and no default has been allowed
At line 213 in /var/www/web300/html/ss/sapphire/core/control/Controller.php

user_error(No action button has been clicked in this form executon, and no default has been allowed,256)
line 213 of Controller.php

Controller->run(Array)
line 104 of Director.php

Director::direct(/admin)
line 158 of main.php

Although other requests in the backend to the admin "folder" work, like switching the pages in the CMS or creating new pages.

I suspect it's due to server settings but don't know which. The server should be configured according to "common standards" (whatever this actually is).

Does anyone have a clue what it might be?

Thanks, Adam.