xiolog xiolog
6
Hello, everybody. I cannot solve the problem myself. I just started working with Livewire. I have a parent component (Vacancies.php): <?php namespace App\Http\Livewire; use Livewire\Component; use App\Models\Vacancy; use Livewire\WithPagination;...
Deekshith Deekshith
1
Hi, I have a quiz listing with scheduled date and time like below, Quiz 1 will open on 28-11-2020 11:00:00 Quiz 2 will open on 29-11-2020 15:00:00 So once scheduled date crosses users will be able to open the quiz at any time. But the main problem is...
DDSameera DDSameera
12
I installed SSL in my production server . and i want to setup laravel application on it. I followed up this article https://robindirksen.nl/blog/laravel-redirect-to-https-a-middleware-to-force-https But its failed. here is my codes HTTPSProtocolMiddl...
tallaljamshed tallaljamshed
2
here's the scenario.. A customer pushes a button to pay through paypal or paystack or flutter client side ajax sends request to server telling payment method .. (meanwhile waiting sign is shown) .. server decides amount and currency and returns back...
Martin1182 Martin1182
0
Hi, could anyone help me? I can't connect to the backend of the application. I'm not getting any bugs just the store won't fill it with data. I checked the API via postman and there it's all ok the data is coming back with the app. I use Nuxt.js and...
alexsunny123 alexsunny123
0
Hello, I'm writing a Livewire component called Habits. I would like to test that the user only see the habits that belong to him. This is the current code of the render method. public function render() { return view('livewire.habit.index', [ 'habits'...
mathewp mathewp
0
hi, I am using spatie permission. I want to delete a 'permission' from permission table. Before deleting, i want to check that whether this permission is linked with any 'role'. How is it possible. And if it is linked with any role , i want to stop t...
I got this error : Not Found (in large police and blue background) The requested resource /vue3m was not found on this server. But : my view exists : resources/views/vue3m/blade.php and my route also : php artisans route:list ... | | GET|HE...
EbrahemSamer EbrahemSamer
1
I wanna connect mydomain with two similar databases and when any change happen in any table in one of them, the same table in the other database should changes. Is there any way to get this done using PHP & MYSQL...
EbrahemSamer EbrahemSamer
2
I am using TinyMCE Editor to write some articles But I am using posted data without any protection. when I store article data $content = $_POST['content']; I do not use filter_input(INPUT_POST, 'content') Because it converts html to string ... When I...
EMfinanga EMfinanga
2
I want to upload an excel file to my database, but my database tables have this structure $table->id(); $table->string('orderNumb'); $table->integer('customer_id'); $table->string('loading_point'); $...
nikhil_lu210 nikhil_lu210
15
I'm trying to create backup from my system through Spatie Laravel Backup package. And I'm calling artisan backup:run command from my controller Artisan::call('backup:run');. But its not working. Can anyone please help me with this issue??...
DDSameera DDSameera
1
I run "php artisan migrtate run" command ., then i got new database . Now i download mysql database and upload it to server. i got this error #1071 - Specified key was too long; max key length is 767 bytes https://snipboard.io/6lYRH0.jpg...
Čamo Čamo
1
Hi, I have a controller with method expecting two parameters. First one $manufacturer is type hinted but second one $categroy should be raw string. class BrandController extends Controller { public function show(Brand $brand, $category) { ... }...
Čamo replied
Solved
dvdmeer dvdmeer
1
Hi, I am creating my own package but am currently stuck at some weird caching stuff. My custom package is copied into my sample project that I created with: composer create-project laravel/laravel --prefer-dist sample The package has the following f...
shuvobhai shuvobhai
1
<script type="module"> import Echo from '../../../node_modules/laravel-echo'; window.io = require('socket.io-client'); window.Echo = new Echo({ broadcaster: 'socket.io', host: window.l...
gianmarx gianmarx
0
I created the model and the migration and then the resource with php artisan nova: resources Card. I can insert data but I can't view it this is result :https://drive.google.com/file/d/1uo_UvV7j5p5ObtY08NXn0usFeCgy21oH/view?usp=sharing it doesn't see...
mehrdad70 mehrdad70
1
i want send $categories variable to header.blade.php , but i get an error FrontServiceProvider class FrontServiceProvider extends ServiceProvider { public function register() { } public function boot() { View::com...
rushand rushand
5
Im bit new here, When I copy my code parts into the question , most of the code is disappeared, how to define a separate code blog in a question...
Snapey replied
Solved
RoyGoode RoyGoode
5
I recently configured a new VPS with Nginx : server { listen 80; listen [::]:80; server_name repotester.net www.repotester.net; root /var/www/repotester/public; index index.php index.html index.htm; location / { try...
gavin_c gavin_c
1
Hi folks, hey, how would you create a theme switcher for the frontend ,controlled from the backend? I'm currently testing with four files at the moment. theme.blade.php: @extends('admin.index') @section('content') <h4>CSS Themes</h4> &l...
rafidAhsan rafidAhsan
3
What is the right syntax to write this style="background-image: url('{{ asset('{{ $property->property_image }}') }}')">...
Ironmax Ironmax
4
Hi, I am trying to setup push notification for my Laravel web app but nothing seems to be working. i installed a package called laravel-notification-channels/pusher-push-notifications and followed it's instruction but nothing seems to be working. ple...
Mubeenali Mubeenali
26
i have moved my laravel app to VPS Server..on shared it is working fine..but on VPS if i submit any form getting 419 page.i have clear cache generated new key but no gain..anyone can tell me solution please??...
brayniverse brayniverse
1372
I'm wondering how far Laravel's reach extends to. I hail from London myself....
mstdmstd mstdmstd
3
Hello, In laravel 7 app I have request with several calc fields $forumThreads = ForumThread ::with('latestForumPost.creator') ->withCount('forumPosts') ->with('creator') ->getByForumId(...
Shiva Shiva
5
I'm trying to use datatables from datatables.net with my vue, but it isn't working and I'm not sure how to solve it. I'm also not getting any errors. The one guy from the forum suggested this datatables forum, but I didn't understand what he was sayi...
iamjaredsimpson iamjaredsimpson
11
I am working on an SPA that will need to communicate with a browser extension. Sanctum is working correctly when using the SPA authentication to access the api, but I can't seem to get it to authenticate when using the token. I have created a new rou...
geerizzle geerizzle
4
Hi I see this in my log files. Logging out always works for me. Wondering whether I can trace this somehow? 2020-11-27 18:41:38] production.ERROR: Method App\Http\Controllers\Auth\RegisterController::logout does not exist. {"exception":&quo...
alinad alinad
2
how i can to call the funtion in this handle function public function handle() { } or from kernel file protected function schedule(Schedule $schedule) { }...
Mauro19 Mauro19
2
I have a Resource called Event in my Nova project and I have created a Custom Tool that uses FullCalendar to show the Events, similar to Pawel Dymek's package . But instead of using a Modal to create a new Event when clicking on a date I would like t...
DDSameera DDSameera
1
Hey Genuis , this topic is really good for us. Once we setup our Application in production environment , we should have to protect our solution from hackers. Lets talk about all securable things need to be done from developer and server side....
Adamcy_Cooler Adamcy_Cooler
1
I have a form that submitted a generated reference number to the controller but it's submitted as string with "" when I retrieve it from the controller to use it $ref = $request->reference the number is retrieved as $ref = "E...
DDSameera DDSameera
19
Hello Genius, Please help me to resolve this . I hosted Laravel application on production environment. Now i got following issue . Not Working http://boobamba.com/samadhi/stts/public/login Working fine http://boobamba.com/samadhi/stts/public/index.ph...
sr57 sr57
1
Hi all, I want to setup my first Laravel8 app with Vue3.js but I git an error loading 'resources/js/app.js' See the following error msg translated from french : Loading of the module at "http://localhost:8000/resources/js/app.js" has been b...
sr57 replied
Solved
Create a New Discussion Button