Code errors?

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
VectorX
Posts: 2
Joined: Thu Aug 06, 2009 1:26 am

Code errors?

Post 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...
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
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
VectorX
Posts: 2
Joined: Thu Aug 06, 2009 1:26 am

Post 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.
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
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