Create Custom Galleries - default (Goup params)

Ryba
Posts: 111
Joined: Tue Jan 15, 2013 3:55 pm

Create Custom Galleries - default (Goup params)

Post by Ryba »

Неправильно сделал импорт для пиксового сиджа, откропил, как теперь в List thumbs (или где нибудь для удаления) найти все галлеры, которые для Create Custom Galleries - Crop Profile был указан default (Goup params)
руками мало представляю Items (Total Found: 11078).
SmartCJ Pro V 1.51 Build 201402011516
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: Create Custom Galleries - default (Goup params)

Post by admin »

Проверил - в list thumbs есть фильтр по кроп профайлу - не поможет ?
Don't forget to run script update
Ryba
Posts: 111
Joined: Tue Jan 15, 2013 3:55 pm

Re: Create Custom Galleries - default (Goup params)

Post by Ryba »

Нет, основные тумбы у меня в нужном профиле, а вот тумбы Custom Galleries - не в том что надо, этот фильтр на них не действует.
SmartCJ Pro V 1.51 Build 201402011516
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: Create Custom Galleries - default (Goup params)

Post by admin »

Тут проблема в том что галера не перерезается, перерезает только тумбы ротации ...
Don't forget to run script update
Ryba
Posts: 111
Joined: Tue Jan 15, 2013 3:55 pm

Re: Create Custom Galleries - default (Goup params)

Post by Ryba »

Да, не вопрос, как мне такие галлеры удалить? )))
SmartCJ Pro V 1.51 Build 201402011516
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: Create Custom Galleries - default (Goup params)

Post by admin »

можно так

update rot_galleries set status = 12 where rot_content_id in (select content_id from rot_content where crop_profile_id =.......... )

как обычно не помешает бекап перед этим.
Don't forget to run script update
Ryba
Posts: 111
Joined: Tue Jan 15, 2013 3:55 pm

Re: Create Custom Galleries - default (Goup params)

Post by Ryba »

#1054 - Unknown column 'rot_content_id' in 'IN/ALL/ANY subquery'

вот такой ответ получаю..
SmartCJ Pro V 1.51 Build 201402011516
Ryba
Posts: 111
Joined: Tue Jan 15, 2013 3:55 pm

Re: Create Custom Galleries - default (Goup params)

Post by Ryba »

Взял в кавычки, никого он не нашел:
Затронуто 0 строк. ( Запрос занял 0.3532 сек. )

UPDATE rot_galleries SET STATUS =12 WHERE 'rot_content_id' IN (
SELECT content_id
FROM rot_content
WHERE crop_profile_id =1
)
SmartCJ Pro V 1.51 Build 201402011516
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: Create Custom Galleries - default (Goup params)

Post by admin »

Может там не 1 было ?
Don't forget to run script update
Ryba
Posts: 111
Joined: Tue Jan 15, 2013 3:55 pm

Re: Create Custom Galleries - default (Goup params)

Post by Ryba »

id смотрел через: /scj/admin/?operation=rot_edit_crop_profile&crop_profile_id=1
т.е. rotation > crop profiles > advanced edit, его вроде нигде больше не видно..
SmartCJ Pro V 1.51 Build 201402011516
Post Reply