Forwarding this to [email protected] as this is a more appropriate
place to discuss and work this issue than in a comment about Solaris
resource controls ;-)

Original sender ([email protected]) CCd

---------- Forwarded message ----------

Hi Colin :
Sorry to trouble you.
first ,I want to talk about the php syntax checking BUG( maybe it is not a
"real" bug),when I've wrote a plugin and try to activate it ,as
I've not get the php end tag (?>)in my plugin,then habari will report an
error.I think it is the plugin author's freedom to decide have or not have
the PHP end tag in a PHP file.currently I modified the php_check_file_syntax
function in Utils class and solve this problem.

secondly ,I want to talk about a strange Error:
I've installed the lasted version of Habari in my web host.
PHP 5.2.17
mysql - 5.1.56-log
Server Software:LiteSpeed
when I activated the THEME of my own ( the one ported from WordPress),in the
front site, I can access a post once ,when I try to visit the same page a
second time,the LiteSpeed server give me an 503 Error.I check the Logs in
Habari and found two error message:
<pre>
Method HabariDateTime::__toString() must return a string value in
system/classes/rewriterule.php:110

DateTime::format() [<a href="datetime.format">datetime.format</a>]: The
DateTime object has not been correctly initialized by its constructor in
system/classes/habaridatetime.php:221
</pre>
I seems that it's PHP's BUG,but why the error didn't occur when I use the
default theme for Habari ?
I 've test my theme on my localhost (php 5.3 , mysql 5 ,Apache 2.2) and it
works just OK,with out any PHP error or notice.I need your help.
Thank U.
                                          Yours,
                                          荒野无灯


-----


-- 
Colin Seymour
Blog: http://colinseymour.co.uk
Tech Stuff: http://lildude.co.uk
Barefoot Running: http://barefootrunner.co.uk
IRC: lildude #habari

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/habari-dev

Reply via email to