Comments (7)
You apparently donβt have PHP error reporting enabled. PHP RBAC is a library, not an application. A library is not allowed to generate output on its own.
Notice: This message is digitally signed, its source and integrity are verifiable.
If you mail client does not support S/MIME verification, it will display a file (smime.p7s), which includes the X.509 certificate and the signature body. Read more at Certified E-Mail with Comodo and Thunderbird in AbiusX.com
On Mar 15, 2014, at 6:04 AM, udf2457 [email protected] wrote:
At the moment, your code appears to make no attempt whatsoever to catch errors... after entering database details on the first install.php screen and clicking submit, I was greeted by a white screen.
No on-screen error messages, only found out more once I'd dug through the PHP logs.
PHP message: PHP Warning: chmod(): Operation not permitted in /usr/XXXX/www/lib/PhpRbac/install
.php on line 286
PHP message: PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [14] unable to
open database file' in /usr/XXXX/www/lib/PhpRbac/src/PhpRbac/core/setup.php:51β
Reply to this email directly or view it on GitHub.
from rbac.
Actually I disagree. If you are specifically creating an install.php file which is user-interactive, you should cope with errors properly as part of that interaction !
from rbac.
ok then we shall do in the next release :D
Notice: This message is digitally signed, its source and integrity are verifiable.
If you mail client does not support S/MIME verification, it will display a file (smime.p7s), which includes the X.509 certificate and the signature body. Read more at Certified E-Mail with Comodo and Thunderbird in AbiusX.com
On Mar 15, 2014, at 2:00 PM, udf2457 [email protected] wrote:
Actually I disagree. If you are specifically creating an install.php file which is user-interactive, you should cope with errors properly as part of that interaction !
β
Reply to this email directly or view it on GitHub.
from rbac.
I'll be sure to work on that, thanks for the feedback :-)
from rbac.
Well, you know, someone has to keep an eye on you crazy coders. ;-)
from rbac.
;-)
from rbac.
@udf2457: Can you please put this line of code on the top of the 'install.php' file:
<?php error_reporting(-1); ?>
This will turn error reporting up to it's highest level. Please report the errors you are receiving.
Thank you.
from rbac.
Related Issues (20)
- The result of Rbac->Users->hasRole() is incorrect. HOT 1
- How Can I generate Graph Hierarchy? HOT 1
- How to add Rule (such as Author Rule) to an permission HOT 8
- How to move a {Entity} to other parent? HOT 4
- a role can have multiple children but only one direct parent HOT 2
- roles->remove() recursive not clean the relationship with Permission and User with its descendants
- Roles->permissions() & Permissions->roles() only return its directly related permissions and roles HOT 2
- Children() method run slowly HOT 15
- check the existence of a path HOT 6
- PhpRbac.net is down HOT 1
- Retrieve list of roles and permissions stored HOT 2
- Support PHP-Casbin as the authorization backend to provide ACL, RBAC, ABAC at the same time HOT 2
- php_rbac library HOT 1
- How does it work? HOT 13
- SQL server HOT 3
- PhpRbac.net is down. HOT 1
- Library Viability HOT 1
- Edit Roles and Permissions Depth? HOT 1
- Can't find table or something like that? HOT 3
- Roles->children is giving blank array HOT 7
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 rbac.