Go Back   Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum > Web Hosting and Domains > VPS & Dedicated Hosting

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-15-2008, 10:45 PM
Junior Member
 
Join Date: Sep 2008
Posts: 15
Default "Notice: Use of undefined constant/variable" messages

Hello,

Getting error "Notice: Use of undefined constant/variable" messages.

Just change following setting in php.ini to fix this.


Code:
error_reporting = E_ALL
to

Code:
error_reporting = E_ALL & ~E_NOTICE

Regards,
Sam
Reply With Quote
  #2 (permalink)  
Old 11-16-2008, 08:19 PM
Junior Member
 
Join Date: Nov 2008
Posts: 27
Default

You must also disable on screen reporting because this is only be used for development and debugging purposes.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:20 AM.
Copyright 2002-2007 WebHosting.uk.com. All rights reserved.
Web Hosting UK Forum