Version 8 has now been released. This is a major new version of ocPortal, with many significant new features and improvements. Upgrading is suggested.To upgrade follow the steps in your website's http://mybaseurl/upgrader.php script. You will need to copy the URL of the attached TAR file (created via the form below) during step 3.
Your upgrade to version 8
You can generate an upgrader from any version of ocPortal to any other version. If you access this upgrade post via the version information box on your Admin Zone front page then we'll automatically know what version you're running.
If you'd prefer though you can enter in your version number right here:
If you'd prefer though you can enter in your version number right here:
Release notes:
- v8 includes a new theme upgrader which will fix most issues with your themes. However some templates have changed. Most people have issues with changes they've made to the OCF_MEMBER_PROFILE_SCREEN.tpl template. A video tutorial explaining template upgrades has been created.
- The upgrader does not have a knowledge of non-bundled ocProducts addons, but it will flag them up as alien files. In particular, files relating to the old Facebook and Lightbox2 addons are incompatible and you should let the upgrader remove them if you have them. There is a much better v8 Facebook addon, and equivalent lightbox2 addon functionality is now core to ocPortal.
- Note about how to improve security after upgrading to version 8
- Note about comment topics from very old ocPortal sites (3 and under)
Possibly 'template is corrupt' error
If you get a template error on the front-page ("A template is corrupt."), you need to follow the steps in this video:
2012-04-20_1210 - ocProducts's library
2012-04-20_1210 - ocProducts's library
Member notes feature
If you were using the "notes" feature of OCF, and need member notes back, add a new custom profile field, note down it's ID number (identifiable from the edit URL for the CPF) and run this in OcCLE:
(where <fieldid> is the ID number)
Code
:$GLOBALS['SITE_DB']->query('UPDATE ocp_f_member_custom_fields f LEFT JOIN ocp_f_members m ON m.id=f.mf_member_id SET field_<fieldid>=m_notes');
Personal Zone
The Personal Zone / Account zone no longer exists, as this is integrated into member profiles. You may need to delete the links from your zone menu, if you have one.





Edited
Comments
Did you navigate there through the adminzone or the upgrader? If through the upgrader I believe it goes into safe mode intentionally in case an addon is not compatible and breaks your site. That way you can remove or fix it.
Bob
Code
An error has occurred
PHP ERROR [1] Call to undefined method forum_driver_ocf::member_profile_link() in sources_custom/miniblocks/main_stars.php on line 26 (version: 8.0, PHP version: 5.3.8, URL: /wis2/index.php?page=stats)
Here is the stack trace:
Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check ocPortal website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.
File '/home/whiteisl/public_html/wis2/sources/failure.php'
Line '684'
Function 'get_html_trace'
Args
File '/home/whiteisl/public_html/wis2/sources/global2.php'
Line '979'
Function '_fatal_exit'
Args
'PHP ERROR [1] Call to undefined method forum_driver_ocf::member_profile_link() in sources_custom/miniblocks/main_stars.php on line 26'
File '/home/whiteisl/public_html/wis2/sources/failure.php'
Line '217'
Function 'fatal_exit'
Args
'PHP ERROR [1] Call to undefined method forum_driver_ocf::member_profile_link() in sources_custom/miniblocks/main_stars.php on line 26'
File '/home/whiteisl/public_html/wis2/sources/global2.php'
Line '853'
Function '_ocportal_error_handler'
Args
'error'
1
'Call to undefined method forum_driver_ocf::member_profile_link()'
'sources_custom/miniblocks/main_stars.php'
26
File '/home/whiteisl/public_html/wis2/sources/global2.php'
Line '789'
Function 'ocportal_error_handler'
Args
1
'Call to undefined method forum_driver_ocf::member_profile_link()'
'/home/whiteisl/public_html/wis2/sources_custom/miniblocks/main_stars.php'
26
Function 'catch_fatal_errors'
Args
My bad. Forgot to upgrade mod ocThanks. Works now.
[Edit: after refreshing the screen the addon list appeared. Chris sneaking around in the ocP tunnels? ]
Suggestions?
Bob
Bob
I know that you have poured your heart into this release (as you do all releases) and I believe you've been able to develop a sustainable strategy for moving forward with future releases.
This release also marks the first of what I hope are many community-sponsored features. Yes, this has happened in the past but this release shows much more how the community can work together to co-sponsor feature – each paying a smaller amount to co-sponsor a specific project. This allows many to participate in ocPortal's growth and development.
Bob
EXCEPT
I am getting this one again, and I just KNOW that it has been resolved SEVERAL times in the past …
… all pointers gratefully accepted.
I couldn't see any errors in either Firefox or Chrome's error console, and I couldn't find anything that was in the code that could cause this directly (although I am making a few cleanups of possible causes).
This should work around it in a satisfactory manner though:
I also noticed another problem - your theme does not have guest permissions. This produces an error on the member directory. It ends up using that theme anyway though, because it's the configured default (I'll remove the message in future versions for this scenario as it's not helpful). But resolve just by editing the theme and setting permissions.
Show 1 reply
Bob
If this is intentional design, then it should jump back to its original location when unchecked.
forum_post_checkbox - BobS702's library
Bob
Fixed in git.
Bob
Same as what Harry noticed I think - it not spotting the upgrade properly. Should be fixed now.
Strangely, this did not happen on the first 4 add-ons but did occur afterwards.
Bob
Show 3 replies
Bob
Show 3 replies
… the 'simple' uploader came to the rescue, but I'd rather it didn't error out at all.
Show 1 reply
Show 1 more reply