Page 1 of 1

Filelist content little problem - strftime error

Posted: Tue 10. Apr 2007, 20:03
by vinkamsss
I just made the update for 1.3 and everything working fine except that i have a warning message when i have a filelist content on a page :

Code: Select all

Warning: strftime() expects parameter 2 to be long, string given in
/www/include/inc_front/content/cnt7.article.inc.php on line 156
I'm not sure what's the problem so could someone help me?

Thanks


Karine

Posted: Wed 11. Apr 2007, 21:37
by vinkamsss
I put in commentary the problematic part

Code: Select all

//$_files_entries[$key]  = str_replace('{FILE_DATE}' ....
I don't need the date anyway for this contentpart, so i just removed it from the template.

I could considere the problem as partialy solved :P

Posted: Thu 12. Apr 2007, 06:42
by Oliver Georgi
I have made smaller patch which should solve filedate in case wrong date is given there.

Oliver

Posted: Thu 12. Apr 2007, 14:46
by vinkamsss
Ok, thanks.