| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| hubson -
 
 
 Joined: 10 May 2004
 Posts: 94
 Location: Coventry
 
 | 
			
				|  Posted: Tue May 11, 2004 5:06 pm    Post subject: Error on forums can anyone help |   |  
				| 
 |  
				| hi, I have my server set up, I have install a copy of phpbb forums but I am getting this error can someone help please.. 
 
 Warning: eregi(): REG_EMPTY: empty (sub)expression in C:\Program Files\Abyss Web Server\htdocs\forum\referers.php on line 34
 
 Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Abyss Web Server\htdocs\forum\referers.php:34) in C:\Program Files\Abyss Web Server\htdocs\forum\includes\sessions.php on line 340
 
 Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Abyss Web Server\htdocs\forum\referers.php:34) in C:\Program Files\Abyss Web Server\htdocs\forum\includes\sessions.php on line 341
 
 Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Abyss Web Server\htdocs\forum\referers.php:34) in C:\Program Files\Abyss Web Server\htdocs\forum\includes\page_header.php on line 1004
 
 Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Abyss Web Server\htdocs\forum\referers.php:34) in C:\Program Files\Abyss Web Server\htdocs\forum\includes\page_header.php on line 1006
 
 Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Abyss Web Server\htdocs\forum\referers.php:34) in C:\Program Files\Abyss Web Server\htdocs\forum\includes\page_header.php on line 1007
 |  | 
	
		| Back to top |                | 
	
		|  | 
	
		| TRUSTAbyss -
 
 
 Joined: 29 Oct 2003
 Posts: 3752
 Location: USA, GA
 
 | 
			
				|  Posted: Tue May 11, 2004 6:06 pm    Post subject: |   |  
				| 
 |  
				| open your php.ini file in C:\Windows and change the setting error_reporting
 to the following
 
 error_reporting = E_ALL & ~E_NOTICE;
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| TRUSTAbyss -
 
 
 Joined: 29 Oct 2003
 Posts: 3752
 Location: USA, GA
 
 | 
			
				|  Posted: Tue May 11, 2004 9:12 pm    Post subject: |   |  
				| 
 |  
				| error_reporting = E_ALL; 
 Change this to the following
 
 error_reporting = E_ALL & ~E_NOTICE;
 
 Also change display_errors  = On to Off
 these are Warning's meaning that the
 error_reporting won't do much
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| iNaNimAtE -
 
 
 Joined: 05 Nov 2003
 Posts: 2381
 Location: Everywhere you're not.
 
 | 
			
				|  Posted: Wed May 12, 2004 4:40 am    Post subject: |   |  
				| 
 |  
				|  	  | hubson wrote: |  	  | display_errors = On | 
 Change that to "off" to hide all errors. If the forum functions properly, then there is no reason to keep those displayed. If you are having actual trouble using the forum, then keep them on for troubleshooting.
 _________________
 Bienvenidos!
 |  | 
	
		| Back to top |                | 
	
		|  | 
	
		|  |