Skip to content
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

Login panel #3755

Closed
awistudio opened this issue Oct 2, 2020 · 42 comments
Closed

Login panel #3755

awistudio opened this issue Oct 2, 2020 · 42 comments

Comments

@awistudio
Copy link

disableNativeSignIn > on

I changed the setting by mistake

now I do not have a login panel
how to recover login panel in the browser

@akhilleusuggo
Copy link
Contributor

Try yoursite.com/user , if is not working then you may have to change it from the database ( manually )

@awistudio
Copy link
Author

what setting should I change in the base?
I changed in
/var/www/html/AVideo/plugin/CustomizeUser
but it didn't help

@akhilleusuggo
Copy link
Contributor

nono , you need to go to your database , and under plugins , find the advanced , disableNativeSignIn , and make it off ( value 0 , false )

@awistudio
Copy link
Author

data base>plugins

"disableNativeSignUp":true,"disableNativeSignIn":false,"disablePersonalInfo":true,"userCanChangeUsername":true,"signInOnRight":false,

@akhilleusuggo
Copy link
Contributor

so ? This should fix your issue , in case you did not missed up anything at

what setting should I change in the base?
I changed in
/var/www/html/AVideo/plugin/CustomizeUser
but it didn't help

@awistudio
Copy link
Author

unfortunately it did not help

CustomizeUser.php
$obj->disableNativeSignUp = !isset($advancedCustom->disableNativeSignUp) ? false : $advancedCustom->disableNativeSignUp;
$obj->disableNativeSignIn = !isset($advancedCustom->disableNativeSignIn) ? false : $advancedCustom->disableNativeSignIn;
$obj->disablePersonalInfo = !isset($advancedCustom->disablePersonalInfo) ? true : $advancedCustom->disablePersonalInfo;

@awistudio
Copy link
Author

how can i install the default settings?

@akhilleusuggo
Copy link
Contributor

cd /var/www/html/AVideo/plugin/CustomizeUser
rm CustomizeUser.php
wget https://raw.githubusercontent.com/WWBN/AVideo/master/plugin/CustomizeUser/CustomizeUser.php
chown www-data:www-data -R *

@akhilleusuggo
Copy link
Contributor

can you give your website url ?

@awistudio
Copy link
Author

online.tvpowiat.pl

@akhilleusuggo
Copy link
Contributor

@akhilleusuggo
Copy link
Contributor

What do you see ?

@akhilleusuggo
Copy link
Contributor

It's your browser then . To avoid future issue . Open a new browser ( different then the one you're using now ) . And go to https://online.tvpowiat.pl/user

It's your browser issue , most likely cache issues .

It's working for me .

image

@awistudio
Copy link
Author

very strange. I ran it on my phone and it doesn't work.

@awistudio
Copy link
Author

thank you very much for your help.

I'll check it tomorrow

@akhilleusuggo
Copy link
Contributor

purge the cache of your browser and site .
change the browser to avoid doubts .
Testing random things :

image

@awistudio
Copy link
Author

it's very strange,
unfortunately, I still do not have a panel,
I checked on a different browser and on a different computer

@DanielnetoDotCom
Copy link
Member

DanielnetoDotCom commented Oct 3, 2020

I just created a tool to help you reset the plugins.

just go to the install folder using the terminal command line and type php resetPlugins.php

you will be prompted for more options

1 - Reset all plugins Parameters
2 - Reset CustomizeUser Plugin Parameters only
3 - Reset all plugins (Will also inactivate the plugins)

choose the proper option and press enter

root@serv:~# cd /var/www/html/AVideo/install/
root@serv:/var/www/html/AVideo/install# php resetPlugins.php
1 - Reset all plugins Parameters
2 - Reset CustomizeUser Plugin Parameters only
3 - Reset all plugins (Will also inactivate the plugins)
Choose an option: 1
* Reset all plugins Parameters DONE

@awistudio
Copy link
Author

this is a new installation.
won't it spoil your work?

@DanielnetoDotCom
Copy link
Member

What do you mean?

BTW this will not delete any video or user. It will just reset the plugins parameters

@awistudio
Copy link
Author

can you do it for me?
because maybe I'll do something wrong again

@DanielnetoDotCom
Copy link
Member

I already did for you

@awistudio
Copy link
Author

ok i try it

@awistudio
Copy link
Author

Daniel, can you do this on my server?

because you've already installed other add-ons
I don't want to spoil it

@DanielnetoDotCom
Copy link
Member

Did you try to login already?

It is already done

@awistudio
Copy link
Author

I have already checked on several devices - there is no panel

@DanielnetoDotCom
Copy link
Member

It is working for sure. I am on mobile now.

Try to clear your cookies

A4C2B00A-6236-4B59-850A-8C4D28A423FE

@awistudio
Copy link
Author

I don't know why, but it does
maybe there is a problem in Poland

try to log in

@awistudio
Copy link
Author

friend checked in another city. there is also a problem

@DanielnetoDotCom
Copy link
Member

Please clear your cookies

@awistudio
Copy link
Author

log in, add a new user

for my - test

unfortunately there is no panel.

I deleted cookie

@awistudio
Copy link
Author

please log in to my panel.
check the settings.

@DanielnetoDotCom
Copy link
Member

Sorry but now there is nothing I can do.

It is working but for some reason you are getting a different page then mine.

I just force to clear your cache folder . Also please clear your cookies again . If the problem persist you may need to contact your server and domain provider or maybe your internet provider . And try to find some cache

@awistudio
Copy link
Author

is. I have regained access

what was the problem?

@DanielnetoDotCom
Copy link
Member

Not sure, I just force to delete the cache folder.

@awistudio
Copy link
Author

Daniel I have suggestions

clear options
disableNativeSignIn

@awistudio
Copy link
Author

caused many problems

@DanielnetoDotCom
Copy link
Member

disableNativeSignIn is necessary if you use LDAP or third parties logins

@awistudio
Copy link
Author

I marked it by mistake - I think with other users it may also happen

@awistudio
Copy link
Author

disableNativeSign
I will avoid it.
it's a dangerous option :)
Thank you, I can't do it without you.

@akhilleusuggo
Copy link
Contributor

Try via VPN , but I'm sure it's a cache issue . Try to PURGE all data . If you believe that the issue is your ISP ( doesn't really make sense ) , then try via VPN

@stale
Copy link

stale bot commented Nov 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants