I'm using ZF2 and Doctrine2
Please refer the screen shot , this error will show how to fix it ?
For the future, Nimesha, I'd like to ask of you to not post Screenshots where it's not required. The error messages are clearly outlined by the Error Handler of Zend Framework 2 and Copy&Pasting the message into google - in this case at least - will easily get you to the results.
What you've done wrong is, you've forgotten to specify the namespaces / your doctrine driver. You can find an example configuration in the DoctrineORMModule /docs folder or here on my Github
Related
This question is related to: Ember Octane How to Clear Form Errors?
I have been asking a lot of questions on how to upgrade my Ember Classic project to Ember Octane. Some users in the community have suggested that I post an Ember-Twiddle for them to see what is going on. I have tried doing that, but I cannot get it to work. This is another tool for me to learn and I am struggling a bit to make heads or tails of it while trying to also NOT post my entire project as that seems unnecessary.
Why do I not see the page links for change-password and myroute2?
https://ember-twiddle.com/364eaf05a2e1072994b61f255032eb62?openFiles=templates.application%5C.hbs%2C
The hint is the browser's console:
you first trying to extend your change-password from unknown mixin and after fixing that you'd see another error re unknown services in the change-password controllers. Comment them out and everything works.
I was trying to install the default Storefront site(powered by Commerce Server). It looks good at the moment, I managed to rebuild all indexes and publish the content. However, I can't reach product detail page - I receive an exception.
Example here.
I had faced with the similar issue when I tried to click on any catalog category.
The log-file contains the same error message without any details. Could you please suggest something to fix this issue?
P.S. After the finishing the installation I didn't have any products on the site. I fixed that issue:
selected the default Adventure Works catalog in the Sitecore tree(using content manager).
Filled in field CategoryDatasource(with the path to categories)
I think it might cause the error which I described above.
Thank you in advance for the help.
You have to set the catalog for the site via a home node property.
I have a Sitecore solution that is connecting to an external website using FXM.
When I'm trying to add a new placeholder using FXM I receiving next error but in
logs doesn't appear something related to this error. Please see attached picture
As it seems the Sitecore.Services.Client.FXM.Enabler.config was .disabled and it needs to be enable it in order to make FXM work on the instance.
As #sitecore climber mentioned it can be found on the documentation here.
I looked it up various links like these: Link1, Link2, Link3 I am coming to conclusion that, I cannot fix the issue that I am facing. I have an Error page item, which is calling a sublayout to show different error messages for different codes. Need to produce a proper 404 status code while providing an error page in Sitecore. Same question asked here: Sitecore uses "302 found" to redirect users to my custom 404 page - is that legitimate?
Please refer attached image to see what I am talking about:
Thank you for your inputs!
Did you look at the Sitecore Error Manager module which will let you set different pages for different error codes?
I asked a recent question about how to load your own parameters in Symfony2, which was answered here How do you load config settings from the database in Symfony2?, but I now need to know how to actually access the database in the import file.
I have tried using:
$container->get('doctrine.orm.entity_manager');
Unfortunately, I then get a "The service definition doctrine.orm.entity_manager does not exist." error.
Can anyone help?
Your code should work.
$this->container->get('doctrine.orm.entity_manager');
But only if Doctrine is enabled.
Have you the Doctrine Bundle in your kernel ? Have you uncommented the doctrine settings in config.yml ?
After asking and looking around for a while the only solution I found to accessing doctrine while Symfony is still configuring its services is using this bundle. Take a look at the readme as it describes a solution to the scenario we are both experiencing.