Giter VIP home page Giter VIP logo

litpi-framework's People

Contributors

voduytuan avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

litpi-framework's Issues

Báo lỗi về autoload

Tôi đang dùng ubuntu (php 5.3.2), đã làm theo tất cả những hướng dẫn cài framework vẫn k thể nào truy cập dc vào /install, báo lỗi 404. Chuyển qua / thì báo lỗi Fatal error: Class '\controller\site\index' not found in /home/ichuot/www/test1/litpi-2/Vendor/Litpi/Router.php on line 51 (tôi đã chính RewriteBase phù hợp với cấu trúc thư mục hiện tại).

Tôi có thử debug file autoload.php bằng cách echo $filepath ở dòng 26 của autoload.php và phát hiện nó không include đúng cấu trúc thư mục của framework (phân biệt hoa-thường trên linux, có thể trên win sẽ k bị báo lỗi). Tôi có thử ucfirst($namepart[$i]) dòng 15 và có thể truy cập dc vào /install và cài thành công nhưng không vào / và /admin được vì như thế sẽ lỗi autoload những libs khác.

hình minh họa: https://www.dropbox.com/s/z9lefegftd0cle7/Selection_001.png

Mong sớm khác phục lỗi.

Issue in the installing operation

Hi, Mr. Tuan!

I faced this error in installing operation. I have configured config.php and db.php files same as instruction, but I couldn't run install URL.

This was shown on screen:

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]:
Base table or view not found: 1146 Table 'litpi.lit_ac_user' doesn't exist' in ..\www\litpi\src\Vendor\Litpi\MyPdo.php:32 Stack trace:
#0 ..\www\litpi\src\Vendor\Litpi\MyPdo.php(32): PDOStatement->execute(Array)
#1 ..\www\litpi\src\Vendor\Litpi\MyPdoProxy.php(208): Vendor\Litpi\MyPdo->query('SELECT * FROM l...', Array)
#2 ..\www\litpi\src\Model\User.php(732): Vendor\Litpi\MyPdoProxy->query('SELECT * FROM l...', Array)
#3 ..\www\litpi\src\Model\User.php(136): Model\User->getData('1')
#4 ..\www\litpi\src\includes\startup.php(89): Model\User->updateFromSession()
#5 ..\www\litpi\src\index.php(13): require('...')
#6 {main} thrown in ..\www\litpi\src\Vendor\Litpi\MyPdo.php on line 32

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.