Title: Warning while opening website
Last modified: August 30, 2016

---

# Warning while opening website

 *  Resolved [CDGi](https://wordpress.org/support/users/cdgi/)
 * (@cdgi)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/warning-while-opening-website/)
 * Hello,
    When I open my website there is a quick glimpse of a warning. I can’t
   figure out what it is, but when I go into the login page there is a warning there
   which stats-
 * > “Warning: define(): It is not safe to rely on the system’s timezone settings.
   > You are *required* to use the date.timezone setting or the date_default_timezone_set()
   > function. In case you used any of those methods and you are still getting this
   > warning, you most likely misspelled the timezone identifier. We selected ‘America/
   > New_York’ for ‘-4.0/DST’ instead in E:\wwwroot\www.cinemadesigngroup.com.wordpress\
   > wp-config.php on line 73 Notice: Constant WP_DEBUG already defined in E:\wwwroot\
   > www.cinemadesigngroup.com.wordpress\wp-config.php on line 73 “
 * My website is [http://www.cinemadesigngroup.com/](http://www.cinemadesigngroup.com/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/warning-while-opening-website/#post-6647608)
 * Have you edited your wp-config.php file since you installed WordPress?
 *  Thread Starter [CDGi](https://wordpress.org/support/users/cdgi/)
 * (@cdgi)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/warning-while-opening-website/#post-6647643)
 * I have but that was a while ago, but the warning started a week or two ago. Would
   you know how to fix it?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/warning-while-opening-website/#post-6647648)
 * Not yet. Let’s just try one step at a time.
 * Can you post a copy of your wp-config.php file here **with all passwords and 
   database details removed**?
 *  Thread Starter [CDGi](https://wordpress.org/support/users/cdgi/)
 * (@cdgi)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/warning-while-opening-website/#post-6647651)
 *     ```
       define ('WPLANG', '');
       define('WP_DEBUG', false);
       define('DISALLOW_FILE_EDIT', true);
       define('DISALLOW_FILE_MODS',true);
       ```
   
 * This is the line that the warning stats.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/warning-while-opening-website/#post-6647655)
 * Remove `define('WP_DEBUG', false);`. It’s false by default, so is not needed 
   on a live site.
 *  Thread Starter [CDGi](https://wordpress.org/support/users/cdgi/)
 * (@cdgi)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/warning-while-opening-website/#post-6647661)
 * That seemed to work.
    Thanks
 * I have another forum that I need help with. May you take a look at it and see
   if you can help with that.[https://wordpress.org/support/topic/search-engine-problems?replies=1](https://wordpress.org/support/topic/search-engine-problems?replies=1)

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Warning while opening website’ is closed to new replies.

## Tags

 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [CDGi](https://wordpress.org/support/users/cdgi/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/warning-while-opening-website/#post-6647661)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
