Mysql error:: 1052
Posted: Thu Aug 15, 2013 10:49 am
Столкнулся с какойто непонятной ошибкой. Поставил скрипт на новый домен. Импортнул галер. Пытаюсь вывести тумбы на главной морде получаю ошибку и тумбы не отображаются
все по дефолту стоит, ничего еще не крутил.
в хтмлке тумбы так выводятся
<a href="/gallery/<!--GALLERY_SLUG-->/index.html?4x1x46"><img src=/scj/thumbs/46.jpg width="240" height="180" border="1"></a>
Провел еще раз апдейт на последнюю версию. не помогает.
информация с home страницы админки
Code: Select all
Mysql error:: 1052 (Column 'alt' in field list is ambiguous) (db_link) in query SELECT id, gallery_slug, g.gallery_md5, sponsor_id, url, source_url, rot_content_id, embed_template, thumb_url, embed_code, flv_url, flv_size_x, flv_size_y, flv_thumb_url, tags, type, rgroup, content, content_type, duration, date, activation_date, casts, clicks, rating, priority, crop_profile_id, status, alt, description, custom_var1, custom_var2, custom_var3 FROM rot_galleries as g JOIN rot_gallery_info as gi ON gi.gallery_md5 = g.gallery_md5 JOIN rot_gallery_data as gd ON gd.gallery_md5 = g.gallery_md5 WHERE id IN (46,102,66,122,86) . (www.mydomain.com)
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /usr/home/domains/mydomain.com/public_html/scj/includes/db_modules/mysql.php on line 249в хтмлке тумбы так выводятся
<a href="/gallery/<!--GALLERY_SLUG-->/index.html?4x1x46"><img src=/scj/thumbs/46.jpg width="240" height="180" border="1"></a>
Провел еще раз апдейт на последнюю версию. не помогает.
информация с home страницы админки
Code: Select all
Note, this is a free version.
Please, fill in fields : Settings/CJ Settings/Site Info/Top position keywords;
Please, Select your niche in Settings/CJ Settings/Site Info
PHP lib JSON is not installed - This is not an error. Everything will work, except some funny things in admin like autosuggest boxes and so on. You can ask admin to install it for you.
You do not use any modern cache engine - This is not an error. Everything will work, but default cache engine is filecache and it's a bit slow compared to Couchbase or Redis. It's a good idea to use them to improve your server's performance.
Mysql Table Engine: looks like mysql DB table rot_galleries is not of InnoD format. it's good idea to tune mysql and use innodb table format for rot_* tables. Please, read wiki for mysql tuning hints.
Quick scj folder check returns following warnings:
Permissions on logs/content_graber.log is 0644, 0666 is recommended (chmod 0666 /usr/home/domains/mydomain.com/public_html/scj/logs/content_graber.log)
Permissions on logs/preload.log is 0644, 0666 is recommended (chmod 0666 /usr/home/domains/mydomain.com/public_html/scj/logs/preload.log)