leantony / ecommerce Goto Github PK
View Code? Open in Web Editor NEWsmall laravel ecommerce project
small laravel ecommerce project
Good day.
I was trying to set up your project on my local machine.
I used compose update to get the vendor folder and all dependencies.
I get this error almost at the end of the process
Script php artisan ide-helper:generate handling the post-update-cmd event returned with an error
[RuntimeException]
Error Output:
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [packages1] ... [packagesN]
root@ech310n-Latitude-D430:/home/ech310n/ecommerce/ecommerce# php artisan ide-helper:generate
Exception: No supported encrypter found. The cipher and / or key length are invalid.
Skipping \Illuminate\Support\Facades\Crypt.
Exception: No supported encrypter found. The cipher and / or key length are invalid.
Skipping \Illuminate\Support\Facades\Password.
Exception: No supported encrypter found. The cipher and / or key length are invalid.
Skipping \Illuminate\Support\Facades\Redirect.
Exception: No supported encrypter found. The cipher and / or key length are invalid.
Skipping \Illuminate\Support\Facades\Response.
Exception: No supported encrypter found. The cipher and / or key length are invalid.
Skipping \Laracasts\Flash\Flash.
Exception: No supported encrypter found. The cipher and / or key length are invalid.
Skipping \Collective\Html\FormFacade.
[RuntimeException]
No supported encrypter found. The cipher and / or key length are invalid.
Actually, i doubt if its an error in your code. Yet, maybe you can still help.
Thanks.
Can you help out why this is giving this error. Tried to resolve it after several hours: thanks
[21:55:10] Running Less: resources/assets/less/main.less
[21:55:17] Running Less: resources/assets/less/mail.less
[21:55:17] Running Less: resources/assets/less/backend/backend.less
[21:55:17] Running Less: resources/assets/less/general.less
[21:55:17] Finished 'default' after 7.44 s
[21:55:23] gulp-notify: [Laravel Elixir] Less Compiled!
[21:55:23] gulp-notify: [Laravel Elixir] Less Compiled!
[21:55:23] gulp-notify: [Laravel Elixir] Less Compiled!
[21:55:23] gulp-notify: [Laravel Elixir] Less Compiled!
[21:55:23] Finished 'less' after 13 s
[21:55:23] Starting 'styles'...
[21:55:23] Merging: resources/assets/bower_components/bootstrap/dist/css/bootstrap.min.css, resources/assets/bower_
otstrap-rating/bootstrap-rating.css, resources/assets/bower_components/bootstrap-table/dist/bootstrap-table.min.css
urces/assets/bower_components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css, resources/a
assets/bower_components/formvalidation/dist/css/formValidation.css, resources/assets/bower_components/owl-carousel2
ousel2/dist/assets/owl.theme.css, resources/assets/bower_components/owl-carousel2/dist/assets/owl.transitions.css,
ources/assets/bower_components/select2/select2.css
[21:55:23] Merging: resources/assets/bower_components/summernote/dist/summernote.css, resources/assets/bower_compon
[21:55:23] File not found: resources\assets\bower_components\bootstrap\dist\css\bootstrap.min.css
[21:55:23] File not found: resources\assets\bower_components\animate.css\animate.css
[21:55:23] File not found: resources\assets\bower_components\sweetalert\lib\sweet-alert.css
[21:55:23] File not found: resources\assets\bower_components\bootstrap-rating\bootstrap-rating.css
[21:55:23] File not found: resources\assets\bower_components\eonasdan-bootstrap-datetimepicker\build\css\bootstrap-
[21:55:23] File not found: resources\assets\bower_components\font-awesome\css\font-awesome.min.css
[21:55:23] File not found: resources\assets\bower_components\formvalidation\dist\css\formValidation.css
[21:55:23] File not found: resources\assets\bower_components\owl-carousel2\dist\assets\owl.carousel.css
[21:55:23] File not found: resources\assets\bower_components\lightbox2\css\lightbox-custom.css
[21:55:23] File not found: resources\assets\bower_components\select2\select2.css
[21:55:23] File not found: resources\assets\bower_components\owl-carousel2\dist\assets\owl.transitions.css
[21:55:23] File not found: resources\assets\bower_components\owl-carousel2\dist\assets\owl.theme.css
[21:55:23] File not found: resources\assets\bower_components\bootstrap-table\dist\bootstrap-table.min.css
[21:55:23] File not found: resources\assets\bower_components\summernote\dist\summernote.css
[21:55:23] File not found: resources\assets\bower_components\datatables\media\css\jquery.dataTables.css
[21:55:23] Finished 'styles' after 83 ms
[21:55:23] Starting 'copy'...
[21:55:23] Copying resources/assets/bower_components/font-awesome/fonts/* to: public/css/fonts
[21:55:23] Copying resources/assets/bower_components/bootstrap/fonts/* to: public/css/fonts
[21:55:23] Copying resources/assets/bower_components/datatables-bootstrap3/BS3/assets/images/** to: public/css/imag
[21:55:23] Finished 'copy' after 22 ms
How do you manage your CSS? I noticed you excluded your npms. With new installation approach, how do i reference all the CSS? the views are not styled.
Thanks
[Illuminate\Database\QueryException]
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update
a child row: a foreign key constraint fails (leantony
.reviews
, CONSTRAI
NT user_can_make_many_reviews
FOREIGN KEY (user_id
) REFERENCES users
(id
) ON DELETE CASCADE ON UPDATE CASCADE) (SQL: insert into reviews
(p roduct_id
, user_id
, comment
, stars
, updated_at
, created_at
) valu
es (92, 172, Accusamus earum facere ratione odit qui laudantium. Nisi aut q
uod quo. Et culpa quaerat aut et optio nemo. Doloremque sunt cum animi nisi
voluptatem. Excepturi sit odit ut temporibus iste qui., 5, 2017-06-11 03:4
9:04, 2017-06-11 03:49:04))
[PDOException]
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update
a child row: a foreign key constraint fails (leantony
.reviews
, CONSTRAI
NT user_can_make_many_reviews
FOREIGN KEY (user_id
) REFERENCES users
(id
) ON DELETE CASCADE ON UPDATE CASCADE)
Followed your instructions, but after php artisan serve command, I got laravel error page: ErrorException in Filesystem.php line 81:
BindingResolutionException in Container.php line 744:
Target [app\Antony\DomainLogic\Contracts\Caching\CacheInterface] is not instantiable.
What does this means please? Thanks
PHP Fatal error: Uncaught UnexpectedValueException: The stream or file "/home/forge/default/storage/logs/laravel-2016-01-15.log" could not be opened: failed to open stream: No such file or directory in /home/forge/default/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:84
Hi, I was wanting to learn in e-commerce and i stumbled on your app. really nice but i was having challenges understanding your schemas. I noticed you have excluded your migrations. Please is there a way to get them to help me out. Spent hours trying to figure out but couldn't. Thanks.
Thanks for the usual responses. I tried using the migrations after composer install but showing white screen. with fresh set up
what could have been causing this?
localhost:8000 not [white screen]
localhost:8000/myaccount [white screen]
hello, leantony, it's a great work!!!
can u make some demo data?
I noticed this has been happening anytime i rollback or try new migrations. So i commented it before other migrations can be migrated which i know it's not advisable for production development.
Any idea on how to solve this? Thanks for the supports so far.
php artisan migrate:
Error->;
[Illuminate\Database\QueryException]
SQLSTATE[42000]: Syntax error or access violation: 1170 BLOB/TEXT column 'description_long' used in key specification without a key length (SQL: alter table products
add i
e(
name,
description_long`))
[PDOException]
SQLSTATE[42000]: Syntax error or access violation: 1170 BLOB/TEXT column 'description_long' used in key specification without a key length
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.