Zlo_606ep: Видимо не до конца обновлен Hierarchical Select
попробуйте while более правильно сделать:
while ($menu = $result->fetchObject())
p.s. описанный блок идет из 6-ки, видать еще не полностью портировали - указанная функция отсутствует в 7-ке, возможно, эта правка вызовет новые баги
попробовал, нотисов стало чуть меньше
Notice: Undefined index: #item в функции hs_menu_form_alter() (строка 40 в файле /var/www/user/data/www/test.com/sites/all/modules/hierarchical_select/modules/hs_menu.module).
Notice: Undefined index: #item в функции hs_menu_form_alter() (строка 40 в файле /var/www/user/data/www/test.com/sites/all/modules/hierarchical_select/modules/hs_menu.module).
Notice: Array to string conversion в функции _hs_process_attach_css_js() (строка 410 в файле /var/www/user/data/www/test.com/sites/all/modules/hierarchical_select/hierarchical_select.module).
Notice: Undefined offset: 1 в функции hs_menu_hierarchical_select_lineage() (строка 116 в файле /var/www/user/data/www/test.com/sites/all/modules/hierarchical_select/modules/hs_menu.module).
Notice: Undefined index: entity_count в функции _hierarchical_select_apply_entity_settings() (строка 1856 в файле /var/www/user/data/www/test.com/sites/all/modules/hierarchical_select/hierarchical_select.module).
Notice: Undefined index: require_entity в функции _hierarchical_select_apply_entity_settings() (строка 1856 в файле /var/www/user/data/www/test.com/sites/all/modules/hierarchical_select/hierarchical_select.module).
Notice: Undefined offset: 1 в функции hs_menu_hierarchical_select_children() (строка 105 в файле /var/www/user/data/www/test.com/sites/all/modules/hierarchical_select/modules/hs_menu.module).
Notice: Undefined index: render_flat_select в функции form_hierarchical_select_process() (строка 759 в файле /var/www/user/data/www/test.com/sites/all/modules/hierarchical_select/hierarchical_select.module).
VBulletin норм (на нём серч работает), но он платный
!!!111
Почему никто до сих пор не сказал об опасносте вставки неэкранированного $_POST в mysql запрос ??
$text = "UPDATE items SET header='".mysql_real_escape_string($_POST['header'])."', text='".mysql_real_escape_string($_POST['text'])."', sait='".mysql_real_escape_string($_POST['sait'])."', moderated='0' WHERE id='".(int)$_POST['id']."';";
Класс!
Я линьков только в детстве ловил (так их называли во всяком случае), но там были именно "линьки" -- средняя длина в 1 палец
Ragnarok добавил 24.07.2011 в 13:24
Вчера вечером посидел на берегу Березины.. пара поклёвок, но дальше дело не пошло
пишешь скрипт, удаляющий 1 строку из файла
потом вешаешь его запуск на cron, вызов которого включаешь раз в час
с адалтом как?
ограничение на кол-во партнёров, работающих с одним сайтом есть?
видимо пока придётся отключить модуль
Видимо не до конца обновлен Hierarchical Select
попробуйте while более правильно сделать:
while ($menu = $result->fetchObject())
p.s. описанный блок идет из 6-ки, видать еще не полностью портировали - указанная функция отсутствует в 7-ке, возможно, эта правка вызовет новые баги
попробовал, нотисов стало чуть меньше
Notice: Undefined index: #item в функции hs_menu_form_alter() (строка 40 в файле /var/www/user/data/www/test.com/sites/all/modules/hierarchical_select/modules/hs_menu.module).
Notice: Array to string conversion в функции _hs_process_attach_css_js() (строка 410 в файле /var/www/user/data/www/test.com/sites/all/modules/hierarchical_select/hierarchical_select.module).
Notice: Undefined offset: 1 в функции hs_menu_hierarchical_select_lineage() (строка 116 в файле /var/www/user/data/www/test.com/sites/all/modules/hierarchical_select/modules/hs_menu.module).
Notice: Undefined index: entity_count в функции _hierarchical_select_apply_entity_settings() (строка 1856 в файле /var/www/user/data/www/test.com/sites/all/modules/hierarchical_select/hierarchical_select.module).
Notice: Undefined index: require_entity в функции _hierarchical_select_apply_entity_settings() (строка 1856 в файле /var/www/user/data/www/test.com/sites/all/modules/hierarchical_select/hierarchical_select.module).
Notice: Undefined offset: 1 в функции hs_menu_hierarchical_select_children() (строка 105 в файле /var/www/user/data/www/test.com/sites/all/modules/hierarchical_select/modules/hs_menu.module).
Notice: Undefined index: render_flat_select в функции form_hierarchical_select_process() (строка 759 в файле /var/www/user/data/www/test.com/sites/all/modules/hierarchical_select/hierarchical_select.module).
в .htaccess проверь
попробуй перезалить QueryString.php и index.php
на сервере у QueryString.php в таком же регистре имя, с заглавными Q и S?