Comments (5)
`Creating a "Lavalite/cms" project at "./lavalitecms"
Info from https://repo.packagist.org: #StandWithUkraine
Installing lavalite/cms (v10.1.2)
- Installing lavalite/cms (v10.1.2): Extracting archive
(...)
Do you want to publish public files? [Yes]:
[0] No
[1] Yes
[2] Overwrite
[3] Ask
WARN Migration table not found.
INFO Preparing database.
Creating migration table ................................................................................. 3ms DONE
INFO Running migrations.
2014_10_12_100000_create_password_reset_tokens_table ..................................................... 5ms DONE
2019_08_19_000000_create_failed_jobs_table ............................................................... 4ms DONE
2019_12_14_000001_create_personal_access_tokens_table .................................................... 6ms DONE
2022_10_24_100001_create_litecms_page_pages_table ........................................................ 3ms DONE
2023_06_19_100001_create_litecms_block_blocks_table ...................................................... 3ms DONE
2023_06_19_100001_create_litecms_block_categories_table .................................................. 3ms DONE
2023_06_19_100001_create_litecms_contact_contacts_table .................................................. 3ms DONE
2023_06_21_053811_create_jobs_table ...................................................................... 5ms DONE
INFO Seeding database.
Litepie\Menu\Database\Seeders\MenuTableSeeder ............................................................. RUNNING
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'lavalitecms.menus' doesn't exist (Connection: mysql, SQL: insert into menus
(description
, icon
, id
, key
, name
, order
, parent_id
, role
, status
, target
, url
) values (?, ?, 1, admin, Admin, 1, 0, ?, Show, ?, /admin), (?, ?, 2, user, User, 1, 0, ?, Show, ?, /user), (?, ?, 3, client, Client, 1, 0, ?, Show, ?, /client), (Website main menu, ?, 4, main, Main, 2, 0, ?, Show, ?, ), (Footer menu, ?, 5, footer, Footer, 3, 0, ?, Show, ?, ), (Social media menu, ?, 6, social, Social, 3, 0, ?, Show, ?, ), (?, fab fa-twitter, ?, ?, Twitter, 11, 6, ?, Show, _blank, https://twitter.com/lavalitecms), (?, fab fa-github, ?, ?, GitHub, 12, 6, ?, Show, _blank, https://github.com/LavaLite/cms), (?, fab fa-facebook-square, ?, ?, Facebook, 13, 6, ?, Show, _blank, https://www.facebook.com/lavalite/))
`
I added Menu table migration from Vendor, but then Users table is missing...
from cms.
same issue here
from cms.
It seems there are database migrations missing in the 10.x branch, that are present in the 9.x branch. You can get past the error by copying the below-mentioned migration to database/migrations directory in your installation and re-run the install. However, there are other parts missing, so perhaps its best to wait until the maintainer(s) checks-in the missing files.
Edit: I tried to patch the 9.0 files (see migrations.zip below) I can now get past the installation process, and login to the system
migrations.zip
from cms.
@sjustesen After copy migration from 9.x I must edit 2019_07_10_100001_create_teams_table.php
because following errors occurred:
Litepie\Team\Database\Seeders\TeamTableSeeder ............................................................................................ RUNNING
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'type' in 'field list' (Connection: mysql, SQL: insert into `teams` (`description`, `key`, `level`, `name`, `status`, `type`) values (Default Team, default, 1, Default, Active, Default))
Missing part in migration:
$table->text('description')->nullable();
$table->integer('level')->nullable();
$table->text('type')->nullable();
$table->text('key')->nullable();
from cms.
@kulavvy Excellent, thanks for testing/fixing 👍
from cms.
Related Issues (20)
- Is this compatible with Laravel 8.x? HOT 1
- Trying to get in touch regarding a security issue
- Reported 3 Security Issues at huntr.dev HOT 2
- Admin login fails - menu has_role on non object HOT 1
- Missing some files HOT 1
- Litecms error on blog pages HOT 4
- Error in the Demo
- Stored XSS exists in Blog package of Lavalite CMS v8.1.2
- Password hash in Users setting HOT 1
- Admin test login not work HOT 5
- BadMethodCallException: Call to undefined method App\Models\Role::withTrashed() in file /var/www/html/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php on line 71
- SQLSTATE[42S22]: Column not found: 1054 Unknown column 'slug' in 'where clause' (SQL: select count(*) as aggregate from `users` where `slug` = test12345 and `users`.`deleted_at` is null) HOT 2
- Path Traversal Attack
- There is a Stored XSS
- Class App\Models\User contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (Litepie\User\Interfaces\UserPolicyInterface::hasRole, Litepie\User\Interfaces\UserPolicyInterface::canDo) HOT 4
- Call to undefined method Litecms\Page\Forms\Page::grouped()
- Vulnerability Report: sXss
- [feature] can you support postgresql?
- a XSS vulnerability
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 cms.