Jump to content


Shyokou Ouyou

Member Since 09 Sep 2010
Offline Last Active Jun 13 2011 08:00 PM
-----

Topics I've Started

Just wonder if 'Carbo_6_1_0/UniServer/usr/local/mysql/my.ini.bak' redundant ...

28 December 2010 - 04:47 AM


As normal upgrade via the 'diff -I "/Carbo_6_0_6/UniServer\b"' and 'patch -p 1 -d Carbo_6_1_0' way, an as if redundant file, 'Carbo_6_1_0/UniServer/usr/local/mysql/my.ini.bak', jumped into my eyes ...

Just wonder if it is really redundant, or a 5.1 clone, or something else ;-)

Thanks

BAD md5sum found UniServer PHP IDE Plugin ...

06 December 2010 - 10:54 PM


Couldn't help to try the 02 December 2010 released UniServer PHP IDE Plugin, but encountered failed download ...

As if the 'Plugins/UniServer PHP IDE/Self-contained portable IDE/us_portable_php_ide_1_0_0.exe' is ok, but 'Plugins/UniServer PHP IDE/Plugin IDE/us_plugin_php_ide_1_0_0.exe' FAILED ...

Looked into the FAILED image, as if no readable path info presented, I'm afraid neither an easy way to extract counterpart from the Portable ...

Hope Ric read and check this soon ;-)

Double double-dot batch found ...

16 November 2010 - 05:26 AM


Just wonder if it is intended to have double double-dot batch files, with common name, 'Run_pop_up..bat', residing under 'UniServer/unicon/tray_menu_2/batch_files/' and 'UniServer/unicon/tray_menu_2/bat_dev/', respectively ...

I am running Carbo 6.0.5 but also find them from Carbo 6.0.3 at least ...

As if a space smart ;-)

10 September 2010 - 12:07 AM

I was a little bit fashion to try both Carbo 6.0.1 and Carbo 6.0.2, but found both omitted a space smart ;-)
I mean, the omitted space in the definition of function 'port_in_use()' in file 'UniServer/unicon/main/includes/functions.php' ... At least in the Nano 5.6.X series, the space counts; but in the new Carbo 6.0.X, it may lead to ridiculous and erroneous 'port in use' message for just something listens on 0.0.0.0:80X or 0.0.0.0:80XX ...
In order to fix that without interfering with other parts, I applied this patch:
--- Carbo_6_0_2/UniServer/unicon/main/includes/functions.php	2010-08-13 01:25:56.453125000 +0800
+++ Carbo_6_0_2/UniServer/unicon/main/includes/functions.php	2010-08-13 01:25:56.453125000 +0800
@@ -873,6 +873,7 @@
 // Input:  Port number Output: true - in use false - free to use 
 function port_in_use($port){
  $list = shell_exec("netstat -anp tcp"); // Get output list as sring 
+	if( strpos( $list, '0.0.0.0:' . $port . ' ' ) )	return true;
  if(strpos($list,'0.0.0.0:'.$port)){	 // Check for match
	return true;						  // Found match Port already in use
  print "\nA==A match =\n";
It adds nothing but a single line begins with a plus ;-)