Current location: Hot Scripts Forums » Programming Languages » PHP » Need Help on Error


Need Help on Error

Reply
  #1 (permalink)  
Old 08-20-04, 05:21 PM
NeoTexX NeoTexX is offline
Newbie Coder
 
Join Date: Aug 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Need Help on Error

i get this message when i enter my url http://clanxypher.000k2.com
not being a php wizz am finding it very hard to fix this error i have been told it might be a script error but i dont kno it lol


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


thx
Reply With Quote
  #2 (permalink)  
Old 08-20-04, 05:37 PM
digioz's Avatar
digioz digioz is offline
Community VIP
 
Join Date: Oct 2003
Location: Chicago, IL
Posts: 2,171
Thanks: 3
Thanked 9 Times in 9 Posts
You need to post your script (code) for help. Can you do that?
__________________
Reply With Quote
  #3 (permalink)  
Old 08-20-04, 05:40 PM
NeoTexX NeoTexX is offline
Newbie Coder
 
Join Date: Aug 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Question

<--------------dose that answer the question
Reply With Quote
  #4 (permalink)  
Old 08-20-04, 05:47 PM
Andy1984's Avatar
Andy1984 Andy1984 is offline
Newbie Coder
 
Join Date: Jul 2004
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
he means he wants to see the php code thats causing the error

did you add any apps to your site recently like content managment or news publishing
Reply With Quote
  #5 (permalink)  
Old 08-20-04, 05:48 PM
NeoTexX NeoTexX is offline
Newbie Coder
 
Join Date: Aug 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
ohhhhhhh sorry just click on wot u meant lol yea i can do that lmao duhhhh me so dumb sorry about that

PHP Code:

if ( !defined('IN_PHPBB') )

{
    die(
'Hacking attempt');
}

//
// Show the overall footer.
//
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' $phpEx '?sid=' $userdata['session_id'] . '">' $lang['Admin_panel'] . '</a><br /><br />' '';

$template->set_filenames(array(
    
'overall_footer' => ( empty($gen_simple_header) ) ? 'overall_footer.tpl' 'simple_footer.tpl')
);

$template->assign_vars(array(
    
'PHPBB_VERSION' => '2' $board_config['version'],
    
'TRANSLATION_INFO' => ( isset($lang['TRANSLATION_INFO']) ) ? $lang['TRANSLATION_INFO'] : ''
    
'ADMIN_LINK' => $admin_link)
);

$template->pparse('overall_footer');

//
// Close our DB connection.
//
$db->sql_close();

//
// Compress buffered output if required and send to browser
//
if ( $do_gzip_compress )
{
    
//
    // Borrowed from php.net!
    //
    
$gzip_contents ob_get_contents();
    
ob_end_clean();

    
$gzip_size strlen($gzip_contents);
    
$gzip_crc crc32($gzip_contents);

    
$gzip_contents gzcompress($gzip_contents9);
    
$gzip_contents substr($gzip_contents0strlen($gzip_contents) - 4);

    echo 
"\x1f\x8b\x08\x00\x00\x00\x00\x00";
    echo 
$gzip_contents;
    echo 
pack('V'$gzip_crc);
    echo 
pack('V'$gzip_size);
}

exit;

?> ) 
Reply With Quote
  #6 (permalink)  
Old 08-20-04, 05:51 PM
NeoTexX NeoTexX is offline
Newbie Coder
 
Join Date: Aug 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Andy1984

did you add any apps to your site recently like content managment or news publishing

no i just loaded up the forum this afternoon, been tryin to fuiger out wot was wrong.

first off i loaded up all the files on to the host server and made a database, i installed PHPbb on to the database then i clicked finish installaion, it would come up wit that message and am still stuck
Reply With Quote
  #7 (permalink)  
Old 08-20-04, 05:53 PM
Andy1984's Avatar
Andy1984 Andy1984 is offline
Newbie Coder
 
Join Date: Jul 2004
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
this probably isnt the best place to discuss phpBB2 related stuff as more than 1 file will be related to the problem

http://www.phpbb.com

theres nothing there (as far as i can see) nothing wrong with the above
Reply With Quote
  #8 (permalink)  
Old 08-20-04, 05:54 PM
NeoTexX NeoTexX is offline
Newbie Coder
 
Join Date: Aug 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
yea i have posted on there, (1st place i went) and am still waitin on a reply.
Reply With Quote
  #9 (permalink)  
Old 08-20-04, 05:56 PM
Andy1984's Avatar
Andy1984 Andy1984 is offline
Newbie Coder
 
Join Date: Jul 2004
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
ok well can we have a look at page_tail.php
Reply With Quote
  #10 (permalink)  
Old 08-20-04, 06:06 PM
NeoTexX NeoTexX is offline
Newbie Coder
 
Join Date: Aug 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
how u mean have a look, sorry am kinda new at this, dont have a go at me lmao ^_^
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
keep gettin this error! jasong PHP 2 03-10-04 11:23 PM
New to Java: weird main error msg hecresper Everything Java 2 02-10-04 03:03 PM
asp-iis-Server error nsuresh_rasr ASP.NET 3 02-08-04 12:47 AM
parse error... help? kappler0 PHP 2 01-21-04 03:57 AM
[php error] parse error | fatal error xeoHosting PHP 1 01-03-04 08:12 PM


All times are GMT -5. The time now is 04:23 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.