Giter Site home page Giter Site logo

install issue? about laraadmin HOT 17 CLOSED

dwijitsolutions avatar dwijitsolutions commented on August 28, 2024
install issue?

from laraadmin.

Comments (17)

gdbhosale avatar gdbhosale commented on August 28, 2024

Hello kirchaj,

You need to provide your "view column name" in migrations.
It is necessary for datatables show item link.
Generally we use that column as "title", "name", "username"

from laraadmin.

kirchaj avatar kirchaj commented on August 28, 2024

where is that done. All I am doing is running the install as below

C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin>php artisan la:install
LaraAdmin installation started...
from: C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor/dwij/laraadmin/src/Installs to: C:\BitNami\wampstack-5.5.28-0\apach

This process may change/append to following of your existing project files:

     app/Http/routes.php                                                                                                           
     app/User.php                                                                                                                  
     database/migrations/2014_10_12_000000_create_users_table.php                                                                  
     gulpfile.js                                                                                                                   

Please take backup or use git. Do you wish to continue ? (yes/no) [yes]:

Generating Controllers...
Generating Models...
Appending routes...
Generating Config...
Generating LaraAdmin Public Assets...
Generating migrations...
Generating resources: assets + views...
Generating Utilities...
Running migrations...
LAInstall::handle exception: exception 'Exception' with message 'Unable to generate migration for Students : Invalid view_column_name.
owercase name.'' in C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor\dwij\laraadmin\src\Models\Module.php:35
Stack trace:

from laraadmin.

gdbhosale avatar gdbhosale commented on August 28, 2024

Hello kirchaj,

I understood your concern.

This bug is fixed in version 1.0.5
Please update the package and check again.
This will change your earlier file structure a little.
Have a backup before trying.
composer update dwij/laraadmin

Best Regards,

from laraadmin.

kirchaj avatar kirchaj commented on August 28, 2024

Thanks. I did the update and the problem still existed. I deleted the migrations and ran again. It then produced these errors.

Generating Controllers...
Generating Models...
Appending routes...
Generating Config...
Generating LaraAdmin Public Assets...
Generating migrations...
Generating resources: assets + views...
Generating Utilities...
Running migrations...
Nothing to migrate.
Creating Super Admin Role...
LAInstall::handle exception: exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'hod' in 'field list
'' in C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor\laravel\framework\src\Illuminate\Database\Connection.php:441
Stack trace:
#0 C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor\laravel\framework\src\Illuminate\Database\Connection.php(441): PDO->prepare('i
nsert into de...') #1 C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor\laravel\framework\src\Illuminate\Database\Connection.php(706): Illuminate\Data base\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'insert intode...', Array)
#2 C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor\laravel\framework\src\Illuminate\Database\Connection.php(669): Illuminate\Data
base\Connection->runQueryCallback('insert into de...', Array, Object(Closure)) #3 C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor\laravel\framework\src\Illuminate\Database\Connection.php(442): Illuminate\Data base\Connection->run('insert intode...', Array, Object(Closure))
#4 C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor\laravel\framework\src\Illuminate\Database\Connection.php(398): Illuminate\Data
base\Connection->statement('insert into de...', Array) #5 C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php(2039): Illuminate\ Database\Connection->insert('insert intode...', Array)
#6 C:\BitNami\wampstack-5.5.28-0\apache2\htdocs\laraadmin\vendor\dwij\laraadmin\src\Commands\LAInstall.php(113): Illuminate\Database\Query\Buil
der->insert(Array)

from laraadmin.

gdbhosale avatar gdbhosale commented on August 28, 2024

Hi kirchaj,

You are getting this error because of old database table for departments.

Remove old migrations file from project:
2016_05_26_050000_create_modules_table.php
2016_05_26_055000_create_module_field_types_table.php
2016_05_26_060000_create_module_fields_table.php
2016_05_26_064446_create_roles_table.php
2016_05_26_082240_create_departments_table.php
Please take backup of database and run following commands:

composer update dwij/laraadmin Make sure version is either dev-master or 1.0.7
composer dump-autoload
php artisan migrate:refresh
php artisan la:install

This will definitely solve this issue.

I am very sorry for your time.
But your efforts gives me inspiration to make this project better.

Thanks for your support.

I am reopening this issue. Let me know soon, if you succeed with installation.

Best Regards,

from laraadmin.

gdbhosale avatar gdbhosale commented on August 28, 2024

Issues successfully resolved in version 1.0.10

from laraadmin.

rafasottam avatar rafasottam commented on August 28, 2024

$ php artisan migrate:refresh
Rolled back: 2016_10_06_115413_create_la_configs_table
Rolled back: 2016_09_22_110008_role_module_table
Rolled back: 2016_09_22_105958_role_module_fields_table
Rolled back: 2016_09_10_163520_create_permission_role_table
Rolled back: 2016_09_10_163337_create_permissions_table
Rolled back: 2016_07_07_134058_create_menus_table
Rolled back: 2016_07_07_134058_create_backups_table
Rolled back: 2016_07_06_1406376_create_industry_types_table
Rolled back: 2016_07_06_140637_create_organizations_table
Rolled back: 2016_07_05_115343_create_role_user_table
Rolled back: 2016_05_26_064446_create_roles_table
Rolled back: 2016_05_26_064007_create_employees_table
Rolled back: 2016_05_26_064006_create_departments_table
Rolled back: 2014_12_01_000000_create_uploads_table
Rolled back: 2014_10_12_100000_create_password_resets_table
Rolled back: 2014_10_12_000000_create_users_table
Rolled back: 2014_05_26_060000_create_module_fields_table
Rolled back: 2014_05_26_055000_create_module_field_types_table
Rolled back: 2014_05_26_050000_create_modules_table

[ErrorException]
Undefined offset: 0

Seguindo estes passos, me é apresentado este erro.

from laraadmin.

azarzaza avatar azarzaza commented on August 28, 2024

from laraadmin.

RSAAUTHENTICATIONPANKAJ avatar RSAAUTHENTICATIONPANKAJ commented on August 28, 2024
  1. when i run php artisan la:install then why below bug come?

[Exception]
LAInstall::handle Unable to install : unlink(/home/pankaj/Desktop/laraadmin
/app/Http/Controllers/LA/BackupsController.php): Permission denied

  1. when i have run php artisan migrate:refresh and then below why bug comming ?
    [ErrorException]
    Invalid argument supplied for foreach()

from laraadmin.

azarzaza avatar azarzaza commented on August 28, 2024

from laraadmin.

RSAAUTHENTICATIONPANKAJ avatar RSAAUTHENTICATIONPANKAJ commented on August 28, 2024

Azarzaza sir, i again install the laraadmin but this error comes?
la1$ php artisan serve
PHP Fatal error: Class 'Dwij\Laraadmin\LAProvider' not found in /home/pankaj/la1/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 146

but i defined the class Dwij\Laraadmin\LAProvider::class, in config/app.php

from laraadmin.

azarzaza avatar azarzaza commented on August 28, 2024

from laraadmin.

RSAAUTHENTICATIONPANKAJ avatar RSAAUTHENTICATIONPANKAJ commented on August 28, 2024

Thank you soo much sir, now its fine but when i hits the localhost:8000/admin then again bug
BadMethodCallException in Repository.php line 367:
This cache store does not support tagging.

from laraadmin.

azarzaza avatar azarzaza commented on August 28, 2024

from laraadmin.

RSAAUTHENTICATIONPANKAJ avatar RSAAUTHENTICATIONPANKAJ commented on August 28, 2024

Here its working fine, Thanks for supporting me

from laraadmin.

RSAAUTHENTICATIONPANKAJ avatar RSAAUTHENTICATIONPANKAJ commented on August 28, 2024

when creating module
Loyalties
Model doesn't exists Items
why this is came?
and also in la editor menu this bug is come
invalidArgumentException in FileViewFinder.php line 137:
View [la.editor.index] not found.
please help me

from laraadmin.

mahfoudfx avatar mahfoudfx commented on August 28, 2024

First, I want to thank you for your great project.
I am under Windows 10 1704 x64, with Laragon Full 3.13. php 7.1.7 vc14, Apache httpd 2.4.27.
I am following installation instructions http://laraadmin.com/docs/1.0 .
At the 5th step of installing LaraAdmin Package, when executing this command :
"php artisan la:install" I get the following errors:
C:\laragon\www\la1>php artisan la:install
�[37;41m �[39;49m
�[37;41m [Symfony\Component\Debug\Exception\FatalThrowableError] �[39;49m
�[37;41m Class 'Dwij\Laraadmin\LAProvider' not found �[39;49m
�[37;41m �[39;49m
Thanks for your help.

from laraadmin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.