Comments (7)
It's SQlite issue, probably incorrect permissions for your webserver user to the database file, it must have +r access.
from zendskeletonapplication.
@jobsfan better place to ask for help is https://zendframework.slack.com and https://discourse.zendframework.com/ I do not know what zf bbs even is XD.
P.S. When you do, show whats in "response" tab.
from zendskeletonapplication.
@alextech Thank you for these websites. I will try to ask questions there.
@sunduck I will follow your advise. 💯
from zendskeletonapplication.
@sunduck
I cd to the folder of the location of zftutorial.db, and run chmod +r zftutorial.db, however, still raise the SQLSTATE[HY000]: General error: 14 unable to open database file message.
from zendskeletonapplication.
The issue with permissions is generally because the file is owned by a different user, not just because of the flags. In your case, you might want to chown
the file. If you run the PHP process from your own user:
chown $(whoami) zftutorial.db
Closing here, as this is not an issue with the project itself - feel free to keep asking questions though.
from zendskeletonapplication.
@Ocramius I followed your advise, and run:
chown -R www-data:www-data zftutorial.db
However, nothing different.
===================================================
I run php -m
and got:
I view the php page with phpinfo();
in it and got:
Any other idea?
from zendskeletonapplication.
@jobsfan
The folder where the database file is included must also be writable.
For the future please the forum or slack if you have question or problems. This is only a bug / issue tracker. Thanks!
from zendskeletonapplication.
Related Issues (20)
- Zend Version HOT 5
- How to prevent auto clearing cache? HOT 7
- getting error with new while enable cache HOT 1
- can not set controller as parameter in module.config.php in zf3 HOT 4
- I followed the tutorial and added a new album module besides application module, however 500 error HOT 6
- a question about zf3 tutorial album perform in zend studio 13.6.1 IDE HOT 8
- Zend\I18n does not get injected in modules.config.php HOT 1
- support zend-stratigility 3? HOT 1
- do you use plugin in zf2 and use middleware in zf3 when inject auth logic acl over module in one place? HOT 3
- is there a place to learn how to config at application level or module level? HOT 2
- Cannot launch Controller Tests HOT 2
- Faulty link on homepage HOT 2
- Zend\Form\Form::bindValues(array $values = Array) must be compatible with Zend\Form\Fieldset::bindValues(array $values = Array, ?array $validationGroup = NULL) HOT 4
- ZF issue tracker broken link HOT 2
- Application module, IndexControllerTest is not working HOT 1
- Many prompts missing since the very first install HOT 1
- Compatibility issues with php 7.3? HOT 13
- composer scripts is not compatible with windows HOT 5
- Could an .editorconfig file be added to this? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zendskeletonapplication.