Page 1 of 1
Critical Errors on server move (SOLVED)

Posted:
Tue Sep 28, 2010 9:31 pm
Author: viragotech
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.
Re: Critical Errors on server move

Posted:
Tue Sep 28, 2010 9:46 pm
Author: viragotech
Note I just moved to a new server, but nothing changed, the domain and forum path is the same.
Re: Critical Errors on server move

Posted:
Tue Sep 28, 2010 9:58 pm
Author: viragotech
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.
Re: Critical Errors on server move

Posted:
Tue Sep 28, 2010 10:30 pm
Author: viragotech
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
Re: Critical Errors on server move

Posted:
Tue Sep 28, 2010 11:09 pm
Author: viragotech
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
Re: Critical Errors on server move

Posted:
Tue Sep 28, 2010 11:41 pm
Author: viragotech
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???
Re: Critical Errors on server move

Posted:
Wed Sep 29, 2010 11:45 am
Author: Helter
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
Re: Critical Errors on server move

Posted:
Wed Sep 29, 2010 12:18 pm
Author: viragotech
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>
Re: Critical Errors on server move

Posted:
Wed Sep 29, 2010 12:23 pm
Author: viragotech
"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.
Re: Critical Errors on server move

Posted:
Wed Sep 29, 2010 12:44 pm
Author: viragotech
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.
Re: Critical Errors on server move

Posted:
Wed Sep 29, 2010 4:07 pm
Author: DjPorkchop
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.
Re: Critical Errors on server move

Posted:
Wed Sep 29, 2010 5:28 pm
Author: Helter
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