All Questions
Tagged with routes controller
1,124
questions
0
votes
1
answer
25
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
1
answer
35
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;
...
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="{{ ...
0
votes
2
answers
31
views
the patient card is not displaying permanently
I'm trying to create a patient card which is automatically added to the "seated waiting" zone at the beginning it showed me the card and in a fraction of a second it disappeared
how can I ...
0
votes
0
answers
27
views
Target class does not exist when I'm trying to acces API route
When I'm trying to access my route via http://localhost:8000/api/dnd/array, I get error:
Target class [Api/DndController] does not exist.
https://flareapp.io/share/87ndNRBm
I've use these commands to ...
1
vote
1
answer
84
views
Laravel form action not accepting $order->id but accepting hard coded value
I debugged the code using {{ dd($order->id) }} and received the order id value of 100238. However, when I used the following:
<form action="{{ route('admin.pos.update_order', ['id' => $...
0
votes
0
answers
38
views
problem with laravel view not extending layout.blade.php with out assets file . What can possibly be the problem?
for my college project , I am using a template view called (home_layout.blade.php) to be my layout for other views , it was working well before but i made a new view and when extending the home_layout ...
0
votes
0
answers
24
views
Missing required parameter for [Route: history_form.createHistory] [URI: history_forms/createH/{school_student}] [Missing parameter: school_student]
I have a problem on my project. Here is the error:
Missing required parameter for [Route: history_form.createHistory] [URI: history_forms/createH/{school_student}] [Missing parameter: school_student]....
0
votes
1
answer
114
views
Why Routing is not working in .NET 7 Blazor Server App
I'm having trouble with what I thank is a routing issue. I have added a controller to a .NET 7 Blazor Server app and I cannot get the routing to work correctly. I'm posting what my code looks like.
[...
1
vote
0
answers
95
views
I do not know why I get the following error:uninitialized constant Games Object.const_get(camel_cased_word) ^
I work on a Rails project and I seem to have a route or controller problem which I do not understand. This is the error I receive: uninitialized constant Games Object.const_get(camel_cased_word) ^^^^^^...
0
votes
0
answers
46
views
how can i get product data with different routing pattern in laravel
controller function to get products with category:
public function category(Request $request, $slug = null, $slug1 = null, $slug2 = null)
{
if (Session::has('currency')) {
$curr = Currency:...
0
votes
2
answers
51
views
Unable to Log Outside of app.js in an Express Application
I'm working on an Express application using Node.js, and I'm facing an issue with generating logs outside the app.js file. Here is my setup:
In my app.js file, I'm able to generate logs as expected. ...
0
votes
0
answers
50
views
how do i get rid of laravel 10 route class error, where it says it can't find a class that is there?
I just want to make an href link go to a different page from dashboard.
I have an error on my web page when i try to access my cities page through an href link
the error: "Target class [App\Http\...
0
votes
2
answers
39
views
Selecting a controller in Laravel depending on the condition
I need to create a user accreditation controller. Users can be of two types: Buyer and Seller. I want different controllers to be called at the same address /accreditations/create depending on the ...
0
votes
0
answers
23
views
LARAVEL: Button Click Redirects to 404 Instead of Invoking Controller Method
I've built a WordPress plugin that can be updated by visiting a specific URL (domain.com/wp-json/fetcha/pluginupdate/akismet/akismet.php). That's working well and what it does is it updates the plugin....