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 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

Silverstripe on 1and1 - Form problem

Go to End


David Fraser

Community Member, 2 Posts

7 January 2008 at 8:40am

I'm writing a Silverstripe website to be hosted on 1and1 in the UK. We've come across a major problem with the Forms... but only on the 1and1 site.

In the development environment everything was fine. However, when viewing forms on the 1and1 site, we can only see four fields in total, usually the first two and last two. Any others simply do not appear. They missing fields are not in the database after saving.

The exact same code and exported/imported database works fine on the development box here! (which is a MAMP installation on Leopard 10.5.1).

I'm using version Silverstripe 2.2.1, and I've also reproduced the problem in 2.2.0

I have been looking on the forums here, but I haven't found any mention of this issue. Has anyone else come across it?

You can see the phpinfo for the server at:

The .htaccess file in the silverstripe root directory looks like this:

AddType x-mapp-php5 .php
RewriteEngine On
RewriteBase /aga/
Options +FollowSymLinks

RewriteRule \.js$ - [L]
RewriteRule \.css$ - [L]
RewriteRule \.png$ - [L]
RewriteRule \.jpg$ - [L]
RewriteRule \.gif$ - [L]
RewriteRule \.php$ - [L]

RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]

Any help would be appreciated!

-- DF