T_SCRIPT error when loging in

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
b1draper
Posts: 2
Joined: Sun Sep 11, 2011 10:52 am

T_SCRIPT error when loging in

Post by b1draper »

Script URL: www.drapertechnologies.net/hesk
Version of script: 2.2
Hosting company: Godaddy
URL of phpinfo.php: http://www.drapertechnologies.net/hesk/phpinfo.php
URL of session_test.php: http://www.drapertechnologies.net/hesk/session_test.php
What terms did you try when SEARCHING for a solution: T-STRING and Line 72

Write your message below: When I attempt to login to the site I get the following error regardless of the account I use. The second error appears at the bottom of every page. Does anyone have any suggestions?

Error1:
Parse error: syntax error, unexpected T_STRING in /home/content/23/6773223/html/hesk/admin/admin_main.php on line 72

Error2:
Warning: Unterminated comment starting line 2 in /home/content/23/6773223/html/hesk/inc/footer.inc.php on line 2

Fatal error: fatal flex scanner internal error--end of buffer missed in /home/content/23/6773223/html/hesk/inc/footer.inc.php on line 2
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: T_SCRIPT error when loging in

Post by Klemen »

The short version: run away from GoDaddy hosting and find a serious hosting company.

The long version:

It seems that GoDaddy started deleting or truncating files that have base64 encoded code inside. The code is used to handle licensing, but some PHP shell (hacking) script use the same technique to hide source and hence some anti-virus software falsely flags any encoded PHP code as a potential flag.

Contact GoDaddy, they should be able to confirm that admin_main.php and footer.inc.php don't actually contain any malicious code and hopefully add it to their exception list.
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
b1draper
Posts: 2
Joined: Sun Sep 11, 2011 10:52 am

Re: T_SCRIPT error when loging in

Post by b1draper »

I contacted the Godaddy support and advised them of your suggestion. I got the following response stating that they're not preventing anything from running and that I have an issue with the coding of the script. So can you please double check those lines of code?

<quote>Dear Brian,

Our malware scanning does not interfere with the functioning of your web scripting. You would need to correct the PHP errors that are being reported.

Please let us know if we can assist you in any other way.

Sincerely,

Paul P.
Online Support Team
</quote>
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: T_SCRIPT error when loging in

Post by Klemen »

They are not interfering with the script directly, but their malware scanner deletes files (complete or partially) and the corrupted files are causing errors.

You can verify this by comparing file footer.inc.php on your server with the one included in Hesk download. The one on the server should be smaller and not contain a lot of the code.
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