Author Topic: Blank screen running public/upgrade  (Read 3526 times)

DHughes

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Blank screen running public/upgrade
« on: April 03, 2012, 01:02:01 pm »
I am trying to upgrade from 1.7.5 to 2.0.0.

I unzipped the files into a new directory.

If I try to run <site>/public/upgrade, I just get a blank screen.  There are no error messages that I can see.

If I just go to <site> it  runs starts public/install script and creates a new site without moving over any of my previous documents.

I am running on Open SuSE 11.4
Apache 2.2.17 
php 5.3.5
MySQL 5.1.57

Apache is using port 631 instead of 80

freeraider

  • Freshman
  • *
  • Posts: 10
    • View Profile
Re: Blank screen running public/upgrade
« Reply #1 on: April 04, 2012, 07:08:06 am »
You must copy config/config.php from 1.7.5 to 2.0

DHughes

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Blank screen running public/upgrade
« Reply #2 on: April 04, 2012, 08:57:54 am »
Although not clear from the documentation, it appears that you should unzip the new version on top of the existing version and allow the unzip process to overwrite any existing files.

You can then run  public/upgrade and public/upgrade/complete_migration.php.

You then need to edit the config file and change 'og_' to 'fo_'

This transferred all of my setting and users, but did NOT transfer any of my documents, which are the most important part.

In the previous version my documents were saved as files, and they are still in the directory.  What do I need to do to transfer them to V2?


DHughes

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Blank screen running public/upgrade
« Reply #3 on: April 04, 2012, 05:31:57 pm »
OK, Here is what worked for me:

1- Back up data (file system and data base) in case anything goes wrong
2- Rename the existing Apache ../fengoffice direcotry
3- Copy the fengoffice 2.0.0 zip file to the base Apache directory and Unzip the 2.0.0 files - which creates a new ../fenoffice direcotry.
4- Copy over the old fengoffice/config/config.php to the new directory.
6- Change the TABLE_PREFIX at the config/config.php from og_ (or whatever) to fo_ .
5- Copy over the old fengoffice/upload/ directory.
7- Change all of the file owners and permissions as appropriate for Apache access.
8- Through Apache, access <website>/public/upgrade and run the upgrade.  Be sure to select the right versions from the two drop downs.
9- When the upgrade is over, click on the link that says 'Fill searchable objects and sharing table'