
Hi Dne Fri, 10 Jul 2009 17:33:36 +0500 Zahra Naeem <xara.fast@gmail.com> napsal(a):
I have attatched herewith 'Patch.rar' file that contains the 'pma-finalpatch.diff ' file.
Quick review: - Please do not choose generic file names for specific library (functions.php) and place libraries to libraries folder - Why the main script is called copy_of_server_sync.php? Usage: I tried to synchronise two databases on demo server (world and some empty database), what I got: Warning in ./libraries/dbi/mysqli.dbi.lib.php#537 mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given Backtrace ./libraries/dbi/mysqli.dbi.lib.php#537: mysqli_num_fields(boolean 1) ./libraries/database_interface.lib.php#1156: PMA_DBI_num_fields(boolean 1) ./functions.php#294: PMA_DBI_fetch_result( string INSERT INTO `wordpress`.`CountryLanguage` VALUES('USA','Portuguese','F','0.2');, NULL, NULL, object, ) ./copy_of_server_sync.php#276: PMA_createTargetTables( string world, string wordpress, object, object, string CountryLanguage, ) Warning in ./libraries/dbi/mysqli.dbi.lib.php#233 mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given Backtrace ./libraries/dbi/mysqli.dbi.lib.php#233: mysqli_fetch_array( boolean 1, integer 1, ) ./libraries/database_interface.lib.php#1167: PMA_DBI_fetch_assoc(boolean 1) ./functions.php#294: PMA_DBI_fetch_result( string INSERT INTO `wordpress`.`CountryLanguage` VALUES('USA','Portuguese','F','0.2');, NULL, NULL, object, ) ./copy_of_server_sync.php#276: PMA_createTargetTables( string world, string wordpress, object, object, string CountryLanguage, ) For synchronising menagerie database with empty one, I ended up with: Notice in ./functions.php#269 Undefined offset: 0 Backtrace ./copy_of_server_sync.php#276: PMA_createTargetTables( string menagerie, string blog, object, object, string pet, ) -- Michal Čihař | http://cihar.com | http://blog.cihar.com