GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 04-Feb-2006, 13:13
vigilantweather vigilantweather is offline
New Member
 
Join Date: Feb 2006
Posts: 28
vigilantweather is on a distinguished road
Exclamation

message_die error?


Hi,

I am relatively new... this is my second error post... the first error thing I posted was fixed thanks to the help of GID Forums! But now, I face a new, similar problem. Problem 1 came after I tried adding "hacks" from phpbbhacks for my phpBB forum... Well that prob. was resolved...

Number 2 comes from a DIFFERENT hack, but a hack none the less. It is a cash/point hack... and I just spent a good 20 minutes or so following the instructions...

Now when I tested it by clicking on a member's profile in my phpBB, i get this... nothing else:

message_die() was called multiple times. This isn't supposed to happen. Was message_die() used in page_tail.php?

The installation instructions didn't even include page_tail.php that I know of...

Please help--I am in the process of some serious promotion of my phpBB, not to mention improvements--that keep messing my board up!

Help is appreciated--Thanks
  #2  
Old 04-Feb-2006, 13:23
cable_guy_67's Avatar
cable_guy_67 cable_guy_67 is offline
Senior Member
 
Join Date: Oct 2004
Location: Nescopeck, PA
Posts: 1,108
cable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the rough

Re: message_die error?


Glad to hear good GID results.

For your new problem, I want to look at what you are talking about and see what pages need to be addressed. The easiest way to do this is...
  • post the link to the forums
  • what page is giving you problems

I'll give you a hand with this. I have a little time to kill this afternoon.

Mark
__________________
"Opportunity is missed by most people because it comes dressed in overalls and looks like work."
--Thomas Alva Edison
"Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety."
--Benjamin Franklin
"A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes."
--Hugh Downs
  #3  
Old 04-Feb-2006, 13:26
vigilantweather vigilantweather is offline
New Member
 
Join Date: Feb 2006
Posts: 28
vigilantweather is on a distinguished road

Re: message_die error?


The forum homepage is at:

http://www.vigilantweather.com/board/

On the right side of the forums you will see the member who has last posted to that particular forum. Try clicking on one of the member's names. The error should appear.

Thanks.
  #4  
Old 04-Feb-2006, 13:32
cable_guy_67's Avatar
cable_guy_67 cable_guy_67 is offline
Senior Member
 
Join Date: Oct 2004
Location: Nescopeck, PA
Posts: 1,108
cable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the rough

Re: message_die error?


Ok, I tried it with the admin account (I assume that's you) and see what you are talking about.

Do this, open profile.php and look for an if or switch that uses mode=viewprofile. Look for the error code you are seeing.

Code:
message_die() was called multiple times. This isn't supposed to happen. Was message_die() used in page_tail.php?

If it's not to large post some code you don't understand (or the whole thing if it's not mammoth) and perhaps we can get to the bottom of this. I'm using punBB not phpBB but the overall way things are done may be similar.

Mark

EDIT: the links are there (at least for me) and will show up after enough posts. The FAQ lays it all out for you.
__________________
"Opportunity is missed by most people because it comes dressed in overalls and looks like work."
--Thomas Alva Edison
"Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety."
--Benjamin Franklin
"A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes."
--Hugh Downs
  #5  
Old 04-Feb-2006, 13:39
cable_guy_67's Avatar
cable_guy_67 cable_guy_67 is offline
Senior Member
 
Join Date: Oct 2004
Location: Nescopeck, PA
Posts: 1,108
cable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the rough

Re: message_die error?


I'm finding this problem in other places as well. Try and read the topic you posted Logos and you will see viewtopic.php fails there as well.

You're going to need to find an oddly placed message_die(), perhaps, as they say, in page_tail.php.

Mark
__________________
"Opportunity is missed by most people because it comes dressed in overalls and looks like work."
--Thomas Alva Edison
"Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety."
--Benjamin Franklin
"A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes."
--Hugh Downs
  #6  
Old 04-Feb-2006, 13:40
vigilantweather vigilantweather is offline
New Member
 
Join Date: Feb 2006
Posts: 28
vigilantweather is on a distinguished road

Re: message_die error?


Near/At the beginning of profile.php I have the following:

PHP Code:

define('IN_PHPBB', true);
if ( (isset($HTTP_GET_VARS['mode']) && ($HTTP_GET_VARS['mode'] == 'viewprofile')) || (isset($HTTP_POST_VARS['mode']) && ($HTTP_POST_VARS['mode'] == 'viewprofile')) )
{
    define('IN_CASHMOD', true);
    define('CM_VIEWPROFILE',true);
}
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx); 



I'm not sure what to do... but it told me to add that to it so I did, is this causing the error? After all, I am quite new to this!
  #7  
Old 04-Feb-2006, 13:41
cable_guy_67's Avatar
cable_guy_67 cable_guy_67 is offline
Senior Member
 
Join Date: Oct 2004
Location: Nescopeck, PA
Posts: 1,108
cable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the rough

Re: message_die error?


What did it look like before you made the changes?
__________________
"Opportunity is missed by most people because it comes dressed in overalls and looks like work."
--Thomas Alva Edison
"Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety."
--Benjamin Franklin
"A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes."
--Hugh Downs
  #8  
Old 04-Feb-2006, 13:44
vigilantweather vigilantweather is offline
New Member
 
Join Date: Feb 2006
Posts: 28
vigilantweather is on a distinguished road

Re: message_die error?


Hi,

Before profile.php it looked like:

PHP Code:

define('IN_PHPBB', true); 



After...

PHP Code:

define('IN_PHPBB', true);
if ( (isset($HTTP_GET_VARS['mode']) && ($HTTP_GET_VARS['mode'] == 'viewprofile')) || (isset($HTTP_POST_VARS['mode']) && ($HTTP_POST_VARS['mode'] == 'viewprofile')) )
{
    define('IN_CASHMOD', true);
    define('CM_VIEWPROFILE',true);
} 



I'm not sure about this problem..

thanks
  #9  
Old 04-Feb-2006, 13:52
cable_guy_67's Avatar
cable_guy_67 cable_guy_67 is offline
Senior Member
 
Join Date: Oct 2004
Location: Nescopeck, PA
Posts: 1,108
cable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the roughcable_guy_67 is a jewel in the rough

Re: message_die error?


Quote:
Originally Posted by vigilantweather
I'm not sure about this problem..

WOO Boy. You need to undo your changes to the cash mod and start over. You have problems bleeding all over the place. That leads me to believe you have an error in something common, like the included footer code or something similar.

I couldn't register, got some problems similar to your last thread from functions.php.

Mark
__________________
"Opportunity is missed by most people because it comes dressed in overalls and looks like work."
--Thomas Alva Edison
"Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety."
--Benjamin Franklin
"A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes."
--Hugh Downs
  #10  
Old 04-Feb-2006, 14:06
vigilantweather vigilantweather is offline
New Member
 
Join Date: Feb 2006
Posts: 28
vigilantweather is on a distinguished road

Re: message_die error?


Aha! I tried going into the administration panel... well, I found the culprit! I needed to run an important self-installing php file.

Thank you for all of your help!
 
 

Recent GIDBlogNARMY by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] GUI programming with FLTK dsmith FLTK Forum 10 03-Oct-2005 15:41
Winsock error when compiling FLTK 2.0 Projects mauriciorossi FLTK Forum 3 16-Aug-2005 10:18
Help with syntax errors PeteGallo C Programming Language 7 08-Aug-2005 20:30
What is "Ambigious symbol" ??*( a compilation error) small_ticket CPP / C++ Forum 2 07-Jan-2005 21:10
Can enum have same name as class? crystalattice CPP / C++ Forum 3 08-Dec-2004 16:43

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 01:59.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.