Giter Site home page Giter Site logo

yaf's People

Contributors

remxcode avatar yantze avatar yutian88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yaf's Issues

请问下,您上传的这份代码是否有问题

请问下,您上传的这份代码是否有问题?
为什么没有module目录,并且看您也定义了两个module(index, admin).
我把环境搭好后,所有页面使用默认路由方式都最后到了indexController的indexAction了,不知道是为什么?
访问 domain.com/item/test,打印出$dispatcher, 部分结果如下:
object(Yaf_Router)[5]
protected '_routes' =>
array
'_default' =>
object(Yaf_Route_Static)[6]
...
'supervar' =>
object(Yaf_Route_Supervar)[10]
...
'simple' =>
object(Yaf_Route_Simple)[11]
...
protected '_current' => null
protected '_view' => null
protected '_request' =>
object(Yaf_Request_Http)[3]
public 'module' => null
public 'controller' => null
public 'action' => null
public 'method' => string 'GET' (length=3)
protected 'params' =>
array
empty
protected 'language' => null
protected '_exception' => null
protected '_base_uri' => string '/index.php' (length=10)
protected 'uri' => string '/index.php' (length=10)
protected 'dispatched' => boolean false
protected 'routed' => boolean false

Warning: Yaf_Loader::autoload():

Warning: Yaf_Loader::autoload(): Failed opening script /var/www/code/yaf/public/..//application/library/memcached.php: No such file or directory in /var/www/code/yaf/application/Bootstrap.php on line 64

Fatal error: Class 'memcached' not found in /var/www/code/yaf/application/Bootstrap.php on line 64????

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.