EduSoho网络教学软件 加入小组

537个成员 301个话题 创建时间:2013-09-17

求助~按照要求顺利安装成功~但是首页打不开,报404错误

发表于 2013-11-20 5288 次查看

如上图所示成功安装,但是最后却打不开系统。求助

地址app.php前加web/与不加都是报404错误

12回复
  • 2楼 w452187971 2013-11-20

    web文件夹下的111.html却能够正常访问

     

  • 3楼 w452187971 2013-11-20

    好的我试试

  • 4楼 w452187971 2013-11-20

    server {
    listen 80;
    server_name edu.51testing.com;
    root /home/wwwroot/edu.51testing.com/web;
    access_log /usr/local/nginx/logs/edusoho.com.access.log;
    error_log /usr/local/nginx/logs/edusoho.com.error.log;

    location / {
    index app.php;
    try_files $uri @rewriteapp;
    }
    location @rewriteapp {
    rewrite ^(.*)$ /app.php/$1 last;
    }
    location ~ ^/udisk {
    internal;
    root /home/wwwroot/edusoho/app/data/;
    }
    location ~ ^/(app|app_dev)\.php(/|$) {
    fastcgi_pass unix:/tmp/php-cgi.sock;
    fastcgi_split_path_info ^(.+\.php)(/.*)$;
    include fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    fastcgi_param HTTPS off;
    fastcgi_param HTTP_X-Sendfile-Type X-Accel-Redirect;
    fastcgi_param HTTP_X-Accel-Mapping /udisk=/home/wwwroot/edu.51testing.com/app/data/udisk;
    fastcgi_buffer_size 128k;
    fastcgi_buffers 8 128k;
    }
    location ~* \.(jpg|jpeg|gif|png|ico|swf)$ {
    expires 3y;
    access_log off;
    gzip off;
    }
    location ~* \.(css|js)$ {
    access_log off;
    expires 3y;
    }
    location ~ ^/files/.*\.(php|php5)$ {
    deny all;
    }
    location ~ \.php$ {
    fastcgi_pass unix:/tmp/php-cgi.sock;
    fastcgi_split_path_info ^(.+\.php)(/.*)$;
    include fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    fastcgi_param HTTPS off;
    }
    }

  • 5楼 w452187971 2013-11-20

    还是不行呢~帮我看看我这个配置有问题么

  • 6楼 w452187971 2013-11-20

    2013/11/20 14:43:47 [error] 3106#0: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'InvalidArgumentException' with message '[ERROR 3070] complex type 'service': The content model is not determinist. (in file:////home/wwwroot/edu.51testing.com/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.xsd - line 75, column 0)
    [ERROR 3070] complex type 'argument': The content model is not determinist. (in file:////home/wwwroot/edu.51testing.com/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.xsd - line 133, column 0)
    [ERROR 3070] complex type 'call': The content model is not determinist. (in file:////home/wwwroot/edu.51testing.com/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.xsd - line 146, column 0)' in /home/wwwroot/edu.51testing.com/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php:90
    Stack trace:
    #0 /home/wwwroot/edu.51testing.com/vendor/symfony/symfony/sr" while reading response header from upstream, client: 180.168.57.62, server: edu.51testing.com, request: "GET /app.php/ HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi.sock:", host: "edu.51testing.com"
    2013/11/20 14:43:50 [error] 3106#0: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'InvalidArgumentException' with message '[ERROR 3070] complex type 'service': The content model is not determinist. (in file:////home/wwwroot/edu.51testing.com/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.xsd - line 75, column 0)
    [ERROR 3070] complex type 'argument': The content model is not determinist. (in file:////home/wwwroot/edu.51testing.com/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.xsd - line 133, column 0)
    [ERROR 3070] complex type 'call': The content model is not determinist. (in file:////home/wwwroot/edu.51testing.com/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/schema/dic/services/services-1.0.xsd - line 146, column 0)' in /home/wwwroot/edu.51testing.com/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php:90
    Stack trace:

  • 7楼 w452187971 2013-11-20

    这个错误需要怎么修改呢~

发表回复
功能维护升级中,维护完成完后将再次开放,非常抱歉给您学习造成的不便。