[Solved]Forums wacked

Support for IntegraMOD 141

Moderator: Integra Moderator

[Solved]Forums wacked

PostAuthor: Viruz » Sun Feb 04, 2007 1:15 pm

Ok. Our forums had issues with our host a few days ago, and I backed up the forums. I reloaded from scratch, updated to 141, and got the database back up. But nothing shows. All the posts are there if I go into the database. If I try to resynch all I get is a blank screen (for the entire site). I can get the site back up if I upload an unaltered dev_tree, but I can't post or make any changes to the forum structure. Right now all I have is Test Forum 1 up there. If I try to change it or take it out the update to dev_tree makes the entire site go 'white' again.

There is also a new forum called 'Restored Forums' that I didn't create.

Any help would be appreciated.

Here is my dev_tree file from 140
[code]<?php
/***************************************************************************
* def_tree_def.php
* ----------------
* begin : 12/11/2003
* copyright : Ptirhiik
* email : <a>admin@rpgnet-fr.com</a>
*
* version : 1.0.0 - 12/11/2003
*
* last update : 2007-01-27 06:22:05 (GMT) by [SOFW]Cpt.Miles Teg *
***************************************************************************/

/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*
***************************************************************************/

if ( !defined('IN_PHPBB') )
{
die('Hacking attempt');
exit;
}

//--------------------------------------------------------------------------------------------------
//
// $tree : designed to get all the hierarchy
// ------
//
// indexes :
// - id : full designation : ie Root, f3, c20
// - idx : rank order
//
// $tree['keys'][id] => idx,
// $tree['type'][idx] => type of the row, can be 'c' for categories or 'f' for forums,
// $tree['id'][idx] => value of the row id : cat_id for cats, forum_id for forums,
// $tree['data'][idx] => db table row,
// $tree['main'][idx] => parent id,
// $tree['sub'][id] => array of sub-level ids,
//--------------------------------------------------------------------------------------------------

$tree = array(
'keys' => array('c22' => 0, 'f76' => 1, 'c16' => 2, 'f54' => 3, 'f55' => 4, 'c19' => 5, 'f57' => 6, 'f56' => 7, 'f58' => 8, 'f59' => 9, 'c20' => 10, 'f60' => 11, 'f64' => 12, 'f65' => 13, 'c21' => 14, 'f92' => 15, 'f93' => 16, 'c23' => 17, 'f95' => 18),
'type' => array('c', 'f', 'c', 'f', 'f', 'c', 'f', 'f', 'f', 'f', 'c', 'f', 'f', 'f', 'c', 'f', 'f', 'c', 'f'),
'id' => array('22', '76', '16', '54', '55', '19', '57', '56', '58', '59', '20', '60', '64', '65', '21', '92', '93', '23', '95'),
'data' => array(
array(
'cat_id' => '22',
'cat_title' => 'Soldiers of Foreign Wars STATS',
'cat_order' => '10',
'cat_main_type' => 'c',
'cat_main' => '0',
'cat_desc' => 'Player Game Stats Get'em Here!',
'icon' => '',
'main' => 'Root',
),
array(
'forum_id' => '76',
'cat_id' => '22',
'forum_name' => 'Player Stats',
'forum_desc' => '',
'forum_status' => '0',
'forum_order' => '20',
'forum_posts' => '0',
'forum_topics' => '0',
'forum_last_post_id' => '0',
'prune_next' => '',
'prune_enable' => '0',
'points_disabled' => '1',
'auth_view' => '0',
'auth_read' => '0',
'auth_post' => '0',
'auth_reply' => '0',
'auth_edit' => '1',
'auth_delete' => '1',
'auth_sticky' => '3',
'auth_announce' => '3',
'auth_global_announce' => '5',
'auth_vote' => '1',
'auth_pollcreate' => '1',
'auth_attachments' => '3',
'auth_download' => '0',
'auth_news' => '3',
'forum_link' => 'http://sofw.hlstatsx.com',
'forum_link_internal' => '0',
'forum_link_hit_count' => '0',
'forum_link_hit' => '0',
'icon' => '',
'main_type' => 'c',
'auth_cal' => '3',
'auth_ban' => '3',
'auth_greencard' => '5',
'auth_bluecard' => '1',
'auth_delayedpost' => '3',
'main' => 'c22',
),
array(
'cat_id' => '16',
'cat_title' => 'SOFW Welcome Section',
'cat_order' => '30',
'cat_main_type' => 'c',
'cat_main' => '0',
'cat_desc' => '',
'icon' => '',
'main' => 'Root',
),
array(
'forum_id' => '54',
'cat_id' => '16',
'forum_name' => 'Introductions',
'forum_desc' => 'Introduce yourself to SOFW',
'forum_status' => '0',
'forum_order' => '40',
'forum_posts' => '155',
'forum_topics' => '29',
'forum_last_post_id' => '18454',
'prune_next' => '',
'prune_enable' => '0',
'points_disabled' => '1',
'auth_view' => '0',
'auth_read' => '0',
'auth_post' => '1',
'auth_reply' => '1',
'auth_edit' => '1',
'auth_delete' => '1',
'auth_sticky' => '3',
'auth_announce' => '3',
'auth_global_announce' => '5',
'auth_vote' => '1',
'auth_pollcreate' => '1',
'auth_attachments' => '3',
'auth_download' => '0',
'auth_news' => '3',
'forum_link' => '',
'forum_link_internal' => '0',
'forum_link_hit_count' => '0',
'forum_link_hit' => '0',
'icon' => '',
'main_type' => 'c',
'auth_cal' => '3',
'auth_ban' => '3',
'auth_greencard' => '5',
'auth_bluecard' => '1',
'auth_delayedpost' => '3',
'main' => 'c16',
),
array(
'forum_id' => '55',
'cat_id' => '16',
'forum_name' => 'How to Join SOFW',
'forum_desc' => 'Want to become a member at SOFW? Here is how.',
'forum_status' => '0',
'forum_order' => '50',
'forum_posts' => '2',
'forum_topics' => '2',
'forum_last_post_id' => '18139',
'prune_next' => '',
'prune_enable' => '0',
'points_disabled' => '1',
'auth_view' => '0',
'auth_read' => '0',
'auth_post' => '1',
'auth_reply' => '1',
'auth_edit' => '1',
'auth_delete' => '1',
'auth_sticky' => '3',
'auth_announce' => '3',
'auth_global_announce' => '5',
'auth_vote' => '1',
'auth_pollcreate' => '1',
'auth_attachments' => '3',
'auth_download' => '0',
'auth_news' => '3',
'forum_link' => '',
'forum_link_internal' => '0',
'forum_link_hit_count' => '0',
'forum_link_hit' => '0',
'icon' => '',
'main_type' => 'c',
'auth_cal' => '3',
'auth_ban' => '3',
'auth_greencard' => '5',
'auth_bluecard' => '1',
'auth_delayedpost' => '3',
'main' => 'c16',
),
array(
'cat_id' => '19',
'cat_title' => 'SOFW Mess Hall',
'cat_order' => '80',
'cat_main_type' => 'c',
'cat_main' => '0',
'cat_desc' => '',
'icon' => '',
'main' => 'Root',
),
array(
'forum_id' => '57',
'cat_id' => '19',
'forum_name' => 'General Chat',
'forum_desc' => '',
'forum_status' => '0',
'forum_order' => '90',
'forum_posts' => '3146',
'forum_topics' => '318',
'forum_last_post_id' => '18458',
'prune_next' => '',
'prune_enable' => '0',
'points_disabled' => '1',
'auth_view' => '0',
'auth_read' => '0',
'auth_post' => '1',
'auth_reply' => '1',
'auth_edit' => '1',
'auth_delete' => '1',
'auth_sticky' => '3',
'auth_announce' => '3',
'auth_global_announce' => '5',
'auth_vote' => '1',
'auth_pollcreate' => '1',
'auth_attachments' => '3',
'auth_download' => '0',
'auth_news' => '3',
'forum_link' => '',
'forum_link_internal' => '0',
'forum_link_hit_count' => '0',
'forum_link_hit' => '0',
'icon' => '',
'main_type' => 'c',
'auth_cal' => '3',
'auth_ban' => '3',
'auth_greencard' => '5',
'auth_bluecard' => '1',
'auth_delayedpost' => '3',
'main' => 'c19',
),
array(
'forum_id' => '56',
'cat_id' => '19',
'forum_name' => 'Artists Unite',
'forum_desc' => '',
'forum_status' => '0',
'forum_order' => '100',
'forum_posts' => '0',
'forum_topics' => '0',
'forum_last_post_id' => '0',
'prune_next' => '',
'prune_enable' => '0',
'points_disabled' => '1',
'auth_view' => '0',
'auth_read' => '0',
'auth_post' => '1',
'auth_reply' => '1',
'auth_edit' => '1',
'auth_delete' => '1',
'auth_sticky' => '3',
'auth_announce' => '3',
'auth_global_announce' => '5',
'auth_vote' => '1',
'auth_pollcreate' => '1',
'auth_attachments' => '3',
'auth_download' => '0',
'auth_news' => '3',
'forum_link' => '',
'forum_link_internal' => '0',
'forum_link_hit_count' => '0',
'forum_link_hit' => '0',
'icon' => '',
'main_type' => 'c',
'auth_cal' => '3',
'auth_ban' => '3',
'auth_greencard' => '5',
'auth_bluecard' => '1',
'auth_delayedpost' => '3',
'main' => 'c19',
),
array(
'forum_id' => '58',
'cat_id' => '19',
'forum_name' => 'Video Section',
'forum_desc' => '',
'forum_status' => '0',
'forum_order' => '140',
'forum_posts' => '77',
'forum_topics' => '7',
'forum_last_post_id' => '18208',
'prune_next' => '',
'prune_enable' => '0',
'points_disabled' => '1',
'auth_view' => '0',
'auth_read' => '0',
'auth_post' => '1',
'auth_reply' => '1',
'auth_edit' => '1',
'auth_delete' => '1',
'auth_sticky' => '3',
'auth_announce' => '3',
'auth_global_announce' => '5',
'auth_vote' => '1',
'auth_pollcreate' => '1',
'auth_attachments' => '3',
'auth_download' => '0',
'auth_news' => '3',
'forum_link' => '',
'forum_link_internal' => '0',
'forum_link_hit_count' => '0',
'forum_link_hit' => '0',
'icon' => '',
'main_type' => 'c',
'auth_cal' => '3',
'auth_ban' => '3',
'auth_greencard' => '5',
'auth_bluecard' => '1',
'auth_delayedpost' => '3',
'main' => 'c19',
),
array(
'forum_id' => '59',
'cat_id' => '19',
'forum_name' => 'Game Setup and Help Section',
'forum_desc' => 'Problems with DOD? Maybe we can help.',
'forum_status' => '0',
'forum_order' => '150',
'forum_posts' => '223',
'forum_topics' => '20',
'forum_last_post_id' => '18301',
'prune_next' => '',
'prune_enable' => '0',
'points_disabled' => '1',
'auth_view' => '0',
'auth_read' => '0',
'auth_post' => '1',
'auth_reply' => '1',
'auth_edit' => '1',
'auth_delete' => '1',
'auth_sticky' => '3',
'auth_announce' => '3',
'auth_global_announce' => '5',
'auth_vote' => '1',
'auth_pollcreate' => '1',
'auth_attachments' => '3',
'auth_download' => '0',
'auth_news' => '3',
'forum_link' => '',
'forum_link_internal' => '0',
'forum_link_hit_count' => '0',
'forum_link_hit' => '0',
'icon' => '',
'main_type' => 'c',
'auth_cal' => '3',
'auth_ban' => '3',
'auth_greencard' => '5',
'auth_bluecard' => '1',
'auth_delayedpost' => '3',
'main' => 'c19',
),
array(
'cat_id' => '20',
'cat_title' => 'SOFW Head Quarters',
'cat_order' => '190',
'cat_main_type' => 'c',
'cat_main' => '0',
'cat_desc' => '',
'icon' => '',
'main' => 'Root',
),
array(
'forum_id' => '60',
'cat_id' => '20',
'forum_name' => 'Clan News / Chat Section',
'forum_desc' => '',
'forum_status' => '0',
'forum_order' => '200',
'forum_posts' => '562',
'forum_topics' => '81',
'forum_last_post_id' => '18447',
'prune_next' => '',
'prune_enable' => '0',
'points_disabled' => '1',
'auth_view' => '0',
'auth_read' => '2',
'auth_post' => '2',
'auth_reply' => '2',
'auth_edit' => '2',
'auth_delete' => '2',
'auth_sticky' => '3',
'auth_announce' => '3',
'auth_global_announce' => '5',
'auth_vote' => '2',
'auth_pollcreate' => '2',
'auth_attachments' => '3',
'auth_download' => '2',
'auth_news' => '3',
'forum_link' => '',
'forum_link_internal' => '0',
'forum_link_hit_count' => '0',
'forum_link_hit' => '0',
'icon' => '',
'main_type' => 'c',
'auth_cal' => '3',
'auth_ban' => '3',
'auth_greencard' => '5',
'auth_bluecard' => '2',
'auth_delayedpost' => '3',
'main' => 'c20',
),
array(
'forum_id' => '64',
'cat_id' => '20',
'forum_name' => 'Recruitment Section',
'forum_desc' => '',
'forum_status' => '0',
'forum_order' => '210',
'forum_posts' => '20',
'forum_topics' => '2',
'forum_last_post_id' => '15390',
'prune_next' => '',
'prune_enable' => '0',
'points_disabled' => '1',
'auth_view' => '0',
'auth_read' => '2',
'auth_post' => '2',
'auth_reply' => '2',
'auth_edit' => '2',
'auth_delete' => '2',
'auth_sticky' => '2',
'auth_announce' => '3',
'auth_global_announce' => '5',
'auth_vote' => '2',
'auth_pollcreate' => '2',
'auth_attachments' => '3',
'auth_download' => '2',
'auth_news' => '2',
'forum_link' => '',
'forum_link_internal' => '0',
'forum_link_hit_count' => '0',
'forum_link_hit' => '0',
'icon' => '',
'main_type' => 'c',
'auth_cal' => '2',
'auth_ban' => '3',
'auth_greencard' => '5',
'auth_bluecard' => '1',
'auth_delayedpost' => '3',
'main' => 'c20',
),
array(
'forum_id' => '65',
'cat_id' => '20',
'forum_name' => 'Battle Team',
'forum_desc' => '',
'forum_status' => '0',
'forum_order' => '230',
'forum_posts' => '78',
'forum_topics' => '12',
'forum_last_post_id' => '18409',
'prune_next' => '',
'prune_enable' => '0',
'points_disabled' => '1',
'auth_view' => '0',
'auth_read' => '2',
'auth_post' => '2',
'auth_reply' => '2',
'auth_edit' => '2',
'auth_delete' => '2',
'auth_sticky' => '2',
'auth_announce' => '3',
'auth_global_announce' => '5',
'auth_vote' => '2',
'auth_pollcreate' => '2',
'auth_attachments' => '3',
'auth_download' => '2',
'auth_news' => '2',
'forum_link' => '',
'forum_link_internal' => '0',
'forum_link_hit_count' => '0',
'forum_link_hit' => '0',
'icon' => '',
'main_type' => 'c',
'auth_cal' => '2',
'auth_ban' => '3',
'auth_greencard' => '5',
'auth_bluecard' => '1',
'auth_delayedpost' => '3',
'main' => 'c20',
),
array(
'cat_id' => '21',
'cat_title' => 'SOFW Command Post',
'cat_order' => '290',
'cat_main_type' => 'c',
'cat_main' => '0',
'cat_desc' => '',
'icon' => '',
'main' => 'Root',
),
array(
'forum_id' => '92',
'cat_id' => '21',
'forum_name' => 'Senior Admins',
'forum_desc' => '',
'forum_status' => '0',
'forum_order' => '300',
'forum_posts' => '152',
'forum_topics' => '30',
'forum_last_post_id' => '18452',
'prune_next' => '',
'prune_enable' => '0',
'points_disabled' => '1',
'auth_view' => '0',
'auth_read' => '2',
'auth_post' => '2',
'auth_reply' => '2',
'auth_edit' => '2',
'auth_delete' => '2',
'auth_sticky' => '3',
'auth_announce' => '3',
'auth_global_announce' => '5',
'auth_vote' => '1',
'auth_pollcreate' => '1',
'auth_attachments' => '3',
'auth_download' => '0',
'auth_news' => '3',
'forum_link' => '',
'forum_link_internal' => '0',
'forum_link_hit_count' => '0',
'forum_link_hit' => '0',
'icon' => '',
'main_type' => 'c',
'auth_cal' => '3',
'auth_ban' => '3',
'auth_greencard' => '5',
'auth_bluecard' => '1',
'auth_delayedpost' => '3',
'main' => 'c21',
),
array(
'forum_id' => '93',
'cat_id' => '21',
'forum_name' => 'Server Admins',
'forum_desc' => '',
'forum_status' => '0',
'forum_order' => '310',
'forum_posts' => '4',
'forum_topics' => '2',
'forum_last_post_id' => '17918',
'prune_next' => '',
'prune_enable' => '0',
'points_disabled' => '1',
'auth_view' => '0',
'auth_read' => '2',
'auth_post' => '2',
'auth_reply' => '2',
'auth_edit' => '2',
'auth_delete' => '3',
'auth_sticky' => '3',
'auth_announce' => '3',
'auth_global_announce' => '5',
'auth_vote' => '1',
'auth_pollcreate' => '1',
'auth_attachments' => '3',
'auth_download' => '0',
'auth_news' => '3',
'forum_link' => '',
'forum_link_internal' => '0',
'forum_link_hit_count' => '0',
'forum_link_hit' => '0',
'icon' => '',
'main_type' => 'c',
'auth_cal' => '3',
'auth_ban' => '3',
'auth_greencard' => '5',
'auth_bluecard' => '1',
'auth_delayedpost' => '3',
'main' => 'c21',
),
array(
'cat_id' => '23',
'cat_title' => 'Restored forums',
'cat_order' => '9000300',
'cat_main_type' => 'c',
'cat_main' => '0',
'cat_desc' => '',
'icon' => '',
'main' => 'Root',
),
array(
'forum_id' => '95',
'cat_id' => '23',
'forum_name' => 'SOFW Prayer Center',
'forum_desc' => 'Lift up your prayer requests here be kind and courteous, humble and respectful in here PLZ.',
'forum_status' => '0',
'forum_order' => '180',
'forum_posts' => '47',
'forum_topics' => '9',
'forum_last_post_id' => '18424',
'prune_next' => '',
'prune_enable' => '0',
'points_disabled' => '1',
'auth_view' => '0',
'auth_read' => '0',
'auth_post' => '0',
'auth_reply' => '0',
'auth_edit' => '1',
'auth_delete' => '1',
'auth_sticky' => '3',
'auth_announce' => '3',
'auth_global_announce' => '5',
'auth_vote' => '1',
'auth_pollcreate' => '1',
'auth_attachments' => '3',
'auth_download' => '0',
'auth_news' => '3',
'forum_link' => '',
'forum_link_internal' => '0',
'forum_link_hit_count' => '0',
'forum_link_hit' => '0',
'icon' => '',
'main_type' => 'c',
'auth_cal' => '3',
'auth_ban' => '3',
'auth_greencard' => '5',
'auth_bluecard' => '1',
'auth_delayedpost' => '3',
'main' => 'c23',
),
),
'main' => array('Root', 'c22', 'Root', 'c16', 'c16', 'Root', 'c19', 'c19', 'c19', 'c19', 'Root', 'c20', 'c20', 'c20', 'Root', 'c21', 'c21', 'Root', 'c23'),
'sub' => array(
'Root' => array('c22', 'c16', 'c19', 'c20', 'c21', 'c23'),
'c22' => array('f76'),
'c16' => array('f54', 'f55'),
'c19' => array('f57', 'f56', 'f58', 'f59'),
'c20' => array('f60', 'f64', 'f65'),
'c21' => array('f92', 'f93'),
'c23' => array('f95'),
),
'mods' => array(
4 => array(
'user_id' => array(17, 108),
'username' => array('[SOFW]Teasley', '[SOFW]AfteRShOcK'),
'group_id' => array(),
'group_name' => array(),
),
7 => array(
'user_id' => array(177),
'username' => array('[SOFW]H/zÃà ¢Ã¢â€š ¬Ã‚ ¦ÃƒÆ’‚ ®ÃƒÆ’ƒÂ
Last edited by Viruz on Tue Feb 06, 2007 5:10 am, edited 1 time in total.

Viruz
Newbie
Newbie
 
Posts: 2
Likes: 0 post
Liked in: 0 post
Joined: Sun Feb 04, 2007 11:36 am
Cash on hand: 0.00

Re: Forums wacked

PostAuthor: Drop-Forged » Sun Feb 04, 2007 3:53 pm

Your board might have the dreaded Blank Site Bug.


If this is the case, the following should fix it:


open includes/functions_categories_hierarchy.php

FIND

Code: Select all
define('CACHE_TREE', true);


REPLACE WITH

Code: Select all
// define('CACHE_TREE', true);


CHMOD your def_tree.php to 666, Resync, and it will hopefully all be goodà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ <img>
Last edited by Drop-Forged on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=left]http://www.christiansoldiers.com/Sig/sig.png[/img][/url]
[url=http]Free IntegraMod 141 Themes at webhutch.net[/url]

Drop-Forged
Integra Member
Integra Member
 
Posts: 167
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 8:07 pm
Cash on hand: 0.00

Re: Forums wacked

PostAuthor: Viruz » Mon Feb 05, 2007 4:56 am

That did the trick! Thank you so very much for your help there. Woot! <img>
Last edited by Viruz on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Viruz
Newbie
Newbie
 
Posts: 2
Likes: 0 post
Liked in: 0 post
Joined: Sun Feb 04, 2007 11:36 am
Cash on hand: 0.00

Re: [Solved]Forums wacked

PostAuthor: ckilmer75 » Thu Nov 29, 2007 12:01 pm

I have the same issue. I have tried installing multiple times. The database gets filled and then when you click on the button at the bottom of the screen to continue, it goes to 'login.php' and just displays a blank screen. I tried the above fix and it did not help me.

thanks in advance,

CKilmer75
Last edited by ckilmer75 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

ckilmer75
Members
Members
 
Posts: 55
Likes: 0 post
Liked in: 0 post
Joined: Tue Jun 13, 2006 1:56 pm
Cash on hand: 0.00

Re: [Solved]Forums wacked

PostAuthor: ckilmer75 » Thu Nov 29, 2007 12:18 pm

Disregard,

I changed my sql version to 'without' mysqli and the forum installed. I don't know why using mysqli caused an issue as I verified that it IS installed on the server.

anyway, the site is up so I'm happy.
Last edited by ckilmer75 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

ckilmer75
Members
Members
 
Posts: 55
Likes: 0 post
Liked in: 0 post
Joined: Tue Jun 13, 2006 1:56 pm
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]