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.

Form Questions /

None of my forms is rendered in my test env, works fine on my dev envs


Reply


788 Views

Avatar
madr

Community Member, 2 Posts

9 December 2010 at 10:16pm

Edited: 09/12/2010 10:24pm

Hi all, you have an opportunity to save my day and potentially learn something new along the way.

I have managed to create a weird problem with forms. In my current project, no forms are rendered despite the facts that I got the $Form variable in place in my templates (which use to be the general explanation for such problems when you search the forums).

What's makes this weird is the fact that it only occur on my test environment:

* http://test.cia-ein.com/Security/login
* http://test.cia-ein.com/clog/cia-now-blogs-with-silverstripe-blog-module/#PageComments_holder

Here is a skitch on it:

I use SVN and have the exact same revision in test and my 2 developer environments, including the externals.

My svn:externals looks like this:

cms/ http://svn.silverstripe.com/open/modules/cms/tags/2.4.2
sapphire/ http://svn.silverstripe.com/open/modules/sapphire/tags/2.4.2
blog/ http://svn.silverstripe.com/open/modules/blog/tags/0.4.1
forum/ http://svn.silverstripe.com/open/modules/forum/tags/0.3.1

svn st -u: 114751

In the attached zip I include my PageCommentInterface.ss and my Page.SS where $Form exists.

My test environment is an Synology DS210j (a NAS). It provides no help according to the logs. The devs are both MAMPs.

UPDATE: What I've tried so far:

* Flush?1 and flush=all. Didn't help.
* drop the database and started over. Didn't help.
* Removed checkout on test and checked it out again. Didn't help.

Any help or input is appreciated!

Attached Files