Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

url localhost/admin InvalidArgumentException #1036

Open
tikdik opened this issue Jul 5, 2016 · 2 comments
Open

url localhost/admin InvalidArgumentException #1036

tikdik opened this issue Jul 5, 2016 · 2 comments

Comments

@tikdik
Copy link

tikdik commented Jul 5, 2016

There are problems with your administrator.php config: The model config path option must be a valid directory. The settings config path option must be a valid directory. The menu field is required.

at Factory->__construct(object(Validator), object(Validator), array('uri' => 'admin', 'domain' => '', 'middleware' => array(), 'title' => 'Admin', 'model_config_path' => '/home/wwwroot/default/laravel/blog/config/administrator', 'settings_config_path' => '/home/wwwroot/default/laravel/blog/config/administrator/settings', 'menu' => array(), 'permission' => object(Closure), 'use_dashboard' => false, 'dashboard_view' => '', 'home_page' => '', 'back_to_site_path' => '/', 'login_path' => 'auth/login', 'logout_path' => false, 'login_redirect_key' => 'redirect', 'global_rows_per_page' => '20', 'locales' => array())) in AdministratorServiceProvider.php line 92

@tikdik
Copy link
Author

tikdik commented Jul 5, 2016

laravel version 5.2

@tikdik
Copy link
Author

tikdik commented Jul 6, 2016

solve it
1.create config/administrator and config/administrator/settings directory
2.in administrator.php, menu array not null.

as the website not work,see the example in code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant