avored / laravel-ecommerce Goto Github PK
View Code? Open in Web Editor NEWAvoRed an Open Source Laravel Shopping Cart
Home Page: https://avored.com
AvoRed an Open Source Laravel Shopping Cart
Home Page: https://avored.com
One product_attribute is missing the "is_system" field:
index f2913c5..37e4e7a 100644
--- a/modules/base/Mage2/System/database/seeds/Mage2SystemSeeder.php
+++ b/modules/base/Mage2/System/database/seeds/Mage2SystemSeeder.php
@@ -133,6 +133,7 @@ class Mage2SystemSeeder extends Seeder {
'title' => 'Page Title',
'product_attribute_group_id' => $seoGroup->id,
'identifier' => 'page_title',
+ 'is_system' => 1,
'type' => 'VARCHAR',
'field_type' => 'TEXT',
'validation' => 'max:255',
error to install in page (level Mage2 User)
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'admin_password_resets' already exists (SQL: create table admin_password_resets
(email
varchar(255) not null, token
varchar(255) not null, created_at
timestamp not null) default character set utf8 collate utf8_unicode_ci engine = InnoDB)
Help needed,
After starting the server it throws ans exception
"No hint path defined for [mage2-install]."
Your requirements could not be resolved to an installable set of packages.
Problem 1
- teamtnt/tntsearch v1.0.6 requires ext-sqlite3 * -> the requested PHP extension sqlite3 is missing from your system.
- teamtnt/tntsearch v1.0.5 requires ext-sqlite3 * -> the requested PHP extension sqlite3 is missing from your system.
- teamtnt/tntsearch v1.0.4 requires ext-sqlite3 * -> the requested PHP extension sqlite3 is missing from your system.
- teamtnt/tntsearch v1.0.3 requires ext-sqlite3 * -> the requested PHP extension sqlite3 is missing from your system.
- teamtnt/tntsearch v1.0.2 requires ext-sqlite3 * -> the requested PHP extension sqlite3 is missing from your system.
- teamtnt/tntsearch v1.0.1 requires ext-sqlite3 * -> the requested PHP extension sqlite3 is missing from your system.
- teamtnt/tntsearch v1.0.0 requires ext-sqlite3 * -> the requested PHP extension sqlite3 is missing from your system.
- Installation request for teamtnt/tntsearch ^1.0 -> satisfiable by teamtnt/tntsearch[v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5, v1.0.6].
To enable extensions, verify that they are enabled in your .ini files:
- D:\xampp\php\php.ini
You can also run php --ini
inside terminal to see which files are used by PHP in CLI mode.
Hello, I was trying to install using composer command but it's thrown me a RuntimeException
$ composer create-project mage2/laravel-ecommerce --stability=dev
Installing mage2/laravel-ecommerce (dev-master 2f8202896f2de22f2de3f11bc0518c1a1d87273c)
- Installing mage2/laravel-ecommerce (dev-master master): Cloning master
Failed to download mage2/laravel-ecommerce from source: The process "git clone --no-checkout 'https://github.com/mage2/laravel-ecommerce.git' '/home/vagrant/Code/dev-packages/laravel/laravel-ecommerce/' && cd '/home/vagrant/Code/dev-packages/laravel/laravel-ecommerce/' && git remote add composer 'https://github.com/mage2/laravel-ecommerce.git' && git fetch composer" exceeded the timeout of 300 seconds.
Now trying to download from dist
- Installing mage2/laravel-ecommerce (dev-master master):
[RuntimeException]
Could not delete /home/vagrant/Code/dev-packages/laravel/laravel-ecommerce//.git/objects/pack/tmp_pack_cZfWVe:
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]
$
I have a Homestead installation that runs on a Vagrant (using the virtualbox driver) on Windows.
Any help will be appreciated, thanks in advance
AugustoSL
Hello,
The system is working fine on my system. I want to know how can I use this system for mobile app using RestAPI?
Error appear during product edit. Please check the error
Exception in ProductController.php line 169: Error in Saving Product: Invalid argument supplied for foreach()
Same error appears when we add an extra attribute to product
when create user and category return "FatalErrorException in FileViewFinder.php line 29:
Class 'Mage2\Framework\View\InvalidArgumentException' not found"
when create product return "ErrorException in cc72be8cceccff7e7ea896ecbcb691aca5141711.php line 22:
Undefined variable: statusOptions (View: C:\xampp\htdocs\laravel-ecommerce\modules\base\Mage2\Catalog\views\admin\catalog\product\boxes\basic.blade.php) (View: C:\xampp\htdocs\laravel-ecommerce\modules\base\Mage2\Catalog\views\admin\catalog\product\boxes\basic.blade.php):
I am thinking to do a design improvement now for front end and backend both.
when i write install in url i got this error
where my database name is ecom
QueryException in Connection.php line 770:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ecom.websites' doesn't exist (SQL: select * from websites
)
Previously products was displaying as dummy data as i install this package but there images was not displaying so i deleted all dummy data products and added new 5 products but no product is displaying in frontend.
Error message 👍
Sorry No Feature Product.
Site worked fine on installation, but next day returning to the site, the session is not reloading properly. This is the error message I get.
ErrorException in Website.php line 50:
Trying to get property of non-object
in Website.php line 50
at HandleExceptions->handleError('8', 'Trying to get property of non-object', 'C:\xampp\htdocs\laravelcommerce\modules\base\Mage2\System\Middleware\Website.php', '50', array('request' => object(Request), 'next' => object(Closure), 'host' => 'laravelcommerce', 'cacheKey' => 'default_website_middleware_query', 'website' => null, 'minute' => '100')) in Website.php line 50
Hello, I just want to report an exception in your forum at http://mage2.website/forum/general/post/create. It throws an exception when I click the Create option:
ErrorException in PostController.php line 58: Trying to get property of non-object
in PostController.php line 58
at HandleExceptions->handleError(8, 'Trying to get property of non-object', '/var/www/laravel/app/Http/Controllers/PostController.php', 58, array('request' => object(PostRequest), 'categorySlug' => 'general', 'category' => object(Category), 'user' => null)) in PostController.php line 58
AugustoSL
Hi @indpurvesh,
I got this error when pulling the latest code.
Please check it.
Thanks!
If you are on a checkout page and do successfull login. it redirect to account page rather then on the same page.
Cant install please assist..SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'product_attribute_groups' already exists
Product Page always display same product bug(Product 1 ).
Hi,
I just want to inform you a some bug.
I try demo and when add something to cart and click on Cart in top menu it gives me an error:
Class 'Mage2\Framework\System\View\InvalidArgumentException' not found.
When we open the screen , we get a fetal error
FatalThrowableError in FeatureProductHelper.php line 43:
Call to a member function attributeDropdownOptions() on null
Also unable to update any product for the product attributes
Can u please provide some dummy data dump for the database
Hi, I have some error in cart/view page
in FileViewFinder.php (line 28)
at FileViewFinder->findInPaths('cart.view', array('C:\xampp\htdocs\laravel-ecommerce\themes\mage2\basic', 'C:\xampp\htdocs\laravel-ecommerce\modules\mage2\feature\src/views', 'C:\xampp\htdocs\laravel-ecommerce\modules\mage2\pickup\src/views', 'C:\xampp\htdocs\laravel-ecommerce\modules\mage2\free-shipping\src/views', 'C:\xampp\htdocs\laravel-ecommerce\modules\mage2\contact-us\src/views', 'C:\xampp\htdocs\laravel-ecommerce\vendor\mage2\paypal\src/views', 'C:\xampp\htdocs\laravel-ecommerce\themes\mage2\default\views'))in FileViewFinder.php (line 79)
at FileViewFinder->find('cart.view')in Factory.php (line 128)
at Factory->make('cart.view', array(), array())in helpers.php (line 885)
at view('cart.view')in CartController.php (line 120)
at CartController->view()
at call_user_func_array(array(object(CartController), 'view'), array())in Controller.php (line 55)
at Controller->callAction('view', array())in ControllerDispatcher.php (line 44)
at ControllerDispatcher->dispatch(object(Route), object(CartController), 'view')in Route.php (line 203)
at Route->runController()in Route.php (line 160)
at Route->run()in Router.php (line 574)
at Router->Illuminate\Routing{closure}(object(Request))in Pipeline.php (line 30)
at Pipeline->Illuminate\Routing{closure}(object(Request))in InstallMiddleware.php (line 29)
at InstallMiddleware->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))in SubstituteBindings.php (line 41)
at SubstituteBindings->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))in VerifyCsrfToken.php (line 65)
at VerifyCsrfToken->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))in ShareErrorsFromSession.php (line 49)
at ShareErrorsFromSession->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))in StartSession.php (line 64)
at StartSession->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))in AddQueuedCookiesToResponse.php (line 37)
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))in EncryptCookies.php (line 59)
at EncryptCookies->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))in Pipeline.php (line 102)
at Pipeline->then(object(Closure))in Router.php (line 576)
at Router->runRouteWithinStack(object(Route), object(Request))in Router.php (line 535)
at Router->dispatchToRoute(object(Request))in Router.php (line 513)
at Router->dispatch(object(Request))in Kernel.php (line 176)
at Kernel->Illuminate\Foundation\Http{closure}(object(Request))in Pipeline.php (line 30)
at Pipeline->Illuminate\Routing{closure}(object(Request))in TransformsRequest.php (line 30)
at TransformsRequest->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))in VisitorMiddleware.php (line 58)
at VisitorMiddleware->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))in TransformsRequest.php (line 30)
at TransformsRequest->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))in ValidatePostSize.php (line 27)
at ValidatePostSize->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))in CheckForMaintenanceMode.php (line 46)
at CheckForMaintenanceMode->handle(object(Request), object(Closure))in Pipeline.php (line 148)
at Pipeline->Illuminate\Pipeline{closure}(object(Request))in Pipeline.php (line 53)
at Pipeline->Illuminate\Routing{closure}(object(Request))in Pipeline.php (line 102)
at Pipeline->then(object(Closure))in Kernel.php (line 151)
at Kernel->sendRequestThroughRouter(object(Request))in Kernel.php (line 116)
at Kernel->handle(object(Request))in index.php (line 53)
Please help to resolve this
please add coupon functionality and share with me how to integrate with exist side
When we do wishlist add it use product ID. Rather then using product ID. We should use product-slug for security reason.
Hello, I just want to report an exception in you demo at http://demo.mage2.website/checkout. It throws an exception when I click the Checkout option:
ErrorException in a291b517d72834e382dd0d2b9c90edae4c8de36a.php line 258: Invalid argument supplied for foreach() (View: /var/www/demo/modules/base/Mage2/Checkout/views/checkout/new-index.blade.php)
PS: Great work. I will try out install it.
AugustoSL
General error: 1005 Can't create table ngbaru
.#sql-2278_1a1
(errno: 150 "Foreign key constraint is incorrectly formed")
Hi, I got some problem after perform migration
Here detailed error
In Connection.php line 664:
SQLSTATE[HY000]: General error: 1005 Can't create table ngbaru
.#sql-2278_1a1
(errno: 150 "Foreign key constraint is incorrectly formed") (SQL: alter table product_storage
add constr
aint product_storage_product_id_foreign
foreign key (product_id
) references products
(id
) on delete cascade)
In Connection.php line 458:
SQLSTATE[HY000]: General error: 1005 Can't create table ngbaru
.#sql-2278_1a1
(errno: 150 "Foreign key constraint is incorrectly formed")
What is sql-2278_1a1 ?
I get this error in wishlist.my-account.wishlist page:
Trying to get property of non-object
{{ $wishlist->product->id }}TokenMismatchException in VerifyCsrfToken.php line 68:
how to add new module in this project
I would suggest to use the default localization method of Laravel: https://laravel.com/docs/5.3/localization, but particulary I don't like this method.
I prefer the https://github.com/xinax/laravel-gettext method, because the readability of the views is much better.
What you thinks?
This project is awesome and soon I intend to help with PR's.
Cheers.
Hello,
right after installation after php artisan optimize I'm still getting Class 'Mage2\RelatedProduct\Module' not found error.
David
Hello,
When I try to install either by downloading from GitHub or composer, I get error
Could not scan for classes inside "/Users/altaf/Sites/laravel-ecommerce/vendor/mage2/category/src/database" which
does not appear to be a file nor a folder
This error is for all packages in the mage2 folder.
I am using Valet 2.0.4 with php 7.0.20 and nginx 1.10.3
Can you please advice what is the problem here?
Also check the attached screenshot.
Thank you
After installing, there are many errors while compilation clearing...
Click Continue to install Database it redirect me to this page
http://localhost:8000/install/database/table
and on this page i click Install next page it redirect me to same page . No idea where to go what to do ???
QueryException in Connection.php line 770:
SQLSTATE[21S01]: Insert value list does not match column list: 1136 Column count doesn't match value count at row 3 (SQL: insert into product_attributes
(field_type
, identifier
, is_system
, product_attribute_group_id
, sort_order
, title
, type
, validation
) values (TEXT, title, 1, 1, 0, Title, VARCHAR, required|max:255), (TEXT, price, 1, 1, 4, Price, FLOAT, required|max:8|regex:/^-FILE\d*(.\d+)image$/), (1, 3, Image, FILE, , TEXT, sku), (1, 1, 2, SKU, VARCHAR, required|max:255, TEXT, slug), (1, 1, 1, Slug, VARCHAR, required|max:255|alpha_dash, TEXT, page_title), (1, 4, 0, Page Title, VARCHAR, max:255, TEXTAREA, page_description), (1, 4, 1, Page Description, VARCHAR, max:255, TEXT, qty), (1, 2, 2, Qty, VARCHAR, , CKEDITOR, description), (1, 1, 3, Description, TEXT, required, ?, ?))
As i login as admin it show above error ?
Hello, after installing mage2 and visiting dashboard i got an error exception.
Hello,
I am testing the project and the installation there is a problem with the status table. and reviewing the migrations I do not see.
QueryException in Connection.php line 729: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status' in 'field list' (SQL: insert into
order_statuses(
title,
status,
is_default) values (pending, 1, 1))
modules
(identifier
, name
, type
, status
, updated_at
, created_at
) values (mage2-attribute, Mage2 Attribute, SYSTEM, ACTIVE, 2017-07-14 13:30:50, 2017-07-14 13:30:50))
SQLSTATE[HY000] [1130] Host 'localhost' is not allowed to connect to this MariaDB server (SQL: select * from information_schema.tables where table_schema = db_ecommerce and table_name = configurations)
Trying to get property of non-object
/home/u250461069/laravel-ecommerce/vendor/mage2/framework/src/System/Middleware/Website.php#50
}
Session::put('website_id', $website->id);
if ($website->is_default == 1) {
Session::put('is_default_website', true);
**I do all three steps in my localhost but i don't know how to upload database and install all. i am new in laravel that why facing some basic problem.
please guide me step by process ...**
git clone https://github.com/mage2/laravel-ecommerce.git
composer update
mage2/laravel-ecommerce/.env
Demo site error
There's no migration file to where setup the database, either. Am I missing something?
So listner can listen for the event and take appropriate action (e.g Wishlist module can remove Item from People Wishlist). (another option is to use Product ID into Wishlist table as a foreign key.)
editing products not possible because of an error exception, PR will follow.
Hi, while installing database (Mage2 Related Product), I'm getting error:
SQLSTATE[42000]: Syntax error or access violation: 1072 Key column 'related_products_id' doesn't exist in table (SQL: alter table related_products
add constraint related_products_related_products_id_foreign
foreign key (related_products_id
) references products
(id
) on delete cascade)
SQLSTATE[HY000]: General error: 1 table "product_attributes" already exists (SQL: create table "product_attributes" ("id" integer not null primary key autoincrement, "title" varchar not null, "identifier" varchar not null, "field_type" varchar not null, "use_as_variation" integer not null, "is_system" integer not null default '1', "sort_order" integer null default '0', "created_at" datetime null, "updated_at" datetime null))
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.