| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| O'Cédar 
 
 
 Joined: 06 May 06
 Posts: 3
 
 Location: Lausanne, Switzerland
 
 | 
			
				|  Posted: Mon Jun 05, 2006 3:18 pm    Post subject: Games forums |   |  
				| 
 |  
				| Hi ! It is impossible for me to write a message on the mini-forum of the games themselves !
 When I write and then click on "post", I see this appearing :
 
 [error message deleted]
 
 and the message has not been sent.... maybe this comes from the characters in my name...
 Cheers
 Cédric
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| striking_cobra 
 
 
 Joined: 07 Dec 05
 Posts: 107
 
 Location: Gloucester, UK
 
 | 
			
				|  Posted: Mon Jun 05, 2006 3:39 pm    Post subject: |   |  
				| 
 |  
				| Not being a PHP developer, but having been a DBA for more years than I care to remember, I'd say it's almost certainly because you have the apostrophy in your name, the SQL cannot be parsed correctly. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| sbszine 
 
  
 Joined: 04 Apr 06
 Posts: 16
 
 Location: Sydney, Australia
 
 | 
			
				|  Posted: Mon Jun 05, 2006 8:18 pm    Post subject: |   |  
				| 
 |  
				| If the devs are reading this: running the SQL query through the php addslashes()  function and the output through the stripslashes() function will solve this. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| RyanMC SBW Developer
 
  
 Joined: 13 Sep 05
 Posts: 344
 
 Location: Draper, UT USA
 
 | 
			
				|  Posted: Mon Jun 05, 2006 8:34 pm    Post subject: |   |  
				| 
 |  
				| Yeah, its an easy fix, we just need to wait for Mikael to get back so we can handle it. If you want to play until then you will need to do a non special char username. _________________
 ---------------
 -=RyanMC=-
 ---------------
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| O'Cédar 
 
 
 Joined: 06 May 06
 Posts: 3
 
 Location: Lausanne, Switzerland
 
 | 
			
				|  Posted: Tue Jun 06, 2006 3:01 am    Post subject: |   |  
				| 
 |  
				| Thanks a lot for the quick replies ! 
 I will keep on playing for the time being without using the mini-forums, it won't kill me !
 Cheers, and thanks for this great website !
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| milksheikh Site Admin
 
  
 Joined: 24 Sep 03
 Posts: 399
 
 Location: Brooklyn, New York, USA
 
 | 
			
				|  Posted: Thu Jun 08, 2006 1:24 am    Post subject: |   |  
				| 
 |  
				| I'm back, and I've fixed the problem. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| O'Cédar 
 
 
 Joined: 06 May 06
 Posts: 3
 
 Location: Lausanne, Switzerland
 
 | 
			
				|  Posted: Thu Jun 08, 2006 8:44 am    Post subject: |   |  
				| 
 |  
				| Indeed you have ! Thanks a lot ! |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |