monum

Web developer at Xtreem solution

Experience

170

0 Best Reply Awards

  • Member Since 6 Months Ago
  • 0 Lessons Completed
  • 0 Favorites

19th February, 2018

monum left a reply on Laravel 5.4 Is Not Setting Cookies When Uploaded To Server • 4 months ago

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 • 4 months ago

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 • 4 months ago

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 • 4 months ago

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.

18th February, 2018

monum left a reply on Redirection Issue After Deployment Local To Live Server • 4 months ago

@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.

17th February, 2018

monum left a reply on Redirection Issue After Deployment Local To Live Server • 4 months ago

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?

16th February, 2018

monum left a reply on Redirection Issue After Deployment Local To Live Server • 4 months ago

[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 • 4 months ago

@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 • 4 months ago

@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 • 4 months ago

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 • 4 months ago

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 • 4 months ago

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 • 4 months ago

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

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.