http://www.icyphoenix.com/viewtopic.php?f=35&t=6718
-----------------------------------
sillybeane
Sat 28 Nov, 2009 21:21

Website Went Blanco
-----------------------------------
When I was re-arranging the forums- moved forums up, suddenly my website went totally blanco-

Does anyone have some first aid suggestions for me?

* edit- the older version of a forum that was running and that I wanted to make ready as a temporary solution appeared to have the same problem- the forum went white on the sceen when I deleted a forum...........

weird?

Thanks!!!!

Annicka


-----------------------------------
Informpro
Sun 29 Nov, 2009 12:22

Re: Website Went Blanco
-----------------------------------
try to go in adm/erc.php


-----------------------------------
novice programmer
Sun 29 Nov, 2009 15:28

Re: Website Went Blanco
-----------------------------------
otherway you can also try to amnually clean your server's cache.

[code]The way to flush Icy's cache (server side):
Go to your ftp/file administrator on your hosting panel.
Get to /cache (relative to Icy's root path!)
Delete all files BUT .htaccess and index.html files! DO NEITHER drop children folders!
Go to all the folders contained in /cache/ and delete their contents as described in the lne before.[/code]

Remember to do ACP maintenance and optimize all your DB's tables!

Hope that works out for you... 8)


-----------------------------------
Mr_Gamer
Sun 06 Dec, 2009 03:52

Re: Website Went Blanco
-----------------------------------
[quote user="novice programmer" post="46247"]otherway you can also try to amnually clean your server's cache.

[code]The way to flush Icy's cache (server side):
Go to your ftp/file administrator on your hosting panel.
Get to /cache (relative to Icy's root path!)
Delete all files BUT .htaccess and index.html files! DO NEITHER drop children folders!
Go to all the folders contained in /cache/ and delete their contents as described in the lne before.[/code]

Remember to do ACP maintenance and optimize all your DB's tables!

Hope that works out for you... 8)[/quote]

OMG OMG OMG!!

That worked!!

How can I thank YOU?!?!?!?!?


-----------------------------------
sillybean
Mon 27 Feb, 2012 20:15

Re: Website Went Blanco
-----------------------------------
And the same thing happened two years later- like now again. I looked up this one again and have done what you said- but- there is NO .htaccess there in the files.....

Where do I have to look for that?


-----------------------------------
Joshua203
Mon 27 Feb, 2012 20:39

Re: Website Went Blanco
-----------------------------------
Well you could try finding those in your most recent working back-up, but I think it would help more if you describe the problem a bit and what you did right before you had this problem.

also your set up would be nice to know.. home server or hosting company? etc etc


-----------------------------------
sillybean
Mon 27 Feb, 2012 20:53

Re: Website Went Blanco
-----------------------------------
-hosting company-php 5 etc-

 I am using IP13053 for two years, it has never been down. I usually do the maintenance and no problems there-

I was deleting a forum - after that the forum went blanco-that is all what happened....

It really sounds like a simple problem but- heck, I tried all the things above and nothing seems to work..

I can set up a new forum- but the problem stays........


-----------------------------------
Joshua203
Mon 27 Feb, 2012 21:02

Re: Website Went Blanco
-----------------------------------
Have you also tried what Informpro posted earlier in this thread?

it should be helpfull for emergency recovery


-----------------------------------
sillybean
Mon 27 Feb, 2012 21:06

Re: Website Went Blanco
-----------------------------------
Yes, and it did not help- 

some where someone mentioned .htaccess- but there is no file like that in the cache.


-----------------------------------
Joshua203
Mon 27 Feb, 2012 21:18

Re: Website Went Blanco
-----------------------------------
you could try uploading this one, it doesn't contain anything special, I copied this one form the cache folder of an old test install :wink:


-----------------------------------
sillybean
Mon 27 Feb, 2012 21:30

Re: Website Went Blanco
-----------------------------------
Where exactly  do I place it?

Sorry for the question- it is two years since I last installed IP-


-----------------------------------
Joshua203
Mon 27 Feb, 2012 21:43

Re: Website Went Blanco
-----------------------------------
there should be one in ..

YOUR ICY DIRECTORY/cache

and any folder in that cache has a similar one on my local setup (cache/forums , cache/posts , cache/sql , cache/topics , cache/users) if those are missing too ..try putting the same file there (I checked the content and they are all the same)

[color=red]whatever you do ...DON'T overwrite the one in the root directory! [/color]


-----------------------------------
sillybean
Mon 27 Feb, 2012 21:44

Re: Website Went Blanco
-----------------------------------
This is strange- when I try to upload it- it says there is already a file called htaccess- but it does not show....


-----------------------------------
Joshua203
Mon 27 Feb, 2012 21:46

Re: Website Went Blanco
-----------------------------------
That probably means you have hidden dot files (.htaccess=dot htaccess)


-----------------------------------
sillybean
Mon 27 Feb, 2012 22:09

Re: Website Went Blanco
-----------------------------------
I can see them through my ftp program-  It seems they are all there, but not showing-

This is puzzling me- the whole site went white just because I deleted a forum- I wonder how that comes-

And do I need an FTP program to upload IP to the server- is it possible to have a zipped Ip there and unzip at the server?


-----------------------------------
Joshua203
Mon 27 Feb, 2012 23:30

Re: Website Went Blanco
-----------------------------------
I must admit I'm puzzled too about what happened to you and why, the info you give doesn't ring any bell for me, I was kinda hoping you would say you edited a language file when it happened.

You should be able to upload zipped files and unwrap them at the server using your hosting panel or ftp (whatever you like best), both should be able to unwrap them in the location you put them on the server.

But before you start messing things up, please wait for a second or third opinion, it would be a shame if someone else came up with an easy fix after you messed up your 2 year old forum  :wink: 

BTW it could be a good idea to post a link to your forum, so people can try and take a look (assuming the forum falls within our link posting rules)

EDIT:
PS ...Maybe silly but worth a shot!...
have you compared the content of your htaccess files to the one I attached?


-----------------------------------
sillybean
Tue 28 Feb, 2012 00:16

Re: Website Went Blanco
-----------------------------------
It is sad, but- there isn't much more to it. I just added some info to the -mac- section- on the forum and deleted the old section-linux- and that was the last time I saw the forum..... :shock: 

Everything went blanco.......

link- www.cafe-malta.com

just a sniper-community, Medal of Honor.

I came to learn Icy as the help I got set it up for me- and the second time, about two years later- I set it up and updated it myself...maybe something originated from the first Icy P? That would be 4 years back.....


-----------------------------------
Joshua203
Tue 28 Feb, 2012 00:41

Re: Website Went Blanco
-----------------------------------
thanks for the link, but you did not reply to the later added PS edit

EDIT:
PS ...Maybe silly but worth a shot!...
have you compared the content of your htaccess files to the one I attached?[/quote]

BTW all I can see at normal page level is this content:
[code linenumbers=false]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type></HEAD>
<BODY></BODY></HTML>[/code]
which means a white/empty page

Please compare the .htaccess file content


-----------------------------------
spydie
Tue 28 Feb, 2012 00:49

Re: [SOLVED]   Website Went Blanco
-----------------------------------
have you got a db backup from the last day´s ??

try to restore your forum with that and test, if everything is back there.

afterwards go step by step, doing a backup before each change. to the time you got the result you want.

so if something goes wrong, you got the closest backup to it.

Edit.

IMHO you should leave .htaccess file as is, and try other way´s before.


-----------------------------------
sillybean
Tue 28 Feb, 2012 01:47

Re: Website Went Blanco
-----------------------------------
Thank you both for answering that fast, I am amazed!

I will compare both .htaccess-  it is worth the shot-and- I will update the forum from a to b version....13053 a to b that is.


I make a back up every 14 days- so it is not so long ago.

Can I restore it with it? And how do I do that- I only know how to update, but restore, no.....never have done that-

It would be great if you explain that to me- thanks you two!!


-----------------------------------
Joshua203
Tue 28 Feb, 2012 07:51

Re: Website Went Blanco
-----------------------------------
I would not go back in time this fast but it's upto you ofcourse

How did you create your back ups ..in ACP or in your hosting panel for example?

If in ACP then I'm sure you noticed the link below DB Backup called DB Restore in the DB & Security section, it's all really pretty self explanatory IMHO


-----------------------------------
sillybean
Tue 28 Feb, 2012 18:09

Re: Website Went Blanco
-----------------------------------
I made my back-up with file manager- from the hosting panel- and I made a copy of the sql databases-

I can't go into the ACP- that also is gone-


-----------------------------------
Joshua203
Wed 29 Feb, 2012 09:04

Re: Website Went Blanco
-----------------------------------
TBH my knowledge about sql is not great and anytime I have to do something big there I have to take it step by step, you should n't really mess with that unless it's the absolute ONLY way out of trouble.

Since I saw your erc file in acp directory I thought you could still see the ACP panel, my mistake ...sorry

If you are going to ré-upload the files of the board, make sure you don't overwrite config.php (ensure you have a working copy always).

Then [b][color=red]if you really realy feel you [u]want/have to[/u][/color][/b] , take a look at phpMyAdmin (I don't know what kind of hosting panel panel you have but I'm guessing you have phpmyadmin) and be [u]very carefull[/u] there or even better ..let someone more experienced take care of it (someone you can really trust!!).
You may need to do some reading about mysql and repairing/deleleting/importing database tables, "you may" is actually an understatement :mrblue: 

But really before messing with all the above I would make sure I tried all option of the acp ERC file!


-----------------------------------
spydie
Wed 29 Feb, 2012 11:30

Re: [SOLVED]   Website Went Blanco
-----------------------------------
Best way to do backups is with MysqlDumper. The Icy incorporated one has problems on restore with double entrys.

so it will probably get stuck.

With MSD you can set up a cron job via hosting panel, to do a backup every day, and only keep for example the backups of the last 7 days.

and for restore its better aswell, because it can handle Big Dumps aswell, no matter the size of DB


-----------------------------------
sillybean
Wed 29 Feb, 2012 22:42

Re: Website Went Blanco
-----------------------------------
Joshua, I really tried all things possible in .erc .....I wished it would have done the trick- The best result I have until now is a page with the Icy Phoenix bird on it :roll:  :mrgreen: 

I hope I can repair the db- I did that once before ( 2 years ago, darn, the website ran that long, I just got lazy!), but I have a lot of reading to do;)


Spydie- I keep your suggestion in mind, thank you so very much!

Thank you both!!

I set up an emergency site- I need some time to figure it all out...... :wink:


-----------------------------------
spydie
Thu 01 Mar, 2012 00:01

Re: [SOLVED]   Website Went Blanco
-----------------------------------
try to delet def_tree in cache folder


-----------------------------------
sillybean
Thu 01 Mar, 2012 01:05

Re: Website Went Blanco
-----------------------------------
No effect at all........


-----------------------------------
Joshua203
Thu 01 Mar, 2012 10:52

Re: Website Went Blanco
-----------------------------------
You have phpMyAdmin right?

If you do, you could try this:

[list]
[*] Open phpMyAdmin
[*] At the left side, open your icyphoenix DB
[*] Again at the left in the new window, find and open YOUR PREFIX_forums (example: ip_forums )
[*] Now check if you see any irregularities there at the right side
[*] You should also be able to export it and compare it to the same part of the most recent working backup (just search for the same table in that file)
This should also tell you if you can open the latest working backup and that it's not damaged (on my tests I was unable to download an un-damaged one via ACP, so this might depend on how you downloaded it)[/list]

I could make the list of ideas longer but that would only complicate things IMHO, so maybe it would be best if you post back after the above (a detailed reply please, maybe even include the downloaded table backup)

EDIT: even if this is just a broken setup be very careful there ..maybe even Export the full broken DB before you check or do anything


-----------------------------------
sillybean
Tue 06 Mar, 2012 21:55

Re: Website Went Blanco
-----------------------------------
Sigh- done it and I did not find something wrong....

Is there a way to insert the data manually? 

I remember I did it once before, but -heck- I don't know how to do so anymore...


-----------------------------------
Joshua203
Tue 06 Mar, 2012 22:42

Re: Website Went Blanco
-----------------------------------
Have you exported the full DB the way it is now allready?

anduhhmm ...Were you able to open the icy backup you have?


PS...edit
Yes you could edit each table with phpmyadmin but if you don't see the problem then what would you edit?


-----------------------------------
Joshua203
Tue 06 Mar, 2012 22:51

Re: Website Went Blanco
-----------------------------------
BTW ..
I don't expect this to help but it can not hurt either .. you can select all tables and do a repair DB

and incase you want to edit the page should be filled with little pencils (edit buttons) ;)


-----------------------------------
sillybean
Wed 07 Mar, 2012 00:33

Re: Website Went Blanco
-----------------------------------
What I want to save from the old website is the memberlist + log ins etc-

Can I put these in? does it matter if the person has posted?

I was not able to open the back up I have- I can see all the files though- but-not as a website. I can open it with winrar ( duh lol)  and read it all-
also the sql- 
Strange that I can't find any mistake- I tried about all htaccess etc-

Server side is fine too- I made a emergency site ( also Icy P.) and that shows fine.....


-----------------------------------
Joshua203
Wed 07 Mar, 2012 00:51

Re: Website Went Blanco
-----------------------------------
after pulling the full DB backup you could try replacing table by table ..I would still start with the forums table (because that's where you were removing when this went wrong?)


-----------------------------------
sillybean
Wed 07 Mar, 2012 04:57

Re: Website Went Blanco
-----------------------------------
Yes- that is an idea- thanks!

With what shall I start setting up- a new forum with myself as admin- then filling in the tables?


-----------------------------------
Joshua203
Wed 07 Mar, 2012 05:26

Re: Website Went Blanco
-----------------------------------
you can try opening the old working backup and find a passage that looks like this:

[spoiler][code linenumbers=false]DROP TABLE IF EXISTS ip_forums;
CREATE TABLE ip_forums(
  forum_id smallint(5) unsigned DEFAULT '0' NOT NULL,
  cat_id mediumint(8) unsigned DEFAULT '0' NOT NULL,
  main_type char(1),
  forum_name varchar(150),
  forum_desc text NOT NULL,
  forum_status tinyint(4) DEFAULT '0' NOT NULL,
  forum_order mediumint(8) unsigned DEFAULT '1' NOT NULL,
  forum_posts mediumint(8) unsigned DEFAULT '0' NOT NULL,
  forum_topics mediumint(8) unsigned DEFAULT '0' NOT NULL,
  forum_last_post_id mediumint(8) unsigned DEFAULT '0' NOT NULL,
  forum_postcount tinyint(1) DEFAULT '1' NOT NULL,
  forum_thanks tinyint(1) DEFAULT '0' NOT NULL,
  forum_notify tinyint(1) unsigned DEFAULT '1' NOT NULL,
  forum_similar_topics tinyint(1) DEFAULT '0' NOT NULL,
  forum_topic_views tinyint(1) DEFAULT '1' NOT NULL,
  forum_tags tinyint(1) DEFAULT '0' NOT NULL,
  forum_sort_box tinyint(1) DEFAULT '0' NOT NULL,
  forum_kb_mode tinyint(1) DEFAULT '0' NOT NULL,
  forum_index_icons tinyint(1) DEFAULT '0' NOT NULL,
  forum_rules tinyint(1) unsigned DEFAULT '0' NOT NULL,
  forum_link varchar(255),
  forum_link_internal tinyint(1) DEFAULT '0' NOT NULL,
  forum_link_hit_count tinyint(1) DEFAULT '0' NOT NULL,
  forum_link_hit bigint(20) unsigned DEFAULT '0' NOT NULL,
  icon varchar(255),
  prune_next int(11),
  prune_enable tinyint(1) DEFAULT '0' NOT NULL,
  auth_view tinyint(2) DEFAULT '0' NOT NULL,
  auth_read tinyint(2) DEFAULT '0' NOT NULL,
  auth_post tinyint(2) DEFAULT '0' NOT NULL,
  auth_reply tinyint(2) DEFAULT '0' NOT NULL,
  auth_edit tinyint(2) DEFAULT '0' NOT NULL,
  auth_delete tinyint(2) DEFAULT '0' NOT NULL,
  auth_sticky tinyint(2) DEFAULT '0' NOT NULL,
  auth_announce tinyint(2) DEFAULT '0' NOT NULL,
  auth_globalannounce tinyint(2) DEFAULT '3' NOT NULL,
  auth_news tinyint(2) DEFAULT '2' NOT NULL,
  auth_cal tinyint(2) DEFAULT '0' NOT NULL,
  auth_vote tinyint(2) DEFAULT '0' NOT NULL,
  auth_pollcreate tinyint(2) DEFAULT '0' NOT NULL,
  auth_attachments tinyint(2) DEFAULT '0' NOT NULL,
  auth_download tinyint(2) DEFAULT '0' NOT NULL,
  auth_ban tinyint(2) DEFAULT '3' NOT NULL,
  auth_greencard tinyint(2) DEFAULT '5' NOT NULL,
  auth_bluecard tinyint(2) DEFAULT '1' NOT NULL,
  auth_rate tinyint(2) DEFAULT '-1' NOT NULL,
  PRIMARY KEY (forum_id),
  KEY forums_order (forum_order),
  KEY cat_id (cat_id),
  KEY forum_last_post_id (forum_last_post_id)
);

INSERT INTO ip_forums (forum_id, cat_id, main_type, forum_name, forum_desc, forum_status, forum_order, forum_posts, forum_topics, forum_last_post_id, forum_postcount, forum_thanks, forum_notify, forum_similar_topics, forum_topic_views, forum_tags, forum_sort_box, forum_kb_mode, forum_index_icons, forum_rules, forum_link, forum_link_internal, forum_link_hit_count, forum_link_hit, icon, prune_next, prune_enable, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_sticky, auth_announce, auth_globalannounce, auth_news, auth_cal, auth_vote, auth_pollcreate, auth_attachments, auth_download, auth_ban, auth_greencard, auth_bluecard, auth_rate) VALUES (1, 1, 'c', 'Test Forum 1', 'This is just a test forum.', 0, 20, 2, 2, 2, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, NULL, 0, 0, 0, NULL, NULL, 0, 0, 0, 1, 1, 1, 3, 3, 5, 5, 5, 5, 1, 1, 1, 1, 3, 5, 1, -1),(2, 1, 'f', 'Sub test', '', 0, 30, 1, 1, 3, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, '', 0, 0, 0, '', NULL, 0, 0, 0, 1, 1, 1, 3, 3, 5, 5, 5, 5, 1, 1, 1, 1, 3, 5, 1, -1);[/code][/spoiler]

Copy that section of your file, then open the DB of the old broken site with phpMyAdmin ...click the SQL tab ..paste the copied query in the big text box box and press start.


-----------------------------------
TheSteffen
Wed 07 Mar, 2012 09:52

Re: [SOLVED]   Website Went Blanco
-----------------------------------
Sorry, I did not read everything...

If you have still this error, you can try to resync all your forums and categories.
Because this was the last thing you did. "Delete a forum"


-----------------------------------
spydie
Wed 07 Mar, 2012 23:43

Re: [SOLVED]   Website Went Blanco
-----------------------------------
he can´t even see his site, nore ACP


-----------------------------------
sillybean
Sat 10 Mar, 2012 19:58

Re: Website Went Blanco
-----------------------------------
I am not being rude, just busy a couple of days;)) THANKS for all your help- it is very much appreciated!!!


