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.

All other Modules /

Discuss all other Modules here.

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

Moved site, Userforms not working


Go to End


6 Posts   1569 Views

Avatar
doubleedesign

Community Member, 19 Posts

10 June 2011 at 10:47pm

I moved a site from one server to another, had to fix a few things and rebuild the database a few times and then everything seemed to be fine, until I looked at the Contact Us page, which was set up using the Userforms module.

The UserDefinedForm page type shows up fine, and all the tabs for the module show up in the CMS. Only the "Form" tab now shows up blank and the form doesn't show on the new site. What could I have done wrong when moving the site to cause this to happen?

Avatar
JonShutt

Community Member, 244 Posts

26 July 2011 at 9:24pm

Hi, just wondering if you ever solved this. i've got exactly the same problem.
i didn't 'move' the site though, just been setting up a site on subdomain of one of my other sites...
I just installed the userforms module, and like you say - the 'form' tab is just totally blank.

i've checked the html source, and the tab is just an empty div...

Avatar
JonShutt

Community Member, 244 Posts

26 July 2011 at 10:33pm

solved::

although i have no idea why...

i uploaded files for the module through cpanel and exracted them on the server, instead of ftp'ing up. refresh cms: no change

then i added "Director::set_environment_type("dev");" to my config file. refresh cms: works!

so then i removed "Director::set_environment_type("dev");" from the config file, and it continued to work....

Avatar
doubleedesign

Community Member, 19 Posts

27 July 2011 at 11:11am

Hi jonshutt, thank you so much for posting this, I will try it out!

Avatar
doubleedesign

Community Member, 19 Posts

2 August 2011 at 1:14am

Still no luck :(
Anyone else care to venture a guess?

Avatar
JonShutt

Community Member, 244 Posts

29 September 2011 at 7:25pm

Hi - me back again... got the same problem again. last time i unzipped on the server, this time i don't have access to do that, so ftp'd up the files. going to dev mode didn't fix it this time... has anyone one been encountering this problem?
it doesn't seem to cuase any errors... just no content...