eZ Publish


Sometime ago I talked about making eZ publish 3.x happy with fastcgi. The original approach is to patch eZ Publish so that it works with fastcgi correctly. However, Xavier Dutoit pointed out that, given some special treatment in lighttpd config files, no modification is required to eZ publish.

The trick is the following block:

url.rewrite-once = (
"^/.*\.(css|html|htm|pdf|js|png|gif|jpe?g)$" => "$0",
"^/.*?(\?.*)?$" => "/index.php$1"
)

For more about lighttpd and php4/php5 config instructions, please consult this thread.

I have been really busy lately, so I hadn’t noticed that FCKeditor 2.3 finaly was released a week ago until yesterday.

It seems it is now the time for a new release of SJSD which supports the latest FCKeditor: The svn trunk of SJSD supports 2.3 already, but no public release yet. I will try to make a release if I can find some time to sort it out.

In addition, a new patched EditMonkey would be nice as well, but as I haven’t ported the FCKeditor plugin for wordpress to FCKeditor 2.3 yet, it requires much more time, which I probably won’t do until some time later when I am not so occupied.

After update the database in the local testing mirror of SCIM project website, anonymous users can not access any pages, even the frontpage. However, any registered users can access it as usual after login. I encountered the exact behavior when I upgraded the SCIM project website from eZ 3.5 to 3.8 by uploading the local testing files to the server. I fixed it but I can not remember how!?? I am forced to re-investigate and fix it again in my local server. This time I write it down here in case I forget it once more

(more…)

After fixing a SJSD svn trunk regression bug reported in the bug tracking system, I tried to make eZ installed in a subdir work with rewrite rules in apache 1.3 (not virtual host setup), as I already achieved it in lighttpd, it must be feasible in apache as well: the mod_rewrite can achieve almost anything as long as you can come up with. (PHP-CGI is used in the apache)

(more…)

Since setup of lighttpd in my test server, it seems working pretty fine. However, without the index.php specified in the url, it does not work. Lighttpd definitely supports rewrite rules, as I see an module named mod_rewrite in lighttpd config file.

After a bit of searching around and failure and trial, I finally got it working.

(more…)

FCKeditor has released its beta version for upcoming 2.3 one day ago. It introduced several advanced features, most notably Extremely Fast Loading, FitWindow/AutoGrow plugin and improved context menu/toolbar, which seems to me very promising, thus today I tried to port SJSD trunk to it.

As a result, the trunk of SJSD svn now only works with FCKeditor 2.3 beta or its svn, and a branch was created to host the old FCKeditor 2.2 version on which future SJSD 0.3.x releases will be based. SJSD trunk will be released as 0.4.0.

(more…)

Yesterday, I upgraded the eZ publish setup in SCIM project website from 3.5 to latest stable version 3.8. For your references, here I will present the details about how to achieve this.

Before anything else, first make your eZ offline in case users want to access it. You can achieve this easily by just replace the eZ index.php with a file stating that “the site is undergoing an upgrade and will back online soon” or similar.

(more…)

After making a patch for eZ to work with lighttpd/fastcgi, I thought it should be also possible to make eZ publish work with Apache CGI mode (I am still using apache1.3.34).

(more…)

It is well known that eZ publish does not play well with CGI, thus it can not work properly with some minority web servers, such as lighttpd and nignx (and I managed to google out an English blog about how to configure nignx) which only support php in CGI mode. However after reading a thread in eZ forum, I wanted to give it a shoot.

First, I have to decid which of the two minority web server I’d like to try. Although personally I prefer the cool name of nignx (pronounced as engine X), it does not support php directly: instead it depends on lighttpd to handle php request. It is obvious I have to go with lighttpd to run eZ.

After some painful googling about howto make lighttpd work with fastcgi/php etc, I finnally managed to work out a way to get through the mess, and make eZ Publish work with CGI as smoothly as in php apache mod.

(more…)

As the first post in my blog, I am delighted to announce the availability of SJSD 0.3.1.

In case you do not know what SJSD is, here is a short description copied from its website in SF: SJSD provides a fully integrated, feature complete and extensible WYSIWYG open source online editor for eZ publish. It is implemented in the form of a FCKeditor plugin and an eZ publish extension and requires no modification to FCKeditor/eZ publish core.

(more…)