skip to Main Content

Can't run laravel with php artisan serve command

ErrorException Undefined array key 1 at vendorlaravelframeworksrcIlluminateFoundationConsoleServeCommand.php:368 364▕ $line = str_replace(' ', ' ', $line); 365▕ 366▕ preg_match($regex, $line, $matches); 367▕ ➜ 368▕ return Carbon::createFromFormat('D M d H:i:s Y', $matches[1]); 369▕ } 370▕ 371▕ /** 372▕ * Get the request…

VIEW QUESTION

error while running my php laravel program

IlluminateDatabaseQueryException could not find driver (Connection: mysql, SQL: select * from `site_settings` order by `created_at` desc limit 1) at vendorlaravelframeworksrcIlluminateDatabaseConnection.php:829 825▕ $this->getName(), $query, $this->prepareBindings($bindings), $e 826▕ ); 827▕ } 828▕ ➜ 829▕ throw new QueryException( 830▕ $this->getName(), $query, $this->prepareBindings($bindings), $e…

VIEW QUESTION

Laravel – PUT method is not supported for route vehiculos/7676729/edit. Supported methods: GET, HEAD

I'm trying to understand PHP Laravel but can't figure out how to make this put operation. Basically I have my db created with artisan and the table for vehiculos is simple. Schema::create('vehiculos', function (Blueprint $table) { $table->string('id')->foreign('idFk')->references('id')->on('clientes')->onDelete('cascade'); $table->string('marca'); $table->string('modelo'); $table->year('anio');…

VIEW QUESTION
Back To Top
Search