TinyPortal

Development => Support => Topic started by: preed on November 12, 2008, 10:18:41 PM

Title: under attack - board error
Post by: preed on November 12, 2008, 10:18:41 PM
looks like one of my boards is under attack. over the past two days two of my forums have been being hit by whoever. things are kind of a mess right now could use some help fixing it. right now first of all on my main page im getting this...

An Error Has Occurred!
Unable to load the 'TPortal' template. 

also im getting little red x's where images should be? maybe related?

right now im running
smf 1.1.7
tp 0.983
standard theme

board is at
http://alaskaatvclub.org/smfforum/index.php

any help appreciated
thanx
paul

Title: Re: under attack - board error
Post by: IchBin on November 12, 2008, 10:28:30 PM
Don't know what would all of a sudden cause any of these issues. I would suggest you reinstall Tinyportal and see if it gets fixed.
Title: Re: under attack - board error
Post by: Renegd98 on November 12, 2008, 10:32:24 PM
Does the file TPortal.template.php exist in your default theme directory?
Title: Re: under attack - board error
Post by: preed on November 12, 2008, 10:34:13 PM
i did try that, ill try it again.

im also seeing this error
2: file_get_contents(/home/alask19/public_html/smfforum/Themes/default/TPortal.template.php) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: Permission denied
File: /home/alask19/public_html/smfforum/Sources/Load.php
Line: 1740

might sound wierd but this issue started after upgrading to 1.1.7 smf? have you heard of any issues between that and tp?

Title: Re: under attack - board error
Post by: preed on November 12, 2008, 10:34:47 PM
ill check...
Title: Re: under attack - board error
Post by: IchBin on November 12, 2008, 10:38:26 PM
How did you upgrade? What version did you upgrade from?
Title: Re: under attack - board error
Post by: preed on November 12, 2008, 10:40:57 PM
smfforum / Themes / default
dont see... TPortal.template.php
Title: Re: under attack - board error
Post by: Renegd98 on November 12, 2008, 10:42:00 PM
Then that's why you are getting the error. You can reinstall TP or copy just that file to the default themes directory and see if that fixes your troubles.
Title: Re: under attack - board error
Post by: preed on November 12, 2008, 10:53:23 PM
added file, fixed one problem your awesome thanks alot

any idea how i can fix the little red x problem?
Title: Re: under attack - board error
Post by: preed on November 12, 2008, 10:55:46 PM
so far its only in the side blocks
Title: Re: under attack - board error
Post by: Renegd98 on November 12, 2008, 10:57:01 PM
I don't see any little red x's. I am using FireFox 3.x
Title: Re: under attack - board error
Post by: preed on November 12, 2008, 10:59:09 PM
hmmm.......... im using ie7...
Title: Re: under attack - board error
Post by: preed on November 12, 2008, 11:02:01 PM
your not seeing all the blocks if your not signed in, ill see if i can change that real quick
Title: Re: under attack - board error
Post by: preed on November 12, 2008, 11:03:28 PM
An Error Has Occurred!
Unable to load the 'TPortalAdmin' template. 

ideas?
Title: Re: under attack - board error
Post by: Renegd98 on November 12, 2008, 11:06:15 PM
You need to uninstall TP and then reinstall TP.... It apparently did not install correctly
Title: Re: under attack - board error
Post by: preed on November 12, 2008, 11:08:58 PM
well i found and loaded that file also, fixed, now i can get into tp admin settings...still red x's in all my blocks. ill try another install...
thanks for your help guys!
ILL BE BACK!!! haha
Title: Re: under attack - board error
Post by: Renegd98 on November 12, 2008, 11:10:24 PM
Make sure you uninstall first and delete the TP files if they are not removed for you by the uninstall.

And backup if you can
Title: Re: under attack - board error
Post by: preed on November 13, 2008, 12:06:12 AM
i got it all working again, even the red x's. if you dont mind me asking why would i all of a sudden be missing all these files? i mean ive been running that board for months with no problems at all then all of a sudden im missing files, i dont think i can even blame the smf upgrade cause it was fine after that. i dunno.

thanx again for your guys help!
:)
Title: Re: under attack - board error
Post by: Renegd98 on November 13, 2008, 12:14:20 AM
There could many explanations, but the best one is probably "s&^t happens"    :P

Glad you got it all working again...
Remember to always backup... especially your database.
Title: Re: under attack - board error
Post by: G6Cad on November 13, 2008, 07:17:19 AM
If your site was hacked, your host probably stoped the attack by chaning the permissions on the files, if a folder or a file have the wrong permissions set, they cant be opend ( faild to open requested directory or stream ) and with that comes issues like the ones you have had now.
If files and folders cant be read by the script, they cant be shown eather.
Title: Re: under attack - board error
Post by: Bluto on November 15, 2008, 12:34:50 AM
NVM, posted before reading the second page. DOH!