Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BBtoNuke Mods
Author Message
DisposablHero
New Member
New Member



Joined: Jan 10, 2006
Posts: 8

PostPosted: Sat Jan 28, 2006 11:19 am Reply with quote

I have been installing some phpBB mods recently trying to get some more bells and whistles for our forums. I back up the files, install the new ones, and then check to make sure things are working.....unfortunately somewhere along the line I missed an error.

For some reason now whenever you click on someone's name to look at their profile one of two things happens. If they do not have a signature set then you see their profile just fine. If they DO have a sig set then it just brings up a black screen ( screen being where the profile should appear. All the side blocks and headers and whatnot are still there.) It doesn't give me any errors on screen so I am rather at a loss as to how to rectify the problem.

Is there anyway I can check to see what the error is? Or has anyone had this problem before (and I have to assume someone has) and knows a possible fix for it?

Any help would be appreciated. Thank you.
 
View user's profile Send private message
DisposablHero







PostPosted: Sun Jan 29, 2006 7:24 pm Reply with quote

I have since found out that noones profiles are accessable from the forum posts and the part with the signature disabling the profile apparently only happens in the member list. Any suggestions or clues as to where I can look for the answer?
 
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sun Jan 29, 2006 10:01 pm Reply with quote

Any error messages? Enable error reporting and check your error logs

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
DisposablHero







PostPosted: Mon Jan 30, 2006 8:08 am Reply with quote

Ah yeah now I see what the errors are but I'm not a coder so I do not know how to fix this. My only choice would be to go back and check the mods I installed to find out which ones edited these files but that would be a bit time consuming. Here is what errors popped up on screen when I endabled the display errors option in the config.php file. I don't know of any other way to get errors reported and logged.

Quote:

Warning: main(modules/Forums/includes/bbcode.php): failed to open stream: No such file or directory in /home/********/public_html/includes/usercp_viewprofile.php on line 182

Warning: main(modules/Forums/includes/bbcode.php): failed to open stream: No such file or directory in /home/********/public_html/includes/usercp_viewprofile.php on line 182

Warning: main(): Failed opening 'modules/Forums/includes/bbcode.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/********/public_html/includes/usercp_viewprofile.php on line 182

Fatal error: Call to undefined function: bbencode_second_pass() in /home/********/public_html/includes/usercp_viewprofile.php on line 193

I put the asterisks there in place of my FTP info/location whatever.

Here are the lines it referst to:
Line 182
Code:
    include($phpbb_root_path . 'includes/bbcode.'.$phpEx);


Line 193
Code:
            $user_sig = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($user_sig, $user_sig_bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $user_sig);


Thanks for your time evaders. If you can't help I'll just go back and see if I can undo anything.
 
evaders99







PostPosted: Mon Jan 30, 2006 8:30 am Reply with quote

What line do you have defined $phpbb_root_path ?
 
DisposablHero







PostPosted: Mon Jan 30, 2006 10:04 am Reply with quote

If you mean in the usercp_viewprofile.php file then the onlyinstance of it is the line
Code:
    include($phpbb_root_path . 'includes/bbcode.'.$phpEx);


Which newb as I am would seem to indicate that it is not defined anywhere? I need some kind of
Code:
$phpbb_root_path = something
kind of line don't I?
 
evaders99







PostPosted: Mon Jan 30, 2006 7:52 pm Reply with quote

Yep, that would see so. Or it could be included from somewhere else.
Try leaving the root path out
Code:


    include('includes/bbcode.'.$phpEx);
 
DisposablHero







PostPosted: Mon Jan 30, 2006 11:20 pm Reply with quote

Works perfectly now! Thank evaders I am in your debt. worship I have one favour to ask you though man:

Can you write a script to slap me upside the head next time I say to myself "WOW that sounds cool! My site really needs that!" Rolling Eyes

Thanks again evaders. Glad to see there are people like you out there to help people like me. Great community going on here.

Until my inevitable next foul up Cheers
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Tue Jan 31, 2006 6:49 am Reply with quote

RavensScripts

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
evaders99







PostPosted: Tue Jan 31, 2006 10:59 am Reply with quote

DisposablHero wrote:
Can you write a script to slap me upside the head next time I say to myself "WOW that sounds cool! My site really needs that!" Rolling Eyes


Sure hehe Smile

I try to distinguish between things for the site that I "need" and things that I "want" ... usually putting the needs before the wants.
 
DisposablHero







PostPosted: Tue Jan 31, 2006 1:14 pm Reply with quote

Yeah roger that.

Guess I need to slow down....just redid the site so kinda want to put all the bells and whistles on now that it's up..boys and their toys I guess. Just have to go a lot slower and a lot more carefully from now on. Thanks again man.

And Montego's got the right idea there. Fly the banner proudly. Since I am using the raven distro I have a link up on my site for Raven's. Definitely spreading the word to all the other website admins that I know.

Keep up the good work guys.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BBtoNuke Mods

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©