Category : laravel

hello and sorry for my bad English , can any one help me ? when i try to sign up nothing happens . i use laravel 7. every time I click the sign up button, nothing happens and also no errors are showing. UserController.php namespace AppHttpControllersWebUser; use Reminder; use Exception; use ModulesUserHttpControllersAuthController; class UserController extends ..

Read more

I’m trying to create a testing url for rand image generator, as a start I’ve tried : Route::get(‘/img/UoJb9wl.png’,’[email protected]’); All I did is to return this return ‘<img src="https://impact100.org/wp-content/uploads/2019/12/New-Member-Welcome.jpg" alt="Smiley face" height="200" width="300">’; Then, I tested on the live site : I see the image loaded if I go to the URL https://www.bunlongheng.com/img/UoJb9wl.png If I imported ..

Read more

Good day. Could someone guide me on how to install this kit https://www.creative-tim.com/product/vue-argon-design-system in an existing larval project. I am using laravel 8 with inert jetstream and vuejs 3. I’m already trying but until now I haven’t been able to get it since I’m a bit new to this. first of all, Thanks. Source: Ask ..

Read more

Am trying to make a eCommorece project and I want to add filter dropmenues on the products table, to search from more than one database, but everytime I select an option I get this error below… https://flareapp.io/share/v5pzQz2P And here is the conde on the controller $products = Product::orderBy(‘id’, ‘desc’) ->where( function($query) use($request){ return $request->status_id ? ..

Read more

public function show(Project $project) { $client = $project->client; $users = $project->projectUsers(); $user_project = UserProject::where(‘user_id’, $users[0]->id) ->where(‘project_id’, $project->id) ->first()->id; $users->each(function ( $user ){ // $user->total_hours = $user->with(‘usersHoursPerProject’); $user->total_hours = $user->usersHoursPerProject($user_project); }); return Inertia::render(‘Projects/show’, [ ‘client’ => $client, ‘users’ => $users, ‘project’ => $project ]); } i need to use user_project into the each function i try ..

Read more

I am quite new to Linux and Docker. It is good that Sail manages everything for me! But I would like to allow the debugging in VSCode. I have added in my windows laravel folder /docker/8.0/php.ini [XDebug] xdebug.remote_enable = 1 xdebug.remote_autostart = 1 xdebug.remote_host = host.docker.internal xdebug.remote_port = 9001 I have added this in my ..

Read more