Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.
7 votes
Accepted

PHP Errors after OS X Upgrade

I'm getting the same issue since upgrading to OS X Yosemite. I suspect the real issue is your version of PHP has been upgraded to PHP 5.6. While upgrading the OS I also swapped to PHP 5.6 and now ...
user avatar
6 votes

Can't login to control panel (redirects back to login)

Some more googling and I found the answer here. The issue is with Structure and setting it to redirect to structure on login. I finally found out that Structure 3.3.1 is the culprit when you set ...
user avatar
  • 4,747
5 votes
Accepted

Focuslab Multi Environment Config upload preferences issue

Add the trailing slash for the 'server_path' also. /** * Custom upload directory paths * * The array keys must match the ID from exp_upload_prefs */ $env_config['upload_preferences'] = array( ...
user avatar
4 votes

Modifying Focus Labs Config to allow setting site on or off from environment cases

Not sure why that's not working but I tend to just override the default value of 'is_system_on' in the specific environment's config. E.g. for your staging environment add this to config.stage.php: $...
user avatar
  • 5,234
4 votes

EE3 --> Multiple Concurrent Database Connections via config files

Please see the documentation for full details: Connecting to an External Database But the basic pattern for spinning up a separate DB connection in v3 would be: Create a DBConfig object from your ...
user avatar
  • 2,255
4 votes

https and Control Panel mixed content error

This is always a themes folder and protocol issue, I've found. You mentioned this: $env_config['cp_url'] = $env_config['base_url'] . '/admin.php'; What are you parameters for various $env_config ...
user avatar
  • 5,900
3 votes
Accepted

File Upload urls have //chroot added to the url

The image problem is usually caused by the setup at your hosting provider (Nexcess?). I believe you can fix this by setting the correct base path for CE Image, as described here. EDIT: And this is ...
user avatar
  • 337
3 votes

focuslab config - ip address for host not working

That's because the config file is checking the value of $_SERVER['HTTP_HOST']. What you need to check is $_SERVER['SERVER_ADDR']. try this: if(!empty($_SERVER['HTTP_HOST'])) { switch (strtolower(...
user avatar
  • 17.4k
3 votes

Multi-Evironment config bootstrap above webroot on a single server

Ultimately it comes down to your hosting company and how much control they have over mapping the domain's web root. I'd ask your host if you can re-map the production domain to point to /public_html/...
user avatar
  • 2,724
3 votes

Focuslab Master Config not working with MAMP

It looks like you're running the system below webroot, which is not how the FocusLab master config is setup to run by default. From the readme: The instructions above are for setting up the config ...
user avatar
  • 17.4k
3 votes

Focuslab Master Config staging server not working

Make sure the staging domain is correct in config.env.php Make sure the staging config is in fact loaded (put a die("hello); at the top of your config.staging.php) Verify that your site says "hello" ...
user avatar
2 votes
Accepted

Focuslab Master Config staging server not working

I may just misunderstand your post but you have changed 'domaindev.com' to 'staging.mysite.com' haven't you? Also try putting the staging db connection info in for the default/local environment (on ...
user avatar
  • 7,176
2 votes

Links created with Structure tags point to wrong environment after DB import from another environment

I've actually run into this issue on a couple of MSM sites in the last couple of weeks. From what I can gather, at some point the root URL is stored in the 'site_pages' column in the 'exp_sites' ...
user avatar
2 votes
Accepted

Will Focus Lab EE Master Config work as-is on EE3?

Yes! There's an EE3-ready version available on GitHub now: https://github.com/focuslabllc/ee-master-config/tree/EE3
user avatar
  • 1,514
1 vote
Accepted

MSM & Master Config

The themes directory is usually the one challenge for the MSM and Master Config combo. There are some options, each with its own unique workaround, so you just have to choose which method seems the ...
user avatar
1 vote

MSM & Master Config

Give this a try: https://github.com/kgrote/msm_master_config I've been using it on a pretty complex MSM site for a while now with no issues.
user avatar
  • 2,724
1 vote
Accepted

Trying to set up dev / staging environment for EE on Nexcess hosting

Strictly speaking, this isn't an issue with either EE or Git, but just a quirk in the Siteworx hosting control panel that Nexcess uses. You can get around it by, instead of adding a subdomain to one ...
user avatar
1 vote
Accepted

Multi-Evironment config bootstrap above webroot on a single server

Another option, though not ideal, would be to put a conditional in the index.php and admin.php files: switch ($_SERVER['HTTP_HOST']) { case "www.example.com" : $system_path = "../system"; ...
user avatar
  • 188
1 vote

Modifying Focus Labs Config to allow setting site on or off from environment cases

I also don't want to be patronizing but, you said you "added" the new config override though, EE Master Config already includes it here - is there a chance you are adding the config override twice? I'...
user avatar
  • 2,654
1 vote

Modifying Focus Labs Config to allow setting site on or off from environment cases

Forgive me if this is patronising, but are you sure you're not logged in as a superadmin? If so, this setting won't apply to you and you'll be able to see the site even when it's switched off.
user avatar
  • 4,885
1 vote

Master config – blank screen

A WSOD after installing a Master Config probably means that the new config isn't being loaded correctly. This could be because the include path in EE's config.php doesn't correctly refer to the Master ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible