Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
3.0k views
in Q2A Core by

Warning: ini_set() has been disabled for security reasons in /home/domain/public_html/qa-include/qa-class.phpmailer.php on line 475

Warning: ini_set() has been disabled for security reasons in /home/domain/public_html/qa-include/qa-class.phpmailer.php on line 494

these errors are accours on the top of the page and these types of errors (Warning: ini_set() has been disabled for security reasons) are also occours on others pages. also on when gives a answer of a question

by
please anyone reply me how to solve this error
Warning: ini_set() has been disabled for security reasons

2 Answers

0 votes
by

Place @ before ini_set anywhere in the Q2A code. You can see some examples in the code of where this is already done, but I didn't do it to 3rd party open source code.

by
thanx sir i will add this
0 votes
by
edited

 

can i also use @ in these lines..... this file give also same error
 
 question2answer\qa-include\qa-htmLawed.php
 
Line 364: else{ini_set('track_errors', 1);}
 
Line 366: if(($d = ini_get('display_errors'))){ini_set('display_errors', 0);}
 
Line 368: if($d){ini_set('display_errors', 1);}
 
Line 371: else{ini_set('track_errors', 0);}
 
 
and can i add @ before ini_get  
...