This script is not functional. Please run SMW_refreshData.php instead. You can also do this to initialise SQLStore3 while still using SQLStore2: * first run "php SMW_refreshData.php -b SMWSQLStore3 -fp" to recreate tables and initialise property pages, * then run "php SMW_refreshData.php -b SMWSQLStore3" again to refresh all normal pages.