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.


Error in Forum topic when trying to add Main_Screen_Action Block

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#66965 (In Topic #14266)
Avatar

Community saint

Hey there everyone, I've been lurking lately and my site has been running fine without any problems until now: I got this error (see below) when I was adding a Main_Screen_Action Block to a Forum topic. Any idea what is going on? I am running 5.0.2 currently. All was fine before that an then this:
Forum: Dinosaur chat
Your membership information
Avatar
Welcome back, t-bone.
(Logout)

Points: 1,291,814
Posts: 64
Primary usergroup: Administrators
Search forum (60 days)  [More]
Your last visit: 8:14 AM

    * 0 new topics
    * 0 new posts

Personal Zone

    * » Edit avatar
    * » Edit photo
    * » Edit profile
    * » Edit signature
    * » Edit title

Virtual forums

    * » Personal topics
    * » Posts since last visit
    * » Topics with unread posts
    * » Recently-read topics
    * » Inline personal posts

General Dinosaur Discussions, Questions and Issues About Anything Dinosaur Related.


 Add topic

Dinosaur chat
    Title    Starter     Posts     Views     Last post     Toggle selection
    Preview 100
Posted in this topic  Should We Clone Dinosaurs and other Extinct Creatures?
Can We and Should We Bring Back to Life Those Creatures and Life Forms that have Gone Extinct?
    t-bone    7     2,783     26 January 2011, 4:39 PM
By t-bone
Marker
    Preview 107
Poll  dinosauria-ideas&theory
hybrids and half-breeds
    kenneysills    2     2,317     22 December 2010, 9:22 AM
By spaniardraptor
Marker
    Preview 111
Posted in this topic  10 Reasons Why I Think Dinosaurs are Cool.
What fires me up about dinosaurs and makes me think they are awesome!
    t-bone    5     2,404     19 November 2010, 11:39 PM
By Gork
Marker
    Preview 8
Posted in this topic  I love dinosaurs!
Wow! I love dinosaurs and want to see all the artists pic of them
    Chip    3     3,166     11 May 2010, 7:51 PM
By reggie
Marker
    Baker like he was going to tell you how to make a blinking loaf of bread. Do some research before you pick up a script. Sounded like Chaos to me …LOL!
You are here Dinosaur & Prehistoric Forum > Dinosaur chat
An error has occurred

PHP NOTICE [8] Undefined index: a:3:{i:0;s:15:"title=recommend";i:1;s:25:"block=main_screen_
actions";s:20:"ATTACHMENT_DOWNLOADS";O:12:"ocp_tempcode":6:{s
:18:"code_to_preexecute";s:62:"$TPL_FUNCS['string_attach_1298
942610444ba0f4']="echo "?";"; ";s:9:"seq_parts";a:1:{i:0;a:5:{i:0;s:32:"string_attach_1298
942610444ba0f4";i:1;a:0:{}i:2;i:1;i:3;s:0:"";i:4;s:0:"";}}s:1
9:"preprocessable_bits";a:0:{}s:11:"last_attach";s:0:"";s:9:"
pure_lang";N;s:8:"codename";s:7:"(mixed)";}} in /home/prehisto/public_html/sources/symbols.php on line 827 (version: 5.0.2, PHP version: 5.2.11, URL: /forum/index.php?page=forumview&id=dinosaur_chat)
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/prehisto/public_html/sources/failure.php'
Line     '604'
Function     'get_html_trace'
Args

File     '/home/prehisto/public_html/sources/global2.php'
Line     '920'
Function     '_fatal_exit'
Args

'PHP NOTICE [8] Undefined index: a:3:{i:0;s:15:"title=recommend";i:1;s:25:"block=main_screen_
actions";s:20:"ATTACHMENT_DOWNLOADS";O:12:"ocp_tempcode":6:{s
:18:"code_to_preexecute";s:62:"$TPL_FUNCS[\'string_attach_129
8942610444ba0f4\']="echo \"?\";"; ";s:9:"seq_parts";a:1:{i:0;a:5:{i:0;s:32:"string_attach_1298
942610444ba0f4";i:1;a:0:{}i:2;i:1;i:3;s:0:"";i:4;s:0:"";}}s:1
9:"preprocessable_bits";a:0:{}s:11:"last_attach";s:0:"";s:9:"
pure_lang";N;s:8:"codename";s:7:"(mixed)";}} in /home/prehisto/public_html/sources/symbols.php on line 827'

File     '/home/prehisto/public_html/sources/failure.php'
Line     '161'
Function     'fatal_exit'
Args

'PHP NOTICE [8] Undefined index: a:3:{i:0;s:15:"title=recommend";i:1;s:25:"block=main_screen_
actions";s:20:"ATTACHMENT_DOWNLOADS";O:12:"ocp_tempcode":6:{s
:18:"code_to_preexecute";s:62:"$TPL_FUNCS[\'string_attach_129
8942610444ba0f4\']="echo \"?\";"; ";s:9:"seq_parts";a:1:{i:0;a:5:{i:0;s:32:"string_attach_1298
942610444ba0f4";i:1;a:0:{}i:2;i:1;i:3;s:0:"";i:4;s:0:"";}}s:1
9:"preprocessable_bits";a:0:{}s:11:"last_attach";s:0:"";s:9:"
pure_lang";N;s:8:"codename";s:7:"(mixed)";}} in /home/prehisto/public_html/sources/symbols.php on line 827'

File     '/home/prehisto/public_html/sources/global2.php'
Line     '779'
Function     '_ocportal_error_handler'
Args

'notice'

8

'Undefined index: a:3:{i:0;s:15:"title=recommend";i:1;s:25:"block=main_screen_
actions";s:20:"ATTACHMENT_DOWNLOADS";O:12:"ocp_tempcode":6:{s
:18:"code_to_preexecute";s:62:"$TPL_FUNCS[\'string_attach_129
8942610444ba0f4\']="echo \"?\";"; ";s:9:"seq_parts";a:1:{i:0;a:5:{i:0;s:32:"string_attach_1298
942610444ba0f4";i:1;a:0:{}i:2;i:1;i:3;s:0:"";i:4;s:0:"";}}s:1
9:"preprocessable_bits";a:0:{}s:11:"last_attach";s:0:"";s:9:"
pure_lang";N;s:8:"codename";s:7:"(mixed)";}}'

'/home/prehisto/public_html/sources/symbols.php'

827

File     '/home/prehisto/public_html/sources/symbols.php'
Line     '827'
Function     'ocportal_error_handler'
Args

8

'Undefined index: a:3:{i:0;s:15:"title=recommend";i:1;s:25:"block=main_screen_
actions";s:20:"ATTACHMENT_DOWNLOADS";O:12:"ocp_tempcode":6:{s
:18:"code_to_preexecute";s:62:"$TPL_FUNCS[\'string_attach_129
8942610444ba0f4\']="echo \"?\";"; ";s:9:"seq_parts";a:1:{i:0;a:5:{i:0;s:32:"string_attach_1298
942610444ba0f4";i:1;a:0:{}i:2;i:1;i:3;s:0:"";i:4;s:0:"";}}s:1
9:"preprocessable_bits";a:0:{}s:11:"last_attach";s:0:"";s:9:"
pure_lang";N;s:8:"codename";s:7:"(mixed)";}}'

'/home/prehisto/public_html/sources/symbols.php'

827

array ( 'lang' => 'EN', 'escaped' => array ( ), 'type' => 0, 'name' => 'BLOCK', 'param' => array ( 0 => 'title=recommend', 1 => 'block=main_screen_actions', 'ATTACHMENT_DOWNLOADS' => ocp_tempcode::__set_state(array( 'code_to_preexecute' => '$TPL_FUNCS[\'string_attach_1298942610444ba0f4\']="echo \"?\";"; ', 'seq_parts' => array ( 0 => array ( 0 => 'string_attach_1298942610444ba0f4', 1 => array ( ), 2 => 1, 3 => '', 4 => '', ), ), 'preprocessable_bits' => array ( ), 'last_attach' => '', 'pure_lang' => NULL, 'codename' => '(mixed)', 'cached_output' => '?', )), ), 'TEMPCODE_SETGET' => array ( 'doing_first_group' => '_false', ), 'CYCLES' => array ( ), 'PREPROCESSABLE_SYMBOLS' => array ( 'PAGE_LINK' => 1, 'SET' => 1, 'BLOCK' => 1, 'JAVASCRIPT_INCLUDE' => 1, 'CSS_INCLUDE' => 1, 'LOAD_PANEL' => 1, 'JS_TEMPCODE' => 1, 'CSS_TEMPCODE' => 1, 'LOAD_PAGE' => 1, 'FRACTIONAL_EDITABLE' => 1, ), 'escaped_codes' => 'BLOCKa:0:{}', 'cacheable' => false, 'value' => '', 'temp_array' => array ( ), 'LOADED_BLOCKS' => array ( 'a:3:{i:0;s:15:"title=recommend";i:1;s:25:"block=main_screen
_actions";s:20:"ATTACHMENT_DOWNLOADS";s:1:"?";}' => ocp_tempcode::__set_state(array( 'code_to_preexecute' => '', 'seq_parts' => array ( ), 'preprocessable_bits' => array ( ), 'last_attach' => NULL, 'pure_lang' => NULL, 'codename' => ':container', 'cached_output' => NULL, )), ), )

File     '/home/prehisto/public_html/sources/tempcode.php(1500) : eval()\'d code'
Line     '1'
Function     'evaluate_conventional_variable'
Args

'EN'

array ( )

0

'BLOCK'

array ( 0 => 'title=recommend', 1 => 'block=main_screen_actions', 'ATTACHMENT_DOWNLOADS' => ocp_tempcode::__set_state(array( 'code_to_preexecute' => '$TPL_FUNCS[\'string_attach_1298942610444ba0f4\']="echo \"?\";"; ', 'seq_parts' => array ( 0 => array ( 0 => 'string_attach_1298942610444ba0f4', 1 => array ( ), 2 => 1, 3 => '', 4 => '', ), ), 'preprocessable_bits' => array ( ), 'last_attach' => '', 'pure_lang' => NULL, 'codename' => '(mixed)', 'cached_output' => '?', )), )

File     '/home/prehisto/public_html/sources/tempcode.php'
Line     '1,500'
Function     'eval'

File     '/home/prehisto/public_html/sources/tempcode.php(1101) : eval()\'d code(1) : eval()\'d code(1) : runtime-created function'
Line     '12'
Function     'evaluate'
Class     'ocp_tempcode'
Type     '->'
Object     object
Args

Function     '__lambda_func'
Args     …

'EN'

'OCF_FORUM_TOPIC_ROW'

File     '/home/prehisto/public_html/sources/tempcode.php'
Line     '1,483'
Function     'call_user_func'
Args     …

'EN'

'OCF_FORUM_TOPIC_ROW'

File     '/home/prehisto/public_html/sources/tempcode.php(1500) : eval()\'d code'
Line     '30'
Function     'evaluate'
Class     'ocp_tempcode'
Type     '->'
Object     object
Args

File     '/home/prehisto/public_html/sources/tempcode.php'
Line     '1,500'
Function     'eval'

File     '/home/prehisto/public_html/sources/tempcode.php(1500) : eval()\'d code'
Line     '9'
Function     'evaluate'
Class     'ocp_tempcode'
Type     '->'
Object     object
Args

File     '/home/prehisto/public_html/sources/tempcode.php'
Line     '1,500'
Function     'eval'

File     '/home/prehisto/public_html/sources/tempcode.php(1500) : eval()\'d code'
Line     '7'
Function     'evaluate'
Class     'ocp_tempcode'
Type     '->'
Object     object
Args

File     '/home/prehisto/public_html/sources/tempcode.php'
Line     '1,500'
Function     'eval'

File     '/home/prehisto/public_html/sources/site.php'
Line     '785'
Function     'evaluate'
Class     'ocp_tempcode'
Type     '->'
Object     object
Args

File     '/home/prehisto/public_html/forum/index.php'
Line     '51'
Function     'do_site'
Args

Back to the top Prehistorics Illustrated Dinosaurs  Keyboard shortcuts  Bookmarks  Real-time Rain  OcCLE   Menu
Su

Development views
You've Experiencing the Remodeled
Prehistorics Illustrated Website!
Copyright © 1997 - 2011 Prehistorics Illustrated
Privacy · Leave feedback · Logout from ‘t-bone’


Last edit: by friendly


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#66976
Avatar

I think we've fixed it in v6. It would be a bit hard to explain, but something to do with the order ocPortal builds up it's page output in 5.0.2 and it's recovery from peculiar circumstances.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#67005
Avatar

Community saint

OK, thanks Chris, so I'll just wait for the 6.x to upgrade and fix this.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: