Coming Underground
« B2evolution upgraded to 3.3.2 Part IIWatching Freeview HD DVB-T MPEG-4 channels »

B2evolution upgraded to 3.3.2 (sort of)

Permalink 2009-11-19 22:51, by jaervosz, Categories: General, Universe/English, Driftstatus

After a stupid MySQL mistake I got b2evolution upgraded to 3.3.2. However it seems there is some problem in the rendering code, causing rendering to suddenly stop. So far I've hunted it down to being the last part of the function render in
inc/plugins/model/_plugins.class.php (line 1295 to 1327):


1272 function render( & $content, $renderers, $format, $params, $event_prefix = 'Render' )
...
1295 foreach( $renderer_Plugins as $loop_RendererPlugin )
1296 { // Go through whole list of renders
1297 // echo ' ',$loop_RendererPlugin->code, ':';
1298
1299 #return "Test";
1300 #$this->call_method( $loop_RendererPlugin->ID, $event, $params );
1301 switch( $loop_RendererPlugin->apply_rendering )
1302 {
1303 case 'stealth':
1304 case 'always':
1305 // echo 'FORCED ';
1306 $this->call_method( $loop_RendererPlugin->ID, $event, $params );
1307 break;
1308
1309 case 'opt-out':
1310 case 'opt-in':
1311 case 'lazy':
1312 if( in_array( $loop_RendererPlugin->code, $renderers ) )
1313 { // Option is activated
1314 // echo 'OPT ';
1315 $this->call_method( $loop_RendererPlugin->ID, $event, $par ams );
1316 }
1317 // else echo 'NOOPT ';
1318 break;
1319
1320 case 'never':
1321 // echo 'NEVER ';
1322 break; // STOP, don't render, go to next renderer
1323 }
1324 }
1325
1326 return $content;
1327 }

Seems like the above code is trying to determine wether to render stuff, disabling causes some rendering glitches but at least something is being displayed. But I'm not yet sure why it actually dies.

Leave a comment »Send a trackback »

Trackback address for this post

This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

No feedback yet

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

©2010 by admin

Contact Jaervosz