Jump to content

Migrating complete site


Recommended Posts

i offered msummers to take a look at his files and i think i got everything working.

thats what i did:

  • did a clean 2.3 installation
  • copied the old site-folder to the new installation (overwrote existing files)
  • replaced the database
  • looked up admin url (db table "pages" id = 2 showed "sample" so admin url was example.com/sample/ )
  • find out username of superuser and reset password
    $admin = $users->get(41);
    $admin->pass = 'admin'; // put in your new password
    echo $admin->name;
  • backup working 2.3.0 site (files+db)
  • copied ProcessWireUpgrade to modules folder and installed it... error:
    Error: Cannot call constructor (line 85 of /var/www/html/site/modules/ProcessWireUpgrade/ProcessWireUpgrade.module)
  • renamed
    wire -> wire2.3.0
    index.php -> index2.3.0.php
    .htaccess -> .htaccess2.3.0
  • downloaded pw 2.6.1 and put into old site:
  • installed processwireupgrade module
  • installed site profile exporter and exported 2.6.1 site profile with data from old page


old version had a custom admin - don't know how/where to activate this in 2.6.1 as it shows the standard admin again. have no more time to investigate further, sorry.

  • Like 6
Link to comment
Share on other sites

So, I figured it was time to post an update to this great thread. Thanks to the truly exceptional help from Bernhard, and from others including kixe, OrganizedFellow, Peter, and cstevensjr, I am on my feet with this. while I didn't exactly follow the summary that Bernhard posted in the immediately previous message, it was close enough. The site is loaded and functional! This has allowed me to begin exploring the inner workings of the site - expect me back at any time without notice!

Thanks again, guys. It was great help. ^-^

  • Like 7
Link to comment
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

  • Create New...