i'm trying to use grocery crud as an adamin area to handle deleting and editing files so i want to make the grocery crud the default controller
i call the controler file "main"
and the view file "file.php"
i justed followed your tutorial
so i edited the routes.php as the following
$route['default_controller'] = "main.php";
when i load the homepage i get the following errors
[b] A PHP Error was encountered[/b]
Severity: Notice
Message: Undefined variable: css_files
Filename: views/file.php
Line Number: 10
[b] A PHP Error was encountered[/b]
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: views/file.php
Line Number: 10
[b] A PHP Error was encountered[/b]
Severity: Notice
Message: Undefined variable: js_files
Filename: views/file.php
Line Number: 14
[b] A PHP Error was encountered[/b]
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: views/file.php
Line Number: 14
[b] A PHP Error was encountered[/b]
Severity: Notice
Message: Undefined variable: output
Filename: views/file.php
Line Number: 51
best regards,
Abdalla