Comments (3)
i comment the line 61, run php artisan db:seed, error:
[Illuminate\Database\QueryException]
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'api_url' for key 'PRIMARY' (SQL: insert into `config` (`key`, `value`) values (api_url, http://flarum.dev/api), (base_url, http://flarum.dev), (forum_
title, Flarum Demo Forum), (welcome_message, Flarum is now at a point where you can have basic conversations, so here is a little demo for you to break.), (welcome_title, Welcome to Flarum Demo Forum))
[PDOException]
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'api_url' for key 'PRIMARY'
But the datas has been seeded, and the falrum can run success.:)!,
There are another some issues about config/app.php, must comment these lines:
'Flarum\Core\CoreServiceProvider',
// 'Flarum\Support\Extensions\ExtensionsServiceProvider',
//'Flarum\Api\ApiServiceProvider',
//'Flarum\Forum\ForumServiceProvider',
'Flarum\Console\ConsoleServiceProvider',
//'Flarum\Admin\AdminServiceProvider',
then run
php artisan vendor:publish
php artisan flarum:install
php artisan flarum:seed
can setup the flarum success..
from framework.
This should be fixed now.
This one time, please destroy the Vagrant VM and re-clone the repository (while following the updated installation instructions at https://github.com/flarum/flarum#installation - please note the --recursive
flag when cloning).
from framework.
Well, good solution, 3ks!
from framework.
Related Issues (20)
- Akismet False Positives Triggered by Flag Removal
- Content max limit is incorrect HOT 2
- [2.x] `LogoutController` permits open redirects
- Height of Modals on Mobile Inconsistent
- fttb slow response time
- Invisible buttons when making primary color #ffffff
- Admin page's Save button won't reset if an error occurs HOT 1
- JSON:API Layer Refactor HOT 3
- Cryptograhpically Sign releases HOT 9
- [Pusher] New notifications count increment doesnt work
- SEO meta description doesn't take from site settings
- Advanced Maintenance HOT 1
- API Client breaks the forum if used in environment like Swoole and with extension that need some values from server params HOT 1
- Reading $post->content in saving listener throws error if content is empty
- Frontend tests
- Extension Manager HOT 3
- Can't post when mentioning a user HOT 1
- Tag state loaded for first user in `tag_user` table instead of logged-in user in `ShowTagController` HOT 4
- aria-hidden="false" is unreliable for accessibility
- Canβt Confirm Email if Registered With GitHub
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 framework.