Steve G. Posted June 15, 2007 Share Posted June 15, 2007 Hi all,Why in latest IP.Board build (v2.3.0) the debug mode is activated? >>    function post_editorswitch()     {         //-----------------------------------------         // INIT         //-----------------------------------------         $to_rte = intval( $this->ipsclass->input['to_rte'] );         $post  = $this->class_ajax->convert_unicode( $_POST['Post'] );         $post  = $this->ipsclass->txt_stripslashes($post);         $post  = $this->class_ajax->convert_html_entities( $post );                 $_debug = 1;                 //-----------------------------------------         // Load BBCode         //-----------------------------------------                 require_once( ROOT_PATH . 'sources/classes/bbcode/class_bbcode_core.php' );         require_once( ROOT_PATH . 'sources/classes/bbcode/class_bbcode.php' ); IP.Board 2.2.x (not activated) >>     function post_editorswitch()     {         //-----------------------------------------         // INIT         //-----------------------------------------         $to_rte = intval( $_REQUEST['to_rte'] );         $post  = $this->class_ajax->convert_unicode( $_POST['Post'] );         $post  = $this->ipsclass->txt_stripslashes($post);         $post  = $this->class_ajax->convert_html_entities( $post );                 $_debug = 0;                 //-----------------------------------------         // Load BBCode         //-----------------------------------------                 require_once( ROOT_PATH . 'sources/classes/bbcode/class_bbcode_core.php' );         require_once( ROOT_PATH . 'sources/classes/bbcode/class_bbcode.php' ); The result is a file created in the root of cache folder >>         if ( $_debug )         {             $FH = @fopen( ROOT_PATH . '/cache/debug_bbcode.php', 'a+' );             @fwrite( $FH, $debug_string );             @fclose( $FH );         } debug_bbcode.php >> ==================================================== TO RTE opera Thu, 14 Jun 2007 12:10:11 +0000 ==================================================== ORIGINAL POST blablabla blablabla blabla ==================================================== BEFORE clean_ipb_html / pre_db_parse blablabla blablabla blabla blablabla blablabla blabla ==================================================== AFTER clean_ipb_html / pre_db_parse blablabla blablabla blabla <br /> <br />-- blablabla blablabla blabla. ==================================================== BBCODE DebugThanx in advance for the info. :) Link to comment Share on other sites More sharing options...
Steve G. Posted June 15, 2007 Share Posted June 15, 2007 Hummm, posted in wrong forum... Link to comment Share on other sites More sharing options...
Digi Posted June 15, 2007 Share Posted June 15, 2007 It is probably so they can track issues related to the recent changes in that area (ala support ticket) Link to comment Share on other sites More sharing options...
Steve G. Posted June 15, 2007 Share Posted June 15, 2007 Hummm, no support ticket submitted for my board since 2002. :unsure: This debug mode is activated by default on fresh new installation (IP.Board 2.3.0). Link to comment Share on other sites More sharing options...
Breed Posted June 15, 2007 Share Posted June 15, 2007 I think they released the new version to early. They even "forgot" to update the SSI.php. Link to comment Share on other sites More sharing options...
Mesmer Posted June 15, 2007 Share Posted June 15, 2007 I think they released the new version to early. They even "forgot" to update the SSI.php.What should be updated in ssi.php? Link to comment Share on other sites More sharing options...
Breed Posted June 15, 2007 Share Posted June 15, 2007 It only exports the newest topic... I think that's caused by the newest BBCode change, but I'm not sure on this. Link to comment Share on other sites More sharing options...
Management Matt Posted June 15, 2007 Management Share Posted June 15, 2007 Regarding the debug mode: Feel free to turn it off. I've updated the main download zip so that it's off by default. Link to comment Share on other sites More sharing options...
Digi Posted June 15, 2007 Share Posted June 15, 2007 I think they released the new version to early. They even "forgot" to update the SSI.php.SSI.php has been outdated for a long time. It's been superseded by RSS, they just provide it as a freebie that hasn't been removed form the download pack for legacy purposes. Link to comment Share on other sites More sharing options...
Steve G. Posted June 15, 2007 Share Posted June 15, 2007 Regarding the debug mode: Feel free to turn it off. I've updated the main download zip so that it's off by default.Thanx for the reply. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.