Broken page?

Hi Ross,

I have a localhost installation with sample data. I am looking at how lesson planning/unit planning works in Gibbon.

When I try to add a new lesson, it takes me to:
http://localhost/gibbon/index.php?q=/modules/Planner/planner_add.php&date=2015-03-02

at this point, I get “Notice: Undefined variable: row in C:\wamp\www\gibbon\modules\Planner\planner_add.php on line 291”

with the call stack referencing “include( ‘C:\wamp\www\gibbon\modules\Planner\planner_add.php’ )”

Help?

David,

Gibbon was originally coded on a server with PHP Notices suppressed, meaning it was once rife with such errors. We went through a big bug squash a year ago fixed as many of these as we could find. Some still remain, on pages we don’t code on much…like the one you have found.

I have fixed the one you have reported.

For production, it is recommended to turn all errors off from onscreen display. You can always look at the log to see them if you need. For testing, I would turn notices on, unless you are of a mind to report any notices you see to us ; )

Thanks!

Ross