Script URL: http://www.pcbasics.biz/helpdesk/admin/admin_main.php
Version of script: 2.2
Hosting company: GoDaddy.com
URL of phpinfo.php: http://www.pcbasics.biz/phpinfo.php
URL of session_test.php: http://www.pcbasics.biz/session_test.php
What terms did you try when SEARCHING for a solution: "Unexpected character in input"
Write your message below:
I use hesk on a hosted server with you and wanted to try it on another website using the self-hosted option. I installed Hesk according to the Readme. Everything worked fine. I entered a ticket and it worked like it should. When I try to log into the helpdesk as Admin, I get:
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/content/45/8351045/html/helpdesk/admin/admin_main.php on line 76
Parse error: syntax error, unexpected '<' in /home/content/45/8351045/html/helpdesk/admin/admin_main.php on line 77
I double-checked the file/folder permissions; I made sure to upload the IMG in binary and the rest in ASCII. I'm sure I'm missing something but any light you can shed on this would be great. I can't wait for 2.3 and want to get this resolved quickly so I can go ahead and get the new version up and running for next week.
Thanks for all of your help.
Glen
Install error - Admin_main.php
Moderator: mkoch227
Re: Install error - Admin_main.php
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.
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 
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


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
Re: Install error - Admin_main.php
Thanks for the speedy reply. I just put in a support ticket with them. We'll see if they can square it away or if I have to find a new host...
Re: Install error - Admin_main.php
http://pcbasics.biz/helpdesk/phpinfo.php
http://pcbasics.biz/helpdesk/session_test.php
I have moved website over to JustHost.com and am getting a different error now.
Parse error: syntax error, unexpected ';' in /home/pcbasic1/public_html/helpdesk/hesk_settings.inc.php on line 26
The install started to go through ok but as soon as I try to get to pcbasics.biz/helpdesk/admin I get that error.
Sorry to be a pain. Hopefully this will be a quick resolution.
Glen
http://pcbasics.biz/helpdesk/session_test.php
I have moved website over to JustHost.com and am getting a different error now.
Parse error: syntax error, unexpected ';' in /home/pcbasic1/public_html/helpdesk/hesk_settings.inc.php on line 26
The install started to go through ok but as soon as I try to get to pcbasics.biz/helpdesk/admin I get that error.
Sorry to be a pain. Hopefully this will be a quick resolution.
Glen
Re: Install error - Admin_main.php
Send me a copy of your hesk_settings.inc.php file in a private message and I will have a look (don't post it here for security reasons).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Re: Install error - Admin_main.php
You're awesome, Klemen! Those changes worked perfectly and it's now up and running. Thank you so much for your speedy replies...