Admin cannot login

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
dougperk
Posts: 3
Joined: Sat Aug 13, 2011 3:16 am

Admin cannot login

Post 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
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Admin cannot login

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
dougperk
Posts: 3
Joined: Sat Aug 13, 2011 3:16 am

Re: Admin cannot login

Post 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
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Admin cannot login

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Admin cannot login

Post by Klemen »

P.s.: you should remove "index.html" from your hesk folder.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply