本主题共有 7 条回复 | 回到顶部  
#1 - 2007-10-5 18:19 
 Sai
桂林
 Sai
桂林
  
			直接访问
论坛路径/now/用户名/stats/xml
和
论坛路径/now/用户名/stats/xml/set
看看显示的是什么(查看源文件)
论坛路径/now/用户名/stats/xml
和
论坛路径/now/用户名/stats/xml/set
看看显示的是什么(查看源文件)
#2 - 2007-10-5 19:11 
 cyong
地球
 cyong
地球
  
			我是根据你的.htaccess 做了个反转换,now_stats.htm中的这三行代码                        so.addVariable("path", "$bbsdir/images/now/");
so.addVariable("settings_file",escape("$bbsdir/now/$author_encode/stats/xml/set"));
so.addVariable("data_file", escape("$bbsdir/now/$author_encode/stats/xml"));
改成了:
so.addVariable("path", "images/now/");
so.addVariable("settings_file", escape("now_api.php?action=stats_xml&type=setting&author=$author_encode"));
so.addVariable("data_file", escape("now_api.php?action=stats_xml&type=data&author=$author_encode"));
这三行改得有问题吗?插件程序其他部分修改后运行都正常.谢谢.
so.addVariable("settings_file",escape("$bbsdir/now/$author_encode/stats/xml/set"));
so.addVariable("data_file", escape("$bbsdir/now/$author_encode/stats/xml"));
改成了:
so.addVariable("path", "images/now/");
so.addVariable("settings_file", escape("now_api.php?action=stats_xml&type=setting&author=$author_encode"));
so.addVariable("data_file", escape("now_api.php?action=stats_xml&type=data&author=$author_encode"));
这三行改得有问题吗?插件程序其他部分修改后运行都正常.谢谢.
#5 - 2007-10-5 21:39 
 Sai
桂林
 Sai
桂林
  
			到模板目录中看看now_stats_xml.htm,now_stats_xml_setting.htm是不是utf-8编码
在now_api.php <?php后加入
error_reporting(E_ALL);
看看有没有报错
在now_api.php <?php后加入
error_reporting(E_ALL);
看看有没有报错

 
  
  
  
  
 

 

 在回复之前你需要先进行登录
  在回复之前你需要先进行登录