Comments (7)
to fix this problem you need execute this sql query:
INSERT INTO permissions ('id', 'name', 'created_at', 'updated_at') VALUES (1, 'admin', NULL, NULL), (2, 'view_page', NULL, NULL), (3, 'add_page', NULL, NULL), (4, 'delete_page', NULL, NULL), (5, 'add_comment', NULL, NULL), (6, 'delete_comment', NULL, NULL);
from opus.
@daniellivingston You don't need php for that. Just open phpmyadmin and then click on SQL tab (you can see this button on image from first post in this thread) and then copy my sql to phpmyadmin and execute it :-)
from opus.
Any updates on this? This yields the application totally unusable.
from opus.
@devmanx how do I execute this query? Sorry, I have no PHP experience at all.
from opus.
Hello!
My apologizes as i'm not a powerfull db user: i encounter this error:
MariaDB [opus]> INSERT INTO permissions ('id', 'name', 'created_at', 'updated_at') VALUES (1, 'admin', NULL, NULL), (2, 'view_page', NULL, NULL), (3, 'add_page', NULL, NULL), (4, 'delete_page', NULL, NULL), (5, 'add_comment', NULL, NULL), (6, 'delete_comment', NULL, NULL);
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''id', 'name', 'created_at', 'updated_at') VALUES (1, 'admin', NULL, NULL), (2...' at line 1
Looks like there's a synthax error but i'm not used enough to find what and where :-/
Does any of you know what's hapening?
from opus.
Hello!
My apologizes as i'm not a powerfull db user: i encounter this error:
MariaDB [opus]> INSERT INTO permissions ('id', 'name', 'created_at', 'updated_at') VALUES (1, 'admin', NULL, NULL), (2, 'view_page', NULL, NULL), (3, 'add_page', NULL, NULL), (4, 'delete_page', NULL, NULL), (5, 'add_comment', NULL, NULL), (6, 'delete_comment', NULL, NULL);
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''id', 'name', 'created_at', 'updated_at') VALUES (1, 'admin', NULL, NULL), (2...' at line 1
Looks like there's a synthax error but i'm not used enough to find what and where :-/
Does any of you know what's hapening?
Try this:
INSERT INTO permissions (id,name,created_at,updated_at) VALUES (1, 'admin', NULL, NULL), (2, 'view_page', NULL, NULL), (3, 'add_page', NULL, NULL), (4, 'delete_page', NULL, NULL), (5, 'add_comment', NULL, NULL), (6, 'delete_comment', NULL, NULL);
The Synthax error is with the ' of the column names.
from opus.
Thanks for your answer!
Sadly i have no time atm to try but will do for sure.
from opus.
Related Issues (20)
- Logo Enhancement
- Error in edit wiki
- Searching in the body wiki or page HOT 1
- Wiki feedback
- Failed opening required '/var/www/bootstrap/../vendor/autoload.php' HOT 4
- docker-compose file missing HOT 1
- (1/1) UnexpectedValueExceptionThe stream or file "/var/www/storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied HOT 1
- Add images to wiki?
- docker-compose -up error step HOT 1
- Whoops, looks like somethings went wrong
- Getting 401 Unauthorized from api/team/members without any other errors HOT 1
- Composer Problem
- Fork under MIT License
- Whoops, looks like something went wrong. HOT 1
- Is this project still maintained? HOT 1
- Any chance to upgrade to Laravel 6? HOT 1
- Docker Instructions
- Translation for persian language farsi HOT 2
- Password for the admin User for the Opus URL
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 opus.