Page 1 of 1

Error on installation (Solved)

PostPosted: Fri Apr 28, 2006 10:24 am
Author: Y2jay
I can't figure out the problem with my IM portal installation. I've sucessfully installed it on 2 of my forums, but on my 3rd forum, I'm having a problem.

I'm getting this error when I access my phpbb after installation:

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

This on a board that I just updated to 2.0.20 (so all the files were unmodded before I did the IM Portal installation). I can't figure out what's wrong (double checked all the code). It's strange because I've gotten the IM POrtal mod to work on all my other forums without problems.

PostPosted: Fri Apr 28, 2006 11:06 am
Author: Michaelo
Do you have a link... If you can access admin turn off all cahce in the blocks... What is the php versions on this install?

PostPosted: Fri Apr 28, 2006 12:30 pm
Author: Y2jay
"Michaelo";p="3472" wrote:Do you have a link... If you can access admin turn off all cahce in the blocks... What is the php versions on this install?


It's on a freshly updated 2.0.20 board. I just updated from 2.0.17 to 2.0.20. The phpbb update went fine, but when I tried installing IM Portal as my first mod, I'd get that error. I wasn't able to access the admin panel. All pages on my forum (index.php. portal.php, etc.) would give me that message_die error.

Any ideas? Thanks in advance for the help.

PostPosted: Fri Apr 28, 2006 5:42 pm
Author: Michaelo
Would need to see it and play around... unless someone else has come across this error?

PostPosted: Tue May 02, 2006 3:58 am
Author: Y2jay
"Michaelo";p="3508" wrote:Would need to see it and play around... unless someone else has come across this error?


I still need help with this. I installed a mod that provides more detailed information than the "message_die() was called multiple times" message.

Here my problem in more detail:

Error
Could not query portal config table

Line : 47
File : /usr/local/psa/home/vhosts/xxxxxxxx.com/httpdocs/forum/includes/functions_portal.php
SQL : SELECT * FROM portal_config



This is line #47 in function_portal.php:
message_die(CRITICAL_ERROR, "Could not query portal config table", "", __LINE__, __FILE__, $sql);

Can anyone tell me how to fix this?

Re: Error on installation (Solved)

PostPosted: Tue May 02, 2006 4:21 am
Author: Y2jay
I figured it out on my own. The .sql.txt automatically adds the phpbb_ prefix to the tables (example: phpbb_config). My tables don't contain phpbb_ prefixes, so I just had to remove them to match my tables.

PostPosted: Tue May 02, 2006 5:10 am
Author: Adrian Rea
That is a good point that needs to be added to the install docs if it is not there already.

A