Forums

Can't add email to my forms

uttoxeter 08 Jan, 2011
We are working through the Tutorials and have managed to create a simple form but cannot seem to add email attributes to it.
We can follow the Tutorial #3 Adding Emails to a form in ChronoForms until we get to page 6 -"Lastly I need to click 'Apply' to save this email setup"
Clicking on 'Apply' does not appear to have any effect although the button image does 'roll-over' when it is clicked.
Clicking on "Save" at the top right takes us to an error web page ( ourdomain/administrator/index2.php ) and after re-logging in we find that no changes have been made to the form.
Can you help us diagnose the issue ?
We are very keen to get moving with adding forms to our own web site.
GreyHead 09 Jan, 2011
Hi uttoxeter,

The Apply button that you need to click is at the bootom of the Email Setup Properties box - click the yellow surround of the setup to open it then scroll down to see the button. Wne you click it has no visible effect. This changes the Email Setup Properties including the 'Enabled' option.

You then need to use either the Save or Apply icons at the top right to save the whole form including the Email Setup.

If you get an error message when you click the Save icon then something else is wrong. Which version of ChronoForms do you have (check Site Admin | Extensions | Install/Unistall | Components)?

Bob
uttoxeter 09 Jan, 2011
Bob,
Component is listed as : Chrono Contact V3.2 9th November 2010
It is Enabled and has a Compatibility Tick against it
In modules there is : mod_chronocontact 1.3/ V3.1 RC5.2
What I don't understand is why, when it fails to install, it sends us back to the ../administrator/index2.php file ( which doesn't exist on our install - should it ?? )
It 'smells' of a permissions / configuration issue to me - what do you think ?
David
GreyHead 09 Jan, 2011
Hi David,

I think that you should have an administrator/index2.php in your installation. If the file isn't there please try adding one with this content
<?php
/**
* @version		$Id: index2.php 11407 2009-01-09 17:23:42Z willebil $
* @package		Joomla
* @copyright	Copyright (C) 2005 - 2009 Open Source Matters. All rights reserved.
* @license		GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

$_REQUEST['tmpl'] = 'component';
include('index.php');

The use of index2.php is a piece of Joomla! history that I think is now deprecated in favour of &tmpl=component but is still used in ChronoForms in some places. I believe it's still included in the distribution (I just checked 1.5.22 and it is in the copy I have).

We have seen sites where the site security doesn't like index2.php though.

Bob
uttoxeter 09 Jan, 2011
A bit red-faced here - when I checked the ..administrator/index2.php file was in place !
- it is slightly different to the one youe sent me ( more up to date and includes the lines :
$_REQUEST['tmpl'] = 'component';
include('index.php');
at the bottom which is different to yours.
When I used your copy of index2.php I lost many of the top Joomla Menu Items when in ChronoForms ! - so I reverted back to the original.
Now when I attempt to save a form I get the error :

Method Not Implemented

GET to /administrator/index2.php not supported.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.0 (Fedora) Server at http://www.westec-net.com Port 80
GreyHead 09 Jan, 2011
Hi David,

Mine has those two lines too but you have to scroll down to see them. It's just a copy and paste from the latest release.

This is some kind of site configuration/ security set up issue. I think that someone else posted here that they'd fixed something similar by doing a search and replace of index2.php with index.php. By all means try it but backup first.

Bob
nml375 09 Jan, 2011
Hi David & Bob,
The "Method Not Implemented" error is usally a good indication that a mod_security/mod_security2 rule blocked the request. Reviewing the server logs should provide some indications whether this is the case, and which rule caused a false positive in such case.

/Fredrik
Gentlegladur 12 Jan, 2011
Please excuse me, my English is not so good, I’ll be better in German. ;-)

I have a similar problem in the setup mail menu: I go on the envelope with the green arrow down "Click to insert a new eMail-Container", then, unfortunately, a red field "from the toolbox on the right side to build your email, the email box color will turn to green only when all the needed elements are existing !"
I can drag the items in the toolbox where I want. When I clicked on the red field, they properties are shown. But when I clicked on “apply” nothing functions. So I can’t enter a emailadress. I need your help please. And please write as simple as possible, so that I can understand it.
Settings are checked. All extensions from Chronoforms are activated. Nothing more red somewhere. Is installed: ChronoContact V3.2.0, mod_chronocontact 1.3/V3.1 RC5.2, Plugins chronocontact V3.1 RC5.2. And: "Your Chronoforms is Validated"

Hier ist ein Screenshot:
GreyHead 12 Jan, 2011
Hi Gentlegladur ,

You may have the MooTools Upgrade Plugin enabled. This is an optional plug-in that enables the MooTools 1.2 library on your site.

ChronoForms (and many other Joomla! extensions) use the MooTools 1.1.2 library that is installed by default. The ChronoForms Wizard, and other back-end code will not run with the plugin enabled.

If you disable the plug-in then ChronoForms should run correctly.

If you need MooTools 1.2 in the front-end of your site then there is a hack for the plug-in posted in the forums here that will enable the 1.2 library in the front-end only. However the ChronoForms validation code and some other features will not work with this version.

There's a fuller "How-to Document" here that includes fixed files that will let the front-end of ChronoForms work with MooTools 1.2.

Bob

From Google:
Sie können sich die MooTools Upgrade Plugin aktiviert. Dies ist ein optionales Plug-in, mit dem Mootools 1.2 Bibliothek auf Ihrer Website.

ChronoForms (und viele andere Joomla! Erweiterungen) die Mootools 1.1.2 Bibliothek, die standardmäßig installiert ist. Die ChronoForms Assistenten und anderen Back-End-Code wird nicht mit dem Plugin aktiviert laufen.

Wenn Sie deaktivieren das Plug-in dann ChronoForms sollte ordnungsgemäß ausgeführt.

Wenn Sie MooTools 1.2 in der Front-End Ihrer Website benötigen, dann gibt es einen Hack für das Plug-in in den Foren hier, dass die 1,2-Bibliothek in der Front-End nur ermöglichen wird gebucht. Doch die ChronoForms Validierungscode und einige andere Features werden nicht mit dieser Version arbeiten.

Es gibt einen volleren "How-to Document" [url = [url=http://greyhead.net/how-to-docs/chronoforms-and-mootools-12]http://greyhead.net/how-to-docs/chronoforms-and-mootools-12[/url]] hier [/ url], dass feste Dateien, die das Front-End-lassen wird auch von ChronoForms Arbeit mit Mootools 1.2.
Gentlegladur 12 Jan, 2011
Hi Greyhand,

you mean the the MooTools Upgrade Plugin is not activ? I've looked in my Pluginlist. It's activ. And the version is Mootools 1.2.4. You mean that chronoforms and Mootools don't work together?
GreyHead 12 Jan, 2011
Hi Gentlegladur,

ChronoForms and MooTools work fine together. But only with MooTools 1.1 which is standard for Joomla! 1.5.

Please check my last post for more info.

Bob
Gentlegladur 12 Jan, 2011
:mrgreen: I've set it on not active an now Chronoforms went green! A very big kiss from a German women!! Thank you or in German: Danke für deine Hilfe!!
GreyHead 13 Jan, 2011
Hi Gentlegladur,

Bitte schön, gnädige fräulein :-)

Bob
uttoxeter 13 Jan, 2011
Hi, I'm still having no success in adding email to my test form.
I've checked that Mootools Upgrade is disabled - OK
I can get the email form to turn green - see attached image
But there is no Save icon on the ChronoForm Toolbar - only the main Save icon at the top right.
If I click on this I'm immediately redirected to ../administrator/index2.php and nothing is saved to the form.
Getting really frustrated by this - can you please assist.
David 😟
GreyHead 14 Jan, 2011
Hi David,

The ChronoForms toolbar is the one at the top of the page with the Save icon over to the right.

If this is, as it seems to be, a problem with your site configuration then there is very little that we can do except to suggest that you change hosts or use a different Forms extension, sorry.

By all means email or PM me the site URL and a SuperAdmin login and I'll take a quick look but I can make no promises.

Bob
bobby 14 Jan, 2011
Yure the best. It worked for me.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger