Forums

Im sure its just simple.. "There is no form with this name"

lukeee 12 Aug, 2009
I have followed the instructions (i think) to post my form on the front page of my site but im getting the error saying that "There is no form with this name" i have checked the spelling and the name is correct my form is working properly and is available at http://teenagedisco.com/site/index.php?option=com_chronocontact&chronoformname=mobileform . The error is occuring on my main page which is http://teenagedisco.com/site/ .

Any help would be greatly appreciated..

Thanks
Luke 😟
GreyHead 13 Aug, 2009
Hi Luke,

I suspect that it may be something to do with your site running in a sub-directory. I don't have any other helpful suggestions I'm afraid.

Bob
nml375 13 Aug, 2009
Hi Luke & Bob,
I take it you are using the mod_chronocontact module to display your form?
Your other SEF-url's seem to work fine, so I doubt the sub-directory installation is a problem. The module helper is also loaded, so your module seems to be properly installed.

From what I can see, your module will only display the (or rather any) form when there is an URL-encoded parameter named "chronoformname" available. The value of this parameter specifies which form is displayed.

This tells me that the module (through the helper) calls the CFChronoForms::getInstance() with an empty module name. Tracing back in the source, that would suggest that the very first actions in the module is not working, or your chronoformname module setting is in fact empty :/
$formname = $params->get( 'chronoformname', '' );

$params should be a JParameter object loaded with the module params as stored in the database, but for some strange reason, the code above apparently returns the empty string.

Just to double-check, could you please post a screenshot of your module configuration?
/Fredrik
lukeee 13 Aug, 2009
Hi Fredrik..

Thanks for your very quick and detailed response.. Iam a little lost on the things you are saying i wouldn't have a great knowledge of joomla modules. I really appreciate your help though. I have included the screen shot you requested.

Thanks for your help 🙂
Luke
lukeee 13 Aug, 2009
I found what the problem was. I didnt have the form name in chronocontact module at the top of that screen shot. SIMPLE as that. thanks for your contributions though..

Luke
lukeee 13 Aug, 2009
Ive one last problem im wondering could someone help me with. I have the form working perfectly and it is appearing just where i want it now. But it is affecting the layout of my template. The strange thing is that once i submit an entry to the form it then sits perfect on the site

this is the orginal domain
http://teenagedisco.com/site/

The layout on the opposite side to the text registration the "main menu" menu is out of sync with the rest of the layout

then once i submit to the form this url appears
http://teenagedisco.com/site/index.php?option=com_chronocontact&task=send&chronoformname=mobileform1&Itemid=71

and the layout of the site is fine. Does anyone have any suggestions for me?

Thanks
Luke
GreyHead 14 Aug, 2009
Hi Luke,

The problem is the image, if you remove the height & width attributes and set it to max-width:450px; then the page goes back into the correct layout.

Bob
lukeee 14 Aug, 2009
Thanks bob..

I was fiddling around with it but couldnt get it right so i just moved it. Im happy now where it is. Thanks for your help

Regards
Luke
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger