I know this sounds silly, but have you checked thoroughly your
password is the same as mailtrap provided you? :P
Is there any exception you are getting? I'd suggest please share your code to send mail too.
I'd suggest please open up
php artisan tinker and run command
$crafts = App\IndividualCraftPerson::all(). If you see the result. Use any of those
ids to pass on the URI to get the result. If you fail to do so, please contact me on Larachat, my username is *fahadkhan1740*
Although its a very bad practice to deploy Laravel app on a shared host but here is the answer below.
public_htmllooks like your project folder.
publicfolder of the project to
public_htmlof your server.
index.phpfile and modify it as mentioned below.
require __DIR__.'/bootstrap/autoload.php'; $app = require_once __DIR__.'/bootstrap/app.php';
I have removed extra
/.. from both the lines.
.envfile in place.
VIOLA!!! IT SHOULD WORK
what is the purpose of making a News factory when you are not using it anywhere?
Will that conflict with the ongoing user session?
fahadkhan1740 started a new conversation How To Delete A Session Data After A Period Of Time? (OTP)
I am making a mobile number verification using OTP module. I want to associate the OTP with the mobile number for 3 mins only and want to forget the key beyond 3 mins. How can I do so?
I am using the following snippet.
Session::put(['otp' => $otp, 'mobile' => $number]);
@jestins can you show me how exactly this can be done?