Hmm, that's hard to debug. Are you using Firefox? Do you have Firebug
installed? If the answer to those questions is yes, can you see the
request being made in the console? What's the response?
--
Michael C. Harris, School of CS&IT, RMIT University
http://twofishcreative.com/michael/blog
What you're looking at here is the communication between your browser
and the server. Basically, the Habari JavaScript in the browser is
asking Habari on the server what it should display for the silo.
> The Post tab shows this:
>
> path Local+Files
>
> and the Response tab shows this:
>
> Loading...
The Response tab should change to some JSON that tells Habari's
JavaScript what to display. If it stays at "Loading..." then it isn't
getting an answer back from the server. It's happening for both Flickr
and the Simple File Silo, so it's not your Flickr credentials.
I'm at a bit of a loss without getting my hands on your system. Devs,
any ideas?
Try creating a writable directory called user/files.
Do you mean you don't get any content returned when you click on a
silo? What version of Habari are you using? What silos have you tried?
If you're trying the Simple File Silo, does the /user/files directory
exist?
sorry for the previous bit of laziness, its been a long day at work ..
problem fixed, explanations and related note below.
explanations:
I installed latest stable version, ie 0.4.1, activated silo plugins
youtube (0.1), local files (1.0) and flickr (1.0 + authorized it
without any problem), but then when clicking on each silo the only
thing i got was a useless root link and nothing else. Pretty much
everything described by -sparkx-, including trying to create the
user/files directory, setting a 777 chmod on it and firebug debugging
(Ajax Response : Loading...)
So I looked at my error log :PHP Fatal error: Call to undefined
function json_encode() in
/opt/nginx/html/hwto/system/classes/adminhandler.php on line 1255
I have php 5.2.1 installed but php -i tells me "--enable-json=shared"
and a quick look at php.ini later, yes the extension is missing, so
added "extension=json.so", restarted and now it (kind of, see below)
works.
For the record, I'm on a Joyent Accelerator opensolaris box, so if
you're like me (sparkx?) be sure to check your php.ini
ps. related note, would be nice to warn about the user/files directory
creation requirement, maybe the info is already somewhere but I've yet
to come accross it..
otherwise, works like a charm now, and habari is amazing :P
Good to see you got it working, and thanks for the explanation. We
currently check that several modules are enabled, but json is not one
of them. I've opened a ticket.
> I installed latest stable version, ie 0.4.1, activated silo plugins
> youtube (0.1) ...
This isn't fully functional yet. Feel free to open tickets on trac
(http://trac.habariproject.org/habari-extras) for problems and feature
requests.
> ps. related note, would be nice to warn about the user/files directory
> creation requirement, maybe the info is already somewhere but I've yet
> to come accross it..
You're definitely right. Some fine tuning of the Simple File Silo
is on our radar, and there's a ticket open for this particular issue
too.
> otherwise, works like a charm now, and habari is amazing :P
That's great to hear :)