Page 1 of 1

Code errors?

Posted: Thu Aug 06, 2009 1:30 am
by VectorX
Script URL:
Version of script: 2.0
Hosting company: WHM Cpanel
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: "parse error", "coding problem"

Write your message below:

I JUST installed HESK 2.0 from a straight install. Everything set up fine, and I tested the ticket submission and it was fine. This is the THIRD iteration of the problem and it always happens the same way. One day past the installation, suddenly when I go to visit my site, I get a parse error saying that it encountered an unexpected end$ at the last line of the the index.php. I don't know why this happens. I make no change whatsoever to the index or ANY files for that matter. I do a clean install and I get no errors or warnings that anything is wrong. But every time I reinstall, it works perfectly with no hitches until 24 hours later. Then I get parse errors...

Posted: Fri Aug 07, 2009 8:59 am
by Klemen
No idea why that would happen, but it can't happen out of nowhere. Although I haven't seen this before my guess is a cron script is running on your server and modifying newly installed files (don't ask why and how, I have no idea why your host would have something like that).

The next time you get a parse error copy the exact error message and post it here, maybe we can pinpoint the problem get an idea when we see the actual error message.

Posted: Fri Aug 07, 2009 6:19 pm
by VectorX
Parse error: syntax error, unexpected $end in /home/vectorxi/public_html/index.php on line 870

I just did a fresh install yesterday and I got the same problem. I checked to make sure short_tags were enabled just in case it was a php compatibility problem. It is enabled.

Posted: Fri Aug 07, 2009 7:45 pm
by Klemen
Place your non-working index.php file in a Zip archive and upload it somewhere so I can download it and have a look.