Page 1 of 1

WSOD

PostPosted: Tue Apr 04, 2006 5:44 am
Author: Eon
Ok I don't know what happened, I was editing one of my categories in my forum, and when I hit submit it just showed a blank screen. No nothing!

I had chosen to make a category a forum, and I hit submit on accident before it gave me the forum settings of private and all that.

Any idea how to fix this?

Also, just looked at our backups of our database that are regularly scheduled as per php security, and they are all BLANK!

Re-post since the other one disappeared to hidden land..

Any help people?

PostPosted: Tue Apr 04, 2006 2:00 pm
Author: Michaelo
Backup may have issues (ask Helter)...

Try to re-sync forums...

One of the (I am away from my PC so can't check the file names)... Helter remember the file that is altered when you change/edit the forum/categories... The one that is always corrupted? Anyway this one will need to be uploaded again...

Mike..

PostPosted: Wed Apr 05, 2006 3:35 am
Author: Simon N
Includes>def_tree.php is the file that holds all details of categories and their positioning. If you upload a new version you must be sure to set permissions to 666.

The upgraded version of categories hierarchy does away with def files and is far more robust. I used the upgraded version for a site built about a year ago over at:

http://www.theplanningsite.com

Not my site anymore but it does make use of the better CH mod

PostPosted: Wed Apr 05, 2006 6:57 am
Author: Eon
Well that is good to know. Thanks Michaelo and Simon. I ended up going back to my PHPBB2 forum, which I thankfully saved along with the db it was running on.

I was so mad after figthing with it all day yesterday I deleted the whole of IM 140

And all I had to do was upload a file.. ;(

The first response was at 9pm yesterday to this, and I had already deleted it by then.

*Should I try this again or avoid the fight?*

I had to do a lot of work just to get my forum to work to begin with.

PostPosted: Wed Apr 05, 2006 7:45 am
Author: Simon N
Its well worth it...but then i would say that as i have a fully functioning install <img>

Have a go...make notes as to what your doing at each step and if things go wrong or you need a hand email or pm me.

Re: WSOD

PostPosted: Wed Apr 05, 2006 8:16 am
Author: Fubie
I just posted a tutorial on setting up a preconfigured XAMPP setup for Integramod.

Blank forum issue would be a great use of this.

If you download your forum and export your DB and use the tutorial to place them in XAMPP and test it from there.

Check the tutorial here http://integramod.com/forum/viewtopic.php?p=574#574

I really hope it helps.

PostPosted: Wed Apr 05, 2006 10:04 am
Author: Eon
OK. Thanks guys. I was actually looking at alternatives such as a CMS and a different forum, but convert my forum to it was too much hassle.

Although going from phpbb2 to im132d to im 140 is not too fun either. But it meshes together better than anything else. PHP Nuke even looks like crap to me.

I sure wished there was an easier phpbb2 to im 140, would be sooooo nice.

PostPosted: Thu Apr 06, 2006 8:03 am
Author: Eon
Where can we get an upgraded version of the Categories Hierachy? Is it modded for IM140? I am back up and going now, but I want to get rid of this issue permanently. Not have to deal with it everything I make a category change.

PostPosted: Thu Apr 06, 2006 8:12 am
Author: Simon N
Categories Heirarchy (new version) is not for use with integramod as it stands. its such a complex mod it rewrites lots of phpBB code and as such many mods will cease to function.

I am assuming here so take dont take this as gospel but am sure the next big leap forward in IM will be using the new CH mod.

Till then I know through testing that the current CH mod will handle up to approx 1500 forums comprising of sub forums and categories. So chances of needing more is slim...although I did for one site and that now uses somethign else.

I would try and find a forum/category layout that works for you then refrain from changing it. Make a backup of the def_tree.php and store somewhere safe.

PostPosted: Thu Apr 06, 2006 8:56 am
Author: Eon
Well.. That kind of sucks.. What does the chmod have to do with it? I am new to all this and it has been a fight from the get go.

All the bugs to fix from the start of the install, like quotes, and then having to change the founder if you are not the orginial one. Then rewoking the theme to get it back to the way it was.

Lots of work, especially for someone who is new at this.

Now I have to go back and re-install the Activity mod and all the games, the Music Online mod, quick reply smilies (which is hard due to the fact it doesn't work right to begin with). Then re-arrange the forum for a beter heirachy but deal with it crashing at any time because of this..

PostPosted: Thu Apr 06, 2006 9:40 am
Author: Simon N
BY CH mod i meant Categories Hierarchy mod....me being lazy.

My advice would be to not install any mods at present. Get the basic site working, bugs fixed and everything arranged as you want it to be. Then systematically install one mod, test it, fix it..repeat.

It is a steep learning curve but well worth it as oppossed to writing the whole site from scratch.

PostPosted: Thu Apr 06, 2006 1:16 pm
Author: Eon
Ahh I gotcha now.

Yeah, that is what I am doing this time, and backing up my def-tree every time I make a change.

LOL Precaution.

PostPosted: Thu Apr 06, 2006 3:17 pm
Author: Simon N
We all learn the hard way

PostPosted: Mon Apr 10, 2006 8:14 am
Author: Eon
rgr that..

PostPosted: Tue Apr 11, 2006 6:08 pm
Author: Ebony
I had the fix for this...and posted it over at the IM.com

and yeah totally get your frustration I went through 21 different boards before screaming.."get me back my IM..now."

I will go over eon and see if I can find the post over there

[align=center:3sbg919m]edit...found it yay[/align:3sbg919m]

ok so I copied and reposted the whole thing there is a edit by an admin *who did that come on own up...[url=http][flash=,:3sbg919m]http://img140.imageshack.us/img140/3329/shy37mr.gif[/flash:3sbg919m][/url] I know the original code on the site doesn't help any one much but the coding that methos adapted and I have posted here does work I promise. Well it fixed my white page problem.

original post:
yay I love canadians. [flash=,:3sbg919m]http://img139.imageshack.us/img139/3715/lo5flowerandheart025mj.gif[/flash:3sbg919m]

Methos has asked me to post this up here because he is working right now, and thought it might benefit everyone who has or is suffering from the dreaded white pages.

There is a an bug in the PHP code 4.3.11 which prevents the Categories hierachies from being read properly, and it is this causing the white pages.

The actual fix for this was originally posted on this site with an explanation of the error


http://rpgnet.clanmckeen.com/demo/viewtopic.php?t=3679

Methos says you need to replace the code they give you on that site with the one posted below..

Code: Select all
 # #-----[ OPEN ]------------------------------------------------ # admin/admin_forums_basic.php # #-----[ FIND ]------------------------------------------------ #               $sql = "UPDATE " . FORUMS_TABLE . "                  SET cat_id = $to_id                  WHERE cat_id = $from_id";               if( !$result = $db->sql_query($sql) )               {                  message_die(GENERAL_ERROR, "Couldn't move forums to other category", "", __LINE__, __FILE__, $sql);               }            } # #-----[ AFTER, ADD ]------------------------------------------ #          else if ( $to_fid == 'Root' )          {             $found = false;             for ($i=0; $i < count($tree['sub'][POST_CAT_URL . $from_id]); $i++)             {                $found = ($tree['type'][$tree['keys'][$tree['sub'][POST_CAT_URL . $from_id][$i]]] == POST_FORUM_URL);             }             if ($found)             {                message_die(GENERAL_ERROR, $lang['Must_delete_forums']);             }          } # #-----[ SAVE/CLOSE ALL FILES ]-------------------------------- # # EoM  


hope that helps anyone else that is having the same problems.

YAY I got my IM back[flash=,]http://img147.imageshack.us/img147/8027/losupdatinghl0or.gif[/flash:3sbg919m]

Admin Edit
This code does not seem to relate to IntegraMod. Waiting for additional input...

PostPosted: Wed Apr 12, 2006 5:47 am
Author: Eon
Thanks for the post, but there is no admin/admin_forums_basic.php file in my Integramod..

This is probably in a different file now.

Re: WSOD

PostPosted: Wed Apr 12, 2006 8:30 am
Author: Helter
CH cannot be upgraded in Integramod. Or phpBB for that matter, it is too well integrated and changes the core code too much.

http://ptifo.clanmckeen.com/viewtopic.php?p=22551#22551

PostPosted: Wed Apr 12, 2006 9:36 am
Author: Ebony
oh sorry Eon & Helter

methos found that and used the code in our version of IM and fixed my issues

PostPosted: Wed Apr 12, 2006 9:48 am
Author: gcomfx.com
Does anyone know where to find this file? I'm kinda new to things, but would really like to get my forum back up and running. <img> I have nothing but white pages.

PostPosted: Wed Apr 12, 2006 9:58 am
Author: Eon
This file is not in IM. So it is not relevent. The def_tree is though. And I think you found it already.

PostPosted: Wed Apr 12, 2006 10:28 am
Author: gcomfx.com
Yes, def_tree fixed my problem! :woohoo:

I guess this file won't keep it from happening again if it doesn't exist then huh? <img>

PostPosted: Wed Apr 12, 2006 10:35 am
Author: Eon
nope. keep a backup. If you have ftp acess it is really easy to just drop it in when it goes bad.