php - Error message 'Class "AimeosMShopIndexManagerPgSQL" not available' on aimeos package
Get the solution ↓↓↓I am trying install aimeos with postgresql database, and after solved LOTS of problems that occurs when we use other database that isnot mysql, this message is showed on home page
Class "\Aimeos\MShop\Index\Manager\PgSQL" not available
How to fix this? Whats is missing?
Answer
Solution:
1) after every change !!!!! php artisan cache:clear php artisan config:cache
2) Edit vendor/aimeos/aimeos-laravel/src/default.php
..... 'Aimeos' => array( 'mshop' => array(
'index' => array(
'manager' => array(
'attribute' => array(
'name' => 'Standard',
),
'catalog' => array(
'name' => 'Standard',
),
'price' => array(
'name' => 'Standard',
),
'supplier' => array(
'name' => 'Standard',
),
'text' => array(
'name' => 'PgSQL',
),
),
),
),
), 3) Edit config/shop.php 'mshop' => array(
'index' => array(
'manager' => array(
'attribute' => array(
'name' => 'Standard',
),
'catalog' => array(
'name' => 'Standard',
),
'price' => array(
'name' => 'Standard',
),
'supplier' => array(
'name' => 'Standard',
),
'text' => array(
'name' => 'PgSQL',
),
),
),
),
4) run
php artisan cache:clear php artisan config:cache
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: constant expression contains invalid operations
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.