Questions tagged [routes]
Questions about mapping URLs to Controllers and Actions.
routes
33,275
questions
0
votes
0
answers
11
views
Ionic - How to pass URL params between tabs
in Ionic I have an app-routing module, which looks like that:
import { NgModule } from '@angular/core';
import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
const routes: Routes ...
0
votes
2
answers
35
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}', [...
0
votes
1
answer
10
views
Raspberry Pi ip routing keeps adding default eth0 with metrics 100
I have a raspberry Pi (latest version of x64 OS with desktop for Pi3 B+) with a apache2 webserver and it connects to a router via WiFi wlan0. It should be available trough internet via a domain name.
...
0
votes
3
answers
39
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] ...
2
votes
1
answer
21
views
gin router 404 on url patterns with :id parameter
I am getting a 404 error from a URL pattern with a quite simple parameter in it.
I am using gin-gonic with golang.
Here is my main programme. I've removed all other routing to isolate the problem.
...
-2
votes
0
answers
21
views
HPHP Fatal error: Uncaught Error: Class "Illuminate\Support\Facades\Route" not found in C:\xampp\htdocs\example-app\routes\web.php:15 how can i solvE [closed]
HP Fatal error: Uncaught Error: Class "Illuminate\Support\Facades\Route" not found in C:\xampp\htdocs\example-app\routes\web.php:15
I M TRYING TO TOUTE ROUTES WEB.PHP AND I GET AN ERROR 404 ...
0
votes
0
answers
25
views
ASP.NET ignoring routes for specific .html pages
I am running my website on ASP.NET and MVC.
Here, I have set up my files as .html file and these gets routed to their respective Controller/actions accordingly.
Now for verification of my site on ...
0
votes
1
answer
22
views
Laravel my sorting filter doesn't work but i have no error or no messages
//my route
Route::get('catalogue/{categorie?}','App\Http\Controllers\CatalogueController@index')->name('catalogue');
//my function
function index($categorie = null )
{
if($categorie)
...
0
votes
0
answers
27
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 ...
0
votes
1
answer
30
views
Laravel : i have this message "page not found" without any error
//my route
Route::get('catalogue/{categorie?}','App\Http\Controllers\CatalogueController@index')->name('catalogue');
//my controller
namespace App\Http\Controllers;
use Illuminate\Http\Request;
...
1
vote
1
answer
23
views
Create dynamic paths in my routing - Angular / PrimeNg version
I need to create several paths dynamically in my routing since the values will be added to the sidebars through an endpoint.
By creating a new item for the sidebar, the user will be specifying the ...
0
votes
0
answers
10
views
htaccess not working properly for react config
I'm making an app in MERN stack, and I have successfully deployed it on the hosting. I'm using cPanel. I have one error with the default configuration of the htaccess. With the default I get my data ...
0
votes
1
answer
34
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 ...
0
votes
0
answers
14
views
Page.tsx file being Greyed Out in Next.js 14 App Router
I have a Next.js 14 project with over 10 routes, all of which are working fine. However, when I try to add any new route with a page.tsx file, it appears greyed out, and I am unable to commit it. This ...
0
votes
0
answers
31
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' ...