![]() |
|
Upgrading from 1.2.5 - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Upgrading from 1.2.5 (/thread-9279.html) |
Upgrading from 1.2.5 - kp - 2011-11-17 Hi there, is it safe to upgrade from 1.2.5 directly to the latest version or should I do a staged upgrade, and if so, which versions should I do it with? (We had not been able to upgrade until now as the client's old server did not support PHP 5.) Thanks in advance for your help. Server deets: Zenphoto version 1.2.5 [4022] (Official Build)
Upgrading from 1.2.5 - fretzl - 2011-11-17 I have successfully upgraded a site from 1.2.5 to 1.4.0.4 in one step. Upgrading from 1.2.5 - sbillard - 2011-11-17 For others contemplating such an upgrade. We do know that upgrading from 1.2.5 to the current release will work. However, note that the requirements of the current release are different from those of 1.2.5. In particular PHP 5 is required. Be sure to include a PHP upgrade in your plans if you are still on a version of PHP 4. As fretzl has noted, there have been structural changes to themes since 1.2.5 so if you are not using one of the distributed themes you will have to deal with the changes. The deprecated functions plugin will probably help in the translation and it does tell you what needs to be changed if one of the deprecated functions is used. Upgrading from 1.2.5 - kp - 2011-11-17 Thanks very much, both - very useful. I am using a slightly customized version of Default (whatever was the default with version 1.2.5). From what I recall, I didn't change too much of the functionality, mainly the look and feel. I will look for the new zp_apply_filter call in a current theme and copy-paste into my customized theme.
Where would I find this plug-in? Does it come with the current ZP Core and will it be automatically installed when I do the upgrade, or do I have to install it separately? Thanks again you both, very helpful. Upgrading from 1.2.5 - fretzl - 2011-11-17 The [i]deprecated-functions[/i] plugin is under the plugins tab on the admin page. Upgrading from 1.2.5 - kp - 2011-11-17 Thanks, fretzl. I'll let you know how it goes. Upgrading from 1.2.5 - kp - 2011-11-17 After some finagling, I think I've managed to get the install on the test server updated! Tomorrow I'll attack the live server. Thanks again for your help, both of you! Upgrading from 1.2.5 - fretzl - 2011-11-18 Good to hear that :-) Upgrading from 1.2.5 - kp - 2011-11-18 And now the live server has been updated as well! Thought I'd post a list of some of the key things I had to do during the process, in case it helps others in the future:
*Changes I made in my custom theme:
$firstPageImages = normalizeColumns('2', '6'); Perhaps this will help someone someday. Thanks again for both your help. Upgrading from 1.2.5 - fretzl - 2011-11-18 Thanks for the checklist :-) |