Our Black Friday sale is now live! All individual subscriptions are 50% OFF. This week only!

soogo soogo
1
How can I run a controller by the role of the user? Only with 1 route Route::resource('coins', 'CoinsControllers');...
mehrdad70 mehrdad70
1
how i can fix this error? SQLSTATE[42S02]: Base table or view not found: 1146 Table 'learning.category_coupon' doesn't exist (SQL: select * from `category_coupon` where `coupon_id` = 2) public function up() { Schema::create('coupons...
irankhosravi irankhosravi
20
Look at my codes @else <li class="nav-item dropdown"> <a id="navbarDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup...
ajay01 ajay01
1
My Server Log file frequently reporting this error. How to solve this? [2020-11-13 03:49:12] local.ERROR: Symfony\Component\HttpFoundation\Exception\SuspiciousOperationException: Invalid method override "__CONSTRUCT". in /var/www/html/insta...
himanshurajvanshi himanshurajvanshi
4
Actually I want all login user who login into his account .I want to check list all active login user.Like who is live into his account....
jaynarayan jaynarayan
1
My login code is working because when I log in ,I get loged in user in response ,however when i trying to display user on dashboard component. api.php Route::middleware('auth:sanctum')->get('/user', function (Request $request) { return $reque...
Hi, devs, How can I only run the following code in the boot method in appServiceProvider if the database connection is successful? public function boot() { if (Schema::hasTable('system_settings') && SystemSetting::first()) {...
marfino3028 marfino3028
4
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'companies.companies_id' in 'where clause' (SQL: select * from companies where companies.companies_id = 4 and companies.companies_id is not null) (View: C:\xampp\htdocs\transisi\laravel-transisi\...
david001 david001
9
I am working in Roles and Permission. I have fetched all permission from permissions table. I want to show all available permission to superadmin and at the same time if he has already that some permission then checkbox should be checked ,if some are...
mecjos mecjos
0
Hi. I'm using godaddy shared hosting to test my app. How can I install new packages in proper way on godaddy shared hosting. When I try to install it by using ssh connection but while updating dependancey it says killed on terminal. Composer.json fil...
Maximus1 Maximus1
7
I am trying to add marks to questions answered by a specific student. It is an array of existing questions and answers and i want to add marks to them. When i add the marks and save , i get this error "BadMethodCallException Method Illuminate\...
van1310 van1310
8
hello i m stuck in settimezone in my query can you please help me how to do it? here is my query $todayLeads = $this->getConversionRateData(Carbon::now()->startOfDay(), Carbon::now()->startOfDay()->addDays(1), $clientId,$salesCenterId, $l...
andrydox andrydox
5
hi teams, im new in laravel and learning about Microsoft Graphs, i found about HTTP Request in the tutorial page, but don't know where i must insert the code. the code looks like : GET /me/calendarGroup/calendars/{id} GET /users/{id | userPrincipalNa...
ImWaller ImWaller
1
Please help, I really want help. I cant think nothing for this problem. I watch tutorials and follow docs step by step, over and over from start but this error follow me everywhere. file: web/api.php Route::middleware('auth:sanctum')->get('/user',...
Aled_Cherry Aled_Cherry
19
I have a migration to create table "Organizations" : Schema::create('organizations', function (Blueprint $table) { $table->id(); $table->string('name'); $table->string('phone', 13); $...
Ali88 Ali88
2
Hi, I want some suggestion regarding my SaaS app that I am building. Requirements are as follows. Main App: Companies are registered in our platform. Company has many employees working for them Company have multiple seller which are product provider...
basvandertogt basvandertogt
1
I'm fetching a view with markdown data like this: $participantsTable = view('emails.clubs.participants-table', ['participants' => $this->seminar->registrations]); participants-table.blade.php | Naam | Leeftijd | E-mailadres | | :--- | :---...
Pavinder Pavinder
4
Hi, i want to download files from s3 url. s3 file url sent through ajax request as show below $.ajax({ url: 'downloadfile', type:'POST', headers: {'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('cont...
basvandertogt basvandertogt
12
I have two tables, a seminar and seminar_data table, which are connected to each other. seminars id name seminar_data id seminar_id date The start date of each seminar is the oldest date of the seminar_data table. Now i want to query all seminars...
DDSameera DDSameera
5
Here is the scenario. There are some courses in schoool. One main category has several subCategory . one sub category has several courses. One course has ONE online meeting . when i try to get results using this code. it gives multiple meetings . ple...
BossPogs BossPogs
2
Hello, I had a problem. My database changed suddenly without editing in the .env file of my project. My original database would be named as db_one. When I log in to my project, it would say that Table not found in db_two.users. When I refresh again t...
marfino3028 marfino3028
2
transactions: [ { id: 1, //pemilik namecom: 'Pesanyuk.id', addresscom: 'Jl Cawas Gayam Rt 1 Rw 9 Gayam Sukoharjo', mailcom: '[email protected]', mobilecom: '+6285730277132', //pembeli nameRecipient: 'Marfino Hamzah', addres...
roywealth roywealth
14
Am currently getting this error message when a user try to register on my website. Can anyone help me on what could be causing this problem? Here is my RegistrationController code class RegisterController extends Controller { /* |--------------------...
ignium ignium
8
I have an anonymous component and every @prop is set to either the default (if set) or null (if not set). input.blade.php (snippet) @props([ 'prepend' => null, 'append' => null, 'type' => 'text' ]) contracts-form.blade.php (snip...
vincej vincej
12
I have noticed that my session times out even though I am working on the system. When it does my code goes to crap and I get a 419 error. But I had always thought that so long as you continue to touch your system then the session would not time out....
DDSameera DDSameera
5
How to set Login screen as a ROOT url ? I modified this code. but its failed 1st try- Failed Route::get('/',LoginController::class,'login'); 2nd attempt - failed Route::get('/', function () { return view('/login'); }); 3rd attempt - failed Rout...
warpig warpig
2
Hello, I was just getting busy working on my blog and as i wanted to test some design stuff that im working on the browser isnt loading any new classes or anything that I add to my code, I dont understand this at all, is this something to do with Fir...
warpig replied
Solved
warpig warpig
20
Hello, Im trying to request and process an update function to the server with Laravel 8 but im not getting back an updated post, im creating a personal blog and ive already completed the steps for index, show, and edit. This is the form: <form met...
davidleads davidleads
3
Lets assume I have a big blog with around 8-9 different languages.. Is there any practical solution to manage all the translations? Do I really have to store every string of the other language in a file within the resources\lang directory? I have di...
dr24 dr24
18
I have one form where I add some information about company, and when submitted it leads to another form where I want to add some additional information about company and when I submit that other form I go to the third page where when I @dd($request-&...
pratamatama pratamatama
3
I want to implement a queue system and have read-ed the docs about it. I followed it starting from the setup down to the implementation. I'm using Redis to store the queues and FCM for the notification. So far so good until I realize that... A listen...
ErikRobles ErikRobles
10
Trouble routing in laravel 7 on live server. I have all my routes protected in the admin and in local, Every link works as expected. However, on my live server, every route leads to home. Even if I hover over the link, at the bottom I see the route r...
laradoel laradoel
9
hey guys, iam using the libaray ArrayToXml. i want to be able to tell the converter IF THE ARRAY ELEMENT IS EMPTY DON'T CONVERT IT TO XML. Example: The 'password' is empty in this array { "firstName": "Chuck", "lastN...
tbonete tbonete
1
I'm having a craftsman error after changing the version of Composer version 2.0.7 2020-11-13 17:31:06 error Generating optimized autoload files Illuminate\Foundation\ComposerScripts::postAutoloadDump @php artisan package:discover --ansi Runti...
Gamecock Gamecock
1
These are my tables: companies table: | id | name | |----|---------| | 1 | Apple | | 2 | Samsung | | 3 | Huawei | countries table: | id | name | |----|---------------| | 1 | United States | | 2 | Russia | | 3 | China...
Create a New Discussion Button