|
Вы сейчас находитесь в Москве, мы угадали? Да Выбрать регион
Error: SQL:execute_helper(_models/collections/get) - Error: ERROR:  invalid input syntax for integer: "288ℑ_id=44055"

stack=
Error: ERROR:  invalid input syntax for integer: "288ℑ_id=44055"

    at Error (native)
    at LNSql.execute_helper (/home/projects/lattenoir/code/server/Sql.js:311:16)
    at LNSql.execute_and_fetch_one (/home/projects/lattenoir/code/server/Sql.js:421:14)
    at LNModel.Get (/home/projects/lattenoir/code/server/Model.js:270:20)
    at LNRR.exports.add.download (/www/vahvarh/graciaceramica.com-2/code/controllers/Collections.js:13:37)
    at LNRR.C (/home/projects/lattenoir/code/server/RR.js:573:13)
    at LNRR.process_regular_page (/home/projects/lattenoir/code/server/RR.js:334:26)
    at LNRR.process_page (/home/projects/lattenoir/code/server/RR.js:246:30)
    at LNServer.http_work (/home/projects/lattenoir/code/server/Server.js:717:70)
    at Object.<anonymous> (/home/projects/lattenoir/app.js:19:10)
bind='1','','288ℑ_id=44055'
query:
/* AUTOGENERATED. DO NOT EDIT (code/sql/_models/collections/get.sql) */
select
	main.id,
	main.enabled as enabled,
	main.ordering as ordering,
	main.image1_id as image1_id,
	t__image1.ext as image1_ext,
	t__image1.file_folder_id as image1_file_folder_id,
	main.image2_id as image2_id,
	t__image2.ext as image2_ext,
	t__image2.file_folder_id as image2_file_folder_id,
	main.type_id as type_id,
	coalesce(t__typel1.name,t__typel2.name) as type_name,
	t__type.code as type_code,
	main.is_featured as is_featured,
	main.url_code as url_code,
	main.format as format,
	main.catalog as catalog,
	main.is_promo as is_promo,
	main.stocks_id as stocks_id,
	t__stocks.ext as stocks_ext,
	t__stocks.file_folder_id as stocks_file_folder_id,
	coalesce(mainl1.l10n_id,mainl2.l10n_id) as l10n_id,
	coalesce(mainl1.name,mainl2.name) as name,
	coalesce(mainl1.abstract,mainl2.abstract) as abstract,
	coalesce(mainl1.body,mainl2.body) as body,
	coalesce(mainl1.recomendations,mainl2.recomendations) as recomendations,
	coalesce(mainl1.body2,mainl2.body2) as body2,
	coalesce(mainl1.metakeywords,mainl2.metakeywords) as metakeywords
from
	Tcollections main
	left join Tfiles t__image1 on main.image1_id=t__image1.id
	left join Tfiles t__image2 on main.image2_id=t__image2.id
	left join Tcollection_types t__type on main.type_id=t__type.id
	left join Tcollection_types_l10n t__typel1 on t__type.id=t__typel1.fid_id and t__typel1.l10n_id=$1
	left join Tcollection_types_l10n t__typel2 on t__type.id=t__typel2.fid_id and t__typel2.l10n_id=$2
	left join Tfiles t__stocks on main.stocks_id=t__stocks.id
	left join Tcollections_l10n mainl1 on main.id=mainl1.fid_id and mainl1.l10n_id=$1
	left join Tcollections_l10n mainl2 on main.id=mainl2.fid_id and mainl2.l10n_id=$2
where
	main.id=$3

Stack

    at LNSql.execute_helper (/home/projects/lattenoir/code/server/Sql.js:347:9)
    at LNSql.execute_and_fetch_one (/home/projects/lattenoir/code/server/Sql.js:421:14)
    at LNModel.Get (/home/projects/lattenoir/code/server/Model.js:270:20)
    at LNRR.exports.add.download (/www/vahvarh/graciaceramica.com-2/code/controllers/Collections.js:13:37)
    at LNRR.C (/home/projects/lattenoir/code/server/RR.js:573:13)
    at LNRR.process_regular_page (/home/projects/lattenoir/code/server/RR.js:334:26)
    at LNRR.process_page (/home/projects/lattenoir/code/server/RR.js:246:30)
    at LNServer.http_work (/home/projects/lattenoir/code/server/Server.js:717:70)
    at Object.<anonymous> (/home/projects/lattenoir/app.js:19:10)