Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

problem with date

  • Fabio Cornero
  • Fabio Cornero's Avatar Topic Author
  • Offline
  • New Member
More
9 years 3 months ago #140133 by Fabio Cornero
problem with date was created by Fabio Cornero
HI to all,
I have an extra-field element date on category.
inside to the module k2_content, I have put this code for layout my date.

<div class="agenda">
<span class="agendaMonth"><?php echo JHTML::_('date', $item->extrafields->dataagenda->value , JText::_('M')); ?></span>
<span class="agendaDay"><?php echo JHTML::_('date', $item->extrafields->dataagenda->value , JText::_('d')); ?></span>
<span class="agendaYear"><?php echo JHTML::_('date', $item->extrafields->dataagenda->value , JText::_('Y')); ?></span>
</div>

But in front-page it gives me a blank page
the strange is that with joomla 3.27 it works correctly, but it does not work with joomla 3.36 and returns just a blank page.

any idea?

thank's in advance
Fabio

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 3 months ago #140134 by Krikor Boghossian
Replied by Krikor Boghossian on topic problem with date
Hello Fabio,

Could you enable error reporting from your site's Global configuration menu item? Set it development and paste me the error message that is shown in the blank page.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Fabio Cornero
  • Fabio Cornero's Avatar Topic Author
  • Offline
  • New Member
More
9 years 3 months ago #140145 by Fabio Cornero
Replied by Fabio Cornero on topic problem with date
Hi Kirikor,

the error message are :

Strict Standards: Non-static method JApplicationCms::getMenu() should not be called statically, assuming $this from incompatible context in /data/http/libraries/cms/application/site.php on line 279

Notice: Undefined property: stdClass::$value in /data/http/templates/infoaut/html/mod_k2_content/Agenda/default.php on line 41
Gen

NOTICE: UNDEFINED PROPERTY: STDCLASS::$VALUE IN /DATA/HTTP/TEMPLATES/INFOAUT/HTML/MOD_K2_CONTENT/AGENDA/DEFAULT.PHP ON LINE 42
28

Notice: Undefined property: stdClass::$value in /data/http/templates/infoaut/html/mod_k2_content/Agenda/default.php on line 43
2015

Thanks

Fabio

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 3 months ago #140167 by Krikor Boghossian
Replied by Krikor Boghossian on topic problem with date
These are notices, and should not affect your site's functionality in any way.

Are you using the template's latest version? Also have you modified this file in any way?
The lines that indicate issues are plain HTML for the most part in the latest version.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Fabio Cornero
  • Fabio Cornero's Avatar Topic Author
  • Offline
  • New Member
More
9 years 3 months ago #140176 by Fabio Cornero
Replied by Fabio Cornero on topic problem with date
I'm sorry Krikor,
I forget a piece of error

Fatal error: Cannot redeclare nuText() (previously declared in /data/http/templates/infoaut/includes/helper.php:43) in /data/http/templates/infoaut/includes/error.php on line 42

Yes i using the latest version of template.
and yes i have modified the template but i have only add css, html. and jquery code in index.php or in a k2_content module

Fabio

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 3 months ago #140182 by Krikor Boghossian
Replied by Krikor Boghossian on topic problem with date
Yes, that is the error I was looking for.
This error prevents the error template from loading, I do not think this is causing your site to fail since the helper.php file is not loaded in the error page.

Just in case remove lines 42 - 44 in the includes/error.php file to see if the error page does indeed load.

If the issue persist, please open a ticket from your member's dashboard and send a Super User account so I can check it out.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum