Jump to content
TNG Community
Sign in to follow this  
zim

[resolved] trouble moving to new host

Recommended Posts

zim

my current site: http://www.zimmersfamily.us/

TNG version: 9.0.4

i'm trying to move to a new host (note that the site above is still at the old host, and therefore is working). TNG is at the root, there's nothing complicated like a Wordpress integration. here's what i've done so far:

old host:

  1. made a backup of all the files
  2. using phpMyAdmin, exported the db

new host:

  1. created a new MySQL db and user
  2. recorded the new dbname, db username, db password
  3. used ftp to push up all the TNG files
  4. used phpMyAdmin to import the db export to the newly created database
  5. edited config.php to update these vars: $database_name, $database_username, $database_password, $rootpath

here's the fun part:

on my old host, zimmersfamily.us had its own account. at the new host, it is an addon domain to a different (unrelated) domain. to me, that means i have to pay special attention to the $rootpath. i'm pretty sure i have it set correctly: "/home/stevezim/public_html/zimmersfamily.us/"

in order to test, i updated my /etc/hosts file so zimmersfamily.us points to the new host. when i load it, i get a page of error messages, below. where do i begin to debug/fix this? will TNG even work if i don't actually have the DNS pointing at my test location? (i.e. the new host)


Warning: Illegal string offset 'subroot' in /home/stevezim/public_html/zimmersfamily.us/subroot.php on line 3

Warning: Cannot assign an empty string to a string offset in /home/stevezim/public_html/zimmersfamily.us/subroot.php on line 3

Warning: Illegal string offset 'subroot' in /home/stevezim/public_html/zimmersfamily.us/subroot.php on line 4

Warning: Illegal string offset 'subroot' in /home/stevezim/public_html/zimmersfamily.us/begin.php on line 10

Warning: Illegal string offset 'maint' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 6

Warning: Cannot assign an empty string to a string offset in /home/stevezim/public_html/zimmersfamily.us/config.php on line 6

Warning: Illegal string offset 'doctype' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 52

Warning: Cannot assign an empty string to a string offset in /home/stevezim/public_html/zimmersfamily.us/config.php on line 52

Warning: Illegal string offset 'imgmaxh' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 70

Warning: Cannot assign an empty string to a string offset in /home/stevezim/public_html/zimmersfamily.us/config.php on line 70

Warning: Illegal string offset 'imgmaxw' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 71

Warning: Cannot assign an empty string to a string offset in /home/stevezim/public_html/zimmersfamily.us/config.php on line 71

Warning: Illegal string offset 'usedefthumbs' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 76

Warning: Illegal string offset 'thumbcols' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 77

Warning: Illegal string offset 'maxnoteprev' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 78

Warning: Cannot assign an empty string to a string offset in /home/stevezim/public_html/zimmersfamily.us/config.php on line 78

Warning: Illegal string offset 'ssdisabled' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 79

Warning: Illegal string offset 'ssrepeat' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 80

Warning: Illegal string offset 'imgviewer' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 81

Warning: Illegal string offset 'imgvheight' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 82

Warning: Illegal string offset 'tabs' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 86

Warning: Illegal string offset 'menu' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 87

Warning: Illegal string offset 'istart' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 88

Warning: Illegal string offset 'showhome' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 89

Warning: Illegal string offset 'showsearch' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 90

Warning: Illegal string offset 'showlogin' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 91

Warning: Illegal string offset 'showshare' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 92

Warning: Illegal string offset 'showprint' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 93

Warning: Illegal string offset 'showbmarks' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 94

Warning: Illegal string offset 'hidechr' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 95

Warning: Illegal string offset 'password_type' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 96

Warning: Illegal string offset 'places1tree' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 97

Warning: Illegal string offset 'autogeo' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 98

Warning: Illegal string offset 'edit_timeout' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 101

Warning: Cannot assign an empty string to a string offset in /home/stevezim/public_html/zimmersfamily.us/config.php on line 101

Warning: Illegal string offset 'nnpriv' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 108

Warning: Illegal string offset 'ucsurnames' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 111

Warning: Illegal string offset 'cemrows' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 115

Warning: Cannot assign an empty string to a string offset in /home/stevezim/public_html/zimmersfamily.us/config.php on line 115

Warning: Illegal string offset 'cemblanks' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 116

Warning: Illegal string offset 'fromadmin' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 118

Warning: Illegal string offset 'disallowreg' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 119

Warning: Illegal string offset 'revmail' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 120

Warning: Illegal string offset 'autoapp' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 121

Warning: Illegal string offset 'autotree' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 122

Warning: Illegal string offset 'ackemail' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 123

Warning: Illegal string offset 'omitpwd' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 124

Warning: Illegal string offset 'usesmtp' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 125

Warning: Illegal string offset 'mailhost' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 126

Warning: Cannot assign an empty string to a string offset in /home/stevezim/public_html/zimmersfamily.us/config.php on line 126

Warning: Illegal string offset 'mailuser' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 127

Warning: Cannot assign an empty string to a string offset in /home/stevezim/public_html/zimmersfamily.us/config.php on line 127

Warning: Illegal string offset 'mailpass' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 128

Warning: Cannot assign an empty string to a string offset in /home/stevezim/public_html/zimmersfamily.us/config.php on line 128

Warning: Illegal string offset 'mailport' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 129

Warning: Cannot assign an empty string to a string offset in /home/stevezim/public_html/zimmersfamily.us/config.php on line 129

Warning: Illegal string offset 'preferEuro' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 133

Warning: Illegal string offset 'calstart' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 134

Warning: Illegal string offset 'pardata' in /home/stevezim/public_html/zimmersfamily.us/config.php on line 135

Warning: Illegal string offset 'subroot' in /home/stevezim/public_html/zimmersfamily.us/begin.php on line 11

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/stevezim/public_html/zimmersfamily.us/config.php:93) in /home/stevezim/public_html/zimmersfamily.us/globallib.php on line 4

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/stevezim/public_html/zimmersfamily.us/config.php:93) in /home/stevezim/public_html/zimmersfamily.us/globallib.php on line 4

Warning: Illegal string offset 'maint' in /home/stevezim/public_html/zimmersfamily.us/globallib.php on line 809

Fatal error: Uncaught Error: Call to undefined function ereg_replace() in /home/stevezim/public_html/zimmersfamily.us/getlang.php:6 Stack trace: #0 /home/stevezim/public_html/zimmersfamily.us/tng_begin.php(5): include() #1 /home/stevezim/public_html/zimmersfamily.us/index.php(2): include('/home/stevezim/...') #2 {main} thrown in /home/stevezim/public_html/zimmersfamily.us/getlang.php on line 6

 

Edited by zim
mark as resolved

Share this post


Link to post
Share on other sites
Ken Roy

Sounds like your new site are not on the same version of PHP as your old site.  These errors are typical of running an old TNG version on PHP 7 or higher

Share this post


Link to post
Share on other sites
zim

hm, you may be on to something.

old host php: v5.4

new host php: v7.0.30

thanks for pointing me in (what may very well turn out to be) the right direction.

Share this post


Link to post
Share on other sites
zim

ok that didn't take long to test out. the new host has a nifty feature where i can downgrade php for a specific folder. for my whole site, i downgraded to php v5.5.38 and the site now loads. there are a few quirks, but those might be related to the fact the domain doesn't actually point yet.

thank you @Ken Roy!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×