When queue process notification if database method runs and finish while mail method runs and fail the notification will be put in failed job table but when will be processed again it will be set off a duplicate key on notifications table, what can i resolve?

|
2019-03-11 12:18:17
I have an online signer system ….am trying to send out mails but its not functioning and all configurations are well set
2019-03-11 12:18:27
what could be the issue
loveycom 2019-03-11 15:34:13
Everything can’t be well and you will be experiencing this
loveycom 2019-03-11 15:35:14
2019-03-11 12:18:17
I have an online signer system ….am trying to send out mails but its not functioning and all configurations are well set

Have you tried logging the mail?

PikadorManager 2019-03-11 16:48:42
hey guys
i have the problem with laravel migration in sqlite database i config everything but when i want to migrate the database the god damn error show’s up
i try to “php artisan migrate”
error says ‘s “unable to open the database”

thanks if you have any ideas

2019-03-11 18:20:07
the mail is functioning
2019-03-11 18:20:07
loveycom 2019-03-11 15:35:14
Have you tried logging the mail?

everything is well set

loveycom 2019-03-11 22:15:58
Can I see the mail in log
khalinxyz 2019-03-11 22:16:37
loveycom 2019-03-11 22:15:58
Can I see the mail in log

You can use mailtrap

linux2014 2019-03-11 23:40:24
PikadorManager 2019-03-11 16:48:42
hey guys
i have the problem with laravel migration in sqlite database i config everything but when i want to migrate the database the god damn error show’s up
i try to “php artisan migrate”
error says ‘s “unable to open the database”

thanks if you have any ideas

Do mysql start ?

PikadorManager 2019-03-11 23:48:02
linux2014 2019-03-11 23:40:24
Do mysql start ?

i use sqlite in this project

devink0430 2019-03-11 23:53:34
https://laravel.com/docs/5.7/database

Laravel – The PHP Framework For Web ArtisansLaravel
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
devink0430 2019-03-11 23:54:09
touch database/database.sqlite ?
devink0430 2019-03-12 00:16:52
PikadorManager 2019-03-11 23:48:02
i use sqlite in this project

Do you have *.sqlite file ?

Mnikoei 2019-03-12 00:53:52
laravel_discuss-3480.jpg

Mnikoei 2019-03-12 00:55:21
Mnikoei 2019-03-12 00:53:52

i want to compile this simple js es6 function to es5 but when i run mix.js() the output is somthing else

Mnikoei 2019-03-12 00:55:27
laravel_discuss-3482.jpg

Mnikoei 2019-03-12 00:56:06
anybody knows what is problem?
PikadorManager 2019-03-12 02:34:28
devink0430 2019-03-12 00:16:52
Do you have *.sqlite file ?

I finally solve the problem

problem was from the file type for sqlite databases. we use a FILE type .sqlite and with some name for example database in directory of laravel root, named Database so the location is Database/database.sqlite and by mistake I was creating directory instead of creating file type named my sqlite DB (database.sqlite)

cause of that error (database can not open) show’s up

problem solved when I create a file type using CMD (windows) with this following command
(new-item database/database.sqlite -type file)

and my second mistake was that I was trying to use command TOUCH to create file but it is MAC OS terminal command and it doesn’t functioning for me(win)

and now I simply can run this code (php artisan migrate)

thanks for everyone.
bests.

2019-03-12 12:59:09
https://andit.andimpex.com/

And IT | All Kinds of IT Solution In KhulnaAnd IT
We develop innovative services that provide total communication and information solutions. And IT is committed to exporting quality IT services worldwide.
2019-03-12 13:04:02
How to make menu driven in laravel
aledlb 2019-03-12 18:54:04
I need developer to sort my project on laravel 5.7
aledlb 2019-03-12 18:54:22
Email, analytics and some other tasks
MontyLalwani 2019-03-12 18:54:39
Yes m laravel developer
aledlb 2019-03-12 18:54:43
Pm me your rates and links to git with your projects
2019-03-12 19:30:29
I need a bulk sms system
2019-03-12 19:30:38
any link
KashanSmartCity 2019-03-12 19:32:55
Hello
I had a question
In Larahl there is a way to create an automated form?
ldefra 2019-03-13 02:10:52
KashanSmartCity 2019-03-12 19:32:55
Hello
I had a question
In Larahl there is a way to create an automated form?

Like as symfony? No!

ldefra 2019-03-13 02:12:38
And if it exist, i interested
ldefra 2019-03-13 03:19:06
https://laravel-news.com/laravel-form-builder try it!

Laravel Form BuilderLaravel News
Laravel Form Builder is a package by Kristijan Husak that incorporates an API similar to Symfony’s form builder for Laravel 5 applications.
Leetump 2019-03-13 06:20:57
How I upload and retrieve image
Leetump 2019-03-13 06:21:01
In laravel
KashanSmartCity 2019-03-13 06:50:39
@ldefra Thanks
Leetump 2019-03-13 07:11:57
What
rafael_santos90 2019-03-13 12:44:13
Hey guys, I have a lot of answers by the same user in my DB, how can I get only the last answer he made?
Lopezdjagni 2019-03-13 12:49:43
hi guys please i want to insert random default image into database with Laravel . i do this but no working
Lopezdjagni 2019-03-13 12:50:22
$images = scandir(public_path(‘images/default’));
$image = $request->file(‘DefaultImageName’, $images[mt_rand(0, count($images -1))]);
2019-03-13 14:42:55
hey guys who have used signer there before
Mnikoei 2019-03-13 15:10:39
Its because no user is logged in
ldefra 2019-03-13 15:50:37
Hi guys, i have a problem, i made a notification with queue and i setted it via database and via mail.
When queue process notification if database method runs and finish while mail method runs and fail the notification will be put in failed job table but when will be processed again it will be set off a duplicate key on notifications table, what can i resolve? Now i resolve split method mail and method database in two separate notifications
amirhossein_dz 2019-03-13 19:23:23
ldefra 2019-03-13 15:50:37
Hi guys, i have a problem, i made a notification with queue and i setted it via database and via mail.
When queue process notification if database method runs and finish while mail method runs and fail the notification will be put in failed job table but when will be processed again it will be set off a duplicate key on notifications table, what can i resolve? Now i resolve split method mail and method database in two separate notifications

https://github.com/laravel/framework/pull/15681

[5.3] Granular notification queue jobs by taylorotwell · Pull Request #15681 · laravel/frameworkGitHub
This tweaks notification queued job to queue a job for each notifiable
/ channel combination. The reason for this is with the prior setup of
using a single job, if one channel fails to send and the…
ldefra 2019-03-13 19:34:31
amirhossein_dz 2019-03-13 19:23:23
https://github.com/laravel/framework/pull/15681

Tnx!

2019-03-13 22:02:38
Hello guys. I’m new at Laravel and I’m having a problem with routing
2019-03-13 22:03:27
Route::get(‘/about’, function () {
return view(‘pages.about’);
});

This is what I have.

2019-03-13 22:03:43
laravel_discuss-3523.jpg

2019-03-13 22:04:10
This is my about / welcome page. Very simple. It gives me an error that it cannot find [pages.about]
2019-03-13 22:04:32
pages.about.about
2019-03-13 22:05:32
2019-03-13 22:04:32
pages.about.about

You’re right! This is so silly. I thought about it, but didn’t occured that could be it.

2019-03-13 22:05:35
Thank you very much 🙂
|