Difference between revisions of "PHP Warnings (XAMPP)"

 

During the installation or some PHP warnings can be displayed. To solve this problem just follow these steps. 

Example of warning messages[edit | edit source]

PHPwarnings1.jpg


How to hide warnings[edit | edit source]

Open your computer, on System C, go to the folder xampp.  In this folder xampp you will find a folder htdocs with your BlueSpice installation folder. In that folder you will find LocalSettings as image below shows:

PHPwarnings2.jpg

Open LocalSettings and scroll down, on the end type: 

error_reporting(0);
ini_set('display_errors', 0);

Like on this image:

PHPwarnings3.jpg

Save:   Ctrl + S

The PHP warnings will be hidden now.

During the installation or some PHP warnings can be displayed. To solve this problem just follow these steps. 
        

        ==Example of warning messages==
        
        [[File:PHPwarnings1.jpg|500x266px]]
        


        ==How to hide warnings==
        
        Open '''your computer''', on '''System C,''' go to the folder '''xampp'''.  In this folder '''xampp''' you will find a folder '''htdocs''' with your BlueSpice installation folder. In that folder you will find '''LocalSettings''' as image below shows:
        

        [[File:PHPwarnings2.jpg|500x270px]]
        

        Open '''LocalSettings''' and scroll down, on the end type: 
        

        '''error_reporting(0);'''<br data-attributes="%20/" data-mce-fragment="1" />'''ini_set('display_errors', 0);'''
        

        Like on this image:
        

        [[File:PHPwarnings3.jpg|500x270px]]
        

        Save:   '''Ctrl + S'''
        

        The PHP warnings will be hidden now.
        
            
            [[en:{{FULLPAGENAME}}]][[de:PHP_Warnings_(XAMPP)]]
            

            [[[[Category:Howto]]
Line 22: Line 22:
  
 
The PHP warnings will be hidden now.
 
The PHP warnings will be hidden now.
 +
 +
[[en:{{FULLPAGENAME}}]][[de:PHP_Warnings_(XAMPP)]]
 +
 
[[Category:Howto]]
 
[[Category:Howto]]

Attachments

Discussions