WebsiteBaker Support (2.12.x) > General Help & Support
Booking 2.x error in DB table
rumen:
Does the other lines for "date" have also backslash?
My 42 to 52 lines looks like:
--- Code: ---if ( ! function_exists('date_parse') ) {
$eval_func =
'function date_parse ( $date ) {
$date_array = getdate(strtotime($date));
$date_array['day'] = $date_array['mday'];
$date_array['month'] = $date_array['mon'];
$date_array['hour'] = $date_array['hours'];
$date_array['minute'] = $date_array['minutes'];
$date_array['second'] = $date_array['seconds'];
return $date_array;
--- End code ---
dbs:
This is the reason for your message with T_STRING.
I attache my module.
dbs:
Seems also not work for you, because no answer.
DarkViper:
too much complicated at all... ;)
simply delete the whoole part:
---------
// workaround for PHP4 --- known to work with 4.4.9
if ( ! function_exists('date_parse') ) {
[…]
);
}
---------
This section is definitely not needed anymore since WB no longer works with PHP-4.
rumen:
Lines commented
But got "Invalid parameter" when saving new entry.
I think something can there be a difference between the settings of the server hour:min and the module?
And this one:
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version