Comments (17)
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.
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.
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.
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 into
de...', 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 into
de...', 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 into
de...', 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.
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.
Issues successfully resolved in version 1.0.10
from laraadmin.
$ 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.
from laraadmin.
- 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
- when i have run php artisan migrate:refresh and then below why bug comming ?
[ErrorException]
Invalid argument supplied for foreach()
from laraadmin.
from laraadmin.
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.
from laraadmin.
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.
from laraadmin.
Here its working fine, Thanks for supporting me
from laraadmin.
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.
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)
- Images are not display with ?s=30 parameter
- ErrorException in Builder.php line 1185: HOT 2
- REST API
- @la_input does not work for me HOT 1
- dropdown but using integer as value HOT 2
- Getting Error while trying to save any new record in any module
- Error 404 when navigating to login page and others HOT 1
- Current project status HOT 10
- Can able to install LaraAdmin in cPanel?
- Error When Trying To Start Installation HOT 2
- Getting Error while trying to install laraadmin HOT 1
- How to override default view? HOT 1
- Model table within a different model HOT 1
- All the pages for Default modules deleted/changed when I click Generate Module
- any update here.i am also getting erro
- Moving Proejct From one server to another Image issue HOT 1
- Need to use laraadmin with latest versions of laravel HOT 1
- error when installing HOT 1
- configuration issue
- Fronend Images Loading issue >> net::ERR_CONNECTION_CLOSED HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laraadmin.