New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication problem #847
Comments
I would check folder permissions for storage and cache. Laravel might be trying to write session data and failing with permission denied. If you're using linux, something like this should do it (executed from your laravel directory):
|
It doesnot solve my problem sir
…On 25 Sep 2017 02:47, "Brent Kozjak" ***@***.***> wrote:
I would check folder permissions for storage and cache. Laravel might be
trying to write session data and failing with permission denied. If you're
using linux, something like this should do it (executed from your laravel
directory):
sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#847 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AITeWpnR_iAhIueOvUASyKnnFDFbJVR9ks5slsN9gaJpZM4Phvmr>
.
|
can you clear and check laravel logs and say if any errors occur there? |
There is no any error msg in log and in cpanel error log.
Can you visit this site and try to login with any email and password???
Profile1.freewingsofficial.com
…On 26 Sep 2017 13:15, "Shirshak Bajgain" ***@***.***> wrote:
can you clear and check laravel logs and say if any errors occur there?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#847 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AITeWke_VpuRXSxI_o67GujDZQIkFNKGks5smKgbgaJpZM4Phvmr>
.
|
Have you seeded the database? Try VPS hosting they are very cheap 5$ a month if you have any problem you can contact us. |
i have seeded database
…On Sep 29, 2017 19:20, "Shirshak Bajgain" ***@***.***> wrote:
Have you seeded the database?
You are using hosting which may impose several risk like if you use sqlite
somebody can grab your database. Like your readme.md contains sona etc..
Try VPS hosting they are very cheap 5$ a month if you have any problem you
can contact us.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#847 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AITeWpJi_h9Z_NGCy9Z-vXhfrN3p9qelks5snPIWgaJpZM4Phvmr>
.
|
extensions::uncaught_exception_handler:8Error in event handler for
(unknown): TypeError: anchorBase.attachShadow is not a function
error shows in console in chrome browser
On Sat, Sep 30, 2017 at 3:47 AM, sabin maharjan <worldizmine2@gmail.com>
wrote:
… i have seeded database
On Sep 29, 2017 19:20, "Shirshak Bajgain" ***@***.***>
wrote:
> Have you seeded the database?
> You are using hosting which may impose several risk like if you use
> sqlite somebody can grab your database. Like your readme.md contains
> sona etc..
>
> Try VPS hosting they are very cheap 5$ a month if you have any problem
> you can contact us.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#847 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AITeWpJi_h9Z_NGCy9Z-vXhfrN3p9qelks5snPIWgaJpZM4Phvmr>
> .
>
|
if i try to access
http://profile1.hamronote.com/business
then it shows problem saying trying to get non objet but there is data in
database
On Sat, Sep 30, 2017 at 8:54 AM, sabin maharjan <worldizmine2@gmail.com>
wrote:
… extensions::uncaught_exception_handler:8Error in event handler for
(unknown): TypeError: anchorBase.attachShadow is not a function
error shows in console in chrome browser
On Sat, Sep 30, 2017 at 3:47 AM, sabin maharjan ***@***.***>
wrote:
> i have seeded database
>
> On Sep 29, 2017 19:20, "Shirshak Bajgain" ***@***.***>
> wrote:
>
>> Have you seeded the database?
>> You are using hosting which may impose several risk like if you use
>> sqlite somebody can grab your database. Like your readme.md contains
>> sona etc..
>>
>> Try VPS hosting they are very cheap 5$ a month if you have any problem
>> you can contact us.
>>
>> —
>> You are receiving this because you authored the thread.
>> Reply to this email directly, view it on GitHub
>> <#847 (comment)>,
>> or mute the thread
>> <https://github.com/notifications/unsubscribe-auth/AITeWpJi_h9Z_NGCy9Z-vXhfrN3p9qelks5snPIWgaJpZM4Phvmr>
>> .
>>
>
|
show us the line where error occured. View: /home/hamronote/public_html/Profile1/resources/views/frontend/businessman/index.blade.php And also show us 63ec82b1bc4bd5a552a145069ab0ec3b68aeb156.php (line 202) show 4-5 lines near that line 202. This file is found in storage view chache folder. |
line 487:
<li><i class="ion-ios-email-outline"></i>Email: <a href="mailto:
example@gmail.com"><?php echo e(Auth::User()->email); ?></a></li>
…On Sat, Sep 30, 2017 at 9:20 AM, Shirshak Bajgain ***@***.***> wrote:
show us the line where error occured.
View: /home/hamronote/public_html/Profile1/resources/views/
frontend/businessman/index.blade.php
And also show us 63ec82b1bc4bd5a552a145069ab0ec3b68aeb156.php (line 202)
show 4-5 lines near that line 202. This file is found in storage view
chache folder.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#847 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AITeWiLCgPJYva82V_cKTzVcpmnni1Wiks5snbcPgaJpZM4Phvmr>
.
|
is there another factor which is causing problem in authentication sir?
On Sat, Sep 30, 2017 at 10:15 AM, sabin maharjan <worldizmine2@gmail.com>
wrote:
… line 487:
<li><i class="ion-ios-email-outline"></i>Email: <a href="mailto:
***@***.***"><?php echo e(Auth::User()->email); ?></a></li>
On Sat, Sep 30, 2017 at 9:20 AM, Shirshak Bajgain <
***@***.***> wrote:
> show us the line where error occured.
>
> View: /home/hamronote/public_html/Profile1/resources/views/fronten
> d/businessman/index.blade.php
>
> And also show us 63ec82b1bc4bd5a552a145069ab0ec3b68aeb156.php (line 202)
> show 4-5 lines near that line 202. This file is found in storage view
> chache folder.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#847 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AITeWiLCgPJYva82V_cKTzVcpmnni1Wiks5snbcPgaJpZM4Phvmr>
> .
>
|
i guess it should be Auth::user() by the way . |
what might be other factor which is causing problem in authentication sir?
in local authentiation works fine ..
in server only it is causing problem ..
hamronote.com is too using boilerplate and there authentication is working
fine ..
…On Sat, Sep 30, 2017 at 10:40 AM, Shirshak Bajgain ***@***.*** > wrote:
i guess it should be Auth::user() by the way .
And for this to work you must be logged in. If there is logged out user it
will throw some form of error. So use Auth::check() first to check if user
is logged in or not
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#847 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AITeWt5EfTQ5p2r9t_0MA4w_sUIO-Rjyks5sncmxgaJpZM4Phvmr>
.
|
en: You are trying to access email but Auth::user() which is null and inderectly you are calling ->email on it. np: Aba bro lai nepali aucha jasto cha. Project private huna sakcha tei vayera code dina namileko hola. Pahila kura jastai bro logged in hununna vaney laravel ko Auth Facade lai kei idea hudaina ki kasari email nikalney vanera . Tei vayera bro lay null bata email derive garna khojeko vayera testo error ako ho. Aba tyo code bro lay haleko ho ki hoina vanney kura aucha. Yo boiler plate ma testo code ta hunu naparney ho add garerai hola . Local authentication logged in vayera huna sakcha naako. Logged in huda ki Auth::user() lay App\Model\User ko instance dincha. Hope it clears. |
@bloggervista i have removed auth::user() in frontend page, thats not issue, |
At Auth Login Controller where have you set redirect url? You can search it from text editor. |
In local authentication works fine, but when i migrate it in server it shows problem ... |
in production try to run with debug mode true. and many things get turned on and off on production mode. Like ssl is turned on. And check the middleware for redirection located at App\Http\Middleware |
Any development on this? Is there something we can further help with ? |
I guess its fixed. |
no it's not fixed, i have put it in another boilerplate repository from
first and then it is fixed
…On Sat, Oct 14, 2017 at 12:50 PM, Shirshak Bajgain ***@***.*** > wrote:
I guess its fixed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#847 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AITeWm20US7Xko6AP6qhxGoSb1BPy4dNks5ssF1EgaJpZM4Phvmr>
.
|
is it fixed now? |
@Shuyinsama I guess we can close it as laravel 5.4 support is going to be over. And completely new and fresh version of this boilerplate is to be released soon. |
I have the same problem.. Please don't close it yet, i need the authentication to work very soon to show to my client.. |
@triswan Try |
found the problem, the server could not set cookie, it is not the boilerplate problem... |
yes exactly give permissions to those folders. |
Do you still need any help @arikazukito ? Since there is no way for me to check what might be the problem we can't really help. You are being redirected to the login page after logging in right? Or did you solve the problem already? |
I have setup this many project using boilerplate.
but in some project:
In local system authentication is smoothly running without any problem but while uploading same file to server and if we try to login it always redirect to login page. can you tell me why is this happening?
i am very much thinking about it
The text was updated successfully, but these errors were encountered: