Page 1 of 1

[Solved] message_die() in page_tail.php error

PostPosted: Sat Dec 29, 2007 4:41 pm
Author: alyssa
Your phpBB Version: 2.0.
phpBB Type: Standard phpBB
MODs: No
Your knowledge: Advanced Knowledge
Board URL: http://ooakdollart.com/forumz

PHP Version:
MySQL Version:


What was done before the problem appeared?
Trying to upgrade a phpbb 2.0.22 board to IntegraMOD 141.

I can get it to 132c. After that ... this error appears.



What was done to try to solve the problem?
Searching the forums for this issue and any fixes. Reinstalled it about 12 times. Went through it step by step, still having this error.



De.scription and Message

So, I'm not really sure what to do with this one.

I've downloaded 132, 140, and 141.

I've tried to go from 132c to 141, and 132c to 140, and 132c to 132d.

And yet, every time THIS error appears:
message_die() was called multiple times. This isn't supposed to happen. Was message_die() used in page_tail.php?

I've even downloaded the different versions a bunch of times.

And I've deleted and reinstalled all fresh well over a dozen times. Is there some fix for this that I can just pop in and do so I can get past this?

Thanks!

Re: message_die() in page_tail.php error

PostPosted: Sat Dec 29, 2007 8:03 pm
Author: Helter
to upgrade a phpbb2 board to 141, it is not neccesary to install 132 or 140.
Download Integramod 141 http://www.integramod.com/forum/dload.p ... ile_id=107
Download "phpBB to IntegraMOD 1.4.1 Update" http://www.integramod.com/forum/dload.p ... ile_id=108

unzip and open "phpbb_to_im141.zip"

read the READ_ME_FIRST.txt

Follow it exactly. 99% of all upgrade errors are avoidable, and caused by not following the install exactly.
If you have any questions, ask them here before you proceed. I dont want to scare you because it is really not that difficult. I just want you to be aware that sometimes the slightest deviation from the instructions will result in your frustration <img>

Re: message_die() in page_tail.php error

PostPosted: Sat Dec 29, 2007 8:18 pm
Author: alyssa
Thank you!

Yeah being anal about following directions is sort of just what you have to do with php stuff LOL.

Thanks a TON!

PostPosted: Sun Dec 30, 2007 5:19 pm
Author: alyssa
OKay. So I loaded a fresh phpbb 2.02.22 - threw in my database, made sure that worked.

Then I uploaded ALL the files for 141 that I downloaded from the link you gave me. EXCEPT the install and config.php file and the prill_install folder (which btw the directions never say to run ... which seems wierd). And I chmod them correctly.

Then I uploaded the install folder and the upload file.

It appears to work FINE. I'm elated. I'm checking it out on the user end, and it's wonderful.

Then I decide to see the other theme (it installed fisubice and Integra2 I access the admin area, and though I see the menu, it shows this error in the main page:

phpBB : Critical Error

Could not get theme data for themes_id [3]

So I go back to the user side, and now THAT is giving me the same error.

Now it only gives me that error.

Not sure why!

PostPosted: Sun Dec 30, 2007 6:55 pm
Author: alyssa
Hmmm seems I have nothing in the phpbb_themes_select_info table ... shouldn't there be something in that??

Re: message_die() in page_tail.php error

PostPosted: Sun Dec 30, 2007 7:13 pm
Author: Helter
that table is normally empy. Your error is usually due to your browser cookies. Delete them for youre site and it should be fine.
if not, look in your database under phpbb_themes and see what themes are listed there. If one is listed that is not in your template folder, you will get that error.
Also double check that all the includes/def_* files are chmodded to 666.
if the error persists, copy your original themes into your new integramod templates folder, then uninstall them from the acp

PostPosted: Sun Dec 30, 2007 8:42 pm
Author: alyssa
Deleted cookies before and then after I read this , no go.

Re-chmoded all the def files to 666. And then deleted cookies, temp files, and history, and then rebooted the browser, still no go.

Downloaded the IM141 subsilver theme, have three themes listed in the themes table, 1 is Integra2, and 2 is fisubice, and the other is 3, which I made subSilver.

I have a 1 in the override user's style, and in config it's set to subSilver and in phpbb_themes_info, the theme id is at 1, which should then be subSilver. I have even made sure that my account's "user style" is set to 1.

What about the def files in the includes/cache_tpls directory? Do they need to be chmoded to 666 as well?

Re: message_die() in page_tail.php error

PostPosted: Sun Dec 30, 2007 10:24 pm
Author: Helter
open includes/def_themes.php.

delete everything and over write with this. be careful not to allow even 1 empty line after the php close tag "?>"
then be sure the file is writtable (chmod 666)

[code]  <?php/***************************************************************************  *                       def_themes.php  *                       --------------  *   begin             ]

PostPosted: Mon Dec 31, 2007 8:39 pm
Author: alyssa
I LOVE YOU!!!!

That TOTALLY fixed it!!

Here's another generic question ... why didn't the prillian get installed during that process? Is it worth installing?

Re: message_die() in page_tail.php error

PostPosted: Mon Dec 31, 2007 9:28 pm
Author: Helter
I would install it. If you dont want to use it disable it in acp, but if you dont install it, it can cause random problems
just upload the Pril_install folder and go to http://www.yoursite/prill_install/im_install.php

PostPosted: Mon Dec 31, 2007 11:01 pm
Author: alyssa
Hmmm ...

Tried that and it gave me these errors:


Warning: main(./includes/lite.php) [function.main]: failed to open stream: No such file or directory in /home/*********/public_html/forums/includes/functions_portal.php on line 32

Warning: main() [function.include]: Failed opening './includes/lite.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*********/public_html/forums/includes/functions_portal.php on line 32

Fatal error: Cannot instantiate non-existent class: cache_lite in /home/*********/public_html/forums/includes/functions_portal.php on line 37


And yet - all those files exist. Do they need to be chmoded possibly?

This is line 32 in functions_portal.php:
include_once($phpbb_root_path . 'includes/lite.'.$phpEx);

This is line 37 in functions_portal.php:
$var_cache = new Cache_Lite($options);

I do have lite.php in the includes dir. Not sure where to check for classes in this system yet.

Any ideas?