ParseError
syntax error, unexpected ',', expecting end of file ParseError thrown with message "syntax error, unexpected ',', expecting end of file" Stacktrace: #5 ParseError in /www/zhongshiminan/data/project/zhongshiminan.php:61 #4 Dever\Loader\Project:content in /share/lib/php/dever/vendor/dever-main/framework/src/Dever/Loader/Project.php:61 #3 Dever\Loader\Project:register in /share/lib/php/dever/boot.php:96 #2 include in /www/zhongshiminan/boot.php:8 #1 include in /www/zhongshiminan/main/index.php:8 #0 include in /www/zhongshiminan/index.php:2
Stack frames (6):
5 ParseError
/­www/­zhongshiminan/­data/­project/­zhongshiminan.php61
4 Dever\Loader\Project content
…/­vendor/­dever-main/­framework/­src/­Dever/­Loader/­Project.php61
3 Dever\Loader\Project register
…/­boot.php96
2 include
/­www/­zhongshiminan/­boot.php8
1 include
/­www/­zhongshiminan/­main/­index.php8
0 include
/­www/­zhongshiminan/­index.php2
/www/zhongshiminan/data/project/zhongshiminan.php
  array (
    'name' => 'content',
    'path' => '/www/zhongshiminan/app/content/',
    'url' => 'https://8.219.72.69/app/content/',
    'lang' => '内容管理',
    'order' => 200,
    'icon' => 'glyphicon glyphicon-tower layui-icon-tabs',
    'entry' => 'index.php',
  ),
);,
);
/share/lib/php/dever/vendor/dever-main/framework/src/Dever/Loader/Project.php
    }
 
    /**
     * register
     *
     * @return string
     */
    public static function register()
    {
        $file = self::content();
 
        if (empty(self::$content[DEVER_APP_NAME])) {
            self::initFile($file);
        } elseif (isset(self::$content[DEVER_APP_NAME])) {
            self::updateFile();
        }
    }
 
    /**
     * updateFile
/share/lib/php/dever/boot.php
	*/
	if (Dever\Loader\Config::get('debug')->error) {
		Dever\Output\Debug::report();
	}
	/*
	|--------------------------------------------------------------------------
	| project register
	|--------------------------------------------------------------------------
	*/
	Dever\Loader\Project::register();
	/*
	|--------------------------------------------------------------------------
	| route
	|--------------------------------------------------------------------------
	*/
	$route = new Dever\Routing\Route;
	/*
	|--------------------------------------------------------------------------
	| route run and out
	|--------------------------------------------------------------------------
/www/zhongshiminan/boot.php
<?php
$_SERVER['DEVER_SERVER'] = 'localhost';
define('DEVER_PROJECT', 'zhongshiminan');
define('DEVER_PROJECT_PATH', dirname(__FILE__) . DIRECTORY_SEPARATOR);
if (defined('DEVER_PACKAGE')) {
	include('dever_package/'.DEVER_PACKAGE.'/index.php');
} else {
	include('dever/boot.php');
}
/www/zhongshiminan/main/index.php
<?php

define('DEVER_APP_NAME', 'main');
define('DEVER_APP_LANG', '基础设置');
define('DEVER_APP_PATH', dirname(__FILE__) . DIRECTORY_SEPARATOR);
define('DEVER_MANAGE_ORDER', 98);
define('DEVER_MANAGE_ICON', 'glyphicon glyphicon-tower layui-icon-component');
include(DEVER_APP_PATH . '../boot.php');
/www/zhongshiminan/index.php
<?php
include('main/index.php');
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
USER nobody
HOME /
HTTP_HOST zhongshiminanholdings.com
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
DEVER_SERVER localhost
REDIRECT_STATUS 200
SERVER_NAME www.zhongshiminanholdings.com
SERVER_PORT 443
SERVER_ADDR 172.27.17.59
REMOTE_PORT 1200
REMOTE_ADDR 3.14.8.164
SERVER_SOFTWARE nginx/1.13.6
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/zhongshiminan
DOCUMENT_URI /index.php
REQUEST_URI /
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /www/zhongshiminan//index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1743595110.9573
REQUEST_TIME 1743595110
empty
0. Whoops\Handler\PrettyPageHandler