Page 1 of 1

Admin cannot login

Posted: Mon Aug 15, 2011 10:32 pm
by dougperk
Hosting company: TRKHosting
www.ethossolutions.net/hesk

What terms did you try when SEARCHING for a solution: admin cannot login

Write your message below:

I installed and used HESK last night. Today, I went to log in, and could not. By watching the login messages, I have confirmed that I am using the correct user and password.

The error displayed is: "The requested URL /hesk/admin/admin_main.php was not found on this server."

I used FTP program and found that admin_main.php was NOT there. (odd)
I used FTP ASCII transfer to move a copy from the HESK install file folder on my local computer, onto the webserver folder. However, the same error continues to appear.

What has become corrput?

Doug Perkinson

Re: Admin cannot login

Posted: Tue Aug 16, 2011 1:14 pm
by Klemen
Check with your hosting company if they deleted the file (manually or automatically). Some virus scanners can falsely flag admin_main.php and inc/footer.inc.php files as potentially dangerous because they have some encoded code inside.

Re: Admin cannot login

Posted: Tue Aug 16, 2011 2:59 pm
by dougperk
As per your instructions, my hosting company has excluded admin_main.php and footer.inc.php from the exploit check. I FTP'd these two files back up to my host and verified they do exist there.

I can access the Login page, but after using the correct username and password, I cannot access the admin panel.

In Internet Explorer, the message simply says "HTTP 404 Not Found".
In Chrome, the message says " 404 Not Found. The requested URL /hesk/admin_main.php was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request"

Doug Perkinson

Re: Admin cannot login

Posted: Tue Aug 16, 2011 4:33 pm
by Klemen
Your server indeed still says the page doesn't exist. Since all other pages exist the only explanation is that either the two files have been deleted again or they haven't been uploaded to the correct folders (admin_main.php should be in "admin" folder and footer.inc.php in the "inc" folder) or have been somehow else disabled by the server.

Other files seem to work fine:
http://www.ethossolutions.net/hesk/admin/profile.php

I would FTP to the server again, triple-check that the files do exist, that they have the same CHMOD settings as other files and that they don't have 0 bytes size. If all checks out, I would ask the host to check/explain.

Re: Admin cannot login

Posted: Tue Aug 16, 2011 4:35 pm
by Klemen
P.s.: you should remove "index.html" from your hesk folder.