TinyPortal

Development => Support => Topic started by: timmyo on February 19, 2006, 06:55:29 PM

Title: Site suddenly stopped working with this error :
Post by: timmyo on February 19, 2006, 06:55:29 PM
Parse error: parse error, unexpected $ in /home/odonnell/public_html/tim/musiconline/index.php on line 215

using TP 0.86 on SMF 1.0.6

Was working fine, then it wasn't.

Any suggestions?

ta

Tim
Title: Re: Site suddenly stopped working with this error :
Post by: crip on February 19, 2006, 06:56:55 PM
Could be a server hiccup?
Title: Re: Site suddenly stopped working with this error :
Post by: timmyo on February 19, 2006, 06:59:48 PM
Quote from: ÂÃ,»cripÂÃ,« on February 19, 2006, 06:56:55 PM
Could be a server hiccup?

should have said - I'm told it has been this way for a few days and other mysql/php stuff I have installed on the same server is fine . . .
Title: Re: Site suddenly stopped working with this error :
Post by: crip on February 19, 2006, 07:04:10 PM
kwell .. .. .. ..
Title: Re: Site suddenly stopped working with this error :
Post by: borgBOB on February 20, 2006, 12:13:34 AM
Usually The error message you report means there is an error in one of your files. Have you added/updated any files lately?  Line 215 in my Index.php reffers to
'announce' => array('Post.php', 'AnnounceTopic'), So if you have updated the Post.php file; or installed a mod which changed that file. That could be your problem.  If not, it may be corrupt, and need to be re-up-loaded.
Title: Re: Site suddenly stopped working with this error :
Post by: timmyo on February 20, 2006, 07:25:38 PM
Quote from: borgBOB on February 20, 2006, 12:13:34 AM
Usually The error message you report means there is an error in one of your files. Have you added/updated any files lately?  Line 215 in my Index.php reffers to
'announce' => array('Post.php', 'AnnounceTopic'), So if you have updated the Post.php file; or installed a mod which changed that file. That could be your problem.  If not, it may be corrupt, and need to be re-up-loaded.

That's the thing - I've done nothing in the interim. I tried uploading an index.php from the 1.0.6 SMF download and this just shifted the error elsewhere. I was wondering if this was a TP issue - maybe its an SMF issue - I'll ask there.

Could I just reinstall SMF & TP ? I'm assuming my DB is still fine . . .
Title: Re: Site suddenly stopped working with this error :
Post by: borgBOB on February 20, 2006, 11:44:31 PM
You should not loose anything, except maybe a few settings, by re-installing either.
A first choice would be to just replace the smf files on your server, and then re-install TP. Re-installing SMF may not be needed.
Title: Re: Site suddenly stopped working with this error :
Post by: timmyo on February 21, 2006, 07:04:41 PM
Quote from: borgBOB on February 20, 2006, 11:44:31 PM
You should not loose anything, except maybe a few settings, by re-installing either.
A first choice would be to just replace the smf files on your server, and then re-install TP. Re-installing SMF may not be needed.


cheers - will try that
Title: Re: Site suddenly stopped working with this error :
Post by: timmyo on February 23, 2006, 12:06:48 PM
Quote from: timmyo on February 21, 2006, 07:04:41 PM
Quote from: borgBOB on February 20, 2006, 11:44:31 PM
You should not loose anything, except maybe a few settings, by re-installing either.
A first choice would be to just replace the smf files on your server, and then re-install TP. Re-installing SMF may not be needed.


cheers - will try that

no mater what I did with re-uploading things were not working - no idea what the prob was. Had to create a new folder, do a new install and re-used the old dbase. When I tried looking for all my old themes and uploads in the old folder chucnks of it was missing - very odd. I think the folder must have got corrupted somehow. Lost my theme customisations and all forum uploads. DOH!
Title: Re: Site suddenly stopped working with this error :
Post by: borgBOB on February 23, 2006, 01:00:36 PM
Sorry to hear m8. Don't think it's SMF or Tp related though.
Title: Re: Site suddenly stopped working with this error :
Post by: timmyo on February 24, 2006, 07:01:55 PM
Quote from: borgBOB on February 23, 2006, 01:00:36 PM
Sorry to hear m8. Don't think it's SMF or Tp related though.

agreed.