Problem installing Banner Mod, When running db_update.php

a complete banner management system, any number of banners can be added
Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Problem installing Banner Mod, When running db_update.php

Postby drivesss on Wed 26. Mar, 2003 06:38

Help!!! using phpbb 204.
I edited all the files and uploaded the files to my web directory.
interesting to note that the subsilver template dir is in lower case however the original is subSilver. I uploaded the files thats meant to be in subsilver to subSilver dir,

Then i run
http://www.mywebsite.com/phpBB/db_update.php
I get this error.

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

Can anyone help! I am desperate.
Thanks
drivesss
Poster
Poster
 
Posts: 2
Joined: Wed 26. Mar, 2003 05:32

Postby Niels on Fri 28. Mar, 2003 23:15

I would realy like to see this error my self, do you have a link

remember in order to run the db_update.php you need to be logged in as ADMIN
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Niels on Fri 11. Apr, 2003 12:52

what version of php do you have ?
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby cindee on Sat 14. May, 2005 04:21

Bumping this thread up because I get the same error.

This is what I get at the bottom of my forums:
Code: Select all
message_die() was called multiple times. This isn't supposed to happen. Was message_die() used in *page_tail.php?


This is where message_die() was used in *page_tail.php:
Code: Select all
// Start add - Complete banner MOD
if ($banner_show_list)
{
   $banner_show_list['0'] = ($banner_show_list) ? ' ':'';
   $sql = "UPDATE ".BANNERS_TABLE." SET banner_view=banner_view+1 where banner_id IN ($banner_show_list)";
   if ( !($result = $db->sql_query($sql)) )
   {
      message_die(GENERAL_ERROR, "Couldn't update banners data", "", __LINE__, __FILE__, $sql);
   }
}
// End add - Complete banner MOD


Is there anyway to fix this? I want my forum footers to show up!
cindee
Poster
Poster
 
Posts: 5
Joined: Sat 14. May, 2005 04:09

Postby cindee on Sat 14. May, 2005 04:22

Bumping this thread up because I get the same error.

This is what I get at the bottom of my forums:
Code: Select all
message_die() was called multiple times. This isn't supposed to happen. Was message_die() used in *page_tail.php?


This is where message_die() was used in *page_tail.php:
Code: Select all
// Start add - Complete banner MOD
if ($banner_show_list)
{
   $banner_show_list['0'] = ($banner_show_list) ? ' ':'';
   $sql = "UPDATE ".BANNERS_TABLE." SET banner_view=banner_view+1 where banner_id IN ($banner_show_list)";
   if ( !($result = $db->sql_query($sql)) )
   {
      message_die(GENERAL_ERROR, "Couldn't update banners data", "", __LINE__, __FILE__, $sql);
   }
}
// End add - Complete banner MOD


Is there anyway to fix this? I want my forum footers to show up!
cindee
Poster
Poster
 
Posts: 5
Joined: Sat 14. May, 2005 04:09

Postby Niels on Thu 19. May, 2005 21:44

yoiu need to run the inlcuded db_update.php file PRIOR to modifying the files - failing to do so will make your forum un-usable.

in order to run the inlcuded db_update.php you need your original page_header.php and page_tail.php - after you have run the file, you may safly switch back again to the modifyed files.
(if a how-to is EM ready, it will mostly be bullet prof, since a machine is more picky than a human. :D)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46


Return to Complete banner [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron