Exception message: fopen(./tmp/1\42886aaf72dd8): failed to open stream: Permission deniedError code: 2-- Backtrace --d:\appserv\www\plog\class\template\smarty\core\core.write_file.php(30): fopend:\appserv\www\plog\class\template\smarty\core\core.write_cache_file.php(66): smarty_core_write_filed:\appserv\www\plog\class\template\smarty\Smarty.class.php(1297): smarty_core_write_cache_filed:\appserv\www\plog\class\template\cachedtemplate.class.php(48): smarty.fetchd:\appserv\www\plog\class\view\smartyview.class.php(190): cachedtemplate.fetchd:\appserv\www\plog\class\view\blogview.class.php(212): smartyview.renderd:\appserv\www\plog\class\view\defaultview.class.php(82): blogview.renderd:\appserv\www\plog\class\controller\controller.class.php(325): defaultview.renderd:\appserv\www\plog\index.php(41): blogcontroller.processException message: Smarty error: problem writing temporary file './tmp/1\42886aaf72dd8'Error code: 512-- Backtrace --d:\appserv\www\plog\class\template\smarty\Smarty.class.php(1108): trigger_errord:\appserv\www\plog\class\template\smarty\core\core.write_file.php(31): cachedtemplate.trigger_errord:\appserv\www\plog\class\template\smarty\core\core.write_cache_file.php(66): smarty_core_write_filed:\appserv\www\plog\class\template\smarty\Smarty.class.php(1297): smarty_core_write_cache_filed:\appserv\www\plog\class\template\cachedtemplate.class.php(48): smarty.fetchd:\appserv\www\plog\class\view\smartyview.class.php(190): cachedtemplate.fetchd:\appserv\www\plog\class\view\blogview.class.php(212): smartyview.renderd:\appserv\www\plog\class\view\defaultview.class.php(82): blogview.renderd:\appserv\www\plog\class\controller\controller.class.php(325): defaultview.renderd:\appserv\www\plog\index.php(41): blogcontroller.processException message: fopen(./tmp/1\42886aaf71cbd): failed to open stream: Permission deniedError code: 2-- Backtrace --d:\appserv\www\plog\class\template\smarty\core\core.write_file.php(30): fopend:\appserv\www\plog\class\template\smarty\core\core.write_compiled_resource.php(30): smarty_core_write_filed:\appserv\www\plog\class\template\smarty\Smarty.class.php(1450): smarty_core_write_compiled_resourced:\appserv\www\plog\class\template\smarty\Smarty.class.php(1279): cachedtemplate._compile_resourced:\appserv\www\plog\class\template\cachedtemplate.class.php(48): smarty.fetchd:\appserv\www\plog\class\view\smartyview.class.php(190): cachedtemplate.fetchd:\appserv\www\plog\class\view\blogview.class.php(212): smartyview.renderd:\appserv\www\plog\class\view\defaultview.class.php(82): blogview.renderd:\appserv\www\plog\class\controller\controller.class.php(325): defaultview.renderd:\appserv\www\plog\index.php(41): blogcontroller.processException message: Smarty error: problem writing temporary file './tmp/1\42886aaf71cbd'Error code: 512-- Backtrace --d:\appserv\www\plog\class\template\smarty\Smarty.class.php(1108): trigger_errord:\appserv\www\plog\class\template\smarty\core\core.write_file.php(31): cachedtemplate.trigger_errord:\appserv\www\plog\class\template\smarty\core\core.write_compiled_resource.php(30): smarty_core_write_filed:\appserv\www\plog\class\template\smarty\Smarty.class.php(1450): smarty_core_write_compiled_resourced:\appserv\www\plog\class\template\smarty\Smarty.class.php(1279): cachedtemplate._compile_resourced:\appserv\www\plog\class\template\cachedtemplate.class.php(48): smarty.fetchd:\appserv\www\plog\class\view\smartyview.class.php(190): cachedtemplate.fetchd:\appserv\www\plog\class\view\blogview.class.php(212): smartyview.renderd:\appserv\www\plog\class\view\defaultview.class.php(82): blogview.renderd:\appserv\www\plog\class\controller\controller.class.php(325): defaultview.renderd:\appserv\www\plog\index.php(41): blogcontroller.processException message: fetch(./tmp/1\%%108^%%1080801351^main.template.php): failed to open stream: Permission deniedError code: 2-- Backtrace --d:\appserv\www\plog\class\template\smarty\Smarty.class.php(1281): fetchd:\appserv\www\plog\class\template\cachedtemplate.class.php(48): smarty.fetchd:\appserv\www\plog\class\view\smartyview.class.php(190): cachedtemplate.fetchd:\appserv\www\plog\class\view\blogview.class.php(212): smartyview.renderd:\appserv\www\plog\class\view\defaultview.class.php(82): blogview.renderd:\appserv\www\plog\class\controller\controller.class.php(325): defaultview.renderd:\appserv\www\plog\index.php(41): blogcontroller.processException message: fetch(./tmp/1\%%108^%%1080801351^main.template.php): failed to open stream: Permission deniedError code: 2-- Backtrace --d:\appserv\www\plog\class\template\smarty\Smarty.class.php(1281): fetchd:\appserv\www\plog\class\template\cachedtemplate.class.php(48): smarty.fetchd:\appserv\www\plog\class\view\smartyview.class.php(190): cachedtemplate.fetchd:\appserv\www\plog\class\view\blogview.class.php(212): smartyview.renderd:\appserv\www\plog\class\view\defaultview.class.php(82): blogview.renderd:\appserv\www\plog\class\controller\controller.class.php(325): defaultview.renderd:\appserv\www\plog\index.php(41): blogcontroller.processException message: fetch(): Failed opening './tmp/1\%%108^%%1080801351^main.template.php' for inclusion (include_path='.;c:\php4\pear')Error code: 2-- Backtrace --d:\appserv\www\plog\class\template\smarty\Smarty.class.php(1281): fetchd:\appserv\www\plog\class\template\cachedtemplate.class.php(48): smarty.fetchd:\appserv\www\plog\class\view\smartyview.class.php(190): cachedtemplate.fetchd:\appserv\www\plog\class\view\blogview.class.php(212): smartyview.renderd:\appserv\www\plog\class\view\defaultview.class.php(82): blogview.renderd:\appserv\www\plog\class\controller\controller.class.php(325): defaultview.renderd:\appserv\www\plog\index.php(41): blogcontroller.process
package test;import java.util.StringTokenizer;import java.util.Vector;import java.util.Hashtable;import org.apache.xmlrpc.*;public class JavaClient { private final static String server_url = "http://127.0.0.1/plog/xmlrpc.php"; private static String Appkey = ""; static final String Username = "cute0185"; static final String Password = "aa0654"; static final String Blogid = "1"; static final Hashtable Content = new Hashtable(); static final boolean Publish = true; public static void main (String [] args) { try { // Create an object to represent our server. represent=表示;代表 XmlRpcClient server = new XmlRpcClient(server_url); // Build our parameter list. Vector params = new Vector(); //params.addElement(Appkey); Content.put("title","Title3"); Content.put("description","Pamela is cute!!"); Content.put("categories","ha ha"); System.out.println(Content.toString()); params.addElement(Blogid); params.addElement(Username); params.addElement(Password); Vector categories = new Vector(); String category = null; if (category != null) { StringTokenizer tok = new StringTokenizer(category, ","); while (tok.hasMoreTokens()) { categories.add(tok.nextToken().trim()); } } Content.put("categories", categories); params.addElement(Content); params.addElement(Boolean.TRUE); // Call the server, and get our result. Hashtable result = (Hashtable) server.execute("metaWeblog.newPost",params); System.out.println(result); } catch (XmlRpcException exception) { System.err.println("JavaClient: XML-RPC Fault #" + Integer.toString(exception.code) + ": " + exception.toString()); } catch (Exception exception) { System.err.println("JavaClient: " + exception.toString()); } }}