[Zotonic-Dev] I can not go into the status of the last release from git

2016-07-25 Thread heiheshang
zotonic | ==> /srv/zotonic/priv/log/crash.log <== zotonic | 2016-07-25 15:03:05 =ERROR REPORT zotonic | webmachine_mochiweb:119 stop_request 500 (reason {{badmatch,{error,{badarg,[{erlang,list_to_existing_atom,["desktop"],[]},{z_ubf,get_stuff,6,[{file,"/srv/zotonic/_build/defaul

[Zotonic-Dev] problem installing the latest release from git zotonic

2016-07-25 Thread heiheshang
zotonic | zotonic | ==> /srv/zotonic/priv/log/error.log <== zotonic | 2016-07-25 15:20:56.900 [error] <0.2044.0> webmachine_mochiweb:119 stop_request 500 (reason {{badmatch,{error,{badarg,[{erlang,list_to_existing_atom,["desktop"],[]},{z_ubf,get_stuff,6,[{file,"/srv/zotonic/_build

[Zotonic-Dev] z_pivot_rsc:448 [skl] warning @ z_pivot_rsc:448 Pivot error 1: {'EXIT', what to do with this error?

2016-07-25 Thread heiheshang
2016-07-25 16:06:43.133 [warning] z_pivot_rsc:448 [skl] warning @ z_pivot_rsc:448 Pivot error 1: {'EXIT', {function_clause, [{z_convert,to_list, [{ok,ru}], [{file, "

[Zotonic-Dev] after the upgrade does not work Menu

2016-07-25 Thread heiheshang
after the upgrade does not work {% menu %}, It works only for authorized users.If an anonymous user, [] -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe from this group and stop receiving emails from it, send an email

[Zotonic-Dev] bug in the latest release

2016-07-25 Thread heiheshang
2016-07-26 04:51:38.729 [error] <0.24417.0>@template_compiler_runtime_internal:include_1:211 Error {error,{{"/srv/zotonic/modules/mod_base/templates/pivot/_title.tpl",1,6},template_compiler_parser,["syntax error before: ",[[60,60,"\".\"",62,62]]]}} -- --- You received this message because y

[Zotonic-Dev] does not work sending mail

2016-07-31 Thread heiheshang
zotonic | ==> /srv/zotonic/priv/log/console.log <== zotonic | 2016-07-31 15:33:49.118 [info] <0.25372.3>@z_email_server:spawned_email_sender_loop:591 [smtp] Sending email to "heih@yandex.ru" (<<"ofrtynjva0tysn2g40f5">>), via relay "mail.anriya.ru" zotonic | 2016-07-31 15:33:59

Re: [Zotonic-Dev] does not work sending mail

2016-08-01 Thread heiheshang
se yandex as smtp gateway, don’t you? > > Might be a connect timeout on yandex, but I am not sure. > > - Marc > > > > On 31 Jul 2016, at 17:38, heiheshang > > wrote: > > zotonic | ==> /srv/zotonic/priv/log/console.log <== > zotonic | 2016-07-3

[Zotonic-Dev] how the pivot?

2016-08-04 Thread heiheshang
init(Context) -> z_pivot_rsc:define_custom_pivot(?MODULE, [{bitrix_id, "smallint"}], Context), ok. observe_custom_pivot({custom_pivot, Id}, Context) -> Requestor = m_rsc:p(Id, bitrix_id, Context), {?MODULE, [{bitrix_id, Requestor}]}. but when I do select * from pivot

[Zotonic-Dev] how to take advantage of my unit?

2016-08-11 Thread heiheshang
%% @doc Check if a module wants to redirect to the signup form. Returns either {ok, Location} or undefined. observe_signup_url(#signup_url{props=Props, signup_props=SignupProps}, Context) -> CheckId = binary_to_list(z_ids:id()), z_session:set(signup_xs, {CheckId, Props, SignupProps}, Con

Re: [Zotonic-Dev] does not work sending mail

2016-08-27 Thread heiheshang
gt; > I have to check the source code to see where this timeout can come from. > > I assume you weren’t sending lots of emails at that moment? > It seems you use yandex as smtp gateway, don’t you? > > Might be a connect timeout on yandex, but I am not sure. > > - Marc >

[Zotonic-Dev] I can not run zotonic docker

2016-09-25 Thread heiheshang
Setup running ... Directories verified. Res = {[ok],[]} Setup finished processing hooks ... 01:23:23.224 [info] Application setup started on node zotonic001@93f730b39aee 01:23:23.276 [info] Starting reporters with [] 01:23:23.276 [info] Application exometer_core started on node zotonic001@93f730b

[Zotonic-Dev] I do not understand what's the problem?

2016-09-26 Thread heiheshang
enif_send: called from non-scheduler thread on non-SMP VM/opt/zotonic/src/ scripts/zotonic-debug: line 33: 1613 Aborted (core dumped) $ERL -env ERL_MAX_PORTS $MAX_PORTS +P $MAX_PROCESSES +K $KERNEL_POLL -pa $PA $NAME_ARG $NODENAME@$NODEHOST -boot start_sasl $(find_config_arg erla

[Zotonic-Dev] Re: I do not understand what's the problem?

2016-09-27 Thread heiheshang
erlang VM without SMP support. Travis used to have this in the > past. > > I don't know what you are running on, but check the SMP support of your VM. > > Regards, > > Maas > > > > On Monday, September 26, 2016 at 5:57:55 PM UTC+2, heiheshang wrote: >>

[Zotonic-Dev] Re: I do not understand what's the problem?

2016-09-27 Thread heiheshang
g on, but check the SMP support of your VM. > > Regards, > > Maas > > > > On Monday, September 26, 2016 at 5:57:55 PM UTC+2, heiheshang wrote: >> >> enif_send: called from non-scheduler thread on non-SMP VM/opt/zotonic/src >> /scripts/zotonic-debug: l

Re: [Zotonic-Dev] Re: I do not understand what's the problem?

2016-09-27 Thread heiheshang
any virtual machine for the development took the bare minimum среда, 28 сентября 2016 г., 2:47:27 UTC+9 пользователь Arjan Scherpenisse написал: > > There is only one core so Erlang runs without SMP support? > > On 09/27/2016 06:01 PM, heiheshang wrote: > > bash-4.3#

[Zotonic-Dev] I can not create a site

2016-09-27 Thread heiheshang
db | ERROR: relation "config" does not exist at character 15 db | STATEMENT: select * from config order by module, key zotonic| 2016-09-28 02:43:34.634 [warning] <0.329.0>@z_installer:check_db_and_upgrade:58 [aabb] Installing database with db options: [{dbdatabase,"aabb"},{

Re: [Zotonic-Dev] Re: I do not understand what's the problem?

2016-09-28 Thread heiheshang
rc > > > On 28 Sep 2016, at 04:04, heiheshang > > wrote: > > any virtual machine for the development took the bare minimum > > среда, 28 сентября 2016 г., 2:47:27 UTC+9 пользователь Arjan Scherpenisse > написал: >> >> There is only one core so Erla

[Zotonic-Dev] zotonic working with polymer?

2016-09-28 Thread heiheshang
zotonic working with polymer? I came across a problem with the templates they use the same {{}} in templates -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe from this group and stop receiving emails from it, send an e

[Zotonic-Dev] how to understand what kind of error?

2016-09-28 Thread heiheshang
zotonic| include/zotonic_notifications.hrl:654: record manage_data already defined zotonic| make: *** [compile] Error 1 zotonic| Fixing config folder user and group. -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To u

Re: [Zotonic-Dev] how to understand what kind of error?

2016-09-29 Thread heiheshang
I found a bug. четверг, 29 сентября 2016 г., 16:18:46 UTC+9 пользователь Marc Worrell написал: > > Do you have a module that includes zotonic.hrl and > zotonic_notifications.hrl? > > - Marc > > > On 29 Sep 2016, at 03:14, heiheshang > > wrote: > > zotonic

[Zotonic-Dev] in tpl get search_result?

2016-10-05 Thread heiheshang
m,m_search, {m_search_result,query, [{custompivot,"operation_type"}, {filter,["pivot1.operation_code","=",<<>>]}, {pagelen,30}, {page,1}], {search_result,[],1,undefined,undefined,undefined,

[Zotonic-Dev] how to use mqtt?

2016-10-05 Thread heiheshang
If I add the code pubzub.subscribe("~pagesession/foo/#", function(topic, msg) { console.log(topic, msg); }); Page makes the reload, infinite, how to properly use mqtt? -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscrib

[Zotonic-Dev] ssl ?

2016-10-12 Thread heiheshang
zotonic| ==> /srv/zotonic/priv/log/crash.log <== zotonic| 2016-10-13 02:51:13 =ERROR REPORT zotonic| Unable to read boot script (start_sasl.script): {error,enoent} zotonic| 2016-10-13 02:54:42 =ERROR REPORT zotonic| Unable to read boot script (start_sasl.script): {error,

[Zotonic-Dev] Re: ssl ?

2016-10-13 Thread heiheshang
module is active, this is no problem, there were certificates in / ssl, but the site is not available on https 2016-10-13 04:03:07.914 [info] mod_ssl_self_signed:48 [asso] info @ mod_ssl_self_signed:48 SSL: Certificates ready. четверг, 13 октября 2016 г., 15:20:24 UTC+9 пользователь M-MZ напис

[Zotonic-Dev] Re: ssl ?

2016-10-13 Thread heiheshang
zotonic| 2016-10-13 09:29:07.445 [info] <0.266.0>@zotonic_sup:init:182 Web server listening on IPv4 any:8000, IPv6 ::8000, SSL :8443 I see it in the console. in a configuration parameter is responsible for the ssl port? четверг, 13 октября 2016 г., 18:28:11 UTC+9 пользователь M-MZ написал:

[Zotonic-Dev] Re: how to use mqtt?

2016-11-02 Thread heiheshang
I saw the documentation, I can not repeat the work. z_mqtt:publish(<<"~pagesession/ticket/t">>,[],Context). javascript code {% javascript %} pubzub:subscribe("~pagesession/ticket/#",function(topic,msg) {console.log( msg)}); {%endjavascript%} It does not work for me четверг, 13 октября 2016

[Zotonic-Dev] Why is there such a mistake?

2016-11-06 Thread heiheshang
2016-11-06 08:48:46.385 [error] <0.259.0> CRASH REPORT Process <0.259.0> with 0 neighbours exited with reason: call to undefined function emqtt_auth_z_mqtt_auth:init([]) in gen_server2:init_it/6 line 481 2016-11-06 08:48:46.385 [error] <0.258.0> Supervisor emqtt_sup had child emqtt_auth started

[Zotonic-Dev] how to activate the unit if there is no access to the console?

2016-11-06 Thread heiheshang
how to activate the unit if there is no access to the console? -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to zotonic-developers+unsubscr...@googleg

Re: [Zotonic-Dev] Why is there such a mistake?

2016-11-07 Thread heiheshang
configuration for emqtt? > > It should be something like: > > {emqtt, [ > {auth, {zotonic, []}}, > {access_control, {zotonic, []}}, > > > - Marc > > > On 06 Nov 2016, at 15:41, heiheshang > > wrote: > > 2016-11-06 08:48:46.385 [error] <0.

Re: [Zotonic-Dev] Why is there such a mistake?

2016-11-07 Thread heiheshang
When in fact it is called “emqtt_auth_zotonic” > > What is your erlang.config configuration for emqtt? > > It should be something like: > > {emqtt, [ > {auth, {zotonic, []}}, > {access_control, {zotonic, []}}, > > > - Marc > > > On 06 Nov 2016,

[Zotonic-Dev] nginx proxy server over ssl wss

2016-11-07 Thread heiheshang
if I use SSL, the z_ws = new WebSocket (protocol + "//" + z_websocket_host + "/ websocket"); It works with an error. How to configure proxy nginx for WBU to zotonic? -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe fr

[Zotonic-Dev] Re: nginx proxy server over ssl wss

2016-11-07 Thread heiheshang
~z.inputoverlay~jquery.loadmask~8…:1198 WebSocket connection to 'wss://123.anriya.ru/websocket' failed: Error during WebSocket handshake: Unexpected response code: 502 the administrator of this error is not only ordinary users понедельник, 7 ноября 2016 г., 22:47:31 UTC+9 пользователь

Re: [Zotonic-Dev] nginx proxy server over ssl wss

2016-11-07 Thread heiheshang
erminate SSL connections with Zotonic/Erlang. > > - Marc > > > On 07 Nov 2016, at 14:47, heiheshang > > wrote: > > if I use SSL, the z_ws = new WebSocket (protocol + "//" + z_websocket_host > + "/ websocket"); It works with an error. How to configure prox

Re: [Zotonic-Dev] nginx proxy server over ssl wss

2016-11-07 Thread heiheshang
when ssl through zotonic problem is the same вторник, 8 ноября 2016 г., 0:33:25 UTC+9 пользователь Marc Worrell написал: > > I am not sure, maybe some others can tune in? > > We normally terminate SSL connections with Zotonic/Erlang. > > - Marc > > > On 07 Nov

Re: [Zotonic-Dev] nginx proxy server over ssl wss

2016-11-07 Thread heiheshang
r.log, console.log) ? > > - M > > > On 07 Nov 2016, at 16:43, heiheshang > > wrote: > > If I login as admin, the wss is created without any problems if the user > is, the ERR_CONNECTION_REFUSED error, what is the problem ? > > вторник, 8 ноября 2016 г., 0:33:2

[Zotonic-Dev] acl

2016-11-08 Thread heiheshang
I'm in the dispath set acl is_auth users to go to the home page, but the login form does not appear. on which modules should be given the right to anonymous users? -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe from

[Zotonic-Dev] acl

2016-11-08 Thread heiheshang
I put in the dispath access to the home only authorizing users, but do not understand why there is no login page? on which modules should be given the right to anonymous users? -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To uns

[Zotonic-Dev] Re: acl

2016-11-08 Thread heiheshang
(page_id, status); }, 1000); } } } I have a permanent redirect on the page, do not understand why? среда, 9 ноября 2016 г., 5:33:31 UTC+9 пользователь heiheshang написал: > > I'm in the dispath set acl is_auth users to go to the home page, but the > login fo

Re: [Zotonic-Dev] how to use mqtt?

2016-11-20 Thread heiheshang
> > On 02 Nov 2016, at 14:57, heiheshang > > wrote: > > I saw the documentation, I can not repeat the work. > > z_mqtt:publish(<<"~pagesession/ticket/t">>,[],Context). > > javascript code > {% javascript %} > pubzub:subscribe(&quo

[Zotonic-Dev] backup does not work

2016-11-22 Thread heiheshang
==> /srv/zotonic/priv/log/error.log <== 2016-11-22 09:27:29.944 [error] emulator Error in process <0.11889.3> on node zotonic001@48e82dfaff03 with exit value: {{badmatch,{error,eacces}},[{mod_backup,pg_dump,2,[{file,"modules/mod_backup/mod_backup.erl"},{line,334}]},{mod_backup,do_backup_process,3,

Re: [Zotonic-Dev] backup does not work

2016-11-22 Thread heiheshang
” inside your site directory. > Please check if that directory is writeable, > > The whole files directory and everything in it should be writeable for > Zotonic. > > Cheers, Marc > > > On 22 Nov 2016, at 10:31, heiheshang > > wrote: > > ==> /srv/zot

Re: [Zotonic-Dev] backup does not work

2016-11-22 Thread heiheshang
under is not zotonic? > > - M > > On 22 Nov 2016, at 12:30, heiheshang > > wrote: > > 755 for user zotonic > > вторник, 22 ноября 2016 г., 19:05:46 UTC+9 пользователь Marc Worrell > написал: >> >> eacces means access denied on some file. >> >> Lo

Re: [Zotonic-Dev] backup does not work

2016-11-23 Thread heiheshang
Yes, outside the dockers среда, 23 ноября 2016 г., 18:21:52 UTC+9 пользователь Marc Worrell написал: > > Ah, and your files were on the filesystem outside Docker? > That would explain it. > > Always tricky. > > - Marc > > > On 23 Nov 2016, at 02:19, heiheshang &g

[Zotonic-Dev] how to set the right user to send messages ?

2016-11-25 Thread heiheshang
how to set the right user to send messages to z_mqtt. I found that the average user of this site can not send messages -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe from this group and stop receiving emails from it,

Re: [Zotonic-Dev] how to set the right user to send messages ?

2016-11-26 Thread heiheshang
mod_mqtt for an > example observer. > > If you just want to publish from Erlang, then you can use z_acl:sudo/1 on > the Context. This switches off ACL checks. > > - Marc > > Sent from my iPhone > > On 26 Nov 2016, at 03:49, heiheshang > > wrote: > > how

[Zotonic-Dev] timezone ?

2016-11-27 Thread heiheshang
I changed the time zone for zotonic but postgresql writes everything in the UTC, how to change the time zone for postgresql -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe from this group and stop receiving emails fro

[Zotonic-Dev] how the filter by date?

2016-11-27 Thread heiheshang
#search_result{result=Items}=z_search:search({query,[{cat,schedule},{date_start_after,{{2016,11,26},{22,0,0}}} },Context) I spent a few days in the experiments with the filter, but I did not manage to get a result. I connect to the console postgresql and I see my rsc, but on the date of the requ

[Zotonic-Dev] allow a user to download files?

2016-11-28 Thread heiheshang
allow a user to download files? I did dispath but get forbiden {my_download, [ "my", '*' ], controller_file, [ {root, [my]}, {content_disposition,attachment}, {ssl,true}, {acl, is_auth} ]} -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers"

Re: [Zotonic-Dev] allow a user to download files?

2016-11-29 Thread heiheshang
folder вторник, 29 ноября 2016 г., 2:05:58 UTC+9 пользователь Marc Worrell написал: > > What is the “my” root? > > - Marc > > On 28 Nov 2016, at 17:18, heiheshang > > wrote: > > allow a user to download files? I did dispath but get forbiden > {my_download, [ &quo

Re: [Zotonic-Dev] how to set the right user to send messages ?

2016-11-30 Thread heiheshang
ot;~site">>, <<"flight">>| _Rest]}}, Context) -> true; as well give right? суббота, 26 ноября 2016 г., 17:08:44 UTC+9 пользователь heiheshang написал: > > Yes I can change the context, but not anyone can get this message, only > now the administrat

Re: [Zotonic-Dev] how to set the right user to send messages ?

2016-11-30 Thread heiheshang
ou can match on: [<<“site”>>, _Site, <<“flight”>> | _] > > But returning true here will indeed allow any user to publish or subscribe > to these topics. > > - Marc > > > > On 30 Nov 2016, at 15:30, heiheshang > > wrote: > > observe_acl_is_allo

Re: [Zotonic-Dev] how to set the right user to send messages ?

2016-11-30 Thread heiheshang
ry user can not send messages only to the administrator. четверг, 1 декабря 2016 г., 0:21:54 UTC+9 пользователь Marc Worrell написал: > > > On 30 Nov 2016, at 16:10, heiheshang > > wrote: > > yet this only works for the administrator, all other users do not receive > messag

Re: [Zotonic-Dev] how to set the right user to send messages ?

2016-11-30 Thread heiheshang
observe_acl_is_allowed(X,Context) -> ?DEBUG(X); He added, but there is no output четверг, 1 декабря 2016 г., 0:59:01 UTC+9 пользователь Marc Worrell написал: > > > On 30 Nov 2016, at 16:52, heiheshang > > wrote: > > observe_acl_is_allowed(#acl_is_allowed{action=p

Re: [Zotonic-Dev] how to set the right user to send messages ?

2016-11-30 Thread heiheshang
написал: > > The function is exported? > > Maybe make the priority of you module a bit higher. > Set it to 10 or so. > > -mod_prio(10). > > - Marc > > On 30 Nov 2016, at 17:14, heiheshang > > wrote: > > observe_acl_is_allowed(X,Context) -> >

Re: [Zotonic-Dev] how to set the right user to send messages ?

2016-11-30 Thread heiheshang
it to 10 or so. > > -mod_prio(10). > > - Marc > > On 30 Nov 2016, at 17:14, heiheshang > > wrote: > > observe_acl_is_allowed(X,Context) -> > ?DEBUG(X); > > > He added, but there is no output > > четверг, 1 декабря 2016 г., 0:59:01 UTC+9 пользователь Marc

Re: [Zotonic-Dev] how to set the right user to send messages ?

2016-11-30 Thread heiheshang
modul called without mod_,does it matter? четверг, 1 декабря 2016 г., 1:36:51 UTC+9 пользователь Marc Worrell написал: > > Just to be sure, it is a module as in “mod_something.erl” ? > And other observers in that module are called? > > - Marc > > > > On 30 Nov

Re: [Zotonic-Dev] how to set the right user to send messages ?

2016-11-30 Thread heiheshang
nsole, what does it mean? четверг, 1 декабря 2016 г., 1:36:51 UTC+9 пользователь Marc Worrell написал: > > Just to be sure, it is a module as in “mod_something.erl” ? > And other observers in that module are called? > > - Marc > > > > On 30 Nov 2016, at 17:30, heiheshang

[Zotonic-Dev] how to quickly update the pivot table?

2016-11-30 Thread heiheshang
I add a record to the table, but do not see any changes in the pivot, time passes and there are updates. as directed to update the pivot table? -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe from this group and stop

[Zotonic-Dev] curl -> zotonic ?

2016-12-01 Thread heiheshang
tell me how you can pass data through zotonic curl? I want to create a post reguest login and send the data to the controller -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe from this group and stop receiving emails f

Re: [Zotonic-Dev] curl -> zotonic ?

2016-12-04 Thread heiheshang
Yes, I want to log in and use the events postback суббота, 3 декабря 2016 г., 1:42:00 UTC+9 пользователь Marc Worrell написал: > > You want to log on using a POST (with curl), and then use the returned > session cookie for other things? > > - Marc > > On 02 Dec 2016,

[Zotonic-Dev] how to set the value of a variable morning field html ?

2016-12-05 Thread heiheshang
{% with m.ticket.morning|date:"Y-m-d H:i:s":"Asia/Yakutsk",now|date:"Y-m-d":"Asia/Yakutsk"++" 23:59:59" as morning,evening %} {% for doc in m.search.paged[{query cat='schedule' publication_after=morning publication_before=evening}] %} how to set the value of a variable 'morning' field htm

Re: [Zotonic-Dev] how to set the value of a variable morning field html ?

2016-12-06 Thread heiheshang
omorrow" > > The documentation is incomplete regarding the possible terms. > You can check z_datetime:to_datetime/2 for more information. > > - Marc > > > On 05 Dec 2016, at 11:38, heiheshang > > wrote: > > {% with m.ticket.morning|date:"Y-m-d > H:i:

[Zotonic-Dev] MQTT ?

2016-12-08 Thread heiheshang
==> /srv/zotonic/priv/log/console.log <== 2016-12-09 09:27:20.553 [info] <0.28411.5>@emqtt_client:handle_call:85 accepting connection (31.129.10.212:50838 -> 172.17.0.3:1883) 2016-12-09 09:27:20.637 [error] <0.28411.5>@emqtt_client:process_received_bytes:217 MQTT detected framing error "31.129.1

[Zotonic-Dev] I turn to branch 1.0 from 0.19. I get this error, what does it mean ?

2017-01-14 Thread heiheshang
depcachememo/5/srv/zotonic/_build/default/lib/depcache/src/depcache.erl: 122template_compiler_runtime_internalforloop/9/srv/zotonic/_build/default/ lib/template_compiler/src/template_compiler_runtime_internal.erl:41tpl _60415d9696ff491a8ffa84bb263a83f0c23bd46e/srv/zotonic/modules/mod_admin/ templat

[Zotonic-Dev] zotonic_dispatch ?

2017-01-15 Thread heiheshang
I move from version 0.19 to 1.0 branch. zotonik_dispach variable is undefined. what did I miss ? -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to zot

Re: [Zotonic-Dev] zotonic_dispatch ?

2017-01-16 Thread heiheshang
> problems (we are using it quite extensively) > > - Marc > > > On 16 Jan 2017, at 03:57, heiheshang > > wrote: > > I move from version 0.19 to 1.0 branch. zotonik_dispach variable is > undefined. what did I miss ? > > -- > > --- > You received this m

Re: [Zotonic-Dev] I turn to branch 1.0 from 0.19. I get this error, what does it mean ?

2017-01-17 Thread heiheshang
crash occurs in depcache. > > - Marc > > > On 14 Jan 2017, at 11:03, heiheshang > > wrote: > > depcachememo/5/srv/zotonic/_build/default/lib/depcache/src/depcache.erl: > 122template_compiler_runtime_internalforloop/9/srv/zotonic/_build/default/ > lib/template_

Re: [Zotonic-Dev] zotonic_dispatch ?

2017-01-17 Thread heiheshang
Marc > > > On 16 Jan 2017, at 03:57, heiheshang > > wrote: > > I move from version 0.19 to 1.0 branch. zotonik_dispach variable is > undefined. what did I miss ? > > -- > > --- > You received this message because you are subscribed to the Google Groups &g

[Zotonic-Dev] Version MQTT ?

2017-02-08 Thread heiheshang
which version of the protocol MQTT uses zotonic? (MQTT or MQIsdp, and 4 3 ?) -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to zotonic-developers+unsu

[Zotonic-Dev] scomp pager ?

2017-02-26 Thread heiheshang
how can you change scomp pager template for the public part, without affecting the admin template? -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to z

Re: [Zotonic-Dev] scomp pager ?

2017-02-28 Thread heiheshang
e should add an optional ‘template’ argument to the pager scomp…. > > - Marc > > > On 26 Feb 2017, at 15:13, heiheshang > > wrote: > > how can you change scomp pager template for the public part, without > affecting the admin template? > > -- > > --- > Y

[Zotonic-Dev] authbind ?

2017-04-24 Thread heiheshang
How to use authbind if i start zotonik in docker container? -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to zotonic-developers+unsubscr...@googlegrou

Re: [Zotonic-Dev] authbind ?

2017-04-26 Thread heiheshang
on a “real” > system? > > - Marc > > > On 24 Apr 2017, at 17:49, heiheshang > > wrote: > > How to use authbind if i start zotonik in docker container? > > -- > > --- > You received this message because you are subscribed to the Google Groups > "

[Zotonic-Dev] I can not make an exit for a normal user, the administrator makes logoff without problems

2017-05-14 Thread heiheshang
I can not make an exit for a normal user, the administrator makes logoff without problems any ideas ? -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe from this group and stop receiving emails from it, send an email t

[Zotonic-Dev] Infinite redirect. I see that the page is constantly reloading, I see such a request

2017-05-14 Thread heiheshang
#{'z_msg_ack',1,24~$ws-lewhum7iXxZo1M6FnBYr~,'page',32~KHjufe8ZxQh7dXSeSUNcEURaT6DQCGDu~,'undefined','pong'}&{'z_msg_v1',0,'false',32~E0MPTmERQkwTc7nwoqiayx9o8osDSEZW~,1494778330579,'ubf','session','undefined','undefined','undefined',12~page_invalid~}&{'z_msg_v1',0,'false',32~jwvGl4F7B0YTSo3UcRdem9

[Zotonic-Dev] What is this error? How to fix it?

2017-05-22 Thread heiheshang
What is this error? How to fix it? zotonic | 2017-05-22 10:58:19.565 [error] <0.32044.6>@cowmachine:request_1:72 stop_request 500 (reason {function_clause,[{controller_file,drop_dotdot_1,[[<<"fonts">>,<<"icons">>,<<"icons.eot') format('embedded-opentype'),url('..">>,<<"fonts">>,<<"icons">>

[Zotonic-Dev] Re: Form mask on submit

2017-06-19 Thread heiheshang
Hi. I have the same problem with the mask. If the field is empty, no message appears, livevalidation incorrectly processes events понедельник, 19 июня 2017 г., 20:26:56 UTC+9 пользователь Kirill Sysoev написал: > > Hi List, > > Moved to master/cowmachine recently and can see that there is no a

Re: [Zotonic-Dev] Re: Form mask on submit

2017-06-20 Thread heiheshang
Yes. вторник, 20 июня 2017 г., 16:46:36 UTC+9 пользователь Marc Worrell написал: > > > > On 20 Jun 2017, at 05:59, heiheshang > wrote: > > > > Hi. > > > > I have the same problem with the mask. > > > > If the field is empty, no messa

[Zotonic-Dev] Re: Form mask on submit

2017-07-02 Thread heiheshang
Who solved the problem? понедельник, 19 июня 2017 г., 20:26:56 UTC+9 пользователь Kirill Sysoev написал: > > Hi List, > > Moved to master/cowmachine recently and can see that there is no automatic > form mask after form submit anymore. > > With 0.x, right after I hit Submit button, form was mas

[Zotonic-Dev] Re: Form mask on submit

2017-07-03 Thread heiheshang
In the file z_livevalidations-1.3.js this.displayMessageWhenEmpty is not initialized, In the function of the insertMessage, the condition does not work because of this. An error message is not generated for the postback event понедельник, 19 июня 2017 г., 20:26:56 UTC+9 пользователь Kirill Syso

[Zotonic-Dev] Re: [Zotonic-Usr] Re: Big changes coming to the 1.0-dev

2017-07-28 Thread heiheshang
Does the new version work exactly? I can not even create a new site понедельник, 10 июля 2017 г., 19:51:41 UTC+9 пользователь Marc Worrell написал: > > Mikael, you are brave! :-) > > > About the _checkouts, I was thinking about using that for installing > user-defined modules/sites with the “umb

Re: [Zotonic-Dev] Re: [Zotonic-Usr] Re: Big changes coming to the 1.0-dev

2017-07-31 Thread heiheshang
On 28 Jul 2017, at 17:43, heiheshang > > wrote: > > Does the new version work exactly? I can not even create a new site > > понедельник, 10 июля 2017 г., 19:51:41 UTC+9 пользователь Marc Worrell > написал: >> >> Mikael, you are brave! :-) >> >> &g

Re: [Zotonic-Dev] Re: [Zotonic-Usr] Re: Big changes coming to the 1.0-dev

2017-08-13 Thread heiheshang
I managed to launch the site, but I still could not launch my modules, where the hell should they be located so that the zotonic could see them? вторник, 1 августа 2017 г., 15:29:20 UTC+9 пользователь heiheshang написал: > > Guys when do you plan to upgrade? The work is worth > >

[Zotonic-Dev] How can I make two indexes in one category?

2017-09-29 Thread heiheshang
now I can create one table for one category. How can I create multiple pivot tables? Is it not always convenient to have one table. observe_custom_pivot returns tuple for one table.Of course I can create indexes for several fields in one table, but this is not always convenient. -- --- You re

[Zotonic-Dev] eqc in zotonic ?

2018-08-20 Thread heiheshang
https://github.com/Quviq/webdrv I'm trying to use this project it requires the installation of QuickCheck how to do it right in the zotonic ? -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe from this group and stop rec

Re: [Zotonic-Dev] eqc in zotonic ?

2018-08-21 Thread heiheshang
key to your > zotonic config file. > > > http://docs.zotonic.com/en/0.x/ref/configuration/zotonic-configuration.html?highlight=deps#deps > > Master is different, there we are using real OTP apps for all modules. > > Cheers, Marc > > On 21 Aug 2018, at 08:09, heiheshan

[Zotonic-Dev] How to correctly set the cookie when the ztonic starts?

2018-08-21 Thread heiheshang
in which file to register the name of the cookie? -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to zotonic-developers+unsubscr...@googlegroups.com. Fo

Re: [Zotonic-Dev] How to correctly set the cookie when the ztonic starts?

2018-08-22 Thread heiheshang
t; It defaults to “z_sid”. > > - Marc > > On 22 Aug 2018, at 04:26, heiheshang > > wrote: > > in which file to register the name of the cookie? > > -- > > --- > You received this message because you are subscribed to the Google Groups > "Zotonic

[Zotonic-Dev] I can not get into the admin area

2018-09-22 Thread heiheshang
Uncaught TypeError: $.widgetManager is not a function at HTMLDocument. (logon?p=%2Fadmin:190) at l (jquery-latest.min~158402615.js:2) at c (jquery-latest.min~158402615.js:2) attempt to go to the admin site of the site shows an error I can not get into the admin area put the latest version of zoto

[Zotonic-Dev] Re: password for zotonic status site []

2019-01-10 Thread heiheshang
check the file zotonic.env среда, 9 января 2019 г., 23:36:25 UTC+9 пользователь laye...@gmail.com написал: > > Hi, > > > I have just installed zotonic using your documentation and I get the > zotonic status site page but when I try to login with a password I get. > > This password is not correct

[Zotonic-Dev] Re: zotonic CI deployment best practice for 2019

2019-01-15 Thread heiheshang
I use docker and hosting for $ 5 and everything works понедельник, 14 января 2019 г., 23:28:01 UTC+9 пользователь laye...@gmail.com написал: > > Hi, > > I have followed zotonic for the last couple of years and am now interested > in setting up a production server for zotonic. > > > I have just s

[Zotonic-Dev] What kind of mistake I do not understand?

2019-01-30 Thread heiheshang
/opt/zotonic $ ./bin/zotonic compile {"init terminating in do_boot",{undef,[{zotonic_launcher_config,load_configs,[],[]},{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,670}]},{erl_eval,exprs,5,[{file,"erl_eval.erl"},{line,122}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}} i

[Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-01-30 Thread heiheshang
_code_purger Spawned as: erts_code_purger:start/0 Spawned by: <0.0.0> среда, 30 января 2019 г., 21:55:44 UTC+9 пользователь heiheshang написал: > > /opt/zotonic $ ./bin/zotonic compile > {"init terminating in > do_boot",{undef,[{zotonic_launcher_config,load_co

[Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-01-30 Thread heiheshang
heiheshang написал: > > /opt/zotonic $ ./bin/zotonic compile > {"init terminating in > do_boot",{undef,[{zotonic_launcher_config,load_configs,[],[]},{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,670}]},{erl_eval,exprs,5,[{file,"erl_eval.erl"},{line,12

[Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-01-30 Thread heiheshang
Status: Downloaded newer image for zotonic/zotonic-dev:latest /opt/zotonic $ ./bin/zotonic debug erl_child_setup closed Crash dump is being written to: erl_crash.dump... среда, 30 января 2019 г., 21:55:44 UTC+9 пользователь heiheshang написал: > > /opt/zotonic $ ./bin/zotonic compile &g

[Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-01-30 Thread heiheshang
quot;1.0.0">>, <<"1C0F76981D8A7B32E4DAA813408BFCA5BA8B1286196EB771F026D02C710F71C5">>} make: *** [GNUmakefile:27: compile] Error 1 среда, 30 января 2019 г., 21:55:44 UTC+9 пользователь heiheshang написал: > > /opt/zotonic $ .

[Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-01-31 Thread heiheshang
record fileindex undefined apps/zotonic_core/src/support/z_module_indexer.erl:425: record fileindex undefined make: *** [GNUmakefile:27: compile] Error 1 среда, 30 января 2019 г., 21:55:44 UTC+9 пользователь heiheshang написал: > > /opt/zotonic $ ./bin/zotonic compile >

[Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-01-31 Thread heiheshang
yes среда, 30 января 2019 г., 21:55:44 UTC+9 пользователь heiheshang написал: > > /opt/zotonic $ ./bin/zotonic compile > {"init terminating in > do_boot",{undef,[{zotonic_launcher_config,load_configs,[],[]},{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line

[Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-01-31 Thread heiheshang
if replace it -include_lib("../zotonic_fileindexer/include/zotonic_fileindexer.hrl"). works without problems среда, 30 января 2019 г., 21:55:44 UTC+9 пользователь heiheshang написал: > > /opt/zotonic $ ./bin/zotonic compile > {"init terminating in > do_boot",

[Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-02-01 Thread heiheshang
System version: Erlang/OTP 20 [erts-9.2.1] [source] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:10] [hipe] [kernel-poll:true] среда, 30 января 2019 г., 21:55:44 UTC+9 пользователь heiheshang написал: > > /opt/zotonic $ ./bin/zotonic compile > {"init terminating in >

  1   2   >