vanilophp / demo Goto Github PK
View Code? Open in Web Editor NEWVanilo Demo Application
Home Page: https://vanilo.io/docs/
Vanilo Demo Application
Home Page: https://vanilo.io/docs/
I am having issues login in a user after the following steps:
Any help please?
I'm getting this problem please help me.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for laravel/framework (locked at v8.14.0, required as ^8.12) -> satisfiable by laravel/framework[v8.14.0].
- Installation request for vanilo/framework ^1.2 -> satisfiable by vanilo/framework[1.2.0, 1.2.1, 1.2.x-dev].
- Can only install one of: laravel/framework[8.x-dev, 5.7.x-dev].
- Can only install one of: laravel/framework[v8.12.0, 5.7.x-dev].
- Can only install one of: laravel/framework[v8.12.1, 5.7.x-dev].
- Can only install one of: laravel/framework[v8.12.2, 5.7.x-dev].
- Can only install one of: laravel/framework[v8.12.3, 5.7.x-dev].
- Can only install one of: laravel/framework[v8.13.0, 5.7.x-dev].
- Can only install one of: laravel/framework[v8.14.0, 5.7.x-dev].
- Can only install one of: laravel/framework[5.7.x-dev, v8.14.0].
- Can only install one of: laravel/framework[5.7.x-dev, v8.14.0].
- Conclusion: install laravel/framework 5.7.x-dev
- Installation request for laravel/framework ^8.12 -> satisfiable by laravel/framework[8.x-dev, v8.12.0, v8.12.1, v8.12.2, v8.12.3, v8.13.0, v8.14.0].
Installation failed, reverting ./composer.json to its original content.
Hi,
Is it possible to add new fields to the admin menus? I want to add product attributes. Do i have to make a different admin dashboard for that?
Thanks
Already tried with solution given in #17
Is there any way on this framework to manage the app with multi-language via the settings page to change overall app language and multi-tenancy approach? Because I think this will end up using a third-party package and make the app size bloated.
Hoping for the response.
Thanks and Good day.
i tried to upload image via admin panel but it is not showing in shop
Reading the documentation and code, there's a config setting vanilo.cart.auto_destroy
and I would like to add it to my fork for this demo but I'm not sure how to add it.
Could you point me to the right direction?
Is there any way to tweak settings forms on admin page like adding a custom field on existing settings form?
My goal is to tweak the app logo together with updating the app name via the settings page.
Hoping for the quick response.
Thanks.
UPDATE
I tried the approach on these docs: https://vanilo.io/docs/1.1/settings#adding-setting-to-the-ui but only the 3rd sample are working, the rest are not, especially in implementing the $settingsTreeBuilder->addSettingItem()
method.
Specification/s:
Laravel Version: 6.2
When editing product in dashboard and I do not select any picture and press upload exception
Spatie\MediaLibrary\Exceptions\FileCannotBeAdded\RequestDoesNotHaveFile appears. With message "The current request does not have a file in a key named images
"
I am still using the demo from 2 weeks time, if it was fixed please close the issue.
Hi I was trying my hand on Vanilo admin application, I followed as it in the documentation and also took the demo I am not able to see the shop drop down menu but in the screenshot I can see the shop main menu, please help in regards with the same. I am using
vanilo/admin - 3.0
vanilo/framework - 3.1
it seems that tables are missing. Product , taxonomies, settings
I am trying to insert address for a company and this error comes up above the form:
Error: Method Illuminate\Database\Query\Builder::customers does not exist.
The address gets inserted, however there is no link created between customer to address in customer_addresses table.
this is where the exception is thrown
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php line 2817
originating from
vendor/konekt/appshell/src/Http/Controllers/AddressController.php method store()
Any help on this please?
need rtl theme or arabic language
Hi, I installed the demo application, and after adding a new category I get an error when I try to go along the route:
admin/taxonomy/{id}
Call to undefined function str_singular() (View: patch/vendor/vanilo/framework/src/resources/views/taxonomy/show.blade.php)
Hi,
Is it possible to use laravel passport with this. for api calls.
Thanks
Are there default themes for Vanilo? Are there any recommended theme built or compatible with vanilo?
Hey there!
I'd like to report a security issue but cannot find contact instructions on your repository.
If not a hassle, might you kindly add a SECURITY.md
file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.
Thank you for your consideration, and I look forward to hearing from you!
(cc @huntr-helper)
I followed the docs at https://vanilo.io/docs/3.x/installation and installed vanillo, but i only can see the default Laravel welcome screen.
I did not the steps of Laravel Auth Support:
Is there anything missing ? Looks like a Provider for the routes is missing. Any Idea ?
https://www.kerntopp.shop/
https://www.kerntopp.shop/login
is working, but without styles.
https://www.kerntopp.shop/home
Home as well.
Illuminate \ Database \ QueryException (42S22)
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'shippingAddress' in 'field list' (SQL: insert into orders
(status
, shippingAddress
, number
, user_id
, updated_at
, created_at
) values (pending, shipping, 550-1reg-bvu3, 1, 2018-03-27 22:49:28, 2018-03-27 22:49:28))
me muestra el siguiente error:
Illuminate\Database\QueryException : SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table users
add unique users_email_unique
(email
))
at /home/frisly/larapro/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664
660| // If an exception occurs when attempting to run a query, we'll format the error
661| // message to include the bindings with SQL, which will make this exception a
662| // lot more helpful to the developer instead of just the database's errors.
663| catch (Exception $e) {
664| throw new QueryException(
665| $query, $this->prepareBindings($bindings), $e
666| );
667| }
668|
Exception trace:
1 PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes")
/home/frisly/larapro/vendor/laravel/framework/src/Illuminate/Database/Connection.php:458
2 PDOStatement::execute()
/home/frisly/larapro/vendor/laravel/framework/src/Illuminate/Database/Connection.php:458
Please use the argument -v to see more details.
Hi, is it possible to log-in into the admin section of the online demo or do I have to run my own local instance for that?
Am I missing this or is it not in the Seed intentionally?
Good day,
As I follow the docs here: https://vanilo.io/docs/1.1/settings#adding-setting-to-the-uihttps://vanilo.io/docs/1.1/settings#adding-setting-to-the-ui, there is no sample on including a different type of form fields in settings UI, only text and select.
I want to include a file input form field below the name text field on application section on the general settings tab on the settings page.
Sample screenshot: http://prntscr.com/rf20rp
Hoping for a fast response.
hi May i know how can i associate cart and user?It is bcos the cart will be removed after logout. I appreciate to your awesome project ๐
I followed the instructions, but demo data was not there. Even seed contains only country names.
i am getting these when trying to run artisan commands please help
Thanks for the great work guys. I just tried Vanilo demo from this repo. It is very inspiring that it works with Laravel as a package and to the best keep laravel itself intact.
I might be doing it wrong but could a product have multiple properties values? For instance a mattress model, to have various sizes like KQDS and KS? When I test-drove it one listing (sku) can only choose one value per property. Appreciate.
Following the demo setup command I get error when running "php artisan migrate --seed" the following is the output:
Migration table created successfully.
In Connection.php line 664:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error i
n your SQL syntax; check the manual that corresponds to your MariaDB server
version for the right syntax to use near 'json not null, custom_propertie s
json not null, responsive_images
json not n' at line 1 (SQL: create ta
ble media
(id
int unsigned not null auto_increment primary key, model_ type
varchar(191) not null, model_id
bigint unsigned not null, collecti on_name
varchar(191) not null, name
varchar(191) not null, file_name
v
archar(191) not null, mime_type
varchar(191) null, disk
varchar(191) no
t null, size
int unsigned not null, manipulations
json not null, custo m_properties
json not null, responsive_images
json not null, order_colu mn
int unsigned null, created_at
timestamp null, updated_at
timestamp
null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')
In Connection.php line 452:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error i
n your SQL syntax; check the manual that corresponds to your MariaDB server
version for the right syntax to use near 'json not null, custom_propertie s
json not null, responsive_images
json not n' at line 1
if you require more information please let me know
I tried uploading both the images it is still not working. I tried both the solutions from #17 and #19 both.
I tried to change but nothing happened
Also did you artisan storage:link
i run this command and tried changing base url nothing changed
here is the output of stat public/storage
Please help ..Thank you so much in advance
Hello,
I get this error when running composer install
error :
Class "Konekt\AppShell\Providers\ModuleServiceProvider" not found
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
I was testing the system and when I wanted to make a purchase as a guest, the system gave me an error in POST checkout/submit
.
The error is due to the following line of code:
Hey,
I installed the demo application I added a master product with variants but could not see it in the frontend. Any idea how I can see it? Or it's not available in the demo?
How to add "Notes" field of Order at Checkout form?
I see this field at model of Order but I have no idea how fill it at checkout. It is possible?
Thank you in advance!
Syntax error or access violation: 1064 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 'json not null, custom_properties
json not null, responsive_images
json not n' at line 1 (SQL: create table media
(id
int unsigned not null auto_increment primary key, model_type
varchar(191) not null, model_id
bigint unsigned not null, collection_name
varchar(191) not null, name
varchar(191) not null, file_name
varchar(191) not null, mime_type
varchar(191) null, disk
varchar(191) not null, size
int unsigned not null, manipulations
json not null, custom_properties
json not null, responsive_images
json not null, order_column
int unsigned null, created_at
timestamp null, updated_at
timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci') {"exception":"[object] (Illuminate\Database\QueryException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1064 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 'json not null, custom_properties
json not null, responsive_images
json not n' at line 1 (SQL: create table media
(id
int unsigned not null auto_increment primary key, model_type
varchar(191) not null, model_id
bigint unsigned not null, collection_name
varchar(191) not null, name
varchar(191) not null, file_name
varchar(191) not null, mime_type
varchar(191) null, disk
varchar(191) not null, size
int unsigned not null, manipulations
json not null, custom_properties
json not null, responsive_images
json not null, order_column
int unsigned null, created_at
timestamp null, updated_at
timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci') at C:\xampp\htdocs\vanilo\vendor\laravel\framework\src\Illuminate\Database\Connection.php:664, Doctrine\DBAL\Driver\PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1064 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 'json not null, custom_properties
json not null, responsive_images
json not n' at line 1 at C:\xampp\htdocs\vanilo\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:63, PDOException(code: 42000):
Hello everyone,
For some reason the following is not returning a thumbnail:
{{ $item->product->getThumbnailUrl() ?: '/images/product.jpg' }}
resources/views/cart/show.blade.php
it works fine on the product and category page with:
{{ $product->getThumbnailUrl() }}
I also tried:
@if($item->product->hasImage())
YES:: {{$item->product->getThumbnailUrl() }}
@else
NO IMAGE
@endif
and I can confirm it returns no image.
Is this a known issue?, I'll keep on trying to figure it out and post an update if I find anything. Any help is appreciated!
Thanks
hello, i want to ask about, how to add product image to the website using vanilo admin. thank you very much :)
Hi, i got this issue after upload the product image. I've opened up the console
and it showing this error message :
GET http://127.0.0.1:8000/storage/2/conversions/01-thumbnail.jpg 404 (Not Found)
The preview image didn't showed up, both from the admin panel and from the client
Need a guide to fix this problem. Thank you so much in advance :)
I just installed some konekt module, i have no idea about enum proxy, but this error arises.
i checked php artisan concord:enums. same error showing
Not sure if this is the correct place to raise the question. I hope the below explanation makes sense.
After installing the demo repository and setting everything up, we noticed that step 1 and step 2 happen during boot of application.
The issue is that after the second module registration Address::class
looses the relationship customers(): BelongsToMany
.
Is this correct?
First loads the following module
Konekt\AppShell\Providers\ModuleServiceProvider::boot
and it runs the following lines
use Konekt\Address\Contracts\Address as AddressContract;
use Konekt\AppShell\Models\Address;
$this->concord->registerModel(AddressContract::class, Address::class);
The Konekt\AppShell\Models\Address::class
now has extends Konekt\Address\Models\Address
and has relationships as below:
public function country(): BelongsTo
public function province(): BelongsTo
public function customers(): BelongsToMany
Sometimes after the following module load Vanilo\Foundation\Providers\ModuleServiceProvider::boot
use Konekt\Address\Contracts\Address as AddressContract;
use Vanilo\Foundation\Models\Address;
$this->concord->registerModel(AddressContract::class, Address::class, $registerRouteModels);
The Vanilo\Foundation\Models\Address::class
now extends Konekt\Address\Models\Address::class
and has relationships as below:
public function country(): BelongsTo
public function province(): BelongsTo
Greetings!
I have a question about the implementation of new payment gateways
For example: I created a class app/CustomPayPaymentGateway.php that implements the interface PaymentGateway
Where and how can I register a new gateway?
I don't understand the line:
PaymentGateways::register('paypal', PaypalPaymentGateway::class);
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.