Upgrading to 4.2 RC1
|
Posted
#53457
(In Topic #11633)
|
|
|---|---|
|
ocStaff (admin) |
Be aware this is not a final release and we expect it to be considered 'bleeding edge' for some time. However, the code has now been through our quality processes (with one exception, shopping carts), we will now be supporting the release with bug fixes, and avoid adding new features. Be aware that the announced shopping cart functionality isn't yet working in this release. This is still being finalised, so please wait for a future release before trying this functionality. Before upgrading it is crucial you take a full backup of your files and database. The following known issues exist… All upgradesGo through the upgrade process as you would for a major release. Performing the database upgrade is crucial, after putting in the upgrade TAR link the site will not function until you run the database upgrade.ThemesAll menu themeing will need completely redoing. If you have made changes:
Those with CSS changes will probably want to rebuild their themes manually, rather than letting the ocPortal upgrader try to. If the upgrader has changed your CSS files and want to do it manually instead, reupload the CSS files from your backup, then you can use a diff tool (e.g. WinMerge, DiffMerge, Kompare) to go manually through the full set of changes between 4.1/4.2-beta and 4.2 (compare the CSS files in 4.2 against those in your 4.1/4.2-beta custom theme). The below are the key changes that you should carry over. In global.css the following needs attention:
In ocf.css just add these two new CSS classes designed to improve the profile screen's compatibility:
galleries.css (very small file) should be rebuilt as this has changed substantially. Also take a look at the compatibility improvements put into nocache.css. There are other changes, but they are visual improvements rather than compatibility issues and thus do not need attention. .htaccess fileIf you use SEO URLs, you will need to recreate your .htaccess file, using the recommended.htaccess file as a base. This is due to the new SEF URLs, which are a bit more sophisticated.Other changesThe side_search block no longer exists. Either change your use to main_search (which will now look fine in a panel) or place the attached temporary file (all this file does is make side_search use main_search, like making a link).4.2 beta upgradesFor OCF to upgrade it must think it is upgrading from version 4.1, not version 4.2. Therefore before starting the upgrade please run this query (substitute your correct table prefix if it is not the default):UPDATE `ocp4_values` SET `the_value` = '4.1' WHERE `the_name` = 'ocf_version' Alternatively run this from OcCLE: :set_value('ocf_version','4.1'); 4.2 RC1 upgrades and 4.2 beta upgradesWe fixed the forum search to cover topic descriptions. For this to work you will need to enter this command into OcCLE (accessed from the Tools section of the Admin Zone):Code
:$GLOBALS['FORUM_DB']->create_index('f_topics','#t_description',array('t_description'));
4.2 RC1 upgrades, 4.2 RC2 upgrades and 4.2 beta upgradesEnter these commands into OcCLE (accessed from the Tools section of the Admin Zone):Code
:$GLOBALS['SITE_DB']->create_table('shopping_order_addresses',array('id' => '*AUTO','order_id' => '?AUTO_LINK','address_name' => 'SHORT_TEXT','address_street' => 'LONG_TEXT','address_city' => 'SHORT_TEXT','address_zip' => 'SHORT_TEXT','address_country' => 'SHORT_TEXT','receiver_email' => 'SHORT_TEXT',));
Code
:$GLOBALS['SITE_DB']->add_table_field('shopping_order_details','included_tax','REAL');
Code
:$GLOBALS['SITE_DB']->add_table_field('shopping_order','tax_opted_out','BINARY');
Last edit: by Chris Graham
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
ocStaff (admin) |
Major issues fixed so far:
Last edit: by Chris Graham
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Well-settled |
I am trying to follow the steps and I am getting confused, as to the easiest way to do this. Now we are running 4.2 Beta 2 …. I have modified in the databse the version to show it as vesrsion 4.1 , so all that is cool… But I do not undestand which one I need to grab for the upgrade. When I go through the upgrade process I am stuck here. As I am not sure what to enter the required file name for step 3. |
|
Posted
|
|
|
Community saint |
|
|
Posted
|
|
|
ocStaff (admin) |
Enter… 4 2 0 beta2 If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Well-settled |
|
|
Posted
|
|
|
Well-settled |
Slav |
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Honoured member |
U all |
|
Posted
|
|
|
Well-settled |
If that is refering to me then yes it is still happening , even right now. Slav |
|
Posted
|
|
|
Well-settled |
I assume these 2 patches we can just ftp them by over writting the files manually? Slav |
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Well-settled |
Smiley faces and sig pictures are absolutely HUGE! |
|
Posted
|
|
|
Well-settled |
|
|
Posted
|
|
|
ocStaff |
Like ocPortal on Facebook: |
|
Posted
|
|
|
Well-settled |
|
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Well-settled |
|
1 guests and 0 members have just viewed this: None
Control functions:






Last edit: by 
