[TYPO3] Running TYPO3 on Quercus works partly as of now.

ries van Twisk typo3 at rvt.dds.nl
Sat Dec 15 04:05:34 CET 2007


Hey Guys,

today I have been playing around with running TYPO3 on
quercus and I had some success with it, although it doesn't run  
perfectly yet.

Did anybody else try this? If so, what are your successes?

Here is a working example of it : http://www.vantwisk.nl/rvantwisk/

The above site is running Tomcat 6 but I also could get it running  
with JBoss using
a JNDI data source, which is quite nice.

It seems that core TYPO3 works fairly well but there is some odds on  
both quercus
aswell as on the TYPO3 site


----
On quercus I seems to have found this bug


This does not work:
if (....)
	.....
else
	....;

This does work:
if (....) {
	.....
} else
	....;


---
On the typo3 side I noticed that the function xml2array sometimes needs
to parse empty strings, this is invalid for a XML parser ofcourse.
currently I see this coming from templavoila but possible also from  
other areas.
As a quick fix I scan for this condition in the function and return  
false back.
if (!trim($string)) return false;
---
Symlinking to a typo3 installation doesn't work so I am using the zip  
packages.


-----
I had to change this line in class.tslib_content.php
$content = call_user_method($parts[1], $classObj, $content, $conf);
to this line
$content = $classObj -> $parts[1]( $content, $conf);
(call_user_method is depreciated and not supported anymore)

I believe there are two or more places that needs to get changed....


----
I could make the BE work on my dev installation, but unfortunately not  
yet on my production server.
So I couldn't change config.baseUrl yet... sorry about that and I will  
try to solve that soon.


Apart from some speed improvement (currently all caching is disabled  
in my installation)
this can open doors to do a lot of cool things because you can even  
extend java classes
and call POJO directly from php!


so far, I hope I will blog about it tomorrow aswell in more detail.

--
Ries van Twisk
Freelance TYPO3 Developer
email: ries at vantwisk.nl
web:   http://www.rvantwisk.nl/
skype: callto://r.vantwisk
Phone: + 1 810-476-4193









More information about the TYPO3-english mailing list