laravel-backpack / devtools-issues Goto Github PK
View Code? Open in Web Editor NEWBug reports and feature requests for our closed-source DevTools package
Bug reports and feature requests for our closed-source DevTools package
I have a number of models one is called "monitoringpoint" and another is called "monitoringpointissues".
I used The Model section of DevTools to create the CRUD for MonitoringPointIssues. This worked great.
However, "hasController' is now ticked for "MonitoringPoint". When you hover over it, the link is to 'app/Http/Controllers/Admin/MonitoringPointIssueCrudController.php', which is the controller created for the previous model.
I also has the same problem with the models 'Operator' and 'OperatorEntity'. My workaround was to create all of the files CRUD, Request etc for the Operator model.
I expected that MonitoringPoint model would not be incorrectly linked to MonitoringPointIssues
The Page incorrectly thinks that the controller has been created.
Nothing, wouldn't know where to start unless the table name is too long.
After I run composer update backpack/crud
This was a fresh install of backpack and devtools
php: 8.1.7
DB : Mysql Ver 8.0.27-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu))
Laravel: 9.19.0
Backpack: 5
BackpackPro: 1.1
DevTools: 1.0
When I run php artisan backpack:version
the output is:
PHP 8.1.7 (cli) (built: Jun 25 2022 08:12:59) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.7, Copyright (c) Zend Technologies
with Zend OPcache v8.1.7, Copyright (c), by Zend Technologies
v9.19.0@bbce25bd823133f6a5a724f2d62680b711f1d0df
5.1.4@4539c787a2e052d2e2e2c00188c38432dc2a7ea9
I installed the devtools tools
Be able to configure a new model when going to /admin/devtools/model/create
I can see the form but when I click on "+ Add Column" or "More >" or "+ Add Relationship" nothing happen
Tried to see errors in console and logs file.
When I run php artisan backpack:version
the output is:
PHP 8.1.11 (cli) (built: Sep 29 2022 18:29:40) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.11, Copyright (c) Zend Technologies
with Zend OPcache v8.1.11, Copyright (c), by Zend Technologies
with Xdebug v3.1.2, Copyright (c) 2002-2021, by Derick Rethans
v9.50.2@39932773c09658ddea9045958f305e67f9304995
backpack/crud: 5.4.16
backpack/editable-columns: 2.1.1
backpack/logmanager: v4.0.9
backpack/permissionmanager: 6.0.15
backpack/pro: 1.5.0
backpack/revise-operation: 1.0.11
backpack/devtools: 1.3.0
backpack/generators: v3.3.13
I encountered the problem above on my Windows with Ubuntu WSL2 machine, and my web server is set up using Nginx with php-fpm.
From the log file I have this warning:
Return type of Backpack\DevTools\CustomFile::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vendor/backpack/devtools/src/CustomFile.php on line 373
EDIT removed console javascript error as it was not related
Installed Laravel (v8.6.1) with homestead and installed dev-tools with:
composer require --dev --with-all-dependencies backpack/devtools
php artisan backpack:devtools:install
On browsing to http://homestead.test/admin/devtools I see the following error:
Target class [App\Http\Middleware\CheckIfAdmin] does not exist
Extra info:
PHP 7.4.5 (cli) (built: Apr 19 2020 07:36:30) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.5, Copyright (c), by Zend Technologies
v8.58.0@1b819bf99d87bd543a4d4895e5b3350f61ea7a23
4.1.51@756173cf6593c3d530fca0e54831763c796e24d8
Ran composer update, intending to update backpack to use crud js library
Software would update and i'd go about coding
Software updated, but the link to dev tools is now broken, image of error is attached
restart server, clear cache/etc
When I run php artisan backpack:version
the output is:
PHP 8.0.9 (cli) (built: Jul 30 2021 13:03:39) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.9, Copyright (c) Zend Technologies
with Zend OPcache v8.0.9, Copyright (c), by Zend Technologies
v8.83.26@7411d9fa71c1b0fd73a33e225f14512b74e6c81e
5.4.7@6e1bb116de9f3091530cb9b11edcceb4d252daa8
I encountered the problem above on my Windows 10 machine, and my web server is set up using Homestead.
After following the automatic installation, when trying to create a new model (even without adding any particular filed), when saving I end up with a 500 error.
'Trying to access array offset on value of type null'
The new model to be at least saved.
Got a 500 error Trying to access array offset on value of type null
Tried to simplify the new model to the bare minimum. Also, restarting Mysql or php artisan serve, as well as a composer update. No change.
When I run php artisan backpack:version
the output is:
PHP 8.1.2 (cli) (built: Jan 19 2022 10:18:23) (ZTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
with Xdebug v3.1.2, Copyright (c) 2002-2021, by Derick Rethans
v9.48.0@c78ae7aeb0cbcb1a205050d3592247ba07f5b711
backpack/crud: 5.0.19
backpack/pagemanager: 3.0.11
backpack/permissionmanager: 6.0.15
backpack/pro: 1.0.18
backpack/generators: v3.1.13
I encountered the problem above on my Windows 10 machine, and my web server is set up using XAMPP.
Hi,
php artisan backpack:require:devtools
INFO Connecting to the Backpack add-on repository
│ Backpack repository entry is present in composer.json.
│ Backpack authentication token is present.
Require Backpack DevTools on dev .............................................................................. ERROR
│ For further information please check the log file.
│ You can also follow the manual installation process documented in https://backpackforlaravel.com/addons/
Thx for your help.
I've tried to create a new Model with factories and all things.
Create the Model, Migrations, etc and back to Models.
Link of the report from laravel
Nothing yet, i dont have experience in devtools or backpack
When I run php artisan backpack:version
the output is:
PHP 8.1.9 (cli) (built: Aug 2 2022 14:17:33) (NTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.1.9, Copyright (c) Zend Technologies
with Xdebug v3.2.1, Copyright (c) 2002-2023, by Derick Rethans
v10.4.1@7d15f7eef442633cff108f83d9fe43d8c3b8b76f
backpack/crud: 5.5.2
backpack/devtools: 1.3.5
backpack/generators: 3.3.16
backpack/logmanager: v4.0.9
backpack/newscrud: 4.0.9
backpack/permissionmanager: 6.0.16
backpack/pro: 1.6.3
backpack/settings: 3.0.16
I encountered the problem above on my Windows 11 machine, and my web server is set up using Laragon with nginx.
Tried to create a new model with App\Models\Tennis\Court
I expected 1 model Court.php to be created in the directory app/models/tennis.
It created 2 models:
app/models/Court.php:
<?php
namespace App\Models;
use Backpack\CRUD\app\Models\Traits\CrudTrait;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Court extends Model
{
use CrudTrait;
use HasFactory;
/*
|--------------------------------------------------------------------------
| GLOBAL VARIABLES
|--------------------------------------------------------------------------
*/
protected $table = 'courts';
// protected $primaryKey = 'id';
// public $timestamps = false;
protected $guarded = ['id'];
// protected $fillable = [];
// protected $hidden = [];
// protected $dates = [];
}
and
app/models/tennis/Court.php:
<?php
namespace App\Models\Tennis;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Court extends Model
{
use HasFactory;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'CourtId',
'CourtName',
'CityName',
'place_id',
];
/**
* The attributes that should be cast to native types.
*
* @var array
*/
protected $casts = [
'id' => 'integer',
];
public function place()
{
return $this->belongsTo(\App\Models\Place::class, 'place_id');
}
}
Also, the CourtCrudController.php did not use the subdirectory structure which I would assume would make a lot of sense. Same for Requests.
I
DevTools when i click on add new column no respond and i checked the console i found that livewire 404 ( net::ERR_ABORTED 404 (Not Found))
Uncaught ReferenceError: Livewire is not defined
i tried to reinstall 3 times starting from installing Laravel
??
??
??
When I run php artisan backpack:version
the output is:
PHP 8.1.13 (cli) (built: Nov 26 2022 14:07:36) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.13, Copyright (c) Zend Technologies
with Zend OPcache v8.1.13, Copyright (c), by Zend Technologies
v9.42.2@607d7867c93706eae20e28e46679f8a66e2a23ec
5.4.10@050b288caf2f60c79313f2b0b7d4fefd25177f3f
I encountered the problem above on my [ Mac OS machine, and my web server is set up using Apache.
It would be great to be able to define if a Select is in relation to another Select to create a Select in cascade with Devtools
In admin click de DevTools link
Devtools opening
Red notification in top right corder: "Error loading page: Please refresh the page."
If you need the whole stack let me know
"message": "syntax error, unexpected 'public' (T_PUBLIC), expecting ';' or ',' (View: /home/vagrant/code/[MYPROJECT]/vendor/backpack/crud/src/resources/views/crud/columns/check.blade.php)",
"exception": "Facade\Ignition\Exceptions\ViewException",
"file": "/home/vagrant/code/[MyProject]/database/factories/CategoryFactory.php",
"line": 22,
"trace": [
Use the installer (did not work the first time. I thought It was related to that).
When I define a string with a certain length
the corresponding request rule should reflect this
return [
'str10' => 'required|string',
];
should be
return [
'str10' => 'required|string|max:10',
];
If not, I face
Illuminate\Database\QueryException
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'str10' at row 1 (SQL: update `table_name` set `str10` = 123456789, `table_name`.`updated_at` = 2021-12-03 21:19:34 where `id` = 2)
Every time I set the length of a field
I generated a new model using the model creation form. For the id field I kept everything as is except for the field name which I renamed. The "generate migration" and "run migration" checkboxes were checked.
The migration should be generated with this general structure:
Schema::create('flight', function (Blueprint $table) {
$table->id('flight_id');
// ...
});
Which would result in having the ID field named properly in DB.
And the generated model should have something like this:
/**
* The primary key associated with the table.
*
* @var string
*/
protected $primaryKey = 'flight_id';
The ID field name override attempt was ignored and the migration was generated as so:
Schema::create('flight', function (Blueprint $table) {
$table->id();
// ...
});
My workaround is to not run the migrations automatically and edit the migration files and models manually before running the migrations. Takes some time with large number of models.
When I run php artisan backpack:version
the output is:
PHP 7.4.27 (cli) (built: Dec 14 2021 19:52:13) ( ZTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Xdebug v3.1.2, Copyright (c) 2002-2021, by Derick Rethans
### LARAVEL VERSION:
v8.83.9@ac6e16bb56510eda2e373c6365d5c92da3fd559d
### BACKPACK VERSION:
5.0.14@1e355c4c046a34423a1a3e3150120245a4bfd8e9
I encountered the problem above on my Windows 10 machine, and my web server is set up using Laragon.
composer create-project laravel/laravel brid
composer config http-basic.backpackforlaravel.com user pass
added repo to composer.json
composer require backpack/crud
php artisan backpack:install
Installed all 3 premium addons (Backpack pro, DevTools, Backpack Editable Columns)
There were no error during the install process.
Licence I bought: Everything.
Login is working and DevTools listing is working displaying only Users model as expected. But when I click on Add Model app breaks.
An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1 near "(": syntax error
https://capture.dropbox.com/mTOkDFg5Sd8cOVLO
composer require --dev --with-all-dependencies backpack/devtools
composer update backpack/crud
PHP 8.1.12
Laravel version: 9.48.0
MySql 8.0
laravel/laravel - requires backpack/crud (^5.4)
backpack/devtools 1.3.0 requires backpack/crud (^5.3)
backpack/editable-columns 2.1.1 requires backpack/crud (^5.3.13)
backpack/generators v3.3.13 requires backpack/crud (^5.3.11)
backpack/pro 1.6.0 requires backpack/crud (^5.4.9)
When I run php artisan backpack:version
the output is:
PHP 8.1.12 (cli) (built: Oct 31 2022 22:06:27) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.12, Copyright (c) Zend Technologies
with Zend OPcache v8.1.12, Copyright (c), by Zend Technologies
v9.48.0@c78ae7aeb0cbcb1a205050d3592247ba07f5b711
I encountered the problem above on my Amazon Linux 2 EC2 instance.
[previous exception] [object] (PDOException(code: HY000): SQLSTATE[HY000]: General error: 1 near "(": syntax error at /var/www/brid/vendor/laravel/framework/src/Illuminate/Database/PDO/Connection.php:81)
[stacktrace]
#0 /var/www/brid/vendor/laravel/framework/src/Illuminate/Database/PDO/Connection.php(81): PDO->query(' SEL...')
#1 /var/www/brid/vendor/doctrine/dbal/src/Connection.php(1064): Illuminate\Database\PDO\Connection->query(' SEL...')
#2 /var/www/brid/vendor/doctrine/dbal/src/Schema/SqliteSchemaManager.php(703): Doctrine\DBAL\Connection->executeQuery(' SEL...', Array)
#3 /var/www/brid/vendor/doctrine/dbal/src/Schema/AbstractSchemaManager.php(561): Doctrine\DBAL\Schema\SqliteSchemaManager->selectTableColumns('main')
#4 /var/www/brid/vendor/doctrine/dbal/src/Schema/AbstractSchemaManager.php(408): Doctrine\DBAL\Schema\AbstractSchemaManager->fetchTableColumnsByTable('main')
#5 /var/www/brid/vendor/doctrine/dbal/src/Schema/SqliteSchemaManager.php(57): Doctrine\DBAL\Schema\AbstractSchemaManager->doListTables()
#6 /var/www/brid/vendor/doctrine/dbal/src/Schema/AbstractSchemaManager.php(1651): Doctrine\DBAL\Schema\SqliteSchemaManager->listTables()
#7 /var/www/brid/vendor/backpack/crud/src/app/Library/Database/DatabaseSchema.php(36): Doctrine\DBAL\Schema\AbstractSchemaManager->createSchema()
#8 /var/www/brid/vendor/backpack/crud/src/app/Library/Database/DatabaseSchema.php(21): Backpack\CRUD\app\Library\Database\DatabaseSchema::generateDatabaseSchema('Backpack\\DevToo...', 'models')
#9 /var/www/brid/vendor/backpack/crud/src/app/Library/Database/TableSchema.php(12): Backpack\CRUD\app\Library\Database\DatabaseSchema::getForTable('Backpack\\DevToo...', 'models')
#10 /var/www/brid/vendor/backpack/crud/src/app/Models/Traits/HasRelationshipFields.php(132): Backpack\CRUD\app\Library\Database\TableSchema->__construct('Backpack\\DevToo...', 'models')
#11 /var/www/brid/vendor/backpack/crud/src/app/Library/CrudPanel/Traits/AutoSet.php(91): Backpack\DevTools\Models\Model::getDbTableSchema()
#12 /var/www/brid/vendor/backpack/crud/src/app/Library/CrudPanel/Traits/AutoSet.php(57): Backpack\CRUD\app\Library\CrudPanel\CrudPanel->getDbTableColumns()
#13 /var/www/brid/vendor/backpack/crud/src/app/Library/CrudPanel/Traits/AutoSet.php(116): Backpack\CRUD\app\Library\CrudPanel\CrudPanel->getDbColumnTypes()
#14 /var/www/brid/vendor/backpack/crud/src/app/Library/CrudPanel/Traits/FieldsProtectedMethods.php(230): Backpack\CRUD\app\Library\CrudPanel\CrudPanel->inferFieldTypeFromDbColumnType('name')
#15 /var/www/brid/vendor/backpack/crud/src/app/Library/CrudPanel/Traits/Fields.php(54): Backpack\CRUD\app\Library\CrudPanel\CrudPanel->makeSureFieldHasType(Array)
#16 /var/www/brid/vendor/backpack/crud/src/app/Library/CrudPanel/Traits/Fields.php(108): Backpack\CRUD\app\Library\CrudPanel\CrudPanel->makeSureFieldHasNecessaryAttributes(Array)
#17 /var/www/brid/vendor/backpack/crud/src/app/Library/CrudPanel/CrudField.php(375): Backpack\CRUD\app\Library\CrudPanel\CrudPanel->addField(Array)
#18 /var/www/brid/vendor/backpack/crud/src/app/Library/CrudPanel/CrudField.php(57): Backpack\CRUD\app\Library\CrudPanel\CrudField->save()
#19 /var/www/brid/vendor/backpack/crud/src/app/Library/CrudPanel/Traits/Fields.php(543): Backpack\CRUD\app\Library\CrudPanel\CrudField->__construct('name')
#20 /var/www/brid/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): Backpack\CRUD\app\Library\CrudPanel\CrudPanel->field('name')
#21 /var/www/brid/vendor/backpack/devtools/src/Http/Controllers/ModelCrudController.php(158): Illuminate\Support\Facades\Facade::__callStatic('field', Array)
#22 /var/www/brid/vendor/backpack/crud/src/app/Http/Controllers/CrudController.php(121): Backpack\DevTools\Http\Controllers\ModelCrudController->setupCreateOperation()
#23 /var/www/brid/vendor/backpack/crud/src/app/Http/Controllers/CrudController.php(42): Backpack\CRUD\app\Http\Controllers\CrudController->setupConfigurationForCurrentOperation()
#24 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(162): Backpack\CRUD\app\Http\Controllers\CrudController->Backpack\CRUD\app\Http\Controllers\{closure}(Object(Illuminate\Http\Request), Object(Closure))
#25 /var/www/brid/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#26 /var/www/brid/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#27 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(Object(Illuminate\Http\Request), Object(Closure))
#28 /var/www/brid/app/Http/Middleware/CheckIfAdmin.php(66): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#29 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\Http\Middleware\CheckIfAdmin->handle(Object(Illuminate\Http\Request), Object(Closure))
#30 /var/www/brid/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#31 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate\Http\Request), Object(Closure))
#32 /var/www/brid/vendor/backpack/crud/src/app/Http/Middleware/AuthenticateSession.php(62): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#33 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Backpack\CRUD\app\Http\Middleware\AuthenticateSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#34 /var/www/brid/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#35 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure))
#36 /var/www/brid/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#37 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#38 /var/www/brid/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#39 /var/www/brid/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest(Object(Illuminate\Http\Request), Object(Illuminate\Session\Store), Object(Closure))
#40 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#41 /var/www/brid/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#42 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#43 /var/www/brid/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#44 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#45 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#46 /var/www/brid/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#47 /var/www/brid/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#48 /var/www/brid/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
#49 /var/www/brid/vendor/laravel/framework/src/Illuminate/Routing/Router.php(729): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#50 /var/www/brid/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#51 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#52 /var/www/brid/vendor/livewire/livewire/src/DisableBrowserCache.php(19): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#53 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Livewire\DisableBrowserCache->handle(Object(Illuminate\Http\Request), Object(Closure))
#54 /var/www/brid/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#55 /var/www/brid/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#56 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle(Object(Illuminate\Http\Request), Object(Closure))
#57 /var/www/brid/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#58 /var/www/brid/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
#59 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\TrimStrings->handle(Object(Illuminate\Http\Request), Object(Closure))
#60 /var/www/brid/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#61 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle(Object(Illuminate\Http\Request), Object(Closure))
#62 /var/www/brid/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#63 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(Object(Illuminate\Http\Request), Object(Closure))
#64 /var/www/brid/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#65 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\HandleCors->handle(Object(Illuminate\Http\Request), Object(Closure))
#66 /var/www/brid/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#67 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\TrustProxies->handle(Object(Illuminate\Http\Request), Object(Closure))
#68 /var/www/brid/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#69 /var/www/brid/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#70 /var/www/brid/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#71 /var/www/brid/public/index.php(52): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#72 {main}
What about a new version for your last BackPack ??
The generated crud does not have a setupShowOperation() method. It should.
If not, like now, only default columns are shown. Standard practice is to add this code
protected function setupShowOperation()
{
$this->setupListOperation();
}
Every time I generate a crud.
We got an error report about some str_repeat
error. https://stackoverflow.com/questions/73435821/laravel-backpack-devtools-add-on-not-working
Discussing a previous issue with @promatik we came to the conclusion that in some scenarios it's possible that str_repeat
got 0
as input and raised the error.
This is somewhat related to the new output for commands, so @promatik is the best fit here.
Hi,
after creating a model in an attempt to save this error is reported ..
When I go to the /admin/devtools/model route, I get
could not find driver
create table "models" ("file" varchar, "id" integer not null primary key autoincrement, "file_type" varchar, "file_extension" varchar, "file_path" varchar, "file_path_absolute" varchar, "file_path_relative" varchar, "file_path_from_base" varchar, "file_name" varchar, "file_name_without_extension" varchar, "file_name_with_extension" varchar, "file_last_accessed_at" datetime, "file_last_changed_at" datetime, "file_last_modified_at" datetime, "file_created_at" datetime, "file_directory" varchar, "file_contents" varchar, "class_name" varchar, "class_namespace" varchar, "class_path" varchar, "class_path_with_extension" varchar, "created_at" datetime, "updated_at" datetime)
PostgreSQL DB Support
I develop all of my applications with a Postgres backed. If this is added then I will be using it every single time. I actually already purchased the software but didn't notice the MySQL requirement as I was looking at the README. As the migration generator is the most exciting thing for me, I would absolutely LOVE IT if this is added.
added a repository to composer.json
composer require --dev backpack/devtools (success)
executed php artisan backpack:devtools:install
Devtools to be installed automatically
There are no commands defined in the "backpack:devtools" namespace.
Did you mean one of these?
backpack
backpack:filemanager
Following every step in installation again
When I run php artisan backpack:version
the output is:
PHP 7.4.18 (cli) (built: May 3 2021 11:27:06) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.18, Copyright (c), by Zend Technologies
v8.49.0@855a919d08b45f93cb3cf709736528c3d1531884
4.1.48@53bc6028f445f9b2ecfb8893283f6b6087539353
In Migration,
http://127.0.0.1:8000/admin/devtools/migration, cloik rollback on the second row, while the first row is not rolled back.
Error message: migration not found
.
That should either execute or say: rollback previous migration first
Rollback the first row. Then the second row can be rolled back.
When I run php artisan backpack:version
the output is:
PHP 8.0.2 (cli) (built: Feb 3 2021 18:36:40) ( ZTS Visual C++ 2019 x64 )
Copyright (c) The PHP Group
Zend Engine v4.0.2, Copyright (c) Zend Technologies
with Zend OPcache v8.0.2, Copyright (c), by Zend Technologies
v8.74.0@004ea195012d5132eca07a176a6e587c6a74815e
4.1.61@4400187391eb5b73672c2b166a990cd737277409
backpack/devtools 1.0.28
I encountered the problem above on my [Windows 10] machine, and my web server is set up using [php artisan serve].
On a new install of backpack and devtools, I can't access to devtools URL because of this error :
Illuminate\Database\QueryException could not find driver (SQL: create table "models" ("file" varchar, "id" integer not null primary key autoincrement, "file_type" varchar, "file_extension" varchar, "file_path" varchar, "file_path_absolute" varchar, "file_path_relative" varchar, "file_path_from_base" varchar, "file_name" varchar, "file_name_without_extension" varchar, "file_name_with_extension" varchar, "file_last_accessed_at" datetime, "file_last_changed_at" datetime, "file_last_modified_at" datetime, "file_created_at" datetime, "file_directory" varchar, "file_contents" varchar, "class_name" varchar, "class_namespace" varchar, "class_path" varchar, "class_path_with_extension" varchar, "created_at" datetime, "updated_at" datetime))
Database is correctly setup in the .env file.
Query works in the main app code.
I try to reinstall my laravel and packages from scratch with a new Laravel 8 install with no other package or class. It fails again.
When I run php artisan backpack:version
the output is:
v8.60.0@44f16a31a1d4ac8a51605550d7796e2273984a48
4.1.52@239e60df0436f8a817facce20a2dffcb2b6e7250
Illuminate \ Database\ QueryException
PHP 8.0.16
9.52.5
SQLSTATE[HY000]: General error: 1 near "SHOW": syntax error
SHOW INDEX FROM failed_jobs
;
Fresh installation using sqlite database and devtools, clicked on "create new model"
view is properly coming up
error occurred
yes, with a fresh migration
"backpack/crud": "^5.5",
"backpack/devtools": "^1.3",
When I run php artisan backpack:version
the output is:
v9.52.5@e14d28c0f9403630d13f308bb43f3d3cb73d6d67
backpack/crud: 5.5.5
backpack/devtools: 1.3.5
backpack/generators: 3.3.16
Windows 10, Server built-in VSCode
I clicked on "See-files"in devtools
To see the files
got a PHP error:
Call to a member function isClass() on array (View: /var/www/<myfolder>/vendor/backpack/devtools/resources/views/widgets/preview-files.blade.php)
nothing
When I run php artisan backpack:version
the output is:
v8.83.2@b91b3b5b39fbbdc763746f5714e08d50a4dd7857
5.0.8@f811634e8c4789fa15026d70592515b8051700ad
I encountered the problem above on my Windows 10, WSL, Apache2, Mysql
Run any operation in devtools ... the Notifications are not displaying properly because of the new "pretty outputs".
I've already discussed this with @promatik he's aware of the problem and will work on the solution ASAP.
log content:
array_filter(): Argument #1 ($array) must be of type array, null given {"exception":"[object] (TypeError(code: 0): array_filter(): Argument #1 ($array) must be of type array, null given at /var/www/vendor/backpack/crud/src/app/Library/CrudPanel/Traits/SaveActions.php:52)
In fact, after reloading the web page, I found that the program was executed successfully.
How can I solve it please?
(I installed it normally and did not manually modify the program.)
"DevTools -> Add model" give following error:
Doctrine\DBAL\Exception\SyntaxErrorException
An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1 near "(": syntax error
I did a fresh new installation of Laravel and Backpack.
Following I reported the versions list:
[public_html]$ php artisan backpack:version
PHP VERSION:
PHP 7.4.32 (cli) (built: Sep 28 2022 09:09:55) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.32, Copyright (c), by Zend Technologies
with Xdebug v2.9.8, Copyright (c) 2002-2020, by Derick RethansLARAVEL VERSION:
v8.83.25@.............
BACKPACK VERSION:
5.3.13@............
[public_html]$ sqlite3 --version
3.7.17 2013-05-20 00:56:22 .................
By the way before of "Laravel 8" with Backpack I tried to install "Laravel 9" too and for some reason I got same error.
My server is running Centos 7 with MariaDB 10.5.17. I checked out also phpinfo() if the error could be related to SQLite but it's correctly installed and enabled.
To be honest I don't know what else to look at or to do.
Can someone please help me?
I have created several models without factory and seeder.
After the models were created I've tried to add factory and seeder for those models.
I've got "Undefined index: created" error when trying to generate the factory. Error seems to be on backpack\devtools\src\Generators\BlueprintGenerator.php:516
still investigating at the moment
When I run php artisan backpack:version
the output is:
PHP 7.3.3 (cli) (built: Mar 6 2019 21:53:23) ( ZTS MSVC15 (Visual C++ 2017) x64 )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.3, Copyright (c) 1998-2018 Zend Technologies
v8.54.0@7b88554cd1aeb52b7f82689bf244182e7a81894b
4.1.50@09cf360f2c1d1ad40d054c6c36e16c3c44f2e461
Defined a new table where two fields accidentally have the same name, then hit Save and Back
Error message
Returned empty form, all data is lost.
PHP 8.0.2 (cli) (built: Feb 3 2021 18:36:40) ( ZTS Visual C++ 2019 x64 )
Copyright (c) The PHP Group
Zend Engine v4.0.2, Copyright (c) Zend Technologies
with Zend OPcache v8.0.2, Copyright (c), by Zend Technologies
v8.74.0@004ea195012d5132eca07a176a6e587c6a74815e
4.1.61@4400187391eb5b73672c2b166a990cd737277409
I encountered the problem above on my [Windows 10] machine, and my web server is set up using [php artisan serve].
Do your backpack pro working natively with Devtools?
I am trying to implement InlineCreate Operation (Pro) but it doesn't work.
Create model "contact" with relation 1-n to model "company". I have ContactCrudController where the user can select Company. However, I don't see the inline creatin in action. Is there a documentation to use backpack pro for those with devtools? Thanks.
I create a model "Context" with ( id, name )
I create a second model "Action" with (id , name) and I want to add this relationship : Action belongsToMany "Context"
I nice looking page saying "alright boy, everything is ok" :D
With a automated creation of "Action" and "ActionContext" model having (id, context_id, action_id)
I've got this error : "ErrorException
Invalid argument supplied for foreach() (View: C:_sources__www\backpack\vendor\backpack\devtools\resources\views\livewire\relationship-schema_partial_model.blade.php) "
When I run php artisan backpack:version
the output is:
v8.60.0@44f16a31a1d4ac8a51605550d7796e2273984a48
4.1.52@239e60df0436f8a817facce20a2dffcb2b6e7250
I encountered the problem above on my [Windows 10 / Mac OS / Linux / ...] machine, and my web server is set up using [WAMP / XAMPP / Valet / Homestead / ...].
Windows with Laragon
Create new model that contains Text column type
Model created with text field successfully
Crashed with Undefined array key "args"
When I run php artisan backpack:version
the output is:
### PHP VERSION:
PHP 8.1.3 (cli) (built: Feb 16 2022 08:26:12) (ZTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.1.3, Copyright (c) Zend Technologies
### LARAVEL VERSION:
v9.4.1@29f0aaade82eadd20ef881b4efb88b0dad4e9a5b
### BACKPACK VERSION:
5.0.10@f0c0c45914c39a9083e19f0c5c3d10ef0e142565
I encountered the problem above on my [Windows 10] machine, and my web server is set up using [laragon].
I generated a new Model and the FormRequest
Nothing specific
the new generated request file contains this row
use App\Http\Requests\Request;
This class doesn't exists at all in a fresh new Laravel 8 project
Simply, I deleted the row
When I run php artisan backpack:version
the output is:
### PHP VERSION:
PHP 7.4.25 (cli) (built: Oct 20 2021 09:29:27) ( NTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
### LARAVEL VERSION:
v8.79.0@8091f07558ff4a890435ff9d25fa9aca0189ad63
### BACKPACK VERSION:
4.1.64@e49566ebd4a55e6849ef7e88822e53195719e2b8
Indifferent
I would like clarification about the difference between Create Migration
and Create Model
They seem very similar to me, why are both present?
I would also like clarification about all the grayed out Create
functions. They are not active for me. How can they be used?
Generate a model
Success, or at least no loss of data. I have to fill in the form again.
Symfony\Component\ErrorHandler\Error\FatalError
Maximum execution time of 60 seconds exceeded
http://127.0.0.1:8000/admin/devtools/model
Run it again. It took about 20 seconds. I only experience long times like this when I do operations like composer update
.
When I run php artisan backpack:version
the output is:
PHP 8.0.2 (cli) (built: Feb 3 2021 18:36:40) ( ZTS Visual C++ 2019 x64 )
Copyright (c) The PHP Group
Zend Engine v4.0.2, Copyright (c) Zend Technologies
with Zend OPcache v8.0.2, Copyright (c), by Zend Technologies
v8.74.0@004ea195012d5132eca07a176a6e587c6a74815e
4.1.61@4400187391eb5b73672c2b166a990cd737277409
I encountered the problem above on my [Windows 10] machine, and my web server is set up using [php artisan serve].
Hi,
error after installing on a linux machine with ubuntu Ubuntu 20.04.4 LTS :
PHP 8.1.9
sqlite3 --version
3.31.1 2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5f68c7388fa117345eeb516eaa837balt1
https://flareapp.io/share/q5YMw2D5#F66
Thanks,
Run dev tools generate all in a custom model.
Files to be generated.
Some files generated, but a crash.
https://flareapp.io/share/KPgXbZ37
I've tried that it works with a more standard model.
When I run php artisan backpack:version
the output is:
PHP 8.0.8 (cli) (built: Aug 5 2021 15:36:35) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.8, Copyright (c) Zend Technologies
v8.79.0@8091f07558ff4a890435ff9d25fa9aca0189ad63
5.0.6@2be4ff8407259f528a3541f0569ce156bab63165
Mamp on MacOS X
It would be great if devs allow access to the protected repo to those who purchased the addon. And let those people submit PRs. :)
Quite often. I'd be willing to help with the development of this tool because I see a huge potential in it.
Create new model that contains json column type
Model created with repeatable field successfully
Crashed with Undefined array key "args"
When I run php artisan backpack:version
the output is:
### PHP VERSION:
PHP 8.1.3 (cli) (built: Feb 16 2022 08:26:12) (ZTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.1.3, Copyright (c) Zend Technologies
### LARAVEL VERSION:
v9.4.1@29f0aaade82eadd20ef881b4efb88b0dad4e9a5b
### BACKPACK VERSION:
5.0.10@f0c0c45914c39a9083e19f0c5c3d10ef0e142565
I encountered the problem above on my [Windows 10] machine, and my web server is set up using [laragon].
Generated a model with a fielname that is unique
public function rules()
{
return [
'column_name' => 'required|string|unique:table_name,column_name,' . $this->id,
...
];
}
public function rules()
{
return [
'column_name' => 'required|string|unique:table_name,column_name',
...
];
}
Manually add ,' . $this->id
to the rule
PHP 8.0.2 (cli) (built: Feb 3 2021 18:36:40) ( ZTS Visual C++ 2019 x64 )
Copyright (c) The PHP Group
Zend Engine v4.0.2, Copyright (c) Zend Technologies
with Zend OPcache v8.0.2, Copyright (c), by Zend Technologies
v8.74.0@004ea195012d5132eca07a176a6e587c6a74815e
4.1.61@4400187391eb5b73672c2b166a990cd737277409
I encountered the problem above on my [Windows 10] machine, and my web server is set up using [php artisan serve].
It would be nice if there was an action that allows to start over a model generation with the parameters previously entered.
The workflow could be to generate a new model, migration and crud using http://127.0.0.1:8000/admin/devtools/model/create, evaluate the results without modifying the code, then compe back to http://127.0.0.1:8000/admin/devtools/model/create or http://127.0.0.1:8000/admin/devtools/model/23/edit and add or modify the previous input.
This could alse be used to try to reproduce a devtools error.
On each crash
On each model generated, I rarely do it completely right the first time.
I initially created a model (Customer) that I wanted to redo using the DevTools so I deleted all the generated files. I then tried to create a new version of the model.
PS: it's a pity you cannot modify an existing model using DevTools
The new model and its files are created.
An Exception is thrown:
include(/home/erik/laravel/customers/ICT-Web-Solution/admin_gen2/vendor/composer/../../app/Models/Customer.php): failed to open stream: No such file or directory
Retried multiple times, restarted web server, changed browser, no idea what else to do.
When I run php artisan backpack:version
the output is:
PHP 7.4.9 (cli) (built: Jul 5 2021 13:33:00) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.9, Copyright (c), by Zend Technologies
v8.67.0@fc52acafd069aedc079bf8f17d1a4af4ef489b1e
4.1.57@7996979454fb7e02a866ee56dd7569f7d35f5ded
I encountered the problem above on my Ubuntu 20.04 machine, and my web server is set up using the LAMP stack.
What I did
I install Laravel + Backpack + Jetstream (inertia), then i create some extra migrations and later install Devtools
What I expected to happen
Be able to access Devtools module
What happened
I've got Error 500 "Class CreateUsersTable does not seem to be auto-loaded." (This migration was created by Jetstream).
What I've already tried to fix it
Try to run "composer dump-autoload", nothing change, any other module work as normal.
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version the output is:
PHP VERSION:
PHP 7.4.20 (cli) (built: Jun 4 2021 21:24:55) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.20, Copyright (c), by Zend Technologies
LARAVEL VERSION:
v8.42.1@41ec4897a70eb8729cf0ff34a8354413c54e42a6
BACKPACK VERSION:
4.1.45@c9918581306bc4a8d605b87b4757893baa03fcc1
When I try to install backpack/devtools with composer ( composer require --dev --with-all-dependencies backpack/devtools ) it give me this exception:
[InvalidArgumentException]
Could not find a matching version of package backpack/devtools. Check the package spelling, your version constraint and that the package is available in a stability which matches
your minimum-stability (dev).
Few days ago all worked perfectly (authentication with token and then installation)
Is any problem on the source or is the problem on my side?
Created a simple "Owner" model, with a "name" column. Checked the checkboxes at the bottom to generate factory & seeder.
Create the factory & seeder AND show them in the sidebar.
The factory & seeder were created OK, but they don't show up in the sidebar:
Nothing yet.
When I run php artisan backpack:version
the output is:
### PHP VERSION:
PHP 7.4.21 (cli) (built: Jul 12 2021 03:04:54) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Xdebug v3.0.4, Copyright (c) 2002-2021, by Derick Rethans
with Zend OPcache v7.4.21, Copyright (c), by Zend Technologies
### LARAVEL VERSION:
v8.79.0@8091f07558ff4a890435ff9d25fa9aca0189ad63
### BACKPACK VERSION:
4.2.x-dev@4b4b08d6d6a18f9613a9dbf7cb22e147248c7f73
Mac OS with Valet.
http://127.0.0.1:8000/admin/devtools/model/create
add one column, probably other things also
uncheck Run Migration
uncheck Generate Crud
no error
ErrorException
include(D:\laragon\www\dauwgard.be\vendor\composer/../../app/Models/Test.php): Failed to open stream: No such file or directory
http://127.0.0.1:8000/admin/devtools/model
It is not the first time I have this error, but I don't know yet how to reproduce it.
Navigate back, relaod page, try again with different model name, now I get
Symfony\Component\Yaml\Exception\ParseException
Unable to parse at line 4 (near ": string").
http://127.0.0.1:8000/admin/devtools/model
When I run php artisan backpack:version
the output is:
PHP 8.0.2 (cli) (built: Feb 3 2021 18:36:40) ( ZTS Visual C++ 2019 x64 )
Copyright (c) The PHP Group
Zend Engine v4.0.2, Copyright (c) Zend Technologies
with Zend OPcache v8.0.2, Copyright (c), by Zend Technologies
v8.74.0@004ea195012d5132eca07a176a6e587c6a74815e
4.1.61@4400187391eb5b73672c2b166a990cd737277409
I encountered the problem above on my [Windows 10] machine, and my web server is set up using [php artisan serve].
I was working on something similar but didn't expect that there will be official version
https://github.com/iMokhles/gui-for-backpack repo was empty here local is full of some functionalities
i started the road but i was a little bit slow :) i will discontinue my version and of course i will buy your version
you guys doing a great work and Nice work in this devtools
and What Feature i need in Laravel for Backpack is this Pull request ( Laravel-Backpack/CRUD#3420 )
@tabacitu please if you have time check it ;)
and again Excellent Job in those DevTools
Maybe a config key to enable or disable the devtools in production, and by default devtools is disabled in a production environment.
// file: config/backpack/devtools.php
return [
//...
'enable_in_production' => env('BACKPACK_DEVTOOLS_ENABLE_IN_PRODUCTION', false),
];
Some projects need to be tested in production mode on the developer's machine, and switching between local and production while developing a new module or adding some data using the devtools can be painful.
So by default, the devtools MUST not work in a production mode, and if we enable the devtools while in production some commands needs to be updated, for example, the php artisan migrate
will become php artisan migrate --force
, or maybe a prompt will appear to confirm the execution of the action.
I expected NewCrudController.php to be created in the folder 'Http/Controllers', but the folder was 'Http/Controllers/Admin'.
I searched the backpack config files and traces of presence 'Admin' in 'vendor/backpack' folder.
When I run php artisan backpack:version
the output is:
PHP 8.2.4 (cli) (built: Apr 3 2023 12:58:01) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.4, Copyright (c) Zend Technologies
with Xdebug v3.2.1, Copyright (c) 2002-2023, by Derick Rethans
with Zend OPcache v8.2.4, Copyright (c), by Zend Technologies
v9.52.5@e14d28c0f9403630d13f308bb43f3d3cb73d6d67
backpack/crud: 5.5.7
backpack/devtools: 1.3.5
backpack/generators: 3.3.16
backpack/langfilemanager: 4.1.0
backpack/logmanager: v4.0.10
backpack/permissionmanager: 6.0.16
backpack/pro: 1.6.4
backpack/settings: 3.0.16
I encountered the problem above on my [Mac OS] machine, and my web server is set up using [nginx + MySQL5.7 + php8.2.4].
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.