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

DB setup: cannot find resource matching "doctrine" #1

Open
markkimsal opened this issue May 21, 2012 · 1 comment
Open

DB setup: cannot find resource matching "doctrine" #1

markkimsal opened this issue May 21, 2012 · 1 comment

Comments

@markkimsal
Copy link
Collaborator

Hitting the site immediately after a git clone I get the error:

Fatal error: Uncaught [HY000] - SQLSTATE[HY000]: General error: 8 attempt to write a readonly database thrown in /home/mark/public_html/zfkit/library/R.php on line 637

When I cd to scripts and try to run ./run to have doctrine recreate the database i get the error:

~/public_html/zfkit/scripts $ ./run
PHP Fatal error: Uncaught exception 'Zend_Application_Bootstrap_Exception' with message 'Resource matching "doctrine" not found' in /home/mark/public_html/zfkit/library/Zend/Application/Bootstrap/BootstrapAbstract.php:691
Stack trace:
#0 /home/mark/public_html/zfkit/library/Zend/Application/Bootstrap/BootstrapAbstract.php(626): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('doctrine')
#1 /home/mark/public_html/zfkit/library/Zend/Application/Bootstrap/BootstrapAbstract.php(583): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap('doctrine')
#2 /home/mark/public_html/zfkit/scripts/doctrine(5): Zend_Application_Bootstrap_BootstrapAbstract->bootstrap('doctrine')
#3 {main}

thrown in /home/mark/public_html/zfkit/library/Zend/Application/Bootstrap/BootstrapAbstract.php on line 691

Fatal error: Uncaught exception 'Zend_Application_Bootstrap_Exception' with message 'Resource matching "doctrine" not found' in /home/mark/public_html/zfkit/library/Zend/Application/Bootstrap/BootstrapAbstract.php:691
Stack trace:
#0 /home/mark/public_html/zfkit/library/Zend/Application/Bootstrap/BootstrapAbstract.php(626): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('doctrine')
#1 /home/mark/public_html/zfkit/library/Zend/Application/Bootstrap/BootstrapAbstract.php(583): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap('doctrine')
#2 /home/mark/public_html/zfkit/scripts/doctrine(5): Zend_Application_Bootstrap_BootstrapAbstract->bootstrap('doctrine')
#3 {main}

thrown in /home/mark/public_html/zfkit/library/Zend/Application/Bootstrap/BootstrapAbstract.php on line 691

@mgkimsal
Copy link
Owner

Good catch - the doctrine stuff has gone away in favor of redbean. The docs need to be updated and those scripts removed.

The 'write only' db - cd in to application/ and chmod 777 dev.db

mgkimsal added a commit that referenced this issue May 21, 2012
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

2 participants