monum

monum

Web developer at Xtreem solution

Jaipur

Member Since 1 Year Ago

Experience Points 180
Experience
Level
Lessons Completed 0
Lessons
Completed
Best Reply Awards 0
Best Answer
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • Chatty Cathy Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

30 Oct
1 month ago

monum left a reply on How Do I Pass Users Id To The Modal?

DB::table('users')->where(function ($query) use ($user_id) { $query->where('id', '=', $user_id); })->get();

or

use Illuminate\Support\Facades\Auth;

$user = Auth::user();

$id = Auth::id();

19 Feb
9 months ago

monum left a reply on Laravel 5.4 Is Not Setting Cookies When Uploaded To Server

In my case There was an enter before <?php

in routes/web.php

monum left a reply on Redirection Issue After Deployment Local To Live Server

I have changed in config/session.php

'path' = '/', to 'path' = '/requestbay/',

and Done!!

Thanks for your support. @Snapey

monum left a reply on Redirection Issue After Deployment Local To Live Server

May be you are right . Then how to check my system is creating session cookie or not.

monum left a reply on Redirection Issue After Deployment Local To Live Server

I have created a dummy form for testing.

http://www.xsdemo.com/requestbay/monu

    <form method="post" action="/requestbay/monuu">
      First name:<br>
      <input type="text" name="firstname" value="Mickey">
      <br>
      Last name:<br>
      <input type="text" name="lastname" value="Mouse">
      <br><br>
      <input type="submit" value="Submit">
    </form> 

    <p>If you click the "Submit" button, the form-data will be sent to a page called "/action_page.php".</p>

    </body>
  </html>

And when it submitted it should go on this

Route::post('monuu', function(){ echo 'hi'; die; });

but i am on home page again without " echo 'Hi' "

Do we need session cookie here also?

if we are not using Auth here.

18 Feb
9 months ago

monum left a reply on Redirection Issue After Deployment Local To Live Server

@Snapey

i have added this in .htaccess to prevent .env for public access. Is this right solution to prevent this kind of access?

<FilesMatch "^."> Order allow,deny Deny from all

One question if you are saying that there is no redirection issue.

Then do you able to login or register on my website ?

Because Still i have same issue on my mac and windows as well.

17 Feb
9 months ago

monum left a reply on Redirection Issue After Deployment Local To Live Server

Yes i know anyone can access by url. I will make it secure also.

And yes! I have to say, you are really expert in Laravel.

But for now i have to solve my redirecting issue. do you have any solution for this?

16 Feb
10 months ago

monum left a reply on Redirection Issue After Deployment Local To Live Server

[HTTP/1.1 301 Moved Permanently 336ms]

This is the extra get request what i found in console of browser for live site. This line is not showing in localhost.

Is there any issue related this line?

monum left a reply on Redirection Issue After Deployment Local To Live Server

@hanif-king

I am Mr. Monu. :) I have already checked this site in more then on PC. and i have same issue with all PCs and browsers.

Is there any other solution?

monum left a reply on Redirection Issue After Deployment Local To Live Server

@arukomp my .env file contains

APP_NAME=Requestbay APP_ENV=local APP_KEY=base64:n5rt9E0dQX/MFmAhPReC3BvtWC9pDyLIcmQ5v1sQiZI= APP_DEBUG=true APP_LOG_LEVEL=debug APP_URL=http://www.xsdemo.com/requestbay

monum left a reply on Redirection Issue After Deployment Local To Live Server

I am sure about this . There is not any issue with file permission.

Would you please visit the site ? There you will find its redirect to home with every click. with a text

"Redirecting to http://www.mysite.com".

monum left a reply on Redirection Issue After Deployment Local To Live Server

Yes i have checked. there is not any problem is permission. and laravel is also creating fields in session folder for each login.

monum left a reply on Redirection Issue After Deployment Local To Live Server

I have already setup this project on localhost and it is working fine there. Then i have deployed it where i am facing this issue.

My Auth system is also not working whenever i am submitting the form. it redirect me at home page withot login.

/app/Http/Controllers/Auth/Logincontroller.php

monum started a new conversation Redirection Issue After Deployment Local To Live Server

Laravel is redirecting back to same page whenever i am hitting any post route like login or register, or contact forms.