Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Question [Gelöst] mktime() expects parameter 1 to be long
16 years 11 months ago #14541
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re:mktime() expects parameter 1 to be long
Hello,
Do you have modified the hack european format ?
In the table jos_fb_users in your database, in the field birthday by example do you the birthday date in this format : 1989-04-12 ?
Same question in the table jos_users for the fields registerDate and lastvisitDate, with the dates in this format : 2009-04-09 19:47:45 ?
Do you have modified the hack european format ?
In the table jos_fb_users in your database, in the field birthday by example do you the birthday date in this format : 1989-04-12 ?
Same question in the table jos_users for the fields registerDate and lastvisitDate, with the dates in this format : 2009-04-09 19:47:45 ?
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
16 years 11 months ago #14565
by kwally
Replied by kwally on topic Re:mktime() expects parameter 1 to be long
Notepad++ ist geil. Bisher hatte ich ja immer ein stumpfes Taschenmesser namens WordPad benutzt und nun gleich eine elektrische Kreissäge-Klasse!
Damit die fragliche Stelle zu finden war einfach.
Der Fehler tritt auf, weil der an changedate() übergebene Parameter "datetochange leer ist.
Der Fehler verschwand nachdem ich in Zeile 1335
if(strlen($datetochange)==0) return $datetochange;
eingefügt habe.
Gruß
Klaus
Damit die fragliche Stelle zu finden war einfach.
Der Fehler tritt auf, weil der an changedate() übergebene Parameter "datetochange leer ist.
Der Fehler verschwand nachdem ich in Zeile 1335
if(strlen($datetochange)==0) return $datetochange;
eingefügt habe.
Gruß
Klaus
Please Log in or Create an account to join the conversation.
16 years 11 months ago #14566
by kwally
Replied by kwally on topic Re:mktime() expects parameter 1 to be long
I have imported only the absolute minimum.
In jos_fb_users:
A birthday was not available, all fields are "0001-01-01" (without quotes)
in jos_users:
registerDate: "0000-00-00 00:00:00"
lastvisitDate: "0000-00-00 00:00:00"
The error disappeared after I inserted in line 1335
if(strlen($datetochange)==0) return $datetochange;
Thanks
Klaus
In jos_fb_users:
A birthday was not available, all fields are "0001-01-01" (without quotes)
in jos_users:
registerDate: "0000-00-00 00:00:00"
lastvisitDate: "0000-00-00 00:00:00"
The error disappeared after I inserted in line 1335
if(strlen($datetochange)==0) return $datetochange;
Thanks
Klaus
Please Log in or Create an account to join the conversation.
16 years 11 months ago #15560
by Lintzy
Replied by Lintzy on topic Re:[Gelöst] mktime() expects parameter 1 to be long
kwally, Danke für das codesnippet. Ich hab xillibit gebeten, sich das mal anzusehen - er ist auch der Meinung, dass man das ohne Weiteres per Standard in die Zeithacks einbauen kann - werde ich bei künftigen Versionen also machen.
Please Log in or Create an account to join the conversation.
16 years 11 months ago #16362
by xdave78
Replied by xdave78 on topic Re:[Gelöst] mktime() expects parameter 1 to be long
hallo,
ich habe den fehler auch. gibts dazu news?
lg dave
ich habe den fehler auch. gibts dazu news?
lg dave
Please Log in or Create an account to join the conversation.
16 years 11 months ago #16363
by kwally
Replied by kwally on topic Re:[Gelöst] mktime() expects parameter 1 to be long
Ich hatte doch eine Lösung gepostet. Ein update ist in der nächsten Sprachversion möglicherweise enthalten. Frag Lintzy.
Wenn Du die Lösung nicht findest sag Bescheid.
Gruß
Klaus
Wenn Du die Lösung nicht findest sag Bescheid.
Gruß
Klaus
Please Log in or Create an account to join the conversation.
Time to create page: 0.275 seconds