We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

The configuration file ....php does not exist.

Development and Programming

messing's avatar
messing
1 posts
8 years ago
messing's avatar messing

Hi, I’m writting a internal application (a special shop for wholesalers). For this shop I created an own module. Now I need a Solr search. This search could be more general and should be part of the shop. So I created a new Solr module with a service. In my shop (mod) I call the service like this:

ee('solr:Solr')->setQueryString($QueryString);

This is running fine, too.

BUT: I need to configure the Solr host. The module should be a general module, so I’m a “good guy” and do a clean configuration. I’ve created the solr/config folder with solr.php.

Calling in the service construct (or somewhere else slor.mod or setup)

ee()->config->load('solr');

doesn’t work.

Reason is function &get;_config($replace = array()) in boot.common.php, which knows only the path to the main config and the config of the calling shop module.

What is wrong? Is it a problem of my architecture?

Thanks for help

Matthias

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.