The blog was upgraded
The blog was upgraded.
In fact it was completely rewritten to use all new features of CppCMS 0.99.7. It was not a simple task, as this blog was the first application implemented with CppCMS. It carried lots of legacy code. For example the it hadn't even used sessions or existing form validation tools at all.
So the new version that was rewritten with all new tools and now safe application to use.
It's code can be found in svn at:
https://cppcms.svn.sourceforge.net/svnroot/cppcms/blog/trunk
After running the new version on this web site for a while I'll release it officially with all appropriate build instructions and release notes.
Meanwhile if you want to try it, you need following:
- CppCMS 0.99.7 and higher
- CppDB
- discount markdown library: http://www.pell.portland.or.us/~orc/Code/discount/
- ImageMagick or GraphicsMagick library (for captcha)
Build it with CMake as usual (inside sources)
mkdir build
cd build
cmake ..
make
And then you can create a database using sql/mysql.sql
, sql/postgresql.sql
or sql/sqlite3.sql
scripts, edit config.js according to the DB and run it as usual.
./blog -c ../config.js
On first access you'll be requested to configure the blog.
Currently it supports:
- Two languages: Hebrew and English
- Two skins "OrangeSky" and "Contendend"
- Three databases PostgreSQL, MySQL and Sqlite3
Enjoy
Comments
On my ubuntu 11.04 with my version of graphicmagick++ I had the same issue as here http://code.google.com/p/pdf2djvu/issues/detail?id=47#c0
I fixed it by changing these lines
and now it works perfectly, but when I've tried to run it on my lenny (amd64), with or without this patch, the server is launched (I can netcat on it) but it does not answer to http request (seems the constructor of blog is not called for some reason)
I meant in captcha.cpp (hmm and I should I've clicked on preview for the diff, it's two deletion at first and 3 add)
Actually I had same problems with
GraphicsMagick++
under Ubuntu as well. Currently I useImageMagick++
on Lenny/amd64 and this is what it runs on now in production.I'll check this:
InitializeMagick("");
it seems to be the answer to the problem.Thanks.
When using the fastcgi output instead of the http embeded server it works fine on my lenny (though it showed me an exeception as I had forgotten to create the database), did it work for you when you try to launch it as embeded ?
sorry to use comments as a bug tracker (I'm using my cellhphone and your is in my last visited pages so it's kinda convenient, shame on me)
The copyright notice is not updated when no page (I mean static page we can create outside of posts) is created, it gets updated when you first create a page.
It should work, most of development done using embedded HTTP server because it is very convenient.
Default settings of HTTP server in config.js script in SVN is to have a blog on http://localhost:8080/blog URL. Are you sure you use right URL?
I've noticed this, this is a problem with cache/triggers I'm aware of it and going to fix this.
This blog takes caching to extream - everything cached and it never uses timeouts so all cache invalidation done via set of triggers. So there are may be some bugs till I find them all.
Meanwhile you can always go in administrator interface cache->clear cache.
No problem
when I try to delete a comment I get the following errors
sqlite3:cannot commit transaction - SQL statements in progress
Thanks for the report, fixed.
Take the version from SVN.
BTW in your blog captcha is not displayed check URL rewriting.
Edit: I had also update the captcha so it should be easier now
Hi, I did spend a hardtime trying to figure why the plateform didn't want to save one of my message, it kept putting a * near the post content field, though it was full of text, and I finally discover it was because of a strange character which was in the text, maybe after a weird copy/paste, maybe having a clearer message (if possible of course) about what is wrong (text missing, junk characters etc.) would be helpful
thanks :)
CppCMS checks form's input encoding by default, and if it is not a valid it makes the field invalid.
By the way the header of the rss should be application/xml not html :)
Yep, there is a bug. I set content header after fetching the data from cache. Fixed in trunk, thanks!
By the way... When would you fix the captcha at your blog. It is not visible, I can't put any comments :-)
ok I've updated my version.
for captcha, when i go on /captcha i get the following segfault
http://pastebin.com/9btai70T
seems I haven't set the correct permission to a directory (though i think it shouldn't crash :) )
Yep it shouldn't,
Confirmed: https://sourceforge.net/tracker/?func=detail&aid=3370576&group_id=209965&atid=1011835
Working on it.
Add Comment:
You must enable JavaScript in order to post comments.