Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zphp的几个问题! #25

Open
wanminny opened this issue Jun 7, 2016 · 2 comments
Open

zphp的几个问题! #25

wanminny opened this issue Jun 7, 2016 · 2 comments

Comments

@wanminny
Copy link

wanminny commented Jun 7, 2016

Warning: require(): Permission denied in /git/zphp/ZPHP/View/Adapter/String.php on line 15

Fatal error: Cannot use 'String' as class name as it is reserved in /git/zphp/ZPHP/View/Adapter/String.php on line 15
string(24) "ZPHP\View\Adapter\String"
Warning: Unknown: Permission denied in Unknown on line 0

Fatal error: Uncaught Exception: no class ZPHP\View\Adapter\String in /git/zphp/ZPHP/Core/Factory.php:23 Stack trace: #0 /git/zphp/ZPHP/View/Factory.php(20): ZPHP\Core\Factory::getInstance('ZPHP\\View\\Adapt...') #1 /git/zphp/ZPHP/Protocol/Response.php(44): ZPHP\View\Factory::getInstance('String') #2 /git/zphp/ZPHP/ZPHP.php(117): ZPHP\Protocol\Response::display(Array) #3 [internal function]: ZPHP\ZPHP::fatalHandler() #4 {main} thrown in /git/zphp/ZPHP/Core/Factory.php on line 23

Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
  1. views中有Fatal error: Cannot use 'String' as class name as it is reserved in /git/zphp/ZPHP/View/Adapter/String.php on line 15

2.zphp中require目录有直接权限不允许;我已经设置ZPHP chmod -R 777

3.PHP7 ; MAC OSX

@wanminny
Copy link
Author

wanminny commented Jun 7, 2016

系统中有保留关键字的类String;

@wanminny
Copy link
Author

wanminny commented Jun 7, 2016

使用的是你的zphpdemo中的demo目录;

嗯,现在有个Str的类做了兼容。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant