Link to home
Start Free TrialLog in
Avatar of CodeOn
CodeOnFlag for United States of America

asked on

User Reg page pops message box "Calendar.setup: Nothing to setup..."

Lately my site has been hit with this problem - when clicking on 'Create an Account' on the login form one is redirected to the account registration page but first this message box pops up saying "Calendar.setup: Nothing to setup (no fields found). Please check your code"
Any help on fixing this would be greatly appreciated. Thanks.
Avatar of Panagiotis S
Panagiotis S
Flag of Greece image

do you use any component, module for this ?
Avatar of CodeOn

ASKER

No. This was the generic reg form that came with Joomla 1.7. Initially,  when I set up the site it was working fine. The problem cropped up later - after I had added several extensions for various other features. Unfortunately I didn't do them one by one after taking a backup so I can't pin-point exactly which one may have caused the problem.
something with a calendar

try to find in the modules folder the one that you dont use and delete it
sometimes when you unistall a module not all the files of it are deleted

take a backup before
Avatar of CodeOn

ASKER

Already done that.
see if you have any plugin anable
Avatar of CodeOn

ASKER

The ones I'm using are enabled.
do u have a link?
Avatar of CodeOn

ASKER

www.am-top.org

Click on 'Create and account'
i dont think that this is the generic form, you are probably using a component for that
see in your components
Avatar of CodeOn

ASKER

The url when going to this page contains '~/component/users/?view=registration'. I looked under the components/com_users folder. Firstly I didn't see anything in any of the .php files that that looked like a ref to a 'calendar' function. Secondly they all show the copyright as being owned by 'Open Source Matters' which I thought was the Joomla organization - that's why I assumed it was the generic component.

BTW, thanks for taking an interest in helping out with this.
Avatar of tyronenoel
tyronenoel

Hi CodeOn

you are definately not using the standard create account page as the standard one looks like the screen shot attached, if you go into the administrator panel and mouse over the components menu, can you list all the components?

Thanks
Screen-Shot-2011-11-07-at-7.59.3.png
Avatar of CodeOn

ASKER

I'm using Joomla 1.7. Does the standard create account page look the same there too? I do have K2 installed so could it be taking over the user reg functionality?
In any case suppose I am able to determine that it's not the standard reg functionality how does this help in solving the problem?
Avatar of CodeOn

ASKER

Here's the list of components.
amtop-components.doc
ASKER CERTIFIED SOLUTION
Avatar of tyronenoel
tyronenoel

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CodeOn

ASKER

Thanks for the lead tyronenoel. Somewhere on the Joomla forums I had seen mention of a resolution to this by switching templates. I tried that and, sure enough, the problem disappeared.
I would, however, like to understand the underlying issue here so I'll follow the leads you provided. Thanks again.
Avatar of CodeOn

ASKER

OK. I believe I've managed to fix this.
I went into [root]/libraries/joomla/html/html.php and commented out the code that actually invokes the Calendar.setup function (lines 757-770). Not sure if this is going to break anything else though...time will tell. So far all seems well.
Thanks to tyronenoel.
Avatar of CodeOn

ASKER

Provided the lead to the correct source files to edit.
perfect thank you, atleast you were able to resolve the issue