App 500 errors when Model_* doesnt exist when it is used in a View #1

Closed
opened 2015-10-09 06:39:38 +00:00 by deon · 5 comments
deon commented 2015-10-09 06:39:38 +00:00 (Migrated from gitlab.dege.au)

Commit deon/lnkohana@31b9d9 introduced the ability to have a Model_DEFAULT, however, if a view uses the model (potentially by using Table), the server errors with a 500.

Some output is rendered, but nothing in the apache log or the application log.

Commit deon/lnkohana@31b9d9 introduced the ability to have a Model_DEFAULT, however, if a view uses the model (potentially by using [Table](classes/lnApp/Table.php)), the server errors with a 500. Some output is rendered, but nothing in the apache log or the application log.
deon commented 2015-10-09 06:40:24 +00:00 (Migrated from gitlab.dege.au)

Added ~7 label

Added ~7 label
deon commented 2015-10-09 06:43:11 +00:00 (Migrated from gitlab.dege.au)

Work around is to define the Model_ file for the table.

Work around is to define the Model_ file for the table.
deon commented 2015-10-16 01:58:29 +00:00 (Migrated from gitlab.dege.au)

It appears to bomb out when class_exist('Controller_Search'), which currently is used in page.php. The problem must be in the autoload routine.

It appears to bomb out when `class_exist('Controller_Search')`, which currently is used in [page.php](/views/theme/baseadmin/page.php#L49). The problem must be in the autoload routine.
deon commented 2015-10-16 02:31:15 +00:00 (Migrated from gitlab.dege.au)

mentioned in commit ibm/butterfly@e201527490

mentioned in commit ibm/butterfly@e201527490730ab7139d5560d49875afdfcd258d
deon commented 2015-10-16 02:32:31 +00:00 (Migrated from gitlab.dege.au)

Status changed to closed

Status changed to closed
This repo is archived. You cannot comment on issues.
No Label
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: deon/lnapp#1
No description provided.