TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,020
  • Total Topics: 21,332
  • Online today: 926
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 597
  • Total: 597

Site suddenly stopped working with this error :

Started by timmyo, February 19, 2006, 06:55:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

timmyo

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


timmyo

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


borgBOB

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.

timmyo

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

borgBOB

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.

timmyo

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

timmyo

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!

borgBOB

Sorry to hear m8. Don't think it's SMF or Tp related though.

This website is proudly hosted on Crocweb Cloud Website Hosting.