Critical Errors on server move (SOLVED)

Support for IntegraMOD 141

Moderator: Integra Moderator

Critical Errors on server move (SOLVED)

PostAuthor: viragotech » Tue Sep 28, 2010 9:31 pm

Critical Error!
message_die() was called multiple times.

--------------------------------------------------------------------------------
Error #1


Line : 60
File : /home/vtfvpsx3/public_html/ctracker/classes/class_ct_database.php
SQL : SELECT * FROM phpbb_ctracker_config

--------------------------------------------------------------------------------
Error #2
Could not add key announcement_date_display in config table

Line : 55
File : /home/vtfvpsx3/public_html/includes/functions_mods_settings.php
SQL : INSERT INTO phpbb_config (config_name,config_value) VALUES('announcement_date_display','1')

--------------------------------------------------------------------------------
Please, contact the webmaster. Thank you.
Last edited by viragotech on Fri Oct 01, 2010 4:14 pm, edited 1 time in total.
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

Re: Critical Errors on server move

PostAuthor: viragotech » Tue Sep 28, 2010 9:46 pm

Note I just moved to a new server, but nothing changed, the domain and forum path is the same.
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

Re: Critical Errors on server move

PostAuthor: viragotech » Tue Sep 28, 2010 9:58 pm

Oops wait, found missing tables, should have 188 only have 171, host must not have dumped a copy right, all the cttracker tables are not there.

gonna try one from the backup folder.
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

Re: Critical Errors on server move

PostAuthor: viragotech » Tue Sep 28, 2010 10:30 pm

OK that worked but can only access the admin pannel

get this error for the forum

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3329830 bytes) in /home/vtfvpsx3/public_html/blocks/blocks_imp_users_visited.php on line 98
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

Re: Critical Errors on server move

PostAuthor: viragotech » Tue Sep 28, 2010 11:09 pm

ok to get around that I turned off that block and renamed that block file so it can't be accessed.

I got this error as expected but the site works now.

Warning: portal_parse_blocks(./blocks/blocks_imp_users_visited.php) [function.portal-parse-blocks]: failed to open stream: No such file or directory in /home/vtfvpsx3/public_html/includes/functions_portal.php on line 243

Warning: portal_parse_blocks(./blocks/blocks_imp_users_visited.php) [function.portal-parse-blocks]: failed to open stream: No such file or directory in /home/vtfvpsx3/public_html/includes/functions_portal.php on line 243

Warning: portal_parse_blocks(./blocks/blocks_imp_users_visited.php) [function.portal-parse-blocks]: failed to open stream: No such file or directory in /home/vtfvpsx3/public_html/includes/functions_portal.php on line 243

Warning: portal_parse_blocks() [function.include]: Failed opening './blocks/blocks_imp_users_visited.php' for inclusion (include_path='/usr/lib/php:.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/vtfvpsx3/public_html/includes/functions_portal.php on line 243
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

Re: Critical Errors on server move

PostAuthor: viragotech » Tue Sep 28, 2010 11:41 pm

ok once both active users and users online block are turned off, no more blank page with this error

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 3329830 bytes) in /home/vtfvpsx3/public_html/blocks/blocks_imp_users_visited.php on line 98

blocks_imp_users_visited.php is not rename anymore.

those two block much be goofed???
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

Re: Critical Errors on server move

PostAuthor: Helter » Wed Sep 29, 2010 11:45 am

is it possible they imported your 131 database and not your 141 db?

add this to your config.php

ini_set('memory_limit','16M');

the bottom of your config.php should look like this

Code: Select all
$table_prefix = 'phpbb_';  define('PHPBB_INSTALLED', true);  define('PRILLIAN_INSTALLED', true);  ini_set('memory_limit','16M');  ?>


you may have to adjust it a bit if you use a different db prefix or do not use prillian
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: Critical Errors on server move

PostAuthor: viragotech » Wed Sep 29, 2010 12:18 pm

will try asap, would it also help to use php5 and not 4?

I have it, but have had to use an add handler in the htacess to tell it to use php4, to get it to work.


# Use PHP4 as default
AddHandler application/x-httpd-php4 .php

<IfModule>
suPHP_ConfigPath /home/vtfvpsx3
</IfModule>
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

Re: Critical Errors on server move

PostAuthor: viragotech » Wed Sep 29, 2010 12:23 pm

"HelterSkelter" wrote:is it possible they imported your 131 database and not your 141 db?

add this to your config.php

ini_set('memory_limit','16M');

the bottom of your config.php should look like this

Code: Select all
$table_prefix = 'phpbb_';  define('PHPBB_INSTALLED', true);  define('PRILLIAN_INSTALLED', true);  ini_set('memory_limit','16M');  ?>


you may have to adjust it a bit if you use a different db prefix or do not use prillian


nope that made it worse, nothing loads at all or memory errors.
though Im still waiting to get them to get me php,ini access, I had it on shared, didn't see it missing on VPS.
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

Re: Critical Errors on server move

PostAuthor: viragotech » Wed Sep 29, 2010 12:44 pm

Oh and IM at the same host, hostgator exact same thing is siteground, they both resell theplanet but hostgator is there 24/7/365 to answer questions. siteground has yet to reply to any emails or calls.

But I kept my shared account, so I got a cheap shared and a VPS with them.

checked the cheaped shared and it has 64megs set up in the php.inp, don't have one on the VPS, probably my fault. They kinda expect you to know everything and do all your own setup.

like when they sent me the new DNS numbers, well they didn't work, as "I" didn't go in and set them up with the VPS CP. non of that automatic hand holding setup like on shared unless you ask for it.
User avatar
viragotech
Sr Integra Member
Sr Integra Member
 
Posts: 292
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 04, 2007 11:30 am
Cash on hand: 0.00

Re: Critical Errors on server move

PostAuthor: MWE_001 » Wed Sep 29, 2010 4:07 pm

I hate to barge in here on this one but that is a bunch of memory to require.

And yeah, most if not all companies the set you up with a VPS have you set it up how you want it. It's not real difficult once you get the feel for it.

And as far as what php version to use, I ran my IM 1.4.1 installs on a very late edition of php4 and then upgraded to php 5 as soon as it came out and it ran fine for me. I had 8 other people on my dedicated server running IM 1.4.1 and they all ran good as well. I have not tested on the newest version of php though. I can try with a WAMP server install though that would be no probs at all.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 0.00
Location: Illinois

Re: Critical Errors on server move

PostAuthor: Helter » Wed Sep 29, 2010 5:28 pm

im running php ver.5.3.3 with no issues on any of my 141 sites, Im sure there are alot of phpbb2 mods that are not compatible though, so if you add mods you would have to check each one to make sure it would work on this version
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3


Return to IntegraMOD 141

Who is online

Registered users: Google [Bot], Vendethiel