Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 12, 20168 yr Not sure what are the steps are. I thought I just needed to transfer webfiles, DB and update the config file but after doing all of those things I get errors in new location. Fatal error: Call to undefined function IPS\mb_internal_encoding() in /home/myroot/public_html/mysite/forum/init.php on line 124 What did I miss?
June 12, 20168 yr Your new server is missing the mbstring PHP extension, which is required for IPS4 to run. You should be able to install it using your package manager with php-mbstring. If it doesn't show up, search for mbstring installation guides for your specific OS/Distro.
June 12, 20168 yr Author thanks Colonel I have it setup as in the screen shot below. still having issues. Is this not right?
June 13, 20168 yr Author and now there is this Fatal error: Class 'mysqli' not found in /home/myroot/public_html/mysite/forum/system/Db/Db.php on line 26 any ideas?
June 13, 20168 yr Management 47 minutes ago, superj707 said: and now there is this Fatal error: Class 'mysqli' not found in /home/myroot/public_html/mysite/forum/system/Db/Db.php on line 26 any ideas? https://www.invisionpower.com/buy/ Seriously though, you're missing the mysqli extension. If you're missing that, you're likely missing others. Download
June 13, 20168 yr Author Fatal error: Undefined constant 'IPS\LOG_FALLBACK_DIR' in /home/myroot/public_html/mysite/forum/system/Log/Log.php on line 126Fatal error: Uncaught exception 'ErrorException' with message 'mysqli::prepare(): Couldn't fetch IPS\Db' in /home/ myroot /public_html/ mysite /forum/system/Db/Db.php:385 Stack trace: #0 [internal function]: IPS\IPS::errorHandler(2, 'mysqli::prepare...', '/home/ myroot /publi...', 385, Array) #1 /home/ myroot /public_html/ mysite /forum/system/Db/Db.php(385): mysqli->prepare('/*IPS\\Session\\_...') #2 /home/ myroot /public_html/ mysite /forum/system/Db/Db.php(688): IPS\_Db->preparedQuery('REPLACE INTO `c...', Array) #3 /home/ myroot /public_html/ mysite /forum/system/Session/Front.php(300): IPS\_Db->replace('core_sessions', Array, true) #4 [internal function]: IPS\Session\_Front->write('ec5e3ca5ba0a7af...', '') #5 {main} thrown in /home/myroot/public_html/mysite/forum/system/Db/Db.php on line 385
June 13, 20168 yr Author 8 minutes ago, j4ss said: Hello, you are missing the "MYSQLi" extension http://php.net/mysqli The check lindy gave me seems to indicate that I do have it. *shrug*
June 13, 20168 yr 46 minutes ago, superj707 said: The check lindy gave me seems to indicate that I do have it. *shrug* No the check says "the connection could not be established, make sure you have..." So the check can't find your MYSQLi. 58 minutes ago, j4ss said: Hello, you are missing the "MYSQLi" extension http://php.net/mysqli
June 13, 20168 yr The mysqli extension is installed (see line 6), but your DB credentials are probably wrong. Check that sql_host, sql_database, sql_user, sql_pass, sql_port and sql_socket are correct in conf_global.php.
June 14, 20168 yr Author 17 hours ago, Colonel_mortis said: The mysqli extension is installed (see line 6), but your DB credentials are probably wrong. Check that sql_host, sql_database, sql_user, sql_pass, sql_port and sql_socket are correct in conf_global.php. I don't know if I have gone stupid or what but I can't crack this nut. my setup looks right. $INFO['sql_driver'] = 'mysql'; $INFO['sql_host'] = 'localhost'; $INFO['sql_database'] = 'pfx_mydb'; $INFO['sql_user'] = 'pfx_mydbusername'; $INFO['sql_pass'] = 'mypassword'; $INFO['sql_tbl_prefix'] = ''; $INFO['sql_debug'] = '0'; $INFO['sql_charset'] = 'utf8'; $INFO['board_start'] = '1451250635'; $INFO['installed'] = '1'; $INFO['php_ext'] = 'php'; $INFO['safe_mode'] = '0'; $INFO['board_url'] = 'http://111.222.333.444/~root/mysite/forum/'; $INFO['banned_group'] = '5'; $INFO['admin_group'] = '4'; $INFO['guest_group'] = '2'; $INFO['member_group'] = '3'; $INFO['auth_group'] = '1'; $INFO['use_friendly_urls'] = '1'; $INFO['_jsDebug'] = '0'; $INFO['mysql_tbl_type'] = 'MyISAM'; $INFO['use_memcache'] = '1'; define('IN_DEV', 0); /* Remote archive DB - complete these details if you\'re using a remote DB for the post archive. If content has already been archived in the local DB, this will need transferring and will not be done automatically. */ $INFO['archive_remote_sql_host'] = ''; $INFO['archive_remote_sql_database'] = ''; $INFO['archive_remote_sql_user'] = ''; $INFO['archive_remote_sql_pass'] = ''; $INFO['archive_remote_sql_charset'] = ''; anything jumping out at you?
June 14, 20168 yr @superj707 What version of MySQL is presently on your server? The last statement in your example appears to be pointing to an older version of MySQL. You will need 5.6.0 or above...
June 14, 20168 yr Author 47 minutes ago, Woodsman said: @superj707 What version of MySQL is presently on your server? The last statement in your example appears to be pointing to an older version of MySQL. You will need 5.6.0 or above... Server version: 5.6.30 - MySQL Community Server (GPL) It shouldn't be this difficult to move a website. I am so confused.
June 14, 20168 yr Author Fatal error: Undefined constant 'IPS\LOG_FALLBACK_DIR' in /home/root/public_html/mysite/forum/system/Log/Log.php on line 126Fatal error: Uncaught exception 'IPS\Db\Exception' with message 'Table 'htb_mydatabase.core_sessions' doesn't exist' in /home/ root /public_html/ mysite /forum/system/Db/Db.php:388 Stack trace: #0 /home/ root /public_html/ mysite /forum/system/Db/Db.php(688): IPS\_Db->preparedQuery('REPLACE INTO `c...', Array) #1 /home/ root /public_html/ mysite /forum/system/Session/Front.php(300): IPS\_Db->replace('core_sessions', Array, true) #2 [internal function]: IPS\Session\_Front->write('ec5e3ca5ba0a7af...', '') #3 {main} thrown in /home/ root /public_html/ mysite /forum/system/Db/Db.php on line 388
June 14, 20168 yr try this - Create a new empty data base - Upload new conf_global.php - Install suites in the new database - Rename a backup named the new database - Import backup to new database
June 14, 20168 yr 12 hours ago, superj707 said: Fatal error: Undefined constant 'IPS\LOG_FALLBACK_DIR' in /home/root/public_html/mysite/forum/system/Log/Log.php on line 126Fatal error: Uncaught exception 'IPS\Db\Exception' with message 'Table 'htb_mydatabase.core_sessions' doesn't exist' in /home/ root /public_html/ mysite /forum/system/Db/Db.php:388 Stack trace: #0 /home/ root /public_html/ mysite /forum/system/Db/Db.php(688): IPS\_Db->preparedQuery('REPLACE INTO `c...', Array) #1 /home/ root /public_html/ mysite /forum/system/Session/Front.php(300): IPS\_Db->replace('core_sessions', Array, true) #2 [internal function]: IPS\Session\_Front->write('ec5e3ca5ba0a7af...', '') #3 {main} thrown in /home/ root /public_html/ mysite /forum/system/Db/Db.php on line 388 That means that it's connecting to the DB correctly now, but the IPS tables are not there. Have you imported the the database from the backup of your old server?
June 15, 20168 yr Author 13 hours ago, Colonel_mortis said: That means that it's connecting to the DB correctly now, but the IPS tables are not there. Have you imported the the database from the backup of your old server? Thank you.. I don't know if I did something right or not but now I have this error (just 1 problem after another) *sigh* Fatal error: Undefined constant 'IPS\CACHEBUST_KEY' in /home/root/public_html/mysite/forum/system/Output/Output.php on line 227 any ideas now?
June 15, 20168 yr 1 hour ago, superj707 said: Thank you.. I don't know if I did something right or not but now I have this error (just 1 problem after another) *sigh* Fatal error: Undefined constant 'IPS\CACHEBUST_KEY' in /home/root/public_html/mysite/forum/system/Output/Output.php on line 227 any ideas now? It sounds like init.php is a different version to the rest of the files. Download the full zip from the client area, and upload it to overwrite everything.
June 16, 20168 yr Author Getting closer every day! LOL now I've got the site loading but my CSS isn't working. ugh!! LOL
June 16, 20168 yr Author 13 hours ago, R-023 said: Have you tried run the support tool, to clear all cached data ? Yes it was of no help
June 16, 20168 yr Check the source of the page - there links to load css? Possible wrong address css.
Archived
This topic is now archived and is closed to further replies.