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

Patch: Fixes undefined variables in sapphire/forms


Go to End


3 Posts   2385 Views

Avatar
elijahlofgren

Google Summer of Code Hacker, 222 Posts

16 May 2007 at 9:44am

This patch fixes some undefined variable errors that I found and fixed in sapphire/forms: http://www.elijahlofgren.com/silverstripe/patches/Fix-undefined-form-vars-silverstripe.2.0.DailyBuild.2007-05-15.patch

Hope this helps,

Elijah

Avatar
elijahlofgren

Google Summer of Code Hacker, 222 Posts

17 May 2007 at 8:44am

It looks like 1 line was missed when this patch was applied.

I get this error:
"Notice: Undefined variable: Type in /var/www/silverstripe/sapphire/forms/CheckboxField.php on line 38"

This 1 line change fixes the that error:
http://www.elijahlofgren.com/silverstripe/patches/Fix-Checkbox-Type-Error-silverstripe.2.0.DailyBuild.2007-05-16.patch

Avatar
elijahlofgren

Google Summer of Code Hacker, 222 Posts

24 May 2007 at 10:28am

:: bump :: :)

In the latest daily build: silverstripe.2.0.DailyBuild.2007-05-23

I still need to apply this patch to fix 4 errors like:
"Notice: Undefined variable: Type in /var/www/silverstripe/sapphire/forms/CheckboxField.php on line 38"

I'd appreciate it if you would apply this: http://www.elijahlofgren.com/silverstripe/patches/Fix-Checkbox-Type-Error-silverstripe.2.0.DailyBuild.2007-05-16.patch

Thanks,

Elijah