NikoNar / laravel-admin-panel

Admin Panel For PHP Laravel Framework
0 stars 0 forks source link

Installation issues #1

Open adriancampanaro opened 5 years ago

adriancampanaro commented 5 years ago

I tried 'php artisan migrate'

Migrating: 2019_05_23_080811_add_language_id_to_resources

Illuminate\Database\QueryException : SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'language_id' (SQL: alter table reviews add language_id int not null)

at D:\xampp\htdocs\laravel-admin-panel\vendor\laravel\framework\src\Illuminate\Database\Connection.php:664 660| // If an exception occurs when attempting to run a query, we'll format the error 661| // message to include the bindings with SQL, which will make this exception a 662| // lot more helpful to the developer instead of just the database's errors. 663| catch (Exception $e) {

664| throw new QueryException( 665| $query, $this->prepareBindings($bindings), $e 666| ); 667| } 668|

Exception trace:

1 Doctrine\DBAL\Driver\PDOException::("SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'language_id'") D:\xampp\htdocs\laravel-admin-panel\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOStatement.php:119

2 PDOException::("SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'language_id'") D:\xampp\htdocs\laravel-admin-panel\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOStatement.php:117

Please use the argument -v to see more details.

2_ AND php artisan db:seed --class=Codeman\Admin\Database\Seeds\AdminSeeder

ReflectionException : Class Codeman\Admin\Database\Seeds\AdminSeeder does not exist

at D:\xampp\htdocs\laravel-admin-panel\vendor\laravel\framework\src\Illuminate\Container\Container.php:790 786| if ($concrete instanceof Closure) { 787| return $concrete($this, $this->getLastParameterOverride()); 788| } 789|

790| $reflector = new ReflectionClass($concrete); 791| 792| // If the type is not instantiable, the developer is attempting to resolve 793| // an abstract type such as an Interface or Abstract Class and there is 794| // no binding registered for the abstractions so we need to bail out.

Exception trace:

1 ReflectionClass::__construct("Codeman\Admin\Database\Seeds\AdminSeeder") D:\xampp\htdocs\laravel-admin-panel\vendor\laravel\framework\src\Illuminate\Container\Container.php:790

2 Illuminate\Container\Container::build("Codeman\Admin\Database\Seeds\AdminSeeder") D:\xampp\htdocs\laravel-admin-panel\vendor\laravel\framework\src\Illuminate\Container\Container.php:667

Please use the argument -v to see more details.

NikoNar commented 5 years ago

Thank you for the issue report, I'll fix it ASAP.