Forgot your password? Forgot your username? Create an account

 
Welcome, Guest
Username: Password: Remember me

TOPIC: "Calendar.setup: Nothing to setup (no fields found). Please"

"Calendar.setup: Nothing to setup (no fields found). Please" 3 years 9 months ago #669

  • Pablo
  • Pablo's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 73
  • Thank you received: 1
  • Karma: 0
Hi Alex

I encountered this error on Internet Explorer (7 and 8), a popup system message with:

"Calendar.setup: Nothing to setup (no fields found). Please check your code."

here--> Contact Form (With IE7, IE8) <-- Edit: not anymore


I googled it, and there are only references to problems with the calendar when editing a file in Joomla or such, but that's not the case with this site, it only happens with the calendar in the contact form section.


Thx in advance
The administrator has disabled public write access.

"Calendar.setup: Nothing to setup (no fields found). Please" 3 years 9 months ago #670

  • dinchu
  • dinchu's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
i had the same problem then i deleted a date field i had and that stopped but now i have another problem
on IE7 the page throws an error and closes
on all the other browsers the form items are not displayed, only the captcha

take a look

<!-- m --><a class="postlink" href="cdpuertorrealena.com/index.php?option=co...ssage&pf=1&Itemid=32">cdpuertorrealena.com/index.php?o ... &Itemid=32</a><!-- m -->
The administrator has disabled public write access.

"Calendar.setup: Nothing to setup (no fields found). Please" 3 years 9 months ago #671

  • Alex
  • Alex's Avatar
  • OFFLINE
  • Administrator
  • Posts: 7808
  • Thank you received: 247
  • Karma: 60
Pablo wrote:
I encountered this error on Internet Explorer (7 and 8), a popup system message with:

"Calendar.setup: Nothing to setup (no fields found). Please check your code."

here--> Contact Form (With IE7, IE8)
Thank you for notifying me about this. The problem came from the fact that you disabled CAPTCHA and that is generating a javascript error so the javascript code that is controlling the calendar is not executed.
I'll fix this problem in the next version. Let me know if you need help with this now. I can give you instructions on what to modify in order for your form to work.
dinchu wrote:
i had the same problem then i deleted a date field i had and that stopped
You right. Disabling the date field will prevent the javascript error. But if you need that field ( without CAPCTHA ) disabling the function that is calling the CAPTCHA will fix the problem. Let me know if you need more help with this.
dinchu wrote:
on IE7 the page throws an error and closes
on all the other browsers the form items are not displayed, only the captcha

take a look

<!-- m --><a class="postlink" href="cdpuertorrealena.com/index.php?option=co...ssage&pf=1&Itemid=32">cdpuertorrealena.com/index.php?o ... &Itemid=32</a><!-- m -->
Did you saw this topic?
<!-- m --><a class="postlink" href="www.algisinfo.net/forum/index.php?f=10&t=91&rb_v=viewtopic">www.algisinfo.net/forum/index.ph ... =viewtopic</a><!-- m -->

I think it will help you. ( the problem was fixed in 2.0.2 ).
Let me know if you need more help with this.
The administrator has disabled public write access.

"Calendar.setup: Nothing to setup (no fields found). Please" 3 years 9 months ago #672

  • Pablo
  • Pablo's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 73
  • Thank you received: 1
  • Karma: 0
Alex wrote:
Let me know if you need help with this now.

Actually, yes. If you can pass me a tip, to disable the calendar feature only, it would be greatly appreciated.
The administrator has disabled public write access.

"Calendar.setup: Nothing to setup (no fields found). Please" 3 years 9 months ago #673

  • Alex
  • Alex's Avatar
  • OFFLINE
  • Administrator
  • Posts: 7808
  • Thank you received: 247
  • Karma: 60
You have to delete or comment line 335 in the file:

componentscom_aicontactsafeviewsmessageview.html.php

This is the line that you should remove:
$field->html_tag .= JHTML&#58;&#58;_('calendar', $postDataValue, $field->name, $field->name, '%Y-%m-%d', array('class'=>'inputbox', 'size'=>'1', 'onChange'=>'setDate(this.value,'' . $field->name . '')', 'style'=>'width&#58;1px;visibility&#58;hidden;'));
The administrator has disabled public write access.

"Calendar.setup: Nothing to setup (no fields found). Please" 3 years 9 months ago #674

  • Pablo
  • Pablo's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 73
  • Thank you received: 1
  • Karma: 0
Thanks mate. :)
The administrator has disabled public write access.