<?php
$cfg_disable_funs = 'phpinfo,eval,exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source,file_put_contents';
$cfg_disable_tags = 'php';
$cfg_basehost = '';
$cfg_cmspath = '';
$cfg_cookie_encode = 'C5VyDciD09TXLw9r2WbgHUtypay9P4iS';
$cfg_indexurl = '/';
$cfg_backup_dir = 'backupdata';
$cfg_indexname = '主页';
$cfg_webname = ''
$cfg_adminemail = '[email protected]';
$cfg_html_editor = 'ckeditor';
$cfg_arcdir = '/';
$cfg_medias_dir = '/uploads';
$cfg_ddimg_width = 270;
$cfg_ddimg_height =;
$cfg_domain_cookie = '';
错误显示为:Parse error: syntax error, unexpected ';' in /data/home/qxu2060530143/htdocs/data/config.cache.inc.php on line 16 。
如何解决,谢谢指点。

解决方案 »

  1.   

    $cfg_disable_funs = 'phpinfo,eval,exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source,file_put_contents';
    $cfg_disable_tags = 'php';
    $cfg_basehost = '';
    $cfg_cmspath = '';
    $cfg_cookie_encode = 'C5VyDciD09TXLw9r2WbgHUtypay9P4iS';
    $cfg_indexurl = '/';
    $cfg_backup_dir = 'backupdata';
    $cfg_indexname = '主页';
    $cfg_webname = '' <== 这里少了行结束符
    $cfg_adminemail = '[email protected]';
    $cfg_html_editor = 'ckeditor';
    $cfg_arcdir = '/';
    $cfg_medias_dir = '/uploads';
    $cfg_ddimg_width = 270;
    $cfg_ddimg_height = ;  <== 这里没有值
    $cfg_domain_cookie = '';
      

  2.   

    改成这样就可以了,10行缺少分号,16行没有内容,导致语法错误。
    <?php
    $cfg_disable_funs = 'phpinfo,eval,exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source,file_put_contents';
    $cfg_disable_tags = 'php';
    $cfg_basehost = '';
    $cfg_cmspath = '';
    $cfg_cookie_encode = 'C5VyDciD09TXLw9r2WbgHUtypay9P4iS';
    $cfg_indexurl = '/';
    $cfg_backup_dir = 'backupdata';
    $cfg_indexname = '主页';
    $cfg_webname = '';
    $cfg_adminemail = '[email protected]';
    $cfg_html_editor = 'ckeditor';
    $cfg_arcdir = '/';
    $cfg_medias_dir = '/uploads';
    $cfg_ddimg_width = 270;
    $cfg_ddimg_height = '';
    $cfg_domain_cookie = '';?>