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.

Archive /

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

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

Silverstripe on 1and1 - Form problem


Reply


1334 Views

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

http://s225854153.websitehome.co.uk/aga/check_info.php

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

### SILVERSTRIPE START ###
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]
### SILVERSTRIPE END ###

Any help would be appreciated!

-- DF