normal program block

More
8 years 5 months ago - 8 years 5 months ago #8365 by mario mario
program block was created by mario mario
Hello, I installed the module correctly and it works fine with the default data, but when you change the date to set a new deadline I have an error message, that does not make me correct, I have to uninstall the module and reinstall it.
I am using joomla 3.4.5
error:
DateTime::__construct(): Failed to parse time string (25/12/2015) at position 0 (2): Unexpected character
I also tried to change the date by using the calendar button and saw that date is set in the format Month - day - year, and does not give me the above error, but does not display the counter.
Nice graphics, congratulations.
Last edit: 8 years 5 months ago by mario mario.

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #8369 by mario mario
Replied by mario mario on topic program block
No one to answer to this problem? even the creator of the form?
Thank you

Please Log in or Create an account to join the conversation.

More

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
8 years 5 months ago #8370 by Trung Duong
Replied by Trung Duong on topic program block
Hi,

It's a problem from php datetime , could you please let me know exactly this error( where is the file locate ) ?

Thanks

Support email: services(at)omegatheme(dot)com


Follow Us to keep updated!

[img


[img


[img]...[/img]

[img]...[/img]

[img]...[/img]

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #8372 by mario mario
Replied by mario mario on topic program block
thanks for the reply, I do not know if it's a translation problem, but I seem to have translated that ask where the file is locate? and if so, I looked at the site and there is no gains no file called so. If you ask other please let me understand better.
Thanks again for your answer.

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #8375 by mario mario
Replied by mario mario on topic program block
Hello Trung, I realized the problem and your date format is month / day / year I would like to change in day / month / year and can, as a line of code would I change?
Thank you

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #8376 by Trung Duong
Replied by Trung Duong on topic program block
Hi,

You should find edit this date time format here:
Code:
$ot_end_date=DateTime::createFromFormat('m/d/Y', $ot_end_date); (at mod_eventcountdown\tmpl )


Regards,

Support email: services(at)omegatheme(dot)com


Follow Us to keep updated!

[img


[img


[img]...[/img]

[img]...[/img]

[img]...[/img]

Please Log in or Create an account to join the conversation.

Time to create page: 0.362 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam