Version 6 beta2 has now been released. This version is a beta release fixing all bugs found in the first beta. Upgrading is not recommended for live sites.Anyone upgrading should read the upgrade information topic.
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 6 beta2
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:
Changes:
- Fixes have been made to all known bugs.
- The upgrader usability has been improved a bit.
- The gallery now accepts direct Facebook and Youtube video links.
- If FFMPEG is installed, video thumbnails can now be generated automatically.
- There is a new subsystem programmers can use for recognising links posted directly inside Comcode.
- If you try and join using an e-mail account already registered and this is prohibited, ocPortal will now link to the lost-password screen.
- The XML import/export system for pushing data from staging sites to live sites has been improved with support for exporting tree structures, better modelling of dependencies, and putting permission and meta data alongside primary data.
- Many of our external test systems have been transferred into our subversion repository as unit tests, greatly improving the ease/scope of running pre-release testing on our code base.
- All our unit tests pass.
Still pending is work on the mobile support in the default theme and fixing some remaining template preview accuracy issues.





Edited
Comments
Errors
anything else I can do to help you guys in live environments? I am getting ready to try out my new programmer to do the USPS postage addon for the shopping cart, and want to be on the 6 software if possible before setting him to work in the development.
asnwer
I logged in this time so you might remember me more, I have a full multi-site thing going on, and suspect it might be a part of the problem.
I did a second site and got the same error, just to test, but first of all, the file upgrader from version 5.1 beta doesn not work, it keeps needing to be refreshed, and never finishes, so I am uploading the new files from a download of the full 6.1.0 beta2.
The error comes in the database upgrade, I will show the error here:
Upgraded core tables.
Database query failed: CREATE TABLE ocp4_comcode_pages ( the_zone varchar(80) NOT NULL, the_page varchar(80) NOT NULL, p_parent_page varchar(80) NOT NULL, p_validated tinyint(1) NOT NULL, p_edit_date integer unsigned NULL, p_add_date integer unsigned NOT NULL, p_submitter integer NOT NULL, p_show_as_edit tinyint(1) NOT NULL, PRIMARY KEY (the_zone, the_page) ) engine=MyISAM; [Table 'ocp4_comcode_pages' already exists]<br /> Database query failed: ALTER TABLE ocp4_cached_comcode_pages ADD cc_page_title integer unsigned DEFAULT NULL NULL [Duplicate column name 'cc_page_title']<br /> Database query failed: INSERT INTO ocp4_db_meta (m_table, m_name, m_type) VALUES ('cached_comcode_pages', 'cc_page_title', '?SHORT_TRANS') [Duplicate entry 'cached_comcode_pages-cc_page_title' for key 1]<br />
Upgraded/installed:
Upgraded module admin_version
Upgraded module admin_config
Upgraded module cms_comcode_pages
Upgraded module polls
Upgraded module quiz
Installed block main_multi_content
Now you must .
the OCF upgrade works, and the rest does…
Fatal error: Out of memory (allocated 26476544) (tried to allocate 1245184 bytes) in /home/indyman1/public_html/sources/tempcode.php(1048) : eval()'d code(10) : eval()'d code(1) : runtime-created function on line 3
Home > Admin Zone
An error has occurred
PHP ERROR [1] Out of memory (allocated 26476544) (tried to allocate 1245184 bytes) in /home/indyman1/public_html/sources/tempcode.php(1048) : eval()'d code(10) : eval()'d code(1) : runtime-created function on line 3 (version: 6.0 beta2, PHP version: 5.2.11, URL: /adminzone/index.php?page=start)
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/indyman1/public_html/sources/failure.php'
Line '656'
Function 'get_html_trace'
Args
File '/home/indyman1/public_html/sources/global2.php'
Line '917'
Function '_fatal_exit'
Args
'PHP ERROR [1] Out of memory (allocated 26476544) (tried to allocate 1245184 bytes) in /home/indyman1/public_html/sources/tempcode.php(1048) : eval()\'d code(10) : eval()\'d code(1) : runtime-created function on line 3'
File '/home/indyman1/public_html/sources/failure.php'
Line '209'
Function 'fatal_exit'
Args
'PHP ERROR [1] Out of memory (allocated 26476544) (tried to allocate 1245184 bytes) in /home/indyman1/public_html/sources/tempcode.php(1048) : eval()\'d code(10) : eval()\'d code(1) : runtime-created function on line 3'
File '/home/indyman1/public_html/sources/global2.php'
Line '791'
Function '_ocportal_error_handler'
Args
'error'
1
'Out of memory (allocated 26476544) (tried to allocate 1245184 bytes)'
'/home/indyman1/public_html/sources/tempcode.php(1048) : eval()\'d code(10) : eval()\'d code(1) : runtime-created function'
3
File '/home/indyman1/public_html/sources/global2.php'
Line '731'
Function 'ocportal_error_handler'
Args
1
'Out of memory (allocated 26476544) (tried to allocate 1245184 bytes)'
'/home/indyman1/public_html/sources/tempcode.php(1048) : eval()\'d code(10) : eval()\'d code(1) : runtime-created function'
3
Function 'catch_fatal_errors'
Args
You can ignore the upgrader error
For the memory issue, I think you have a 26MB memory limit. We say the minimum is 20MB, and recommend 32MB. As you are above the minimum I think it will work so long as you haven't disabled caches and you refresh a few times for those caches to fill. You probably can raise the memory limit, this is covered in our FAQ (basically you edit a .htaccess file).
I'm going to have another look at this though, I would obviously prefer no errors even if the errors are temporary.
# ocPortal needs uploads; many hosts leave these low
php_value post_max_size "35M"
php_value upload_max_filesize "35M"
This gave the 500 error.
I put the # back in front of the 2 lines, and wham, the admin page works now.
I then tried this for one of the OTHER sites I've put on the 6 code, but it does NOT work there…yet at least. I'll continue to tinker and see if I can get the caches cleared on the secondary site.
I AM still getting this odd error on my main siteL
{+START,IF,{$AND,{$OCF},{$ADDON_INSTALLED,redirects_editor},
{$OR,{$EQ,{$PAGE},recommend},{$EQ,{$PAGE},onlinemembers},{$E
Q
,{$PAGE},points},{$EQ,{$PAGE},warnings},{$EQ,{$PAGE},contact
m
ember},{$EQ,{$PAGE},groups},{$EQ,{$PAGE},rules},{$EQ,{$PAGE}
,
members},{$EQ,{$ZONE},forum},{$EQ,{$ZONE},personalzone}}}}
Sorry, AIPman1 does not have access to use the 'block' Comcode tag (usage blocked).
{+END}
that's at the top of all pages, and EVERYONE sees it, and it says AIPman1 for all people, as well. It's taken over the side columns as well, and, I've tried to get rid of it, and I can clear it off the side columns for a while, but then it comes back.
Hope this is helping you figure out bugs as much as it is helping me out!!!
Also, did they send the message before or after the upgrade?
If before, the upgrade would have emptied the ocp*_cache table, and there have been bugs in the past that have caused this to become huge.
if you need fresh eyes on the other stuff that is happening, just open
Forum home - Dimestore Productions
I need to know whether the message they gave was from before or after the upgrade. This will tell me if it is an issue with how your site is now, or how your site was before.
I notice there are lots of errors on your site due to a Comcode Page permission problem we had a long time ago, which suggests you're upgrading from a very old version, which suggests to me the cache bug may have been the reason they sent a warning, but now the problem could have been resolved by the upgrade.
But if they sent it to you after upgrading, I need to have a good idea what the biggest tables are. Knowing the size of the cache one helps a bit, but for all I know it might not be your biggest, or you may have a few fairly big ones. So I need a list of all the ones significantly bigger than average, and how big they are.
Regarding the Comcode Page permission bug, emptying out your comcode_pages table should fix that. It will deassign all ownerships and ocPortal should redetect them as being owned by an administrator.
I've been with you a long time now, through lots of versions and upgrades!
Maybe talk to them about it. The rest of my post will explain your DB size but I wouldn't bother doing anything till talking to Elief.
Looking at your tables, here are the multi-MB ones…
There's no point emptying 'cache' as it will fill up again. You can turn off block caching though if you really want, but it will slow things down.
'f_posts' isn't that big, and I wouldn't go removing forum posts personally.
'f_post_history' is not that big but could be cleared if you really wanted to.
'logged_mail_messages' will stay about the same size (old messages get cleared out) and is not very big. Sent emails are recorded in there for a time and it's useful for debugging what mails are sent.
'searches_logged' is not very big. It is used for search auto-completions/stats. You can clear it out if you want.
'stats' is modest in size. You control it's size via the 'stats store time' option. In v5 we reduced the default size of that option as it used to get very big if you had a lot of traffic. We now recommend people use Google Analytics or the hosting stats package for their main stats and keep the store time low and use it just for short term deep info.
'translate' is the biggest by far, and that's because almost all text is stored in it. Everything goes through there because individual strings can be multiplied up if people run sites in multiple languages and bother to translate their content. You can't do anything about this one directly, but it's size represents how much content you have.
Fatal error: Out of memory (allocated 27262976) (tried to allocate 1245184 bytes) in /home/aipman1/public_html/sources/tempcode.php(1048) : eval()'d code(13) : eval()'d code(1) : runtime-created function on line 3
Help / advice
There is a tutorial which covers this feature.
Home > Admin Zone > Tools > Website cleanup tools
An error has occurred
PHP ERROR [1] Out of memory (allocated 27262976) (tried to allocate 1245184 bytes) in /home/aipman1/public_html/sources/tempcode.php(1048) : eval()'d code(13) : eval()'d code(1) : runtime-created function on line 3 (version: 6.0 beta2, PHP version: 5.2.11, URL: /adminzone/admin_cleanup/misc.htm)
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 Dimestore 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/aipman1/public_html/sources/failure.php'
Line '656'
Function 'get_html_trace'
Args
File '/home/aipman1/public_html/sources/global2.php'
Line '917'
Function '_fatal_exit'
Args
'PHP ERROR [1] Out of memory (allocated 27262976) (tried to allocate 1245184 bytes) in /home/aipman1/public_html/sources/tempcode.php(1048) : eval()\'d code(13) : eval()\'d code(1) : runtime-created function on line 3'
File '/home/aipman1/public_html/sources/failure.php'
Line '209'
Function 'fatal_exit'
Args
'PHP ERROR [1] Out of memory (allocated 27262976) (tried to allocate 1245184 bytes) in /home/aipman1/public_html/sources/tempcode.php(1048) : eval()\'d code(13) : eval()\'d code(1) : runtime-created function on line 3'
File '/home/aipman1/public_html/sources/global2.php'
Line '791'
Function '_ocportal_error_handler'
Args
'error'
1
'Out of memory (allocated 27262976) (tried to allocate 1245184 bytes)'
'/home/aipman1/public_html/sources/tempcode.php(1048) : eval()\'d code(13) : eval()\'d code(1) : runtime-created function'
3
File '/home/aipman1/public_html/sources/global2.php'
Line '731'
Function 'ocportal_error_handler'
Args
1
'Out of memory (allocated 27262976) (tried to allocate 1245184 bytes)'
'/home/aipman1/public_html/sources/tempcode.php(1048) : eval()\'d code(13) : eval()\'d code(1) : runtime-created function'
3
Function 'catch_fatal_errors'
Args
I was able to fix the issue though so if needed the attached should solve it…
(the caches may need clearing from /upgrader.php before the fix will take effect)
Will look at the latest htaccess (cause mine is likely older) but simply un commenting earlier made the site not work
You rock.
I love you guys
I will let you know if I find anything else specific to multisites
I will also have my person start building the USPS Shipping module for the cart ASAP, so we can release an official mod!
this page: adminzone/admin_stats/misc.htm
gives this error:
Site statistics
What would you like to do next?
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/aipman1/public_html/sources/tempcode.php(1553) : eval()'d code on line 20
Help / advice
It's always nice to be able to summarise your site's activity: average visitor counts, which search engine terms are finding your site, the browsers your visitors are using, and so on. You can view all the collected statistics using state-of-the-art SVG technology (which allows you to view the graphs interactively).
There is a tutorial which covers this feature.
Home > Admin Zone > Audit > Site statistics
An error has occurred
syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING (version: 6.0 beta2, PHP version: 5.2.11, URL: /adminzone/admin_stats/misc.htm)
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 Dimestore 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/aipman1/public_html/sources/failure.php'
Line '656'
Function 'get_html_trace'
Args
File '/home/aipman1/public_html/sources/global2.php'
Line '917'
Function '_fatal_exit'
Args
'syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING'
File '/home/aipman1/public_html/sources/tempcode.php'
Line '1,556'
Function 'fatal_exit'
Args
'syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING'
File '/home/aipman1/public_html/sources/tempcode.php'
Line '138'
Function 'evaluate'
Class 'ocp_tempcode'
Type '->'
Object object
Args
File '/home/aipman1/public_html/sources/tempcode.php(1553) : eval()\'d code'
Line '7'
Function 'output_tempcode_parameter'
Args
object
'SECTIONS'
'DO_NEXT_SCREEN'
File '/home/aipman1/public_html/sources/tempcode.php'
Line '1,553'
Function 'eval'
File '/home/aipman1/public_html/sources/site.php'
Line '817'
Function 'evaluate'
Class 'ocp_tempcode'
Type '->'
Object object
Args
File '/home/aipman1/public_html/adminzone/index.php'
Line '51'
Function 'do_site'
Args
error came up:
Critical error - bailing out
This is an error that has been elevated to critical error status because it occured during the primary error mechanism reporting system itself (possibly due to it occuring within the standard output framework). It may be masking a secondary error that occured before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
PHP NOTICE [8] unserialize() [function.unserialize.php]: Error at offset 270112 of 270112 bytes in /home/aipman1/public_html/sources/global.php(240) : eval()'d code on line 600 (version: 6.0 beta2, PHP version: 5.2.11, URL: /upgrader.php?type=integrity_scan&allow_merging=1)
Stack trace…
File -> '/home/aipman1/public_html/sources/global.php(240) : eval()\'d code'
Line -> 637
Function -> 'die_html_trace'
Args -> array ( 0 => 'PHP NOTICE [8] unserialize() [<a href=\'http://www.php.net/manual/en/function.unserialize.php\'>function.unserialize.php</a>]: Error at offset 270112 of 270112 bytes in /home/aipman1/public_html/sources/global.php(240) : eval()\'d code on line 600 (version: 6.0 beta2, PHP version: 5.2.11, URL: /upgrader.php?type=integrity_scan&allow_merging=1)', )
File -> '/home/aipman1/public_html/sources/global.php(240) : eval()\'d code'
Line -> 917
Function -> '_fatal_exit'
Args -> array ( 0 => 'PHP NOTICE [8] unserialize() [<a href=\'http://www.php.net/manual/en/function.unserialize.php\'>function.unserialize.php</a>]: Error at offset 270112 of 270112 bytes in /home/aipman1/public_html/sources/global.php(240) : eval()\'d code on line 600', )
File -> '/home/aipman1/public_html/sources/global.php(240) : eval()\'d code'
Line -> 209
Function -> 'fatal_exit'
Args -> array ( 0 => 'PHP NOTICE [8] unserialize() [<a href=\'http://www.php.net/manual/en/function.unserialize.php\'>function.unserialize.php</a>]: Error at offset 270112 of 270112 bytes in /home/aipman1/public_html/sources/global.php(240) : eval()\'d code on line 600', )
File -> '/home/aipman1/public_html/sources/global.php(240) : eval()\'d code'
Line -> 791
Function -> '_ocportal_error_handler'
Args -> array ( 0 => 'notice', 1 => 8, 2 => 'unserialize() [<a href=\'http://www.php.net/manual/en/function.unserialize.php\'>function.unserialize.php</a>]: Error at offset 270112 of 270112 bytes', 3 => '/home/aipman1/public_html/sources/global.php(240) : eval()\'d code', 4 => 600, )
Function -> 'ocportal_error_handler'
Args -> array
File -> '/home/aipman1/public_html/sources/global.php(240) : eval()\'d code'
Line -> 600
Function -> 'unserialize'
Args -> array
File -> '/home/aipman1/public_html/sources/global.php(240) : eval()\'d code'
Line -> 356
Function -> 'run_integrity_check'
Args -> array ( 0 => false, 1 => true, )
File -> '/home/aipman1/public_html/upgrader.php'
Line -> 52
Function -> 'upgrade_script'
Args -> array ( )
Details here are intended only for the website/system-administrator, not for regular website users.
» If you are a regular website user, please let the website staff deal with this problem.
so i could not run it…though it let me first time after file transfer.
I think you may have three issues on your site.
Regards,
Chris
Show 22 more replies