Page 1 of 1

admin_main.php keeps deleting

Posted: Fri Nov 11, 2011 10:07 am
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.

Re: admin_main.php keeps deleting

Posted: Fri Nov 11, 2011 11:26 am
by markfreeman
Turns out my host malware scanner finds malicious code and in the files and wont let me install them on the server.

Re: admin_main.php keeps deleting

Posted: Fri Nov 11, 2011 11:40 am
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?

Re: admin_main.php keeps deleting

Posted: Tue Jul 10, 2012 10:15 am
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

Re: admin_main.php keeps deleting

Posted: Tue Jul 10, 2012 2:30 pm
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.

Re: admin_main.php keeps deleting

Posted: Sun Jul 22, 2012 3:31 pm
by mahtabi
Hello
I told my host company file to ignore delete
But I will remove the automated
What can I do?
tnx

Re: admin_main.php keeps deleting

Posted: Sun Jul 22, 2012 8:13 pm
by Klemen
You can try version 2.4 instead:
viewtopic.php?f=13&t=4113