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

ries van Twisk typo3 at rvt.dds.nl
Sat Dec 15 18:45:49 CET 2007


FYI,

the FE also works.

The reason my content elements didn't show up was because PHP's XML  
parser is much less
picky then java's version.

I had to put my typoscript content of my DS in CDATA tags, after that  
it worked well.

Ries


On Dec 14, 2007, at 10:46 PM, ries van Twisk wrote:

> FYI,
>
> the BE works now. Which was basicly a memory limit I had to set.
> But it looks like that content elements within TV are not rendered
> properly.
> This might be an XML issue because I had problems this this before.
>
> Ries
> On Dec 14, 2007, at 10:05 PM, ries van Twisk wrote:
>
>> 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
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
> --
> 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
>
>
>
>
>
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

--
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