admin_main.php keeps deleting

Everything related to Hesk - helpdesk software

Moderator: mkoch227

Post Reply
markfreeman
Posts: 2
Joined: Fri Nov 11, 2011 9:57 am

admin_main.php keeps deleting

Post by markfreeman »

I have a new, completely unmodified, 'successful' installation of Hesk. Successful except that I cannot view the home page in Hesk. I get this error:

admin_main.php was not found on this server.

When I locate the file on my host and try to read it or even access the attributes it gets deleted automatically. I have tried to CHMOD the attributes but the file gets deleted each time I upload it and try to CHMOD. I can see the file is there before I try to access it, but it disappears after.

I can view all other tabs (users, categories, canned, knowle.... etc) with no problem.

I have read through the forums for support and tried one solution of zipping the admin_main.php in an 'encoded' folder, uploading as a zip file and then unzipping on the server. But the zipped folder also gets deleted! I'm sure it must be a server issue, is it? Will my provider be aware of Hesk if I try to explain the problem.

"is there any script in this file which might cause the host to suspect it as suspicious and cause an automatic delete?"

Thanks in advance.
markfreeman
Posts: 2
Joined: Fri Nov 11, 2011 9:57 am

Re: admin_main.php keeps deleting

Post by markfreeman »

Turns out my host malware scanner finds malicious code and in the files and wont let me install them on the server.
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: admin_main.php keeps deleting

Post by Klemen »

This is my answer for GBook script, but the exact same thing applies to HESK:
viewtopic.php?f=7&t=3781&p=16226#p16226

Are you using GoDaddy hosting?
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
mahtabi
Posts: 2
Joined: Tue Jul 10, 2012 10:02 am

Re: admin_main.php keeps deleting

Post by mahtabi »

Hello
My problem is it
admin_main.php can delete files automatically every day
admin_main.php was not found on this server.
I can view all other tabs (users, categories, canned, knowle.... etc) with no problem.
Please tell me what to do accurate
tanks
HESK version: 2.3
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: admin_main.php keeps deleting

Post by Klemen »

Antivirus software on your server is probably falsely detecting admin_main.php as "possible virus", because it uses some encoding that some antivirus programs identify as "possible threat".

You will need to ask your hosting company to confirm this and add admin_main to "ignore" list so it's not automatically deleted.

Version 2.4 has that code rewritten and will hopefully not raise false flags.
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
mahtabi
Posts: 2
Joined: Tue Jul 10, 2012 10:02 am

Re: admin_main.php keeps deleting

Post by mahtabi »

Hello
I told my host company file to ignore delete
But I will remove the automated
What can I do?
tnx
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: admin_main.php keeps deleting

Post by Klemen »

You can try version 2.4 instead:
viewtopic.php?f=13&t=4113
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