Date: 12/20/00
- Next message: sbergmann: "[phplib-dev] cvs commit"
- Previous message: Michael Haertl: "Re: [phplib-dev] BUG: Transparent Session IDs + forms"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi --
I ran into the same error message, and in my case the problem was in the
function date_format($datestamp) subroutine in english.php ... I changed
the sub to be as follows, and the error went away:
function date_format($datestamp){
$tzoffset = 0;
if ($datestamp == "0000-00-00") {
$datestamp = "0000-00-00 00:00:00";
}
list($date,$time) = explode(" ",$datestamp);
list($year,$month,$day) = explode("-",$date);
list($hour,$minute,$second) = explode(":",$time);
$hour = $hour + $tzoffset;
$tstamp = mktime($hour,$minute,$second,$month,$day,$year);
$sDate = date("m-d-y H:i",$tstamp);
return $sDate;
}
Hope this works for you ...
Best --
Bob.
At 04:53 PM 12/20/00 +0400, you wrote:
>Hello!
>
>I want to start horde with phplib.
>I write in apache config:
><Directory /var/local/apache/htdocs/horde>
> Options Indexes FollowSymLinks
> AllowOverride None
> order allow,deny
> allow from all
> <IfModule mod_php3.c>
> php3_include_path '/var/local/apache/htdocs/horde/phplib:.'
> php3_auto_prepend_file /var/local/apache/htdocs/horde/phplib
> php3_magic_quotes_gpc Off
> php3_track_vars On
> </IfModule>
></Directory>
>
>And get in error log:
>
>input in flex scanner failed
>
>
>Where is problem?
>
>I run
>[Wed Dec 20 11:28:42 2000] [notice] Apache/1.3.12 (Unix) tomcat/1.0
>PHP/3.0.16 m
>od_ssl/2.6.4 OpenSSL/0.9.5a rus/PL29.4 configured -- resuming normal
>operations
>
>
>
>Dmitry Melekhov
>http://www.belkam.com/~dm
>2:5050/11.23 <email protected>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: phplib-unsubscribe <email protected>
>For additional commands, e-mail: phplib-help <email protected>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-dev-unsubscribe <email protected>
For additional commands, e-mail: phplib-dev-help <email protected>
- Next message: sbergmann: "[phplib-dev] cvs commit"
- Previous message: Michael Haertl: "Re: [phplib-dev] BUG: Transparent Session IDs + forms"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

