marketplacekit | A platform to create an online marketplace | Content Management System library
kandi X-RAY | marketplacekit Summary
kandi X-RAY | marketplacekit Summary
MarketplaceKit is a platform for building different types of online marketplaces. MarketplaceKit attempts to reduce the development effort required to build product, rental, service and listing marketplaces such as Etsy, AirBnB, Handy and Zillow. It does this by attempting to cover the main components a marketplace needs, including the following:.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Get the listing data .
- Process the order
- Paypal callback .
- Build the form .
- Calculates the price
- Sync tag ids .
- Find or create a user
- Synchronize languages .
- Redirect to Paypal
- Publish user listing .
marketplacekit Key Features
marketplacekit Examples and Code Snippets
Community Discussions
Trending Discussions on marketplacekit
QUESTION
I set up marketplacekit using the installation instruction at https://github.com/marketplacekit/marketplacekit, which is based on Laravel framework. On accessing the index.php, I encountered the error below:
Illuminate \ Database \ QueryException (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 '>'$."price"') as aggregate from 'listings' where 'listings'.'deleted_at' is null" at line 1 (SQL: select min('meta'->'$."price"') as aggregate from 'listings' where 'listings'.'deleted_at' is null)
Please help with a resolution for this. Thanks. My PHP version is 7.2.7; Mysql: 15.1; MariaDB: 10.3.10; Apache server 2.4.33
...ANSWER
Answered 2018-Dec-05 at 01:43It looks like this is a known issue. Apparently Laravel doesn't support JSON where clauses in MariaDB:
https://github.com/marketplacekit/marketplacekit/issues/20
They mentioned this package to add MariaDB support, but had not tested it:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install marketplacekit
Download the code via composer composer create-project marketplacekit/marketplacekit:dev-master marketplacekit
Add your database details to the .env file DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=homestead DB_USERNAME=homestead DB_PASSWORD=secret
Create the public disk php artisan storage:link
Create the database tables by running php artisan migrate
Seed the database by running php artisan db:seed
Configure your Nginx server block or Apache Vhost to point to the /public folder e.g. nginx location / { try_files $uri $uri/ /index.php?$query_string; } e.g. apache Options +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L]
Visit your domain login and change the default password Default username: admin Default password: changeme
Add your domain to APP_URL in .env file APP_URL=http://localhost.com Don't forget to add https:// in production.
Install the node modules (Optional) npm install
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page