sleeping-owl / admin

Administrative interface builder for Laravel
http://sleeping-owl.github.io/
MIT License
503 stars 259 forks source link

Installed and return 500 error #312

Closed zhangyc310 closed 8 years ago

zhangyc310 commented 8 years ago

Hello, This is greate soft, and I love it , I had seeking long for something like it. But I have some error.

I'm mac os x EI version, php 5.5.30, and I install mcry...

Install steps:

  1. I install laravel 5.1 composer require "laravel/installer"
  2. install sleeping-owl/admin composer require sleeping-owl/admin
  3. edit config/app.php do like document

Laravel 5.1.*

step a:

SleepingOwl\Admin\AdminServiceProvider::class,
Illuminate\Html\HtmlServiceProvider::class,

step b:

'Admin'             => SleepingOwl\Admin\Admin::class,
'AdminAuth'         => SleepingOwl\AdminAuth\Facades\AdminAuth::class,
'AdminRouter'       => SleepingOwl\Admin\Facades\AdminRouter::class,
'AssetManager'      => SleepingOwl\Admin\AssetManager\AssetManager::class,
'Column'            => SleepingOwl\Admin\Columns\Column::class,
'FormItem'          => SleepingOwl\Admin\Models\Form\FormItem::class,
'ModelItem'         => SleepingOwl\Admin\Models\ModelItem::class,

'Form'      => Illuminate\Html\FormFacade::class,
'Html'      => Illuminate\Html\HtmlFacade::class,
  1. edit .env and config/database.php
  2. run install command with no errors.
$ php artisan vendor:publish
$ php artisan admin:install
  1. apache site configure file.

OK, now in my mysql ,I can see that add 4 tables as belows. image

My Error:

when I visit my url: http://127.0.0.1, it returns 500 error.where to find out the error reasons? cat storage/logs/laravel.log is empty. How can I find out where is my error , please give me some sugguest? need your help.

image

my php version:

$ php -v
PHP 5.5.30 (cli) (built: Oct 23 2015 17:21:45)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies

apache access log:

127.0.0.1 - - [17/Jan/2016:21:03:55 +0800] "GET / HTTP/1.1" 500 - "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36"
127.0.0.1 - - [17/Jan/2016:21:04:16 +0800] "-" 408 - "-" "-"

apache error log is empty.

zhangyc310 commented 8 years ago

delete the public/.htaccess file ,OK