Bitcoin Forum

Economy => Service Discussion => Topic started by: etanoox on August 03, 2012, 03:21:58 PM



Title: BitDayTrade SQL Error
Post by: etanoox on August 03, 2012, 03:21:58 PM
Hi, i want to close a position but i receive this SQL Error

SQL = [SELECT DISTINCT position_id FROM engine_close_positions_queue WHERE position_id ='XXXX' AND customer_id='XXX']
Array (
  • => Array ( [file] => /var/www/bitdaytrade.com/app/database.php [line] => 19 [function] => db_report_error [args] => Array (
  • => SELECT DISTINCT position_id FROM engine_close_positions_queue WHERE position_id ='XXXX' AND customer_id='XXX' ) ) [1] => Array ( [file] => /var/www/bitdaytrade.com/app/close.php [line] => 118 [function] => db_query [args] => Array


How can i resolve this problem?
 >:(


Title: Re: BitDayTrade SQL Error
Post by: Meni Rosenfeld on August 03, 2012, 03:27:56 PM
I've forwarded this to Alberto. In general the best way to resolve such issues is emailing info@bitdaytrade.com.


Title: Re: BitDayTrade SQL Error
Post by: bitdaytrade on August 03, 2012, 03:31:36 PM
Issue resolved. Apologizes.


Title: Re: BitDayTrade SQL Error
Post by: epetroel on August 03, 2012, 04:42:37 PM
eek - probably shouldn't be showing SQL errors on a production site like that. 


Title: Re: BitDayTrade SQL Error
Post by: bitdaytrade on August 03, 2012, 05:47:44 PM
eek - probably shouldn't be showing SQL errors on a production site like that. 

Agreed, anyhow, we don't rely on security through obscurity, our database should be safe even with a public schema.