TinyPortal

Development => Support => Topic started by: iGate on August 17, 2007, 09:16:52 AM

Title: forum has gone white after block editing etc...
Post by: iGate on August 17, 2007, 09:16:52 AM
hi all.

i have a tp site thats run into some problems.

TP was working fine when i inserted an America's army block (http://www.tinyportal.net/index.php?topic=7628.0.). But after some editing to this script i then upload WebSpecator (http://aaotracker.com/downloaddb.php?file=39).

i created an article page which had an iframe link to teh webspectator and it worked fine. after ~2 hours the article page was went white when i accessed it. now when i got up this morning to check it the whole website (forum) is white. i have an installation of joomla on the server but that has not been affected. It is using the default theme so i see no problem there.


my webpage is here: http://test.ihf.lp.pl/forums

http://test.ihf.lp.pl/cms
any ideas?
Title: Re: forum has gone white after block editing etc...
Post by: Zetan on August 17, 2007, 09:55:05 AM
Try going direct to the Admin panel:
http://www.yoursite.com/index.php?action=admin


or use the No Blocks feature..
http://www.yoursite.com/index.php?action=admin;noblocks

http://www.yoursite.com/index.php?action=forum;noblocks

That will turn the blocks off while that command is in the URL string.

Let us know what happens.
Title: Re: forum has gone white after block editing etc...
Post by: iGate on August 17, 2007, 11:53:33 AM
i have tried all 3 i still get the same white screen
Title: Re: forum has gone white after block editing etc...
Post by: G6Cad on August 17, 2007, 11:58:04 AM
Then you have to manually go in through your PHP Myadmin and remove the block from the TP_Blocks table there.
Title: Re: forum has gone white after block editing etc...
Post by: Zetan on August 17, 2007, 12:17:19 PM
is it a block or an article?

*cough* backups
Title: Re: forum has gone white after block editing etc...
Post by: iGate on August 18, 2007, 12:33:35 AM
both.

a block queries the server and presents some simple information eg. server name, map, round number (x/y), time left in the round.

if the user wants more info they would click "server intel" which would like them to a TP article which was a frame for another page which looks like this: http://aaotracker.com/webspec/index.php?addr=203.123.67.175:1716 this page then presented details for each individual player ie, kills, deaths, friendly fire, leader, level etc

Quote from: G6â„¢ on August 17, 2007, 11:58:04 AM
Then you have to manually go in through your PHP Myadmin and remove the block from the TP_Blocks table there.

will this remove all my blocks?
Title: Re: forum has gone white after block editing etc...
Post by: Zetan on August 18, 2007, 12:37:12 AM
Each block has its own ID.

If you hover over the edit button for each block, you should see the block ID number in the status area of your browser.

But, that doesn't really help you right now.
Title: Re: forum has gone white after block editing etc...
Post by: iGate on August 18, 2007, 04:59:13 AM
i have removed the block and article through phpmyadmin but nothing works.

is there a way to uninstall tp?
Title: Re: forum has gone white after block editing etc...
Post by: IchBin on August 18, 2007, 05:00:47 AM
Upload a fresh set of SMF files will restore your SMF install to default replacing any edited files. You will have to reinstall all mods. Thats the easy way.

To manually uninstall you'll have to follow the modifications doc in our Docs board to reverse the process.
Title: Re: forum has gone white after block editing etc...
Post by: Lord Anubis on August 18, 2007, 07:16:04 AM
best bet, is to check and make sure that your folders are all fine, did you move anything? and yes starting from scratch sometimes is the only free solution...  But make sure that you didnt move critical files (happens on accident sometimes, I have done it....doh) but just a good check makes sense...also SMF backs up files and you can revert to those if needed ( might be a shot in the dark though) they have the tilde sign after them ~


Good Luck,
LA
Title: Re: forum has gone white after block editing etc...
Post by: G6Cad on August 18, 2007, 11:58:30 AM
Only problem with replacing the old files with new ones is that if you install TP again, you will have the same troubble as the DB is still there from the old install.
If you want to replace the files and install TP again, you have to erase the TP DB tables.
Title: Re: forum has gone white after block editing etc...
Post by: iGate on August 18, 2007, 02:15:51 PM
so i will reupload the files just drop the tp tables in phpmyadmin
Title: Re: forum has gone white after block editing etc...
Post by: G6Cad on August 18, 2007, 02:47:12 PM
Yes, make sure you only drop the TP tables, and leave the SMF ones.
Title: Re: forum has gone white after block editing etc...
Post by: iGate on August 19, 2007, 02:41:37 AM
do i have to reupload all the files or just the one that have been modified
Title: Re: forum has gone white after block editing etc...
Post by: G6Cad on August 19, 2007, 10:58:07 AM
If you know what file you have changes, just replace that one. but to be sure you have all the files correct, i would have uploaded/overwritten all of them. Make sure they DO get uploaded so you dont have any zerobyte (0) byte files.