Fork me on GitHub

Patching from 1.1.2 to 1.2.3  Bottom

  • I just downloaded the #91 patch from the ci and unzipped the files and I am getting this error:

    Warning: require(includes/legacy/Compat.php) [function.require]: failed to open stream: No such file or directory in /home/greg/public_html/sandbox/includes/Loader.class.php on line 326

    Warning: require(includes/legacy/Compat.php) [function.require]: failed to open stream: No such file or directory in /home/greg/public_html/sandbox/includes/Loader.class.php on line 326

    Fatal error: require() [function.require]: Failed opening required 'includes/legacy/Compat.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/greg/public_html/sandbox/includes/Loader.class.php on line 326

    I thought I could run a patch. Do I need to do an upgrade?
  • Yes you do.

    IIRC there's no patch from 1.1.2 --> 1.2.3
    There are patches from 1.2.x --> 1.2.3, but from version 1.1.2 --> 1.2.3 there's a significant change in the database, therefore you MUST run an upgrade.
    Please read the doc carefully...

    Hope it helps and I was clear icon_smile

    - Igor
  • Download 1.2.3 and overwrite all of the files except config/config.php. then run upgrade.php



    edited by: mikebcoffee, datetimebrief
  • mikebcoffee

    Download 1.2.3 and overwrite all of the files except config/config.php. then run upgrade.phpedited by: mikebcoffee, datetimebrief

    Never just overwrite your old installation! Always backup and remove all core files/folders before moving the new ones in. Only keep your non-core stuff (themes/, config/ and modules/). Then replace the stock config/config.php with your old one, empty the caches and start upgrade.php.

    That ensures that actually all new files are in, because overwriting strongly depends on your upload/copy method and may leave files as they are, and also ensures that files removed from the core are also removed from your installation.

    The same is true for module upgrades: Always remove them, and move the new version in to upgrade.

    Greetings,
    Chris



    edited by: slam, datetimebrief

    --
    an operating system must operate
    development is life
    my repo

This list is based on users active over the last 60 minutes.