WHERE ( `Order`.`id` = 71 AND (( `Order`.`createdby` = 1 AND `Order`.<strong>`status_id` = 1</strong> ) OR `Order`.`contractor` = 1 ) AND `Order`.<strong>`status_id` != 1</strong> )
Возможно я ошибаюсь, но не получается тут противоречие с условиями отбора по status_id? (SQL, сгерированный в web/orders/getlist, ns=basket)
[2013-12-21 22:44:18] (ERROR @ /assets/components/tag_manager/connector_fe.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:44:18] (ERROR @ /assets/components/tag_manager/connector_fe.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:44:18] (ERROR @ /assets/components/tag_manager/connector_fe.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:44:18] (ERROR @ /assets/components/tag_manager/connector_fe.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:44:18] (ERROR @ /assets/components/tag_manager/connector_fe.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:44:18] (ERROR @ /assets/components/tag_manager/connector_fe.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:44:18] (ERROR @ /assets/components/tag_manager/connector_fe.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:44:18] (ERROR @ /assets/components/tag_manager/connector_fe.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:44:18] (ERROR @ /assets/components/tag_manager/connector_fe.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:44:18] (ERROR @ /assets/components/tag_manager/connector_fe.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:44:20] (ERROR @ /assets/components/tag_manager/connector_fe.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:44:20] (ERROR @ /assets/components/tag_manager/connector_fe.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:44:20] (ERROR @ /assets/components/tag_manager/connector_fe.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:44:20] (ERROR @ /assets/components/tag_manager/connector_fe.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:44:20] (ERROR @ /assets/components/tag_manager/connector_fe.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:44:20] (ERROR @ /assets/components/tag_manager/connector_fe.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:44:20] (ERROR @ /assets/components/tag_manager/connector_fe.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:44:20] (ERROR @ /assets/components/tag_manager/connector_fe.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:50:44] (ERROR @ /index.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:50:44] (ERROR @ /index.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:50:44] (ERROR @ /index.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:50:44] (ERROR @ /index.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:50:44] (ERROR @ /index.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:50:44] (ERROR @ /index.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:50:44] (ERROR @ /index.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-21 22:50:44] (ERROR @ /index.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-22 00:28:39] (ERROR @ /index.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl() [2013-12-22 00:28:39] (ERROR @ /index.php) `[[+resource_id]]` is not a valid integer and may not be passed to makeUrl()
вот логи
Не верю. У тебя чистый js в этом блоке, а там у тебя html-тег появился. Если браузер не ругается, то ты видимо при создании топика привел код с ошибкой.
А я очень рад, что все больше и больше людей берет наши технологии на вооружение :)
Так я не понаслышке знаком с твоей стратегией работы с MODX :), грех с людьми хорошим знанием не поделиться. Конечно, непросто с нуля вникнуть и начать делать сайт на MODXSmarty вместо стандартных тегов MODX, тем более если человек не программист, но зато, когда сделан первый сайт, ни на секунду не жалеешь о потраченном времени.
formit то отсылает письма так что все phpmail работает
И еще я не совсем понял: пользователь автоматом регистрируется при оформлении заказа, заносится в базу. А как он потом сможет войти? через восстановление пароля? Мне кажется, надо бы ему еще письмо скидывать с данными авторизации. Как думаешь?
Именно поэтому некоторые люди не вникают в смысл обсуждений, а увидев, кто к кому обращается, сразу выдают комментарии типа как первый комментарий к этому топику.
Я в первую очередь — программист. И если я вижу что-то технически неправильное, тем более с вводом других в заблуждение, то я обязательно буду отстаивать истину. А кто и что обо мне будет думать — это уже меня не особо волнует. Главное — что я буду честен перед собой, и совесть моя будет чиста. Это не вопрос пиара. Это вопрос моих принципов.
и сам вношу посильную лепту, общаясь с людьми.
За это всегда спасибо! :)
Ну а как же? В споре рождается истина
С этим не поспоришь, только ИМХО на каком-то этапе именно спор именно между вами начал выглядеть как банальная драка. Именно поэтому некоторые люди не вникают в смысл обсуждений, а увидев, кто к кому обращается, сразу выдают комментарии типа как первый комментарий к этому топику. (не в обиду автору)
Этим мы занимаемся, и очень даже успешно.
Это я вижу, и сам вношу посильную лепту, общаясь с людьми. Это самый эффективный метод, проверено.