Giter Site home page Giter Site logo

Comments (3)

iso100 avatar iso100 commented on August 19, 2024

Make sure your environment is configured properly and that the expected
environment is being activated there.
On Oct 18, 2013 4:21 AM, "rickprince" [email protected] wrote:

We've been getting this issue intermittently after each new deployment
(using springloops.io for git to ftp). I can't seem to pinpoint exactly
what the issue is, it doesn't seem to be url specific as I get the same
error no matter what urls I visit, including admin.php. The error:

A Database Error Occurred
Unable to connect to your database server using the provided settings.

Filename: core/EE_Config.php

Line Number: 207

And .htaccess just in case:

RewriteEngine On # Removes index.php from ExpressionEngine URLs RewriteCond $1 !.(gif|jpe?g|png)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?/$1 [L]

Any clues to how I can troubleshoot?


Reply to this email directly or view it on GitHubhttps://github.com//issues/28
.

from ee-master-config.

rickprince avatar rickprince commented on August 19, 2024

I assume the right environment is being activated, but I couldn't be sure as the error stops me from logging in. Is there a way I can tell which config file is currently active? I thought it might be a database connection issue (remote host might have some weird mysql setup or something) but then I noticed the same error on my local MAMP setup.

Should I set debug settings to true inside config.master.php so I can see some output? If so, which one?

from ee-master-config.

erikreagan avatar erikreagan commented on August 19, 2024

@rickprince I suggest you open the env.config.php file and at the bottom add in exit(ENV); to see what environment is getting triggered.

from ee-master-config.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.