XFileSharing Free - Admin area problem

Free version of Xfilesharing

Moderator: admin

Message
Author
plerick
Posts: 2
Joined: Sep 19, 2012 10:42 am

Admin area problem

#1 Postby plerick » Sep 19, 2012 10:51 am

Hello,

Script XFileSharing Free work correct but I can't log to admin area.
When you enter the password, nothing happens.
I don't see any error but admin area does not open.
How to check what is the problem? what is missing?

plerick
Posts: 2
Joined: Sep 19, 2012 10:42 am

#2 Postby plerick » Sep 20, 2012 6:10 pm

I have problem with this line 330 in index.cgi

$ses->PrintTemplate("admin.html") if $ses->{cookies}->{admhash} ne md5_base64($c->{admin_password});

something was missing

PowerChaos
Posts: 521
Joined: Dec 19, 2009 5:12 pm
Location: belguim
Contact:

#3 Postby PowerChaos » Jan 30, 2013 8:58 pm

well that line says just 1 thing

in config file you define a admin password

the admin password get converted to md5 and base64

if your cookie is right then it match that same value (same coding )

the cookie get set when you first try to login

so to solve your problem , just enable cookie's and it will work

Greetings From PowerChaos


Return to “XFileSharing Free”

Who is online

Users browsing this forum: No registered users and 0 guests