Skip to main content

All Questions

Tagged with
-3 votes
0 answers
15 views

Struggling to fix the routing problems I'm having in php [closed]

I'm having problems accessing the pages on my website using the routes that I set in the route.php file eg. localhost/online_library_1/categories, does not work, here is my folder structure, I don't ...
programmer's user avatar
-1 votes
0 answers
43 views

The GET method is not supported for this route. Supported methods: HEAD.? [closed]

Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException The GET method is not supported for this route. Supported methods: HEAD. I keep getting this error when trying to upload my Laravel ...
Mohamed rifky's user avatar
0 votes
2 answers
49 views

Missing required parameter for update route laravel 11

I have an error Missing required parameter for [Route: updatetransaksi] [URI: penjualan/update/{id}] [Missing parameter: id]. web code route::get('/penjualan/edit/{id_penjualan}', [...
Dia Siapa's user avatar
0 votes
3 answers
42 views

Why is my router causing not to read the css?

I created a router from scratch. It's a simple router : class Router { private static array $routes; public static function register($route = '/', $filename=''){ self::$routes[$route] ...
Zakaria DOUIH's user avatar
0 votes
0 answers
28 views

Customizing Error Responses for Non-Existent Resource IDs in API Platform

I'm using API Platform in my Symfony application and encountering an issue with the automatic Get() route when searching for a resource that doesn't exist. Currently, API Platform returns a default ...
Develop'ER's user avatar
0 votes
1 answer
43 views

Problems with urls at Laravel 11

I have been having problems for a few days regarding access to routes defined for my middlewares. The specific problem with all this is that when, for example, I want to enter a URL of my entity other ...
Carlos Gutiérrez's user avatar
0 votes
0 answers
32 views

PHP Codeigniter 4 redirect route not found after insert

I have a controller that calls my model to insert a new record, returned the id of the new record, and then does a redirect to display the new record. But I get an error: "The route for '/r/xx' ...
user2723901's user avatar
-1 votes
1 answer
57 views

redirect Request to another controller in middleware of laravel

i have a problem with redirect of controller or URL request, i have two api route for example: API No. 1: Route::prefix('v1')->group(function () { Route::controller('handelProController')->...
Mostafa Azimi's user avatar
1 vote
0 answers
20 views

Unable to use both route options and a nested resource callback in CakePHP 5.x

I'm trying to use nested restful routing by CakePHP 5, but it seems impossible to use both route options as an array, and nested resource definition as a callback. The following example does not work ...
jakubplus's user avatar
  • 317
-1 votes
1 answer
20 views

Routing does only work locally with self written PHP routing method

I wrote a project without an existing framework which I now want to deploy on a Microsoft IIS. Falsely I thought this would be done in a few minutes, but I had to find out that my routing doesn't work ...
DevelopWithHappiiE's user avatar
0 votes
0 answers
44 views

Routing of own extension fails for detail-page

I’m struggling with a routing problem. I’ve added a slug-field to the TCA and added the configuration to the config.yaml. In the frontend the urls are generated correctly but when I click on the Link ...
C. Widmer's user avatar
0 votes
0 answers
15 views

Symfony 5: 404 error page routing for different themes of a multi-site repo

For my main site, https://hb.test/_error/404 works fine. However, for the other site https://hart.test/_error/404 under the same repo, Symfony Profiler shows that themes/hb/templates/bundles/...
Sugarloading's user avatar
0 votes
1 answer
64 views

Can't Auto Fill Form When Trying To Edit - CRUD

Hello I was trying to use the Edit function from Laravel CRUD with resource. The problem that I got is that the form is not filling any of the old data that I already created using the value="{{ ...
NyK's user avatar
  • 3
0 votes
0 answers
22 views

PHP MVC Routing Issue: Page does not update

I am creating a PHP application using an MVC architecture and I'm encountering an issue where the URL changes correctly, but the page content does not update accordingly. I have set up my application ...
William's user avatar
0 votes
0 answers
31 views

The GET method is not supported for route (to delete). Supported methods: DELETE. (I'm using Post & Delete)

I have implemented a modal to delete objects in my project, the problem is that when I click delete, it tells me that I am using a get method even though I use a post/delete method. <form id="...
Raúl García's user avatar

15 30 50 per page
1
2 3 4 5
307