Skip to content

Migrating to new server reverts version? #3875

@selizabeth-jmrl

Description

@selizabeth-jmrl

Describe the problem you're facing/question you have
Moving to a new host server, copied production code and imported db, updated config for db access. The site opens fine and works reading/writing to db however the version and theme looks reverted. Current production lists as MRBS 1.11.6. Migrated version is listing as MRBS 1.10.0+git (HEAD ec948d8)

Browser details (please complete the following information):

  • OS: MacOS and Windows 11
  • Browser Chrome/Safari/FF
  • Version all most recent

Server details (please complete the following information):
Live site:

Image

New host site:

Image

Additional context
Have been regularly updating versions since a big upgrade two years ago to 1.10. Current production has been 1.11.6 since release. Tried a completely new install of 1.11.6 with import of db (can not lose production data). Would not load with errors:

Uncaught exception 'TypeError' in /code/web/lib/MRBS/DBFactory.php at line 11
Argument 7 passed to MRBS\DBFactory::create() must be of the type integer or null, string given, called in />code/web/dbsys.inc on line 91
#0 /code/web/dbsys.inc(91): MRBS\DBFactory::create('mysql', 'dbhost', '12cb84d753954f4...', >'1SxUikvlGMrOrPC...', 'pantheon', false, '6033', Array)
#1 /code/web/dbsys.inc(102): MRBS\db()
#2 /code/web/lib/MRBS/Session/Session.php(84): MRBS\db_schema_version()
#3 /code/web/lib/MRBS/Session/Session.php(36): MRBS\Session\Session->init(2592000)
#4 /code/web/lib/MRBS/Session/SessionWithLogin.php(32): MRBS\Session\Session->__construct()
#5 /code/web/lib/MRBS/Session/SessionPhp.php(20): MRBS\Session\SessionWithLogin->__construct()
#6 /code/web/lib/MRBS/Session/SessionFactory.php(15): MRBS\Session\SessionPhp->__construct()
#7 /code/web/mrbs_auth.inc(35): MRBS\Session\SessionFactory::create('php')
#8 /code/web/init.inc(41): MRBS\session()
#9 /code/web/defaultincludes.inc(35): require_once('/code/web/init....')
#10 /code/web/index.php(11): require('/code/web/defau...')
#11 {main}

MRBS GET: Array
(
)
MRBS POST: Array
(
)

What is causing the error or the reverted version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions