dwijitsolutions / laraadmin-crm Goto Github PK
View Code? Open in Web Editor NEWLaraAdmin is a Open source CRM for quick-start Admin based applications with features like Advanced CRUD Generation, Schema Manager and Workflows.
License: MIT License
LaraAdmin is a Open source CRM for quick-start Admin based applications with features like Advanced CRUD Generation, Schema Manager and Workflows.
License: MIT License
Hello,
Thank you for making such great software. I am curious about your CRM. I git cloned into /var/www/html and installed with composer. When I use la:install i get a undefined offset.
I have installed laraadmin many times. I'm pretty sure I have installed the crm before too, on a windows xampp stack.
Did I do something wrong or this is a bug?
LAInstall::handle exception: ErrorException: Undefined offset: 0 in /var/www/html/vendor/dwij/laraadmin/src/Models/Module.php:725
Stack trace:
#0 /var/www/html/vendor/dwij/laraadmin/src/Models/Module.php(725): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8, 'Undefined offse...', '/var/www/html/v...', 725, Array)
#1 /var/www/html/vendor/dwij/laraadmin/src/Models/Module.php(58): Dwij\Laraadmin\Models\Module::format_fields(Array)
#2 /var/www/html/database/migrations/2016_11_16_123515_create_contacts_table.php(22): Dwij\Laraadmin\Models\Module::generate('Contacts', 'contacts', 'first_name', 'fa-user', Array)
#3 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(373): CreateContactsTable->up()
#4 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(380): Illuminate\Database\Migrations\Migrator->Illuminate\Database\Migrations{closure}()
#5 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(162): Illuminate\Database\Migrations\Migrator->runMigration(Object(CreateContactsTable), 'up')
#6 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(130): Illuminate\Database\Migrations\Migrator->runUp('2016_11_16_1235...', 1, false)
#7 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php(97): Illuminate\Database\Migrations\Migrator->runMigrationList(Array, Array)
#8 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php(65): Illuminate\Database\Migrations\Migrator->run(Array, Array)
#9 [internal function]: Illuminate\Database\Console\Migrations\MigrateCommand->fire()
#10 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php(508): call_user_func_array(Array, Array)
#11 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php(169): Illuminate\Container\Container->call(Array)
#12 /var/www/html/vendor/symfony/console/Command/Command.php(256): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle))
#13 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php(155): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle))
#14 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php(185): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle))
#15 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/RefreshCommand.php(65): Illuminate\Console\Command->call('migrate', Array)
#16 [internal function]: Illuminate\Database\Console\Migrations\RefreshCommand->fire()
#17 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php(508): call_user_func_array(Array, Array)
#18 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php(169): Illuminate\Container\Container->call(Array)
#19 /var/www/html/vendor/symfony/console/Command/Command.php(256): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle))
#20 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php(155): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle))
#21 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php(185): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArrayInput), Object(Illuminate\Console\OutputStyle))
#22 /var/www/html/vendor/dwij/laraadmin/src/Commands/LAInstall.php(221): Illuminate\Console\Command->call('migrate:refresh')
#23 [internal function]: Dwij\Laraadmin\Commands\LAInstall->handle()
#24 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php(508): call_user_func_array(Array, Array)
#25 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php(169): Illuminate\Container\Container->call(Array)
#26 /var/www/html/vendor/symfony/console/Command/Command.php(256): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php(155): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#28 /var/www/html/vendor/symfony/console/Application.php(820): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#29 /var/www/html/vendor/symfony/console/Application.php(187): Symfony\Component\Console\Application->doRunCommand(Object(Dwij\Laraadmin\Commands\LAInstall), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#30 /var/www/html/vendor/symfony/console/Application.php(118): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#31 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(121): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#32 /var/www/html/artisan(35): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#33 {main}
[Exception]
LAInstall::handle Unable to install : Undefined offset: 0
In CodeGenerator Line#44 file_put_contents(base_path('app/Http/Controllers/LA/'.$config->controllerName.".php"), $md); wouldn't work unless you set permissions to app\http\Controllers\LA folder. Is this anywhere in documentation ? Cause i couldn't see it. Also what would be the minimal safe permissions to set for this to work. It works with 777
This looks great!
Is this project still current, and if so will the CRM be launched any time soon?
http://laraadmin.com/crm
Says check back soon, but the last commit to this was 2016 Nov.
Listing column save visibility
gdbhosale committed on Nov 23, 2016
In blade file i need to add jquery code, but the fields are coming in @la_form($module) in blade. where should i edit fields.
For some reason, a word key array gets passed to format_fields
which causes
an Undefined offset 0
error.
The quick fix was to convert the word keys to integers with the following snippet located in format_fields
for loop.
if(!array_key_exists('0', $field)){
$i = 0;
foreach($field as $key => $f){
$field[$i] = $f;
unset($field[$key]);
$i++;
}
}
I typed the "php artisan la:install".
deleted the some controller files(contacts,tickets...)
and can't migrate.
show error
LAInstall::handle exception: ErrorException: Undefined offset: 0 in /Applications/XAMPP/xamppfiles/htdocs/laraadmin-crm/vendor/dwij/laraadmin/src/Models/Module.php:716
Stack trace:
....
how can i do that?
already updated "composer update dwij/laraadmin"
typed "php artisan migrate:status"
show below message
------+---------------------------------------------------+
| Ran? | Migration |
+------+---------------------------------------------------+
| Y | 2014_05_26_050000_create_modules_table |
| Y | 2014_05_26_055000_create_module_field_types_table |
| Y | 2014_05_26_060000_create_module_fields_table |
| Y | 2014_10_12_000000_create_users_table |
| Y | 2014_10_12_100000_create_password_resets_table |
| Y | 2014_12_01_000000_create_uploads_table |
| Y | 2016_05_26_064006_create_departments_table |
| Y | 2016_05_26_064007_create_employees_table |
| Y | 2016_05_26_064446_create_roles_table |
| Y | 2016_07_05_115343_create_role_user_table |
| Y | 2016_07_06_1406376_create_industry_types_table |
| Y | 2016_07_06_140637_create_organizations_table |
| Y | 2016_07_07_134058_create_backups_table |
| Y | 2016_07_07_134058_create_menus_table |
| Y | 2016_09_10_163337_create_permissions_table |
| Y | 2016_09_10_163520_create_permission_role_table |
| Y | 2016_09_22_105958_role_module_fields_table |
| Y | 2016_09_22_110008_role_module_table |
| Y | 2016_10_06_115413_create_la_configs_table |
| N | 2016_11_16_123515_create_contacts_table |
| N | 2016_11_17_063011_create_leads_table |
| N | 2016_11_17_064710_create_opportunities_table |
| N | 2016_11_17_080230_create_projects_table |
| N | 2016_11_17_093246_create_tickets_table |
+------+---------------------------------------------------+
please help me. thanks
I really like what these guys did and I use it for several projects , I am going to get a quote on how much it would cost to fork the project and update it laravel 5.5. Would anyone else be interested in this ? I can't see it costing more then $500 dollars .
Lend me y'all thoughts, I could do it my self I am in the middle of 6 projects right now. Two of the newer projects I wanted to use this backend but its not up to date so I am exploring paying some of my developers in India to just update it for us.
Instead of doing Eloquent::unguard(); you can change the code like so:
$employee = new Employee;
$employee->name = $data['name'];
...
try {
$empoyee->save();
} catch (PDOException $e) {
...
}
I feel this also makes it easier to read the code.
Is there a demo available online anywhere?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.