Has worked great for months, now syntax error

Post your Click counter digestion problems here
Post Reply
noahvail
Posts: 3
Joined: Mon Apr 06, 2009 8:45 pm

Has worked great for months, now syntax error

Post by noahvail »

Script URL: http://www.dc-baby.com/ccount/
Version of script: 1.2
Hosting company: Modwest
URL of phpinfo.php: http://phpinfo.modwest.com
URL of session_test.php: ??
What terms did you try when SEARCHING for a solution: syntax error, parse error, T_VARIABLE

I have been using ccount successfully for months, and now /ccount/index.php will not load. The page displays the following error:
Parse error: syntax error, unexpected T_VARIABLE in /htdocs/www/ccount/index.php on line 1
Thank in advance,
Noah
noahvail
Posts: 3
Joined: Mon Apr 06, 2009 8:45 pm

Host

Post by noahvail »

I believe this may be an issue with my web host, which is upgrading their shared hosting environment. I'll post again once I confirm either way.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

It seems your host has added something to the top of all your PHP files which is breaking 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
noahvail
Posts: 3
Joined: Mon Apr 06, 2009 8:45 pm

Site was hacked

Post by noahvail »

Thanks for your response. It turns out a hacker gained FTP access and messed with a ton of PHP files. I believe it to be some kind of black-hat SEO spyware operation. I will be reinstalling ccount.
Post Reply