HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


ocPortal 6 beta2 released - Comments

Login / Search

 [ Join | More ]
 

ocPortal 6 beta2 released

Posted 06 February 2011, 6:21 PM

6 beta2 released. Read the full article for a list of changes, and upgrade information.

Read more


Errors

Avatar
this is great except it pretty much crashed my admin section and ability to edit anything. I'll have to return to 5 beta which was functioning OK, even with it's bugs. I didnt get to beta1 of 6 before beta2 was done….
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.

Avatar
What error did you receive?

asnwer

Avatar
forgive my delay getting back, I am slightly long term ill, which, effects my ability to work.

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…


Avatar
then when you go to your admin section, you get:

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   


Avatar
but the site basically still displays stuff, you just cant edit stuff.

Avatar
Hi,

You can ignore the upgrader error :). We'll stop that showing for upgrades to the final release.

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.

Avatar
Ok, looks like it's not working even for 32MB on the Admin Zone front page for me, so this is a bug. You'll need to raise the limit to at least 35MB for now.

Avatar
Ok, really odd…I went and edited the htaccess file on the main site…to:

# 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!!!



Avatar
And right now, I cant edit the columns in zone editor due to memory problem as well, FYI

Avatar
OH! Here's another usefull bit: The company you used to push as optimized for Ocportal, I have been on for a while, has FORCED me to go to a dedicated account at way more than I can afford, so do you have another hosting company I can switch to that will work better with Ocportal NOW? My sites are not that busy, they are saying it's cause of my database being too big now, that I have to pay $70 a month. I think that's ridicules.

Avatar
phpMyAdmin should be able to tell you the sizes of your database tables. What are the biggest ones, and how big are they?

Avatar
73mb

Avatar
That doesn't sound a lot to me either. A blank install of v6 is under 2MB though, so could you re-read my post, I wasn't interested what tables make up that figure. e.g. on my fresh install the ocp6_cache table is the biggest at 351Kb.
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.

Avatar
oh yes, that table is 7.8 MB currently... I will attempt to use the tools to empty it?

Avatar
emptied the cache tables. no change in things. still cannot open the actual site cleanup tools.

if you need fresh eyes on the other stuff that is happening, just open

Forum home - Dimestore Productions

Avatar
I'm trying to help, but I'm struggling with specifics…

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.

Avatar

Chris Graham said

I'm trying to help, but I'm struggling with specifics…

I need to know whether the message they gave was from before or after the upgrade.
The visual effects started when I went to Beta1 of 5 version…but seemed smaller so I ignored them.

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.
I've been with you a long time now, through lots of versions and upgrades!

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./quote]

I'll make this easier and show you the whole thing:


   ocp4_addons_dependencies    Browse    Structure    Search    Insert    Empty    Drop    2    MyISAM    latin1_swedish_ci    2.0 KiB    -
   ocp4_addons_files    Browse    Structure    Search    Insert    Empty    Drop    71    MyISAM    latin1_swedish_ci    5.9 KiB    -
   ocp4_adminlogs    Browse    Structure    Search    Insert    Empty    Drop    2,216    MyISAM    latin1_swedish_ci    153.5 KiB    -
   ocp4_attachments    Browse    Structure    Search    Insert    Empty    Drop    119    MyISAM    latin1_swedish_ci    22.6 KiB    -
   ocp4_attachment_refs    Browse    Structure    Search    Insert    Empty    Drop    122    MyISAM    latin1_swedish_ci    7.1 KiB    -
   ocp4_authors    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_autosave    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_award_archive    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_award_types    Browse    Structure    Search    Insert    Empty    Drop    1    MyISAM    latin1_swedish_ci    2.0 KiB    -
   ocp4_banners    Browse    Structure    Search    Insert    Empty    Drop    3    MyISAM    latin1_swedish_ci    2.4 KiB    -
   ocp4_banner_clicks    Browse    Structure    Search    Insert    Empty    Drop    1,018    MyISAM    latin1_swedish_ci    58.5 KiB    -
   ocp4_banner_types    Browse    Structure    Search    Insert    Empty    Drop    4    MyISAM    latin1_swedish_ci    2.1 KiB    -
   ocp4_blocks    Browse    Structure    Search    Insert    Empty    Drop    76    MyISAM    latin1_swedish_ci    7.9 KiB    -
   ocp4_bookmarks    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_cache    Browse    Structure    Search    Insert    Empty    Drop    59    MyISAM    latin1_swedish_ci    1.5 MiB    -
   ocp4_cached_comcode_pages    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_cache_on    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_calendar_events    Browse    Structure    Search    Insert    Empty    Drop    5    MyISAM    latin1_swedish_ci    2.4 KiB    -
   ocp4_calendar_interests    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_calendar_jobs    Browse    Structure    Search    Insert    Empty    Drop    2    MyISAM    latin1_swedish_ci    2.0 KiB    -
   ocp4_calendar_reminders    Browse    Structure    Search    Insert    Empty    Drop    2    MyISAM    latin1_swedish_ci    2.0 KiB    -
   ocp4_calendar_types    Browse    Structure    Search    Insert    Empty    Drop    12    MyISAM    latin1_swedish_ci    2.4 KiB    -
   ocp4_catalogues    Browse    Structure    Search    Insert    Empty    Drop    6    MyISAM    latin1_swedish_ci    2.2 KiB    -
   ocp4_catalogue_categories    Browse    Structure    Search    Insert    Empty    Drop    6    MyISAM    latin1_swedish_ci    2.2 KiB    -
   ocp4_catalogue_efv_long    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_catalogue_efv_long_trans    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_catalogue_efv_short    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_catalogue_efv_short_trans    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_catalogue_entries    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_catalogue_fields    Browse    Structure    Search    Insert    Empty    Drop    36    MyISAM    latin1_swedish_ci    3.4 KiB    -
   ocp4_chargelog    Browse    Structure    Search    Insert    Empty    Drop    3    MyISAM    latin1_swedish_ci    2.1 KiB    -
   ocp4_chat_active    Browse    Structure    Search    Insert    Empty    Drop    3    MyISAM    latin1_swedish_ci    5.0 KiB    -
   ocp4_chat_blocking    Browse    Structure    Search    Insert    Empty    Drop    1    MyISAM    latin1_swedish_ci    2.0 KiB    -
   ocp4_chat_buddies    Browse    Structure    Search    Insert    Empty    Drop    6    MyISAM    latin1_swedish_ci    2.1 KiB    -
   ocp4_chat_events    Browse    Structure    Search    Insert    Empty    Drop    1    MyISAM    latin1_swedish_ci    3.0 KiB    -
   ocp4_chat_messages    Browse    Structure    Search    Insert    Empty    Drop    10,875    MyISAM    latin1_swedish_ci    815.6 KiB    -
   ocp4_chat_rooms    Browse    Structure    Search    Insert    Empty    Drop    5    MyISAM    latin1_swedish_ci    2.3 KiB    -
   ocp4_chat_sound_effects    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_comcode_pages    Browse    Structure    Search    Insert    Empty    Drop    82    MyISAM    latin1_swedish_ci    9.7 KiB    -
   ocp4_config    Browse    Structure    Search    Insert    Empty    Drop    364    MyISAM    latin1_swedish_ci    64.9 KiB    -
   ocp4_customtasks    Browse    Structure    Search    Insert    Empty    Drop    11    MyISAM    latin1_swedish_ci    2.8 KiB    -
   ocp4_custom_comcode    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_db_meta    Browse    Structure    Search    Insert    Empty    Drop    1,295    MyISAM    latin1_swedish_ci    74.5 KiB    -
   ocp4_db_meta_indices    Browse    Structure    Search    Insert    Empty    Drop    96    MyISAM    latin1_swedish_ci    10.9 KiB    -
   ocp4_download_categories    Browse    Structure    Search    Insert    Empty    Drop    1    MyISAM    latin1_swedish_ci    3.0 KiB    -
   ocp4_download_downloads    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_download_licences    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_download_logging    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_edit_pings    Browse    Structure    Search    Insert    Empty    Drop    842    MyISAM    latin1_swedish_ci    44.3 KiB    -
   ocp4_failedlogins    Browse    Structure    Search    Insert    Empty    Drop    2,046    MyISAM    latin1_swedish_ci    100.2 KiB    -
   ocp4_feature_lifetime_monitor    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_filedump    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_f_categories    Browse    Structure    Search    Insert    Empty    Drop    9    MyISAM    latin1_swedish_ci    2.6 KiB    -
   ocp4_f_custom_fields    Browse    Structure    Search    Insert    Empty    Drop    20    MyISAM    latin1_swedish_ci    2.7 KiB    -
   ocp4_f_emoticons    Browse    Structure    Search    Insert    Empty    Drop    54    MyISAM    latin1_swedish_ci    4.9 KiB    -
   ocp4_f_forums    Browse    Structure    Search    Insert    Empty    Drop    53    MyISAM    latin1_swedish_ci    8.8 KiB    -
   ocp4_f_forum_intro_ip    Browse    Structure    Search    Insert    Empty    Drop    59    MyISAM    latin1_swedish_ci    5.3 KiB    -
   ocp4_f_forum_intro_member    Browse    Structure    Search    Insert    Empty    Drop    39    MyISAM    latin1_swedish_ci    2.3 KiB    -
   ocp4_f_forum_tracking    Browse    Structure    Search    Insert    Empty    Drop    19    MyISAM    latin1_swedish_ci    2.2 KiB    -
   ocp4_f_groups    Browse    Structure    Search    Insert    Empty    Drop    24    MyISAM    latin1_swedish_ci    4.0 KiB    -
   ocp4_f_group_members    Browse    Structure    Search    Insert    Empty    Drop    25    MyISAM    latin1_swedish_ci    3.2 KiB    -
   ocp4_f_group_member_timeouts    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_f_invites    Browse    Structure    Search    Insert    Empty    Drop    3    MyISAM    latin1_swedish_ci    2.1 KiB    -
   ocp4_f_members    Browse    Structure    Search    Insert    Empty    Drop    2,829    MyISAM    latin1_swedish_ci    742.8 KiB    -
   ocp4_f_member_cpf_perms    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_f_member_custom_fields    Browse    Structure    Search    Insert    Empty    Drop    2,829    MyISAM    latin1_swedish_ci    148.4 KiB    -
   ocp4_f_member_known_login_ips    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_f_moderator_logs    Browse    Structure    Search    Insert    Empty    Drop    3,465    MyISAM    latin1_swedish_ci    214.4 KiB    -
   ocp4_f_multi_moderations    Browse    Structure    Search    Insert    Empty    Drop    1    MyISAM    latin1_swedish_ci    2.0 KiB    -
   ocp4_f_polls    Browse    Structure    Search    Insert    Empty    Drop    5    MyISAM    latin1_swedish_ci    2.3 KiB    -
   ocp4_f_poll_answers    Browse    Structure    Search    Insert    Empty    Drop    22    MyISAM    latin1_swedish_ci    3.1 KiB    -
   ocp4_f_poll_votes    Browse    Structure    Search    Insert    Empty    Drop    28    MyISAM    latin1_swedish_ci    2.4 KiB    -
   ocp4_f_posts    Browse    Structure    Search    Insert    Empty    Drop    13,822    MyISAM    latin1_swedish_ci    1.5 MiB    -
   ocp4_f_post_history    Browse    Structure    Search    Insert    Empty    Drop    1,497    MyISAM    latin1_swedish_ci    2.9 MiB    -
   ocp4_f_post_templates    Browse    Structure    Search    Insert    Empty    Drop    3    MyISAM    latin1_swedish_ci    2.4 KiB    -
   ocp4_f_read_logs    Browse    Structure    Search    Insert    Empty    Drop    1,105    MyISAM    latin1_swedish_ci    44.0 KiB    -
   ocp4_f_saved_warnings    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_f_special_pt_access    Browse    Structure    Search    Insert    Empty    Drop    5    MyISAM    latin1_swedish_ci    2.0 KiB    -
   ocp4_f_topics    Browse    Structure    Search    Insert    Empty    Drop    1,057    MyISAM    latin1_swedish_ci    180.0 KiB    -
   ocp4_f_topic_tracking    Browse    Structure    Search    Insert    Empty    Drop    2,022    MyISAM    latin1_swedish_ci    55.7 KiB    -
   ocp4_f_usergroup_subs    Browse    Structure    Search    Insert    Empty    Drop    1    MyISAM    latin1_swedish_ci    2.0 KiB    -
   ocp4_f_warnings    Browse    Structure    Search    Insert    Empty    Drop    5    MyISAM    latin1_swedish_ci    3.7 KiB    -
   ocp4_f_welcome_emails    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_galleries    Browse    Structure    Search    Insert    Empty    Drop    16    MyISAM    latin1_swedish_ci    5.0 KiB    -
   ocp4_gifts    Browse    Structure    Search    Insert    Empty    Drop    227    MyISAM    latin1_swedish_ci    10.8 KiB    -
   ocp4_group_category_access    Browse    Structure    Search    Insert    Empty    Drop    2,250    MyISAM    latin1_swedish_ci    76.4 KiB    -
   ocp4_group_page_access    Browse    Structure    Search    Insert    Empty    Drop    289    MyISAM    latin1_swedish_ci    13.9 KiB    -
   ocp4_group_zone_access    Browse    Structure    Search    Insert    Empty    Drop    209    MyISAM    latin1_swedish_ci    8.3 KiB    -
   ocp4_gsp    Browse    Structure    Search    Insert    Empty    Drop    1,944    MyISAM    latin1_swedish_ci    129.7 KiB    -
   ocp4_hackattack    Browse    Structure    Search    Insert    Empty    Drop    503    MyISAM    latin1_swedish_ci    546.8 KiB    -
   ocp4_https_pages    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_images    Browse    Structure    Search    Insert    Empty    Drop    96    MyISAM    latin1_swedish_ci    17.8 KiB    -
   ocp4_import_id_remap    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_import_parts_done    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_import_session    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_incoming_uploads    Browse    Structure    Search    Insert    Empty    Drop    2    MyISAM    latin1_swedish_ci    2.1 KiB    -
   ocp4_invoices    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_iotd    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_ip_country    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_leader_board    Browse    Structure    Search    Insert    Empty    Drop    64    MyISAM    latin1_swedish_ci    2.8 KiB    -
   ocp4_link_tracker    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_logged_mail_messages    Browse    Structure    Search    Insert    Empty    Drop    250    MyISAM    latin1_swedish_ci    3.2 MiB    -
   ocp4_long_values    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_match_key_messages    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_member_category_access    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_member_page_access    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_member_tracking    Browse    Structure    Search    Insert    Empty    Drop    3    MyISAM    latin1_swedish_ci    3.5 KiB    312 B
   ocp4_member_zone_access    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_menu_items    Browse    Structure    Search    Insert    Empty    Drop    127    MyISAM    latin1_swedish_ci    11.9 KiB    -
   ocp4_messages_to_render    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_modules    Browse    Structure    Search    Insert    Empty    Drop    126    MyISAM    latin1_swedish_ci    10.9 KiB    -
   ocp4_msp    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_news    Browse    Structure    Search    Insert    Empty    Drop    85    MyISAM    latin1_swedish_ci    7.5 KiB    -
   ocp4_newsletter    Browse    Structure    Search    Insert    Empty    Drop    9,715    MyISAM    latin1_swedish_ci    487.7 KiB    -
   ocp4_newsletters    Browse    Structure    Search    Insert    Empty    Drop    2    MyISAM    latin1_swedish_ci    2.0 KiB    -
   ocp4_newsletter_archive    Browse    Structure    Search    Insert    Empty    Drop    66    MyISAM    latin1_swedish_ci    722.3 KiB    -
   ocp4_newsletter_drip_send    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_newsletter_subscribe    Browse    Structure    Search    Insert    Empty    Drop    6,719    MyISAM    latin1_swedish_ci    413.2 KiB    -
   ocp4_news_categories    Browse    Structure    Search    Insert    Empty    Drop    4    MyISAM    latin1_swedish_ci    2.2 KiB    -
   ocp4_news_category_entries    Browse    Structure    Search    Insert    Empty    Drop    1    MyISAM    latin1_swedish_ci    2.0 KiB    -
   ocp4_news_rss_cloud    Browse    Structure    Search    Insert    Empty    Drop    17    MyISAM    latin1_swedish_ci    2.6 KiB    -
   ocp4_occlechat    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_poll    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_poll_votes    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_prices    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_pstore_customs    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_pstore_permissions    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_quizzes    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_quiz_entries    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_quiz_entry_answer    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_quiz_member_last_visit    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_quiz_questions    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_quiz_question_answers    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_quiz_winner    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_rating    Browse    Structure    Search    Insert    Empty    Drop    8    MyISAM    latin1_swedish_ci    3.4 KiB    -
   ocp4_redirects    Browse    Structure    Search    Insert    Empty    Drop    10    MyISAM    latin1_swedish_ci    2.4 KiB    -
   ocp4_review_supplement    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_sales    Browse    Structure    Search    Insert    Empty    Drop    2    MyISAM    latin1_swedish_ci    2.1 KiB    -
   ocp4_searches_logged    Browse    Structure    Search    Insert    Empty    Drop    6,127    MyISAM    latin1_swedish_ci    1.3 MiB    -
   ocp4_searches_saved    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_security_images    Browse    Structure    Search    Insert    Empty    Drop    1    MyISAM    latin1_swedish_ci    2.1 KiB    39 B
   ocp4_seedy_changes    Browse    Structure    Search    Insert    Empty    Drop    71    MyISAM    latin1_swedish_ci    5.6 KiB    -
   ocp4_seedy_children    Browse    Structure    Search    Insert    Empty    Drop    7    MyISAM    latin1_swedish_ci    2.2 KiB    -
   ocp4_seedy_pages    Browse    Structure    Search    Insert    Empty    Drop    8    MyISAM    latin1_swedish_ci    2.2 KiB    -
   ocp4_seedy_posts    Browse    Structure    Search    Insert    Empty    Drop    8    MyISAM    latin1_swedish_ci    3.2 KiB    -
   ocp4_seo_meta    Browse    Structure    Search    Insert    Empty    Drop    249    MyISAM    latin1_swedish_ci    16.2 KiB    -
   ocp4_sessions    Browse    Structure    Search    Insert    Empty    Drop    276    MyISAM    latin1_swedish_ci    28.7 KiB    48 B
   ocp4_shopping_cart    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_shopping_logging    Browse    Structure    Search    Insert    Empty    Drop    4    MyISAM    latin1_swedish_ci    3.2 KiB    -
   ocp4_shopping_order    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_shopping_order_details    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_sitewatchlist    Browse    Structure    Search    Insert    Empty    Drop    1    MyISAM    latin1_swedish_ci    2.1 KiB    -
   ocp4_sms_log    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_sp_list    Browse    Structure    Search    Insert    Empty    Drop    141    MyISAM    latin1_swedish_ci    11.4 KiB    -
   ocp4_stafflinks    Browse    Structure    Search    Insert    Empty    Drop    27    MyISAM    latin1_swedish_ci    4.9 KiB    -
   ocp4_staff_tips_dismissed    Browse    Structure    Search    Insert    Empty    Drop    36    MyISAM    latin1_swedish_ci    2.7 KiB    -
   ocp4_stats    Browse    Structure    Search    Insert    Empty    Drop    27,015    MyISAM    latin1_swedish_ci    9.0 MiB    6.0 KiB
   ocp4_subscriptions    Browse    Structure    Search    Insert    Empty    Drop    1    MyISAM    latin1_swedish_ci    2.0 KiB    -
   ocp4_tests    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_test_sections    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_text    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_theme_images    Browse    Structure    Search    Insert    Empty    Drop    429    MyISAM    latin1_swedish_ci    51.8 KiB    -
   ocp4_tickets    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_ticket_types    Browse    Structure    Search    Insert    Empty    Drop    2    MyISAM    latin1_swedish_ci    2.0 KiB    -
   ocp4_trackbacks    Browse    Structure    Search    Insert    Empty    Drop    2    MyISAM    latin1_swedish_ci    2.3 KiB    -
   ocp4_tracking    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_transactions    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_translate    Browse    Structure    Search    Insert    Empty    Drop    41,575    MyISAM    latin1_swedish_ci    42.2 MiB    -
   ocp4_translate_history    Browse    Structure    Search    Insert    Empty    Drop    15    MyISAM    latin1_swedish_ci    32.1 KiB    -
   ocp4_trans_expecting    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_tutorial_links    Browse    Structure    Search    Insert    Empty    Drop    4    MyISAM    latin1_swedish_ci    2.2 KiB    -
   ocp4_url_id_monikers    Browse    Structure    Search    Insert    Empty    Drop    4,594    MyISAM    latin1_swedish_ci    387.6 KiB    -
   ocp4_url_title_cache    Browse    Structure    Search    Insert    Empty    Drop    1,626    MyISAM    latin1_swedish_ci    253.5 KiB    -
   ocp4_usersonline_track    Browse    Structure    Search    Insert    Empty    Drop    610    MyISAM    latin1_swedish_ci    20.4 KiB    -
   ocp4_usersubmitban_ip    Browse    Structure    Search    Insert    Empty    Drop    5    MyISAM    latin1_swedish_ci    2.4 KiB    -
   ocp4_usersubmitban_member    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_validated_once    Browse    Structure    Search    Insert    Empty    Drop    197    MyISAM    latin1_swedish_ci    16.9 KiB    -
   ocp4_values    Browse    Structure    Search    Insert    Empty    Drop    31    MyISAM    latin1_swedish_ci    3.1 KiB    -
   ocp4_videos    Browse    Structure    Search    Insert    Empty    Drop    0    MyISAM    latin1_swedish_ci    1.0 KiB    -
   ocp4_wordfilter    Browse    Structure    Search    Insert    Empty    Drop    37    MyISAM    latin1_swedish_ci    3.7 KiB    -
   ocp4_zones    Browse    Structure    Search    Insert    Empty    Drop    9    MyISAM    latin1_swedish_ci    2.3 KiB    -
   182 table(s)    Sum    154,236    MyISAM    latin1_swedish_ci    67.8 MiB    6.4 KiB

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.

that did work for that

Avatar
Thanks. I do suspect the elief message will have been about a larger database than you have now.
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…
  • cache
  • f_posts
  • f_post_history
  • logged_mail_messages
  • searches_logged
  • stats
  • translate (the biggie)

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.

Avatar
Oh actually you could try running the 'orphaned language strings' cleanup tool in the Admin Zone. But take a database backup first please.

Avatar
that's it, i cannot use those tools, those pages, still give the memory error message:

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   

Avatar
And you can't raise the memory limit in your .htaccess? recommended.htaccess provides an example.

I was able to fix the issue though so if needed the attached should solve it…
Attachment
sources/tempcode.php
» Download: tempcode.php (54 Kb, 425 downloads so far)
Attachment
sources/tempcode_compiler.php
» Download: tempcode_compiler.php (26 Kb, 424 downloads so far)

(the caches may need clearing from /upgrader.php before the fix will take effect)

Avatar
the attached didnt change anything for me.

Will look at the latest htaccess (cause mine is likely older) but simply un commenting earlier made the site not work

Avatar
Hey, if I post my htaccess file, can you merge it properly? I know there are things in my version that were added for zones, and that eleif made sure were off cause they dont work on their servers...

Avatar
OH POOP!!! I spoke too soon, I re did everything and it works now.

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!

Avatar
Ok, still getting some intermittent errors on specific pages (and dont have time to go to all of them right now, so -enough is fixed to call progress on this end) one example:

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   

Avatar
I think if you run the integrity checker in the upgrader it will tell you at least one file is corrupt (ignoring the two I attached in my fix).

Avatar
at: upgrader.php?type=integrity_scan&allow_merging=1

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.

Avatar
Before I look into this I need to explain there is a bug with the two Tempcode PHP files I posted, and also as a separate issue at least 3 people have uploaded just 1 of 2 of them causing severe site problems and hundreds of error emails coming our way. I don't recommend using either files at this point, but if you do put the new tempcode_compiler.php up you absolutely need to have tempcode.php up too.

Avatar
Fix attached for the last issue my memory fix caused (caused stack traces on do-next screens).
Attachment
sources/tempcode_compiler.php
» Download: tempcode_compiler.php (26 Kb, 380 downloads so far)

Attachment
sources/tempcode.php
» Download: tempcode.php (54 Kb, 371 downloads so far)

Show 23 more replies

1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Expand