avored / laravel-ecommerce

AvoRed an Open Source Laravel Shopping Cart
https://avored.com
1.51k stars 549 forks source link

Unable to run application #27

Closed mountstone closed 7 years ago

mountstone commented 7 years ago

After installing, there are many errors while compilation clearing...

indpurvesh commented 7 years ago

@mountstone can you be more specific regards error? or is it possible to share some screenshot ?

mountstone commented 7 years ago

At the end of composer install, there is php warning:

php artisan clear-compiled
PHP Warning:  Declaration of Mage2\Framework\Foundation\Application::bootstrapPath() should be compatible with Illuminate\Foundation\Application::bootstrapPath($path = '') in /var/www/ecommerce/vendor/mage2/framework/src/Foundation/Application.php on line 6
The compiled services file has been removed.

When i go to app installation page, following error appears:

RuntimeException in Encrypter.php line 43:
The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.

Command:

php artisan key:generate

resolve this problem.

After login and go into categories page:

FatalThrowableError in DataGridManager.php line 49:
Type error: Too few arguments to function Mage2\Framework\DataGrid\DataGridManager::__construct(), 0 passed in /var/www/ecommerce/vendor/mage2/framework/src/DataGrid/DataGridManager.php on line 86 and exactly 1 expected
indpurvesh commented 7 years ago

Thanks it make sense I will solve it soon thanks for raising the issue @mou

mountstone commented 7 years ago

@indpurvesh Purvesh,

You are welcome to use and improve our brand new platform https://github.com/antaresproject

Based on Laravel, PHP7 ready, using flexible design patterns that keep the code clean and elegant.

I think it will be good idea to create your ecommerce platform as Antares Component

indpurvesh commented 7 years ago

@mountstone Bug has been fixed. Thanks please install the dev-master again it should fix the problem.