Index: branches/Ver3.0/xpressme_integration_kit/include/add_xpress_config.php
===================================================================
--- branches/Ver3.0/xpressme_integration_kit/include/add_xpress_config.php	(revision 732)
+++ branches/Ver3.0/xpressme_integration_kit/include/add_xpress_config.php	(revision 733)
@@ -1,3 +1,15 @@
 <?php
+//load XOOPS
+$request_method =  (isset($_SERVER['REQUEST_METHOD'])) ? $_SERVER['REQUEST_METHOD'] : '';
+$_SERVER['REQUEST_METHOD'] = 'POST';  // The xoops data base is opened in the mode that can be written.  
+if ( defined('WP_ADMIN') )	
+	$php_script_name = $_SERVER['SCRIPT_NAME'];
+	if (strstr($php_script_name,'wp-admin/async-upload.php') !== false) {
+		
+	$xoopsOption['nocommon'] = 1; // The WP file uploading must work normally.  
+	}
+require_once dirname(dirname(dirname(dirname( __FILE__ )))).'/mainfile.php' ;
+$_SERVER['REQUEST_METHOD'] = $request_method; //It returns it to former data. 
+
 require_once dirname( __FILE__ ).'/xpress_debug_log.php' ;
 require_once dirname(dirname( __FILE__ )).'/class/config_from_xoops.class.php' ;
Index: branches/Ver3.0/xpressme_integration_kit/include/add_xpress_process.php
===================================================================
--- branches/Ver3.0/xpressme_integration_kit/include/add_xpress_process.php	(revision 732)
+++ branches/Ver3.0/xpressme_integration_kit/include/add_xpress_process.php	(revision 733)
@@ -121,8 +121,10 @@
 	//When notifying by a private message, Notification_reserve_send();
 	//it is evaded that the data base becomes read-only as a result of the check on the referrer and the method. 
+/*
 	$request_method =  (isset($_SERVER['REQUEST_METHOD'])) ? $_SERVER['REQUEST_METHOD'] : '';
 	$_SERVER['REQUEST_METHOD'] = 'POST';
 	require_once $xoops_config->xoops_mainfile_path; //It is necessary to execute it for the user attestation before wp-settings.php. 
 	$_SERVER['REQUEST_METHOD'] = $request_method;
+*/
 	xpress_set_memory_limmit(); // Set memory limmit.(Limmit Value from XPressMe modele config.)
 	unset($offset);		//This Trap is provides the case where $offset is defined on the XOOPS side.
@@ -205,6 +207,6 @@
 	exit();		// The return to wp-blog-header.php is stolen here
 }
-if (is_admin_post_call()) require_once $xoops_config->xoops_mainfile_path;		// for Notification_triggerEvent
-if (is_xpress_comments_post_call()) require_once $xoops_config->xoops_mainfile_path;	// for Notification_triggerEvent
+//if (is_admin_post_call()) require_once $xoops_config->xoops_mainfile_path;		// for Notification_triggerEvent
+//if (is_xpress_comments_post_call()) require_once $xoops_config->xoops_mainfile_path;	// for Notification_triggerEvent
 xpress_set_memory_limmit(); // Set memory limmit.(Limmit Value from XPressMe modele config.)
 require_once(ABSPATH.'wp-settings.php');
Index: branches/Ver3.0/xpressme_integration_kit/include/oninstall.php
===================================================================
--- branches/Ver3.0/xpressme_integration_kit/include/oninstall.php	(revision 732)
+++ branches/Ver3.0/xpressme_integration_kit/include/oninstall.php	(revision 733)
@@ -49,5 +49,4 @@
 		
 	define("WP_INSTALLING", true);
-	define('WP_FIRST_INSTALL', true); // For WPMU2.8
 	
 	$site_url= XOOPS_URL."/modules/".$mydirname;
