I had similar problems that I managed to sort out and maybe able to help if the issue still persists.
I dont really think the admin password is sent using GET. Rather, it
uses POST to the /postback URL.
How did you come to this conclusion?
OK, lest establish first when do you see the blank page. Is it when you try to open zotonic_status or your site? Above you mentioned that you can't login because you see a blank page. Here you say that you could enter admin password. Can you please write down which pages you visit and where is the problem? BTW my problem was that the logon page to the admin section wasn't being shown because the default base.tpl wasn't in my site. I fixed that and it has been integrated to Zotonic. Have you tried to sync to latest Zotonic sources? What happens when you try to add a new site?
The page doesn't load any css or js files.There are 500 errors from the server.Lamma:~ marc$ curl -I 'http://helentana-dev.ru:8000/lib/js/apps/jquery-1.7.1.min~jquery-ui-1.8.18.min~63515477874.js'HTTP/1.1 500 Internal Server ErrorServer: MochiWeb/1.1 WebZMachine/1.8.1 (compat) Zotonic/0.9-devDate: Tue, 25 Sep 2012 21:23:18 GMTContent-Length: 0Can you check you SASL logs (in zotonic/priv) for the errors?
{error,function_clause,[{filename,do_flatten,[<<"bootstrap/css/bootstrap.min~/css/jquery.loadmask~project~63515477874.css">>,[]]}
Hi MarcThe page doesn't load any css or js files.There are 500 errors from the server.Lamma:~ marc$ curl -I 'http://helentana-dev.ru:8000/lib/js/apps/jquery-1.7.1.min~jquery-ui-1.8.18.min~63515477874.js'HTTP/1.1 500 Internal Server ErrorServer: MochiWeb/1.1 WebZMachine/1.8.1 (compat) Zotonic/0.9-devDate: Tue, 25 Sep 2012 21:23:18 GMTContent-Length: 0Can you check you SASL logs (in zotonic/priv) for the errors?
What version of Erlang are you running?I think filename:extension/1 accepting binaries was added in kernel 2.14.2 (R14B02)We should add a warning that we need R14B03 to run.(stay clear from R14B02m, see https://github.com/zotonic/zotonic/issues/245)Especially as we are moving forward with new NIFs, binary module use and unicode.- Marc
What version of Erlang are you running?I think filename:extension/1 accepting binaries was added in kernel 2.14.2 (R14B02)We should add a warning that we need R14B03 to run.(stay clear from R14B02m, see https://github.com/zotonic/zotonic/issues/245)Especially as we are moving forward with new NIFs, binary module use and unicode.- MarcI updated Erlang to R15B02
Problem still persists :(
By the way, zotonic version 0.8.1 show site normally even with old Erlang version. But no pictures…
The pictures is probably an ImageMagick problem.Make sure that you have a relatively new version (say max 2 years old).Some Linux installs come with ancient versions from around the previous ice age.
Do you see any errors in the sasl log?
The pictures is probably an ImageMagick problem.Make sure that you have a relatively new version (say max 2 years old).Some Linux installs come with ancient versions from around the previous ice age.
Do you see any errors in the sasl log?console.log:zotonic@helentana-dev:~/zotonic/mainline/priv/sasl$ cat console.log2012-09-27 00:06:03.871 [info] <0.6.0> Application lager started on node 'zoton...@helentana-dev.local'2012-09-27 00:06:04.003 [info] <0.6.0> Application mnesia started on node 'zoton...@helentana-dev.local'2012-09-27 00:06:04.017 [info] <0.6.0> Application public_key started on node 'zoton...@helentana-dev.local'2012-09-27 00:06:04.044 [info] <0.6.0> Application ssl started on node 'zoton...@helentana-dev.local'2012-09-27 00:06:04.068 [info] <0.6.0> Application inets started on node 'zoton...@helentana-dev.local'2012-09-27 00:06:04.177 [info] <0.6.0> Application mimetypes started on node 'zoton...@helentana-dev.local'2012-09-27 00:06:04.273 [info] <0.146.0> gen_smtp_server starting at 'zoton...@helentana-dev.local'2012-09-27 00:06:04.273 [info] <0.146.0> listening on {0,0,0,0}:2525 via tcp2012-09-27 00:06:04.392 [info] <0.6.0> Application zotonic started on node 'zoton...@helentana-dev.local'error.log is empty :)
The pictures is probably an ImageMagick problem.Make sure that you have a relatively new version (say max 2 years old).Some Linux installs come with ancient versions from around the previous ice age.zotonic@helentana-dev:~/zotonic/mainline/priv/sasl$ /usr/bin/convert -versionVersion: ImageMagick 6.6.0-4 2012-05-02 Q16 http://www.imagemagick.orgCopyright: Copyright (C) 1999-2010 ImageMagick Studio LLCFeatures: OpenMP
Zotonic seems to start ok now, but there are still problems with the rpc. Good to see that 'zotonic status' also errors, so it's not related to the erl_call command per se
Do you do the addsite command as the same user that zotonic is running as?
Do you see any errors when requesting URLs?Maybe run in debug (with ./start.sh) to get the best reports.
6.6.0-4 is now over 2 years old.They are now at 6.7.9-8Which reminds me that we might need to update our version as well :-)- Marc
Do you do the addsite command as the same user that zotonic is running as?
Alexey, Do you still see the problem with the blank page that you mentioned originally in this thread? What happens when you open the zotonic_status page and logon to it? Or is the rpc call (addsite) problem the only problem that you have with Zotonic at this moment?
The current version of Zotonic is shown in your own site, not in the admin section. But in any case, if you sync from git then it's always 0.9-dev. The version would really need to be the git commit, otherwise it would need to be increased almost every day.