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

Blank page and 500 server error after config file changes - how do I output logs from Expression Engine to file?

How Do I?

Bitter-Pronunciation's avatar
Bitter-Pronunciation
9 posts
3 years ago
Bitter-Pronunciation's avatar Bitter-Pronunciation

Basically what the title says.

I have a semi-working config file that displays a site, and navigates me to links, but for some reason whenever I try to flesh out some more settings in it, the whole damn thing tanks. I’m not sure why, but boy, some logs accessible on the filesystem that don’t require me to enter my user control panel would suuuuuure be helpful. Any chance there’s some config file settings or something that sets that parameter or something? Thanks.

       
Bitter-Pronunciation's avatar
Bitter-Pronunciation
9 posts
3 years ago
Bitter-Pronunciation's avatar Bitter-Pronunciation

It follows, naturally, that anytime I post to the forums about a problem I’m having, I solve it immediately after. Oh well. Here’s the solution, internet bugaboos. This is in your config file, which (if I recall correctly) will usually be system/user/config.php. Of note, in particular, is the line that says 'expressionengine' => - presumably somewhere later in the code is looking for an array or hash called expressionengine containing where and who to connect in order to get to the database. For some silly reason, I had changed this. Don’t do that.

$config['database'] = array (
  'expressionengine' => # This line MUST be set to this string - it is not the name of a database it is the name of the variable containing database connection parameters
  array (
    'hostname' => 'localhost',
    'username' => getenv('EXAMPLE_COM_DATABASE_USERNAME'),
    'password' => getenv('EXAMPLE_COM_DATABASE_PASSWORD'),
    'database' => 'database_name',
    'pconnect' => true,
  ),
);
       
wardrose's avatar
wardrose
1 posts
3 years ago
wardrose's avatar wardrose

Quite a stumbling block I’m also having a problem with my ULR cookie clicker

       
EmmaRobert's avatar
EmmaRobert
1 posts
6 months ago
EmmaRobert's avatar EmmaRobert

I also encountered the same case when using survival race

       
yasirelectronics's avatar
yasirelectronics
2 posts
one month ago
yasirelectronics's avatar yasirelectronics

At Yasir Electronics, explore a premium selection of home appliances designed for comfort and efficiency. Discover energy-saving DC Inverter AC in Pakistan, sleek Samsung AC, and versatile Samsung Refrigerator. Cook smarter with a modern Fryer, Samsung Microwave Oven, or clean with ease using a Samsung Washing Machine and Hitachi Refrigerator today!

       

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.