The implementation of user.prefs.flMainResponderHandlesErrors broke quite a bit in Manila. Now that Jake is trying to get that running, we need to address the breakage in such a way that it doesn't introduce more breakage, and gives him an easy way to unbreak Manila.
if user.prefs.flMainResponderHandlesErrors is true, and there is a boolean, pta^.flFakedError that's true, and if the error message begins with a ! -- if all that is true, we re-throw the error.
A page that returns a GIF image through mainResponder.respond. If it works, we've solved the problem.
Once a few more kinks are worked out, I'm happy to post to somewhere more permanent if that's helpful.
Tom (and Dave) - I'll put a copy of my updated Manila.root up a little later today, and write up some instructions.
There are also some changes in OPML.root to make the Admin site work properly. I'll figure out how to package those up to make them easy to install.
Please stay tuned...
Tom: I've got lots of things working here, but have not tested exhaustively (by any stretch).
Perhaps Dave has suggestions for how to approach this. If not, I'm happy to package up changes and get them to you...
Got the update, and tested here, and it works.
Yes Jake, I would be happy to help test.
finally remembered how to insert a time stamp ;^p
Sounds good, I will wait for Jake's changes. It seems like we are really close.
I am pretty sure I'm not on the same page, meaning that I don't understand the the post and what variables should be set to what and where they should be set.
This is what I am seeing. I set flMainResponderHandlesErrors to false and now the images that I have uploaded are appearing on the site (http://antidune.es-designs.com/chapter1) which is a manila site running in opml editor.
So now I can upload images and have them show up on the site. That is a very good thing!!!
500 INTERNAL SERVER ERROR
Can't evaluate the expression because the name "binaryServerFolder" hasn't been defined.
everytime I hit post changes, but the changes are made, and if I back up and reload the page they are there.
Jake & Tom -- I hope you guys do work together.
At first it'll just be the two of you, so Jake, either send Tom full copies of manila.root, or upload them somewhere and send him a URL.
You can iterate over that a bit, and once you feel you have something stable, and can write a simple How To that says how to install it (I would be happy to edit it), you can give me a copy of manila.root and I'll put it in the right place so it replaces the one we have on the Tool Catalog page. I see that happening pretty quickly because the one we have there is the result of me doing a very quick edit to get something running. I'm sure yours is already more functional.
Then we'll have to figure out a way for you to release new parts for it the way I do for all the other roots.
These days updates are done via RSS although that's hidden behind the user interface.
Tom, if you turn user.prefs.flMainResponderHandlesErrors false, then you won't be able to run any of the new stuff in the OPML Editor environment.
I would recommend trying to get into synch with Jake when he releases a new manila.root, but not to make changes for this at this time.
Of course you're free to do whatever you like.
I released the new version.