Filelist content little problem - strftime error

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
vinkamsss
Posts: 4
Joined: Tue 10. Apr 2007, 19:58

Filelist content little problem - strftime error

Post 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
vinkamsss
Posts: 4
Joined: Tue 10. Apr 2007, 19:58

Post 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
User avatar
Oliver Georgi
Site Admin
Posts: 9889
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

I have made smaller patch which should solve filedate in case wrong date is given there.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
vinkamsss
Posts: 4
Joined: Tue 10. Apr 2007, 19:58

Post by vinkamsss »

Ok, thanks.
Post Reply