flyon 发表于 2008-12-8 11:07:16

采集发布时错误,代码文件如下,应该如何解决?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>Phpcms2008 提示信息</title>
<link href="admin/skin/system.css" rel="stylesheet" type="text/css">
<script language="javascript" src="data/config.js"></script>
<script language="javascript" src="images/js/jquery.min.js"></script>
<script language="javascript" src="images/js/common.js"></script>
</head>
<body style="margin-top:20px">
<table cellpadding="0" cellspacing="0" class="table_info" style="width:400px">
<caption>
提示信息
</caption>
<tr>
    <td height="60" valign="middle" class="align_c">你所在的用户组没有发表权限</td>
</tr>
<tr>
    <td height="20" valign="middle" class="align_c">      <a href="javascript:history.go(-1);" >[ 点这里返回上一页 ]</a>
          </td>
</tr>
</table>
<div class="align_c">Processed in
0.068565second(s),
3queries
    , Gzip enabled
</div>
</body>
</html>

罗那 发表于 2008-12-8 12:41:14

还是格式不符,汗

tuliaoren 发表于 2008-12-15 00:15:06

谢谢啦。 :lol :lol

goo123456 发表于 2008-12-16 21:38:40

谢谢楼主~~~~~~~~~~~~~~~

rq204 发表于 2008-12-19 16:04:58

51# flyon

接口问题,已处理

heartweb 发表于 2008-12-21 21:34:59

总是出现格式不符,郁闷!
http://bbs.locoy.com/viewthread.php?tid=33450&extra=

gerger 发表于 2008-12-25 19:22:46

测试能发布成功WEB发布不成功啊 ```急

xjxhf 发表于 2008-12-26 01:36:09

我遇到的问题是:加载栏目列表,提示格式不符。

tool 发表于 2008-12-26 19:40:05

刷新列表出错!格代不符

admin那个文件已经修改了

tool 发表于 2008-12-26 21:51:34

一直不明白``没有字的算不算一行


<?php
define('IN_ADMIN', TRUE);
require dirname(__FILE__).'/include/admin/global.func.php';
require dirname(__FILE__).'/include/common.inc.php';
require 'log.class.php';
require 'form.class.php';
require 'priv_role.class.php';
require_once 'cache.func.php';
require_once 'version.inc.php';
require PHPCMS_ROOT.'languages/'.LANG.'/phpcms_admin.lang.php';

if(!isset($file)) $file = 'index';
preg_match("/^+$/", $file) or showmessage('Invalid Request.');
$action = isset($action) ? $action : '';
$catid = isset($catid) ? intval($catid) : 0;
$specialid = isset($specialid) ? intval($specialid) : 0;
if(!isset($forward) && str_exists(HTTP_REFERER, '?')) $forward = HTTP_REFERER;

session_start();

if($_userid && $_groupid == 1 && $_SESSION['is_admin'] == 1)
{
        $ROLE = cache_read('role.php');
        $GROUP = cache_read('member_group.php');
        $POS = cache_read('position.php');
        $STATUS = cache_read('status.php');
        $_roleid = cache_read('admin_role_'.$_userid.'.php');
        if(!$_roleid) showmessage('您没有任何角色权限!');
        $priv_role = new priv_role();
        if(!$priv_role->module()) showmessage('您没有操作权限!');
}
elseif($file != 'login')
{
        showmessage('请登录!', '?mod=phpcms&file=login&forward='.urlencode(URL),1,1);
}

$log = new log();
if(ADMIN_LOG && $file != 'database' && !in_array($action, array('get_menu_list', 'menu_pos')))
{
        $log->set('admin', 0);
        $log->add();
}
if($mod != 'phpcms' && !@include PHPCMS_ROOT.$M['path'].'admin/admin.inc.php') showmessage('The file ./'.$M['path'].'admin.inc.php is not exists!');
if(!@include PHPCMS_ROOT.(isset($M['path']) ? $M['path'] : '').'admin/'.$file.'.inc.php') showmessage("The file ./{$M['path']}admin/{$file}.inc.php is not exists!");
?>
页: 1 2 3 4 5 [6] 7 8 9 10
查看完整版本: phpcms2008火车采集解决方案