What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
When I add to cart product from category page, it says, unexpected error occurred. Log folder under
When I add to cart product from category page, it says, unexpected error occurred. Log folder under public/logs/ is empty. I don't see any log files there. help please!
Comments
-
For us, our logs are stored in data/SHOP/logs/GLUE|YVES|ZED
0 -
Thanks Julian! That error is resolved! Now this error is showing up:
Fatal error: Uncaught Propel\Runtime\Exception\PropelException: Database map was not initialized. Please check the database loader script included by your conf
0 -
For this error, I found this article. but not able to fix it.
https://github.com/propelorm/Propel2/wiki/Exception-Target:-Loading-the-database0 -
I think for new propel versions you have to add the propel loader config into the data folder. I can check it tomorrow but we are still using old propel versions and I am not at my Mac atm
0 -
Yes, I think. I reverted composer.json to previous version and that error is resolved. Thanks a lot @UK7KBE2JW! really appreciate your help!
0 -
Np
0 -
For new propel version you have to add src/Orm/propel.php with content like
<?php use Spryker\Shared\Config\Application\Environment; use Spryker\Shared\Config\Config; use Spryker\Shared\Propel\PropelConstants; define('APPLICATION', 'ZED'); define('APPLICATION_ROOT_DIR', dirname(__DIR__, 2)); require_once APPLICATION_ROOT_DIR . '/vendor/autoload.php'; Environment::initialize(); $config = Config::getInstance(); $config::init(APPLICATION_ENV); return [ 'propel' => $config::get(PropelConstants::PROPEL) ];
0 -
@UK7KBE2JW Where is that file? is it under vendor?
0 -
you have to add it yourself under src/Orm
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random