diff --git a/app/Http/Controllers/CargoController.php b/app/Http/Controllers/CargoController.php new file mode 100644 index 0000000000000000000000000000000000000000..7ec7b508df9e876063eb3905e3d8d3f53f90cf48 --- /dev/null +++ b/app/Http/Controllers/CargoController.php @@ -0,0 +1,51 @@ + $cargos]); + } + + public function store(Request $request) + { + $validated = $request->validate([ + 'nombre' => 'required|max:150', + ]); + + $cargo = new cargos; + $cargo->nombre = $request->nombre; + $cargo->save(); + return redirect()->route('catalogos.cargos.get')->with('success', 'Cargo creado correctamente.'); + } + + public function update(Request $request, cargos $cargo) + { + $validated = $request->validate([ + 'id' => 'required|min:1', + 'nombre' => 'required|max:150', + ]); + $cargo = cargos::find($request->id); + $cargo->nombre = $request->nombre; + $cargo->save(); + return redirect()->route('catalogos.cargos.get')->with('success', 'Cargo actualizado correctamente.'); + } + + public function destroy($id) + { + try { + $cargo = cargos::findOrFail($id); + $cargo->delete(); + return redirect()->route('catalogos.cargos.get')->with('success', 'Cargo eliminado correctamente.'); + } catch (\Exception $e) { + return redirect()->route('catalogos.cargos.get')->withErrors('Error al eliminar el cargo:' . $e->getMessage()); + } + } +} diff --git a/app/Http/Controllers/caracteristicasController.php b/app/Http/Controllers/caracteristicasController.php index fa10e147050e6f38ab52b6f35e81a7ca63bb4270..0236a7764d4624f8615de39dd5bb7cc30d5bcc3d 100644 --- a/app/Http/Controllers/caracteristicasController.php +++ b/app/Http/Controllers/caracteristicasController.php @@ -2,9 +2,52 @@ namespace App\Http\Controllers; +use App\Models\Caracteristicas; use Illuminate\Http\Request; +use Carbon\Carbon; -class caracteristicasController extends Controller +class CaracteristicasController extends Controller { - // + public function index() + { + $caracteristicas = Caracteristicas::get(['id', 'nombre']); + return view('adminGen.catalagos.caracteristicas', ['caracteristicas' => $caracteristicas]); + } + + public function store(Request $request) + { + $validated = $request->validate([ + 'nombre' => 'required|max:150', + ]); + + $caracteristicas = new Caracteristicas(); + $caracteristicas->nombre = $request->nombre; + $caracteristicas->created_at = Carbon::now(); + $caracteristicas->updated_at = Carbon::now(); + $caracteristicas->save(); + + return redirect()->route('catalogos.caracteristicas.get')->with('success', 'Caracteristica creada correctamente.'); + } + + public function update(Request $request, Caracteristicas $caracteristicas) + { + $validated = $request->validate([ + 'id' => 'required|min:1', + 'nombre' => 'required|max:150', + ]); + + $caracteristicas = Caracteristicas::find($request->id); + $caracteristicas->nombre = $request->nombre; + $caracteristicas->save(); + + return redirect()->route('catalogos.caracteristicas.get')->with('success', 'Caracteristica actualizada correctamente.'); + } + + public function destroy($id) + { + $caracteristica = Caracteristicas::findOrFail($id); + $caracteristica->delete(); + + return redirect()->route('catalogos.caracteristicas.get')->with('success', 'Característica eliminada correctamente.'); + } } diff --git a/app/Http/Controllers/cargosController.php b/app/Http/Controllers/cargosController.php deleted file mode 100644 index 579af32cf6a6566cdb86d7725190494cb7763c12..0000000000000000000000000000000000000000 --- a/app/Http/Controllers/cargosController.php +++ /dev/null @@ -1,10 +0,0 @@ -hasMany(User::class); + } + + public $timestamps = false; } diff --git a/app/Models/cargos.php b/app/Models/cargos.php index e41dc427cad54645c395a48a131987f9c43a3086..0bcf5f1967fe0b8220f9492ef526e5e258419556 100644 --- a/app/Models/cargos.php +++ b/app/Models/cargos.php @@ -8,4 +8,13 @@ class cargos extends Model { use HasFactory; + + protected $primaryKey = 'id'; + + protected $fillable = [ + 'nombre', + ]; + public function users(): HasMany { + return $this->hasMany(User::class); + } } diff --git a/database/migrations/2024_06_10_194301_add_updated_at_to_cargos_table.php b/database/migrations/2024_06_10_194301_add_updated_at_to_cargos_table.php new file mode 100644 index 0000000000000000000000000000000000000000..568bc06ff09fe19d5c191642216364bfb85898ea --- /dev/null +++ b/database/migrations/2024_06_10_194301_add_updated_at_to_cargos_table.php @@ -0,0 +1,32 @@ +timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('cargos', function (Blueprint $table) { + $table->dropTimestamps(); + }); + } +} diff --git a/database/migrations/2024_06_12_202929_add_timestamps_to_caracteristicas_table.php b/database/migrations/2024_06_12_202929_add_timestamps_to_caracteristicas_table.php new file mode 100644 index 0000000000000000000000000000000000000000..bdeb1b326a8d33751f880673a2446d26b56ca190 --- /dev/null +++ b/database/migrations/2024_06_12_202929_add_timestamps_to_caracteristicas_table.php @@ -0,0 +1,23 @@ +timestamps(); + }); + } + + public function down() + { + Schema::table('caracteristicas', function (Blueprint $table) { + $table->dropTimestamps(); + }); + } +} + diff --git "a/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/09ee47cb6b2ead6fe59c09eda6d900b2.php" "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/09ee47cb6b2ead6fe59c09eda6d900b2.php" new file mode 100644 index 0000000000000000000000000000000000000000..6b9ede4fcf78c579841ac6c3f6d38c2d6a24df86 --- /dev/null +++ "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/09ee47cb6b2ead6fe59c09eda6d900b2.php" @@ -0,0 +1,48 @@ + + + 'laravel-exceptions-renderer::components.card','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> +withName('laravel-exceptions-renderer::card'); ?> +shouldRender()): ?> +startComponent($component->resolveView(), $component->data()); ?> + +except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> + +withAttributes([]); ?> +
+
+
+ + + class()), -1))); ?> + + +
+
message()); ?>
+
+ + +
+ renderComponent(); ?> + + + + + + + + + + \ No newline at end of file diff --git "a/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/13908c918157ccfc7c05c05195757833.php" "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/13908c918157ccfc7c05c05195757833.php" new file mode 100644 index 0000000000000000000000000000000000000000..7343cbdf26b0c92c0bf12adbd16fef0df25be3bb --- /dev/null +++ "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/13908c918157ccfc7c05c05195757833.php" @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git "a/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/32c62aaaf367aebefd821d887e2057aa.php" "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/32c62aaaf367aebefd821d887e2057aa.php" new file mode 100644 index 0000000000000000000000000000000000000000..58cb6f3d34200b78d0979786f2287e16d7828d15 --- /dev/null +++ "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/32c62aaaf367aebefd821d887e2057aa.php" @@ -0,0 +1,194 @@ + + +
+ + + +
+ \ No newline at end of file diff --git "a/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/368072756c233ac30f0cf310e266ea82.php" "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/368072756c233ac30f0cf310e266ea82.php" new file mode 100644 index 0000000000000000000000000000000000000000..9e5a0061d410e046c9ae392f9cb608f18ae2a59d --- /dev/null +++ "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/368072756c233ac30f0cf310e266ea82.php" @@ -0,0 +1,12 @@ + + +> + + + \ No newline at end of file diff --git "a/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/419551074a50fbe34ef86a0e07ca7190.php" "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/419551074a50fbe34ef86a0e07ca7190.php" new file mode 100644 index 0000000000000000000000000000000000000000..fd0ce208999715e4173638027d454e6d00ab72b3 --- /dev/null +++ "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/419551074a50fbe34ef86a0e07ca7190.php" @@ -0,0 +1,164 @@ + + \ No newline at end of file diff --git "a/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/7e33b743a27113c4160f4c552f8b4db1.php" "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/7e33b743a27113c4160f4c552f8b4db1.php" new file mode 100644 index 0000000000000000000000000000000000000000..5d03c771eb32e90a7f794d037e918ab6e8dd25b6 --- /dev/null +++ "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/7e33b743a27113c4160f4c552f8b4db1.php" @@ -0,0 +1,70 @@ + + + 'laravel-exceptions-renderer::components.card','data' => ['class' => 'mt-6 overflow-x-auto']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> +withName('laravel-exceptions-renderer::card'); ?> +shouldRender()): ?> +startComponent($component->resolveView(), $component->data()); ?> + +except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> + +withAttributes(['class' => 'mt-6 overflow-x-auto']); ?> +
+
+ + + 'laravel-exceptions-renderer::components.trace','data' => ['exception' => $exception]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> +withName('laravel-exceptions-renderer::trace'); ?> +shouldRender()): ?> +startComponent($component->resolveView(), $component->data()); ?> + +except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> + +withAttributes(['exception' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($exception)]); ?> +renderComponent(); ?> + + + + + + + + + + + + 'laravel-exceptions-renderer::components.editor','data' => ['exception' => $exception]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> +withName('laravel-exceptions-renderer::editor'); ?> +shouldRender()): ?> +startComponent($component->resolveView(), $component->data()); ?> + +except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> + +withAttributes(['exception' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($exception)]); ?> +renderComponent(); ?> + + + + + + + + + +
+
+ renderComponent(); ?> + + + + + + + + + + \ No newline at end of file diff --git "a/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/8b77322ea40de4645844c2e3622c3810.php" "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/8b77322ea40de4645844c2e3622c3810.php" new file mode 100644 index 0000000000000000000000000000000000000000..9bf53568dcecb5af2d763d7c592b64b2d2abdc2a --- /dev/null +++ "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/8b77322ea40de4645844c2e3622c3810.php" @@ -0,0 +1,59 @@ + + + + + + + <?php echo e(config('app.name', 'Laravel')); ?> + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git "a/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/931737c889bcb943f8fc79654d164835.php" "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/931737c889bcb943f8fc79654d164835.php" new file mode 100644 index 0000000000000000000000000000000000000000..837c380b95ca8152355cb3cee532a12699d1b6ac --- /dev/null +++ "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/931737c889bcb943f8fc79654d164835.php" @@ -0,0 +1,7 @@ +
merge(['class' => "@container flex flex-col p-6 sm:p-12 bg-white dark:bg-gray-900/80 text-gray-900 dark:text-gray-100 rounded-lg default:col-span-full default:lg:col-span-6 default:row-span-1 dark:ring-1 dark:ring-gray-800 shadow-xl"])); ?>" +> + + +
+ \ No newline at end of file diff --git "a/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/a120438d505ca9da755be63e962e88d7.php" "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/a120438d505ca9da755be63e962e88d7.php" new file mode 100644 index 0000000000000000000000000000000000000000..15882bae9fa5d3133c4b2b09843d39bb7e036e76 --- /dev/null +++ "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/a120438d505ca9da755be63e962e88d7.php" @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git "a/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/a3557068ed5b47425d76d1f6f3777346.php" "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/a3557068ed5b47425d76d1f6f3777346.php" new file mode 100644 index 0000000000000000000000000000000000000000..3d6c9007ae9dc97a152983945cf8f61829ba2a78 --- /dev/null +++ "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/a3557068ed5b47425d76d1f6f3777346.php" @@ -0,0 +1,49 @@ +
+
+
+
+
+ + + +
+ + + title()); ?> + + +
+ +
+ + + 'laravel-exceptions-renderer::components.theme-swicher','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> +withName('laravel-exceptions-renderer::theme-swicher'); ?> +shouldRender()): ?> +startComponent($component->resolveView(), $component->data()); ?> + +except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> + +withAttributes([]); ?> +renderComponent(); ?> + + + + + + + + + +
+
+
+
+ \ No newline at end of file diff --git "a/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/a43dffac7f28722de66800e4b9a5f5b9.php" "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/a43dffac7f28722de66800e4b9a5f5b9.php" new file mode 100644 index 0000000000000000000000000000000000000000..1e6b1745ced0b13c868e183c38aee566bb366ec1 --- /dev/null +++ "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/a43dffac7f28722de66800e4b9a5f5b9.php" @@ -0,0 +1,185 @@ + + + 'laravel-exceptions-renderer::components.card','data' => ['class' => 'mt-6 overflow-x-auto']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> +withName('laravel-exceptions-renderer::card'); ?> +shouldRender()): ?> +startComponent($component->resolveView(), $component->data()); ?> + +except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> + +withAttributes(['class' => 'mt-6 overflow-x-auto']); ?> +
+ Request +
+ +
+ request()->method()); ?> + request()->httpHost()); ?> +
+ +
+ Headers +
+ +
+ requestHeaders(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> +
+ + + + + +
+
+
+ popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> + +
No headers data
+
+ +
+ +
+ Body +
+ +
+
+ +
requestBody() ?: 'No body data'; ?>
+
+
+
+ + renderComponent(); ?> + + + + + + + + + + + + + 'laravel-exceptions-renderer::components.card','data' => ['class' => 'mt-6 overflow-x-auto']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> +withName('laravel-exceptions-renderer::card'); ?> +shouldRender()): ?> +startComponent($component->resolveView(), $component->data()); ?> + +except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> + +withAttributes(['class' => 'mt-6 overflow-x-auto']); ?> +
+ Application +
+ +
+ Routing +
+ +
+ applicationRouteContext(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $name => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> +
+ + +
+
+
+ popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> + +
No routing data
+
+ +
+ + applicationRouteParametersContext()): ?> +
+ Routing Parameters +
+ +
+
+ +
+
+
+
+ + +
+ Database Queries + + applicationQueries()) === 100): ?> + only the first 100 queries are displayed + + +
+ +
+ applicationQueries(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as ['connectionName' => $connectionName, 'sql' => $sql, 'time' => $time]): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?> +
+
+ + +
+ +
+
+
+ popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?> + +
No query data
+
+ +
+ renderComponent(); ?> + + + + + + + + + + \ No newline at end of file diff --git "a/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/a6e017772dac798c684f8ca4ea6a433e.php" "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/a6e017772dac798c684f8ca4ea6a433e.php" new file mode 100644 index 0000000000000000000000000000000000000000..c8eaac41c8d4e80d19b9efcd5cce086e8690733c --- /dev/null +++ "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/a6e017772dac798c684f8ca4ea6a433e.php" @@ -0,0 +1,12 @@ + + +> + + + \ No newline at end of file diff --git "a/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/ac95352bcdc7cb6b645348f21d9bb43e.php" "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/ac95352bcdc7cb6b645348f21d9bb43e.php" new file mode 100644 index 0000000000000000000000000000000000000000..b04061206b3cc5c4e279491a4db77643e3e0ba29 --- /dev/null +++ "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/ac95352bcdc7cb6b645348f21d9bb43e.php" @@ -0,0 +1,12 @@ + + +> + + + \ No newline at end of file diff --git "a/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/bae129cef9e600352d1c88ca55b5c61c.php" "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/bae129cef9e600352d1c88ca55b5c61c.php" new file mode 100644 index 0000000000000000000000000000000000000000..82cb09746af40f0b0a9b09b7162d02202be7ac92 --- /dev/null +++ "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/bae129cef9e600352d1c88ca55b5c61c.php" @@ -0,0 +1,110 @@ + + + 'laravel-exceptions-renderer::components.layout','data' => ['exception' => $exception]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> +withName('laravel-exceptions-renderer::layout'); ?> +shouldRender()): ?> +startComponent($component->resolveView(), $component->data()); ?> + +except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> + +withAttributes(['exception' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($exception)]); ?> +
+ + + 'laravel-exceptions-renderer::components.navigation','data' => ['exception' => $exception]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> +withName('laravel-exceptions-renderer::navigation'); ?> +shouldRender()): ?> +startComponent($component->resolveView(), $component->data()); ?> + +except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> + +withAttributes(['exception' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($exception)]); ?> +renderComponent(); ?> + + + + + + + + + + +
+
+ + + 'laravel-exceptions-renderer::components.header','data' => ['exception' => $exception]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> +withName('laravel-exceptions-renderer::header'); ?> +shouldRender()): ?> +startComponent($component->resolveView(), $component->data()); ?> + +except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> + +withAttributes(['exception' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($exception)]); ?> +renderComponent(); ?> + + + + + + + + + + + + + 'laravel-exceptions-renderer::components.trace-and-editor','data' => ['exception' => $exception]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> +withName('laravel-exceptions-renderer::trace-and-editor'); ?> +shouldRender()): ?> +startComponent($component->resolveView(), $component->data()); ?> + +except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> + +withAttributes(['exception' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($exception)]); ?> +renderComponent(); ?> + + + + + + + + + + + + + 'laravel-exceptions-renderer::components.context','data' => ['exception' => $exception]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> +withName('laravel-exceptions-renderer::context'); ?> +shouldRender()): ?> +startComponent($component->resolveView(), $component->data()); ?> + +except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> + +withAttributes(['exception' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($exception)]); ?> +renderComponent(); ?> + + + + + + + + + +
+
+
+ renderComponent(); ?> + + + + + + + + + + \ No newline at end of file diff --git "a/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/f35c1ee9486679cd0ff0ddd907b0d481.php" "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/f35c1ee9486679cd0ff0ddd907b0d481.php" new file mode 100644 index 0000000000000000000000000000000000000000..146d3a8ff3ffb3a5236a7de9879d251b9ed67698 --- /dev/null +++ "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234framework\357\201\234views/f35c1ee9486679cd0ff0ddd907b0d481.php" @@ -0,0 +1,33 @@ +frames(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $frame): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> +
+
+
+
+ + + + file()); ?> + + + file()); ?> + + + :line()); ?> +
+
+
+
+
+
+
+popLoop(); $loop = $__env->getLastLoop(); ?> + \ No newline at end of file diff --git "a/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234logs/laravel.log" "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234logs/laravel.log" new file mode 100644 index 0000000000000000000000000000000000000000..6f5d3ebc6dc727c625d47c794316cbbac44824b2 --- /dev/null +++ "b/public/C\357\200\272\357\201\234Users\357\201\234aleke\357\201\234agendagobernador\357\201\234storage\357\201\234logs/laravel.log" @@ -0,0 +1,254 @@ +[2024-06-11 15:31:59] local.ERROR: SQLSTATE[HY000] [2002] No such file or directory (Connection: mysql, SQL: select * from `sessions` where `id` = 0yLFRABNl0hxAriHZMUEuCl1V0pVTJdDJd3WzOKt limit 1) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 2002): SQLSTATE[HY000] [2002] No such file or directory (Connection: mysql, SQL: select * from `sessions` where `id` = 0yLFRABNl0hxAriHZMUEuCl1V0pVTJdDJd3WzOKt limit 1) at /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:813) +[stacktrace] +#0 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(967): Illuminate\\Database\\Connection->runQueryCallback('select * from `...', Array, Object(Closure)) +#1 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(946): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure)) +#2 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(769): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure)) +#3 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(398): Illuminate\\Database\\Connection->run('select * from `...', Array, Object(Closure)) +#4 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2993): Illuminate\\Database\\Connection->select('select * from `...', Array, true) +#5 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2978): Illuminate\\Database\\Query\\Builder->runSelect() +#6 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3566): Illuminate\\Database\\Query\\Builder->Illuminate\\Database\\Query\\{closure}() +#7 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2977): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure)) +#8 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(335): Illuminate\\Database\\Query\\Builder->get(Array) +#9 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2900): Illuminate\\Database\\Query\\Builder->first(Array) +#10 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/DatabaseSessionHandler.php(97): Illuminate\\Database\\Query\\Builder->find('0yLFRABNl0hxAri...') +#11 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Store.php(113): Illuminate\\Session\\DatabaseSessionHandler->read('0yLFRABNl0hxAri...') +#12 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Store.php(101): Illuminate\\Session\\Store->readFromHandler() +#13 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Store.php(85): Illuminate\\Session\\Store->loadSession() +#14 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(147): Illuminate\\Session\\Store->start() +#15 /var/www/html/vendor/laravel/framework/src/Illuminate/Support/helpers.php(363): Illuminate\\Session\\Middleware\\StartSession->Illuminate\\Session\\Middleware\\{closure}(Object(Illuminate\\Session\\Store)) +#16 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(144): tap(Object(Illuminate\\Session\\Store), Object(Closure)) +#17 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(116): Illuminate\\Session\\Middleware\\StartSession->startSession(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store)) +#18 /var/www/html/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)) +#19 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#20 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#21 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#22 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(75): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#23 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#24 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#25 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(805): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) +#26 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(784): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) +#27 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(748): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) +#28 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(737): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) +#29 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) +#30 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) +#31 /var/www/html/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#32 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Livewire\\Features\\SupportDisablingBackButtonCache\\DisableBackButtonCacheMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#33 /var/www/html/app/Http/Middleware/CheckBanned.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#34 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): App\\Http\\Middleware\\CheckBanned->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#35 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#36 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#37 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#38 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#39 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#40 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#41 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#42 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#43 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#44 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#45 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#46 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#47 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#48 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#49 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#50 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) +#51 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) +#52 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1176): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) +#53 /var/www/html/public/index.php(17): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) +#54 {main} + +[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] No such file or directory at /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65) +[stacktrace] +#0 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(65): PDO->__construct('mysql:host=loca...', 'agenda_user', Object(SensitiveParameterValue), Array) +#1 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(83): Illuminate\\Database\\Connectors\\Connector->createPdoConnection('mysql:host=loca...', 'agenda_user', 'password_agenda...', Array) +#2 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(48): Illuminate\\Database\\Connectors\\Connector->tryAgainIfCausedByLostConnection(Object(PDOException), 'mysql:host=loca...', 'agenda_user', 'password_agenda...', Array) +#3 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\\Database\\Connectors\\Connector->createConnection('mysql:host=loca...', Array, Array) +#4 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(185): Illuminate\\Database\\Connectors\\MySqlConnector->connect(Array) +#5 [internal function]: Illuminate\\Database\\Connectors\\ConnectionFactory->Illuminate\\Database\\Connectors\\{closure}() +#6 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1219): call_user_func(Object(Closure)) +#7 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1255): Illuminate\\Database\\Connection->getPdo() +#8 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(512): Illuminate\\Database\\Connection->getReadPdo() +#9 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(407): Illuminate\\Database\\Connection->getPdoForSelect(true) +#10 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(800): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('select * from `...', Array) +#11 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(967): Illuminate\\Database\\Connection->runQueryCallback('select * from `...', Array, Object(Closure)) +#12 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(946): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure)) +#13 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(769): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure)) +#14 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(398): Illuminate\\Database\\Connection->run('select * from `...', Array, Object(Closure)) +#15 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2993): Illuminate\\Database\\Connection->select('select * from `...', Array, true) +#16 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2978): Illuminate\\Database\\Query\\Builder->runSelect() +#17 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3566): Illuminate\\Database\\Query\\Builder->Illuminate\\Database\\Query\\{closure}() +#18 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2977): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure)) +#19 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(335): Illuminate\\Database\\Query\\Builder->get(Array) +#20 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2900): Illuminate\\Database\\Query\\Builder->first(Array) +#21 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/DatabaseSessionHandler.php(97): Illuminate\\Database\\Query\\Builder->find('0yLFRABNl0hxAri...') +#22 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Store.php(113): Illuminate\\Session\\DatabaseSessionHandler->read('0yLFRABNl0hxAri...') +#23 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Store.php(101): Illuminate\\Session\\Store->readFromHandler() +#24 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Store.php(85): Illuminate\\Session\\Store->loadSession() +#25 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(147): Illuminate\\Session\\Store->start() +#26 /var/www/html/vendor/laravel/framework/src/Illuminate/Support/helpers.php(363): Illuminate\\Session\\Middleware\\StartSession->Illuminate\\Session\\Middleware\\{closure}(Object(Illuminate\\Session\\Store)) +#27 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(144): tap(Object(Illuminate\\Session\\Store), Object(Closure)) +#28 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(116): Illuminate\\Session\\Middleware\\StartSession->startSession(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store)) +#29 /var/www/html/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)) +#30 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#31 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#32 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#33 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(75): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#34 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#35 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#36 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(805): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) +#37 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(784): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) +#38 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(748): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) +#39 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(737): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) +#40 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) +#41 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) +#42 /var/www/html/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#43 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Livewire\\Features\\SupportDisablingBackButtonCache\\DisableBackButtonCacheMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#44 /var/www/html/app/Http/Middleware/CheckBanned.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#45 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): App\\Http\\Middleware\\CheckBanned->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#46 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#47 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#48 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#49 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#50 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#51 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#52 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#53 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#54 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#55 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#56 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#57 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#58 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#59 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#60 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#61 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) +#62 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) +#63 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1176): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) +#64 /var/www/html/public/index.php(17): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) +#65 {main} +"} +[2024-06-11 15:32:49] local.ERROR: SQLSTATE[HY000] [2002] No such file or directory (Connection: mysql, SQL: select * from `sessions` where `id` = BCqrcNTSmm8RBi9P6dPtJjINKac94wpkcPZbnV9R limit 1) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 2002): SQLSTATE[HY000] [2002] No such file or directory (Connection: mysql, SQL: select * from `sessions` where `id` = BCqrcNTSmm8RBi9P6dPtJjINKac94wpkcPZbnV9R limit 1) at /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:813) +[stacktrace] +#0 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(967): Illuminate\\Database\\Connection->runQueryCallback('select * from `...', Array, Object(Closure)) +#1 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(946): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure)) +#2 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(769): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure)) +#3 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(398): Illuminate\\Database\\Connection->run('select * from `...', Array, Object(Closure)) +#4 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2993): Illuminate\\Database\\Connection->select('select * from `...', Array, true) +#5 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2978): Illuminate\\Database\\Query\\Builder->runSelect() +#6 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3566): Illuminate\\Database\\Query\\Builder->Illuminate\\Database\\Query\\{closure}() +#7 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2977): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure)) +#8 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(335): Illuminate\\Database\\Query\\Builder->get(Array) +#9 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2900): Illuminate\\Database\\Query\\Builder->first(Array) +#10 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/DatabaseSessionHandler.php(97): Illuminate\\Database\\Query\\Builder->find('BCqrcNTSmm8RBi9...') +#11 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Store.php(113): Illuminate\\Session\\DatabaseSessionHandler->read('BCqrcNTSmm8RBi9...') +#12 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Store.php(101): Illuminate\\Session\\Store->readFromHandler() +#13 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Store.php(85): Illuminate\\Session\\Store->loadSession() +#14 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(147): Illuminate\\Session\\Store->start() +#15 /var/www/html/vendor/laravel/framework/src/Illuminate/Support/helpers.php(363): Illuminate\\Session\\Middleware\\StartSession->Illuminate\\Session\\Middleware\\{closure}(Object(Illuminate\\Session\\Store)) +#16 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(144): tap(Object(Illuminate\\Session\\Store), Object(Closure)) +#17 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(116): Illuminate\\Session\\Middleware\\StartSession->startSession(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store)) +#18 /var/www/html/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)) +#19 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#20 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#21 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#22 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(75): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#23 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#24 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#25 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(805): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) +#26 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(784): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) +#27 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(748): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) +#28 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(737): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) +#29 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) +#30 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) +#31 /var/www/html/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#32 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Livewire\\Features\\SupportDisablingBackButtonCache\\DisableBackButtonCacheMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#33 /var/www/html/app/Http/Middleware/CheckBanned.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#34 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): App\\Http\\Middleware\\CheckBanned->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#35 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#36 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#37 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#38 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#39 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#40 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#41 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#42 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#43 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#44 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#45 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#46 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#47 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#48 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#49 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#50 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) +#51 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) +#52 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1176): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) +#53 /var/www/html/public/index.php(17): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) +#54 {main} + +[previous exception] [object] (PDOException(code: 2002): SQLSTATE[HY000] [2002] No such file or directory at /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:65) +[stacktrace] +#0 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(65): PDO->__construct('mysql:host=loca...', 'agenda_user', Object(SensitiveParameterValue), Array) +#1 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(83): Illuminate\\Database\\Connectors\\Connector->createPdoConnection('mysql:host=loca...', 'agenda_user', 'password_agenda...', Array) +#2 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php(48): Illuminate\\Database\\Connectors\\Connector->tryAgainIfCausedByLostConnection(Object(PDOException), 'mysql:host=loca...', 'agenda_user', 'password_agenda...', Array) +#3 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php(24): Illuminate\\Database\\Connectors\\Connector->createConnection('mysql:host=loca...', Array, Array) +#4 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(185): Illuminate\\Database\\Connectors\\MySqlConnector->connect(Array) +#5 [internal function]: Illuminate\\Database\\Connectors\\ConnectionFactory->Illuminate\\Database\\Connectors\\{closure}() +#6 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1219): call_user_func(Object(Closure)) +#7 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(1255): Illuminate\\Database\\Connection->getPdo() +#8 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(512): Illuminate\\Database\\Connection->getReadPdo() +#9 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(407): Illuminate\\Database\\Connection->getPdoForSelect(true) +#10 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(800): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}('select * from `...', Array) +#11 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(967): Illuminate\\Database\\Connection->runQueryCallback('select * from `...', Array, Object(Closure)) +#12 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(946): Illuminate\\Database\\Connection->tryAgainIfCausedByLostConnection(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure)) +#13 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(769): Illuminate\\Database\\Connection->handleQueryException(Object(Illuminate\\Database\\QueryException), 'select * from `...', Array, Object(Closure)) +#14 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php(398): Illuminate\\Database\\Connection->run('select * from `...', Array, Object(Closure)) +#15 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2993): Illuminate\\Database\\Connection->select('select * from `...', Array, true) +#16 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2978): Illuminate\\Database\\Query\\Builder->runSelect() +#17 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3566): Illuminate\\Database\\Query\\Builder->Illuminate\\Database\\Query\\{closure}() +#18 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2977): Illuminate\\Database\\Query\\Builder->onceWithColumns(Array, Object(Closure)) +#19 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(335): Illuminate\\Database\\Query\\Builder->get(Array) +#20 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(2900): Illuminate\\Database\\Query\\Builder->first(Array) +#21 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/DatabaseSessionHandler.php(97): Illuminate\\Database\\Query\\Builder->find('BCqrcNTSmm8RBi9...') +#22 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Store.php(113): Illuminate\\Session\\DatabaseSessionHandler->read('BCqrcNTSmm8RBi9...') +#23 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Store.php(101): Illuminate\\Session\\Store->readFromHandler() +#24 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Store.php(85): Illuminate\\Session\\Store->loadSession() +#25 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(147): Illuminate\\Session\\Store->start() +#26 /var/www/html/vendor/laravel/framework/src/Illuminate/Support/helpers.php(363): Illuminate\\Session\\Middleware\\StartSession->Illuminate\\Session\\Middleware\\{closure}(Object(Illuminate\\Session\\Store)) +#27 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(144): tap(Object(Illuminate\\Session\\Store), Object(Closure)) +#28 /var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(116): Illuminate\\Session\\Middleware\\StartSession->startSession(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store)) +#29 /var/www/html/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)) +#30 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#31 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#32 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#33 /var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(75): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#34 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#35 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#36 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(805): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) +#37 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(784): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) +#38 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(748): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) +#39 /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(737): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) +#40 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) +#41 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) +#42 /var/www/html/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php(19): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#43 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Livewire\\Features\\SupportDisablingBackButtonCache\\DisableBackButtonCacheMiddleware->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#44 /var/www/html/app/Http/Middleware/CheckBanned.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#45 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): App\\Http\\Middleware\\CheckBanned->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#46 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#47 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#48 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#49 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#50 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#51 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#52 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#53 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#54 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#55 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#56 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#57 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#58 /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#59 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) +#60 /var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) +#61 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) +#62 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) +#63 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1176): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) +#64 /var/www/html/public/index.php(17): Illuminate\\Foundation\\Application->handleRequest(Object(Illuminate\\Http\\Request)) +#65 {main} +"} diff --git a/resources/views/adminGen/catalagos/caracteristicas.blade.php b/resources/views/adminGen/catalagos/caracteristicas.blade.php new file mode 100644 index 0000000000000000000000000000000000000000..aea6bec27abbbce915871916a38b76d718f81c98 --- /dev/null +++ b/resources/views/adminGen/catalagos/caracteristicas.blade.php @@ -0,0 +1,272 @@ + + + + + +
+ +
+ +
+
+
+ + + +
+
+
+ + + + + + + + + +
IdNombreAcciones
+ +
+
+ + + + + +
\ No newline at end of file diff --git a/resources/views/adminGen/catalagos/cargos.blade.php b/resources/views/adminGen/catalagos/cargos.blade.php new file mode 100644 index 0000000000000000000000000000000000000000..ed4ad79c4963a6f844ba16b54b3c79e4615d27c2 --- /dev/null +++ b/resources/views/adminGen/catalagos/cargos.blade.php @@ -0,0 +1,273 @@ + + + + + +
+ +
+ +
+
+
+ + + +
+
+
+ + + + + + + + + +
IdNombreAcciones
+ +
+
+ + + + + +
\ No newline at end of file diff --git a/routes/web.php b/routes/web.php index dd0beda53b553c1eeaf3a7c4238d26a6a6b7c0a8..772d99151fc2407ef08741b377a5aded7254856d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -4,6 +4,8 @@ //Middlewares use App\Http\Middleware\CheckBanned; //Controllers +use App\Http\Controllers\CargoController; +use App\Http\Controllers\CaracteristicasController; use App\Http\Controllers\DependenciaController; Route::get('/', function () { @@ -21,6 +23,18 @@ })->name('dashboard'); }); +<<<<<<< routes/web.php +Route::prefix('catalogos')->name('catalogos.')->group(function () { + Route::get('/cargos', [CargoController::class, 'index'])->name('cargos.get'); + Route::post('/cargos', [CargoController::class, 'store'])->name('cargos.store'); + Route::put('/cargos', [CargoController::class, 'update'])->name('cargos.update'); + Route::delete('/cargos/{id}', [CargoController::class, 'destroy'])->name('cargos.destroy'); + + Route::get('/caracteristicas', [CaracteristicasController::class, 'index'])->name('caracteristicas.get'); + Route::post('/caracteristicas', [CaracteristicasController::class, 'store'])->name('caracteristicas.store'); + Route::put('/caracteristicas', [CaracteristicasController::class, 'update'])->name('caracteristicas.update'); + Route::delete('/caracteristicas/{id}', [CaracteristicasController::class, 'destroy'])->name('caracteristicas.destroy'); +}); Route::name('catalogos.')->group(function () { Route::get('/catalogos/dependencias', [DependenciaController::class, 'index'])->name('dependencias.get'); @@ -28,4 +42,3 @@ Route::put('/catalogos/dependencias', [DependenciaController::class, 'update'])->name('dependencias.update'); Route::delete('/catalogos/dependencias/{id}', [DependenciaController::class, 'destroy'])->name('dependencias.destroy'); }); -