Skip to content

Upgrade procedure from the Zikula Core 1.2.9 to the Zikula Core 1.2.10

Erik Spaan edited this page Oct 4, 2013 · 1 revision

The process to upgrade your 1.2.9 install to the unofficial 1.2.10 version for the document.location Google Chrome issue.

Thanks you mesteele for testing and writing it down.

  1. Move your config.php file to a safe location.
  2. Download the unofficial 1.2.10 zip file from https://github.com/espaan/zikula12x/releases
  3. Unzip the unofficial 1.2.10 zip file into the root of your website
  4. Move your config.php file back
  5. Go to the your.website.com/upgrade.php file from the browser and complete the upgrade to go to 1.2.10
  6. Change the file permissions of your config.php file; CHMOD 444
  7. Then delete the install folder, install.php, and the upgrade.php file from the root of your website
  8. Also delete the undefinedajax.php file from the root of your web site, which was a hack for the chrome problem, which the unofficial 1.2.10 update fixes

Scanning for document.location in Modules

The next process is to search and replace any document.location variables that MIGHT need to be changed in your NON-CORE modules. This process has already been completed in the files of the unofficial 1.2.10 zip file. So only check your \modules folder, and limit the search and replace to only include the folders that were not included with the Zikula unofficial 1.2.10 core modules files.

Note: There are not many modules that use this variable directly. Mesteele for example did not have any files to change, and had a bunch of NON-CORE modules. So you might be in the clear as well.

Search for: document.location.entrypoint=
Change to: document.location.entrypoint=Zikula.Config.entrypoint

Search for: document.location.ajaxtimeout=
Change to: document.location.ajaxtimeout=Zikula.Config.ajaxtimeout

Search for: document.location.pnbaseURL=
Change to: document.location.pnbaseURL=Zikula.Config.pnbaseURL

Then login again into your website, test everything, and open it again.

Hope this make it a little more clear for others, and if there are mistakes hopefully someone will jump in and correct.

Mesteele thanks everyone that got him going into the correct direction.

See also this forum topic for more information: http://community.zikula.org/module-Forum-viewtopic-topic-59329-start-60.htm

Clone this wiki locally