I have create a chrono form and i set an email but I don't receive any email
My version is: Joomla 1.5.7 Chrono Form 3.0 Stable
Those are my settings:
Email the results ? Yes
Setup Email:
-- To: [email]myemail@domain.com[/email]
And if I set Debug ON the result is:
_POST: Array ( [text_1] => ff [text_2] => f [text_3] => f [text_8] => [email]fghfghf@tin.it[/email] [in_vendita] => in vendita [radio0] => Rustico [text_7] => ffff [undefined] => Invia [f6b650d1fd3efd5f292a457ebb531aee] => 1 )
Can you help me?
Thank you!
My version is: Joomla 1.5.7 Chrono Form 3.0 Stable
Those are my settings:
Email the results ? Yes
Setup Email:
-- To: [email]myemail@domain.com[/email]
And if I set Debug ON the result is:
_POST: Array ( [text_1] => ff [text_2] => f [text_3] => f [text_8] => [email]fghfghf@tin.it[/email] [in_vendita] => in vendita [radio0] => Rustico [text_7] => ffff [undefined] => Invia [f6b650d1fd3efd5f292a457ebb531aee] => 1 )
Can you help me?
Thank you!
Hi Pippozzo,
Please check the Faq "My e-mails aren't being sent"
Do you get the next lines in the debug display with the 'dummy email'?
Bob
Please check the Faq "My e-mails aren't being sent"
Do you get the next lines in the debug display with the 'dummy email'?
Bob
Hi Pippozzo,
Hmm, please go to Global Configuration for your site and set Error Reporting to Maximum - then submit the form again. Hopefully you'll see some useful message.
Bob
Hmm, please go to Global Configuration for your site and set Error Reporting to Maximum - then submit the form again. Hopefully you'll see some useful message.
Bob
Hi Bob, thanks for your fast reply
On form the error is:
Notice: Undefined property: stdClass::$plugins in /var/www/html/mysite/components/com_chronocontact/chronocontact.html.php on line 302
and after now i've this message:
You are not allowed to access this URL
the Redirect URL is index.php
In chrono administration there is another error:
Notice: Undefined property: stdClass::$tablenames in /var/www/html/mysite/administrator/components/com_chronocontact/admin.chronocontact.html.php on line 123
π
On form the error is:
Notice: Undefined property: stdClass::$plugins in /var/www/html/mysite/components/com_chronocontact/chronocontact.html.php on line 302
and after now i've this message:
You are not allowed to access this URL
the Redirect URL is index.php
In chrono administration there is another error:
Notice: Undefined property: stdClass::$tablenames in /var/www/html/mysite/administrator/components/com_chronocontact/admin.chronocontact.html.php on line 123
π
Hi Pippozzo,
this means that you get this message after submit now :
You are not allowed to access this URL
??
and if you don't have error reporting set to high then you don't get it ?
Max
this means that you get this message after submit now :
You are not allowed to access this URL
??
and if you don't have error reporting set to high then you don't get it ?
Max
Hi Pippozzo,
are you trying this from the component page or an article page with mambot ?
are you trying this from the component page or an article page with mambot ?
Hi Pippozzo,
do you have any <form or </form> tags in your form code ? please check carefully.
Max
do you have any <form or </form> tags in your form code ? please check carefully.
Max
No I haven't!
This is the code on browser:
I have other form for login, search,...
But I have these two errors:
1) Notice: Undefined property: stdClass::$tablenames in /var/www/html/mysite/administrator/components/com_chronocontact/admin.chronocontact.html.php on line 123
2) Notice: Undefined property: stdClass::$plugins in /var/www/html/mysite/components/com_chronocontact/chronocontact.html.php on line 302
π π π
This is the code on browser:
<form name="ChronoContact_SegnalazioneImmobile" id="ChronoContact_SegnalazioneImmobile" method="post" action="http://myserver/mysite/index.php?option=com_chronocontact&task=send&chronoformname=SegnalazioneImmobile" >
<br />
<b>Notice</b>: Undefined property: stdClass::$plugins in <b>/var/www/html/mysite/components/com_chronocontact/chronocontact.html.php</b> on line <b>302</b><br />
<div class="form_item"><div class="form_element cf_text"><span class="cf_text">Informazioni per segnalare il tuo immobile</span></div><div class="clear">Β </div></div><div class="form_item"><div class="form_element cf_textbox"><label class="cf_label">Cognome Nome</label><input class="cf_inputbox required validate-alphanum" maxlength="150" size="30" id="text_1" name="text_1" type="text"></div><div class="clear">Β </div></div><div class="form_item"><div class="form_element cf_textbox"><label class="cf_label">CittΓ </label><input class="cf_inputbox required" maxlength="150" size="30" id="text_2" name="text_2" type="text"></div><div class="clear">Β </div></div><div class="form_item"><div class="form_element cf_textbox"><label class="cf_label">Telefono</label><input class="cf_inputbox required" maxlength="150" size="30" id="text_3" name="text_3" type="text"></div><div class="clear">Β </div></div><div class="form_item"><div class="form_element cf_textbox"><label class="cf_label">eMail</label><input class="cf_inputbox validate-email" maxlength="150" size="30" id="text_8" name="text_8" type="text"></div><div class="clear">Β </div></div><div class="form_item"><div class="form_element cf_checkbox"><label class="cf_label">Immobile</label><div class="float_left"><input value="in vendita" class="radio validate-one-required" id="in_vendita" name="in_vendita" type="checkbox"><label for="in_vendita" class="check_label">In Vendita</label><br><input value="in affitto" class="radio" id="in_affitto" name="in_affitto" type="checkbox"><label for="in_affitto" class="check_label">In Affitto</label><br></div></div><div class="clear">Β </div></div><div class="form_item"><div class="form_element cf_radiobutton"><label class="cf_label">Tipologia</label><div class="float_left"><input value="Appartamento" class="radio validate-one-required" id="Appartamento0" name="radio0" type="radio"><label for="Appartamento0" class="radio_label">Appartamento</label><br><input value="Villetta" class="radio" id="Villetta0" name="radio0" type="radio"><label for="Villetta0" class="radio_label">Villetta</label><br><input value="Rustico" class="radio" id="Rustico0" name="radio0" type="radio"><label for="Rustico0" class="radio_label">Rustico</label><br><input value="ecc..." class="radio" id="ecc...0" name="radio0" type="radio"><label for="ecc...0" class="radio_label">Ecc...</label><br></div></div><div class="clear">Β </div></div><div class="form_item"><div class="form_element cf_textarea"><label class="cf_label">Descrizione</label><textarea class="cf_inputbox" rows="3" id="text_7" cols="30" name="text_7"></textarea></div><div class="form_element cf_button"><input value="Invia" name="undefined" type="submit"></div><div class="clear">Β </div></div> <input type="hidden" name="34035ecfb380fa7fa5b862429a4eb4bc" value="1" />
</form>
I have other form for login, search,...
But I have these two errors:
1) Notice: Undefined property: stdClass::$tablenames in /var/www/html/mysite/administrator/components/com_chronocontact/admin.chronocontact.html.php on line 123
2) Notice: Undefined property: stdClass::$plugins in /var/www/html/mysite/components/com_chronocontact/chronocontact.html.php on line 302
π π π
Hi Pippozzo,
try to create a complete new form with only this code :
and open it and click the button, do you get the same error ? try to make this test after you clean and disable your site cache and also from another browser if you have more than one!
let me know!
Cheers,
Max
try to create a complete new form with only this code :
<input type="submit">and open it and click the button, do you get the same error ? try to make this test after you clean and disable your site cache and also from another browser if you have more than one!
let me know!
Cheers,
Max
With 2 chrono form, in administration, I've two errors:
In the front-end i've this error:
Notice: Undefined property: stdClass::$plugins in /var/www/html/mysite/components/com_chronocontact/chronocontact.html.php on line 302
And if I click on submit button i've this message: "You are not allowed to access this URL ".+
I've used Firefox, Safari and Explorer and I've no cache.
Thanks!
Notice: Undefined property: stdClass::$tablenames in /var/www/html/mysite/administrator/components/com_chronocontact/admin.chronocontact.html.php on line 123
Notice: Undefined property: stdClass::$tablenames in /var/www/html/mysite/administrator/components/com_chronocontact/admin.chronocontact.html.php on line 123In the front-end i've this error:
Notice: Undefined property: stdClass::$plugins in /var/www/html/mysite/components/com_chronocontact/chronocontact.html.php on line 302
And if I click on submit button i've this message: "You are not allowed to access this URL ".+
I've used Firefox, Safari and Explorer and I've no cache.
Thanks!
Hi Pippozzo,
These are PHP warnings that their might possibly be problems - even though there aren't any.
Go to Global Configuration | Server and set Error Reporting to System Default, or Simple, or None and they should disappear.
The second problem seems to happen mostly if you have <form . . .> tags in your form html.
Bob
These are PHP warnings that their might possibly be problems - even though there aren't any.
Go to Global Configuration | Server and set Error Reporting to System Default, or Simple, or None and they should disappear.
The second problem seems to happen mostly if you have <form . . .> tags in your form html.
Bob
Hi, let me know if the "you are not allowed..." error got fixed or not.
Max
Max
Hi Pippozzo,
I fixed the Notice problem for you by setting Error Reporting to Simple.
I fixed your email problem - which you forgot to mention in your email. You have to set all four field in an Email box before you can Enable it - you had no From Email field. Please see the Tutorial from the Downloads section.
There are no <form> tags in your form code - I haven't looked to see if the URL error is still there.
Bob
I fixed the Notice problem for you by setting Error Reporting to Simple.
I fixed your email problem - which you forgot to mention in your email. You have to set all four field in an Email box before you can Enable it - you had no From Email field. Please see the Tutorial from the Downloads section.
There are no <form> tags in your form code - I haven't looked to see if the URL error is still there.
Bob
I'm sorry for the email box configuration, and now I've the email container green so i have added all the required elements. But i've the same problem: "You are not allowed to access this URL" and i haven't received any email.
Have you an idea for this error?
Thanks in advance!
Have you an idea for this error?
Thanks in advance!
Hi Pippozzo,
Assuming you have V3.0 stable and this is the default component page then can you copy and paste here the code in the HTML box in the form ?
also do u have cache enabled at this site ?
Cheers
Max
Assuming you have V3.0 stable and this is the default component page then can you copy and paste here the code in the HTML box in the form ?
also do u have cache enabled at this site ?
Cheers
Max
Yes, the versions are: Joomla 1.5.7, ChronoForms 3 stable and the cache is disabled! But i can't receive any email!
For the Test form i've:
For my real form:
For the Test form i've:
<input type="submit">For my real form:
<div class="form_item"><div class="form_element cf_text"><span class="cf_text">Informazioni per segnalare il tuo immobile</span></div><div class="clear">Β </div></div><div class="form_item"><div class="form_element cf_textbox"><label class="cf_label">Cognome Nome</label><input class="cf_inputbox required validate-alphanum" maxlength="150" size="30" id="text_1" name="text_1" type="text"></div><div class="clear">Β </div></div><div class="form_item"><div class="form_element cf_textbox"><label class="cf_label">CittΓ </label><input class="cf_inputbox required" maxlength="150" size="30" id="text_2" name="text_2" type="text"></div><div class="clear">Β </div></div><div class="form_item"><div class="form_element cf_textbox"><label class="cf_label">Telefono</label><input class="cf_inputbox required" maxlength="150" size="30" id="text_3" name="text_3" type="text"></div><div class="clear">Β </div></div><div class="form_item"><div class="form_element cf_textbox"><label class="cf_label">eMail</label><input class="cf_inputbox validate-email" maxlength="150" size="30" id="text_8" name="text_8" type="text"></div><div class="clear">Β </div></div><div class="form_item"><div class="form_element cf_checkbox"><label class="cf_label">Immobile</label><div class="float_left"><input value="in vendita" class="radio validate-one-required" id="in_vendita" name="in_vendita" type="checkbox"><label for="in_vendita" class="check_label">In Vendita</label><br><input value="in affitto" class="radio" id="in_affitto" name="in_affitto" type="checkbox"><label for="in_affitto" class="check_label">In Affitto</label><br></div></div><div class="clear">Β </div></div><div class="form_item"><div class="form_element cf_radiobutton"><label class="cf_label">Tipologia</label><div class="float_left"><input value="Appartamento" class="radio validate-one-required" id="Appartamento0" name="radio0" type="radio"><label for="Appartamento0" class="radio_label">Appartamento</label><br><input value="Villetta" class="radio" id="Villetta0" name="radio0" type="radio"><label for="Villetta0" class="radio_label">Villetta</label><br><input value="Rustico" class="radio" id="Rustico0" name="radio0" type="radio"><label for="Rustico0" class="radio_label">Rustico</label><br><input value="ecc..." class="radio" id="ecc...0" name="radio0" type="radio"><label for="ecc...0" class="radio_label">Ecc...</label><br></div></div><div class="clear">Β </div></div><div class="form_item"><div class="form_element cf_textarea"><label class="cf_label">Descrizione</label><textarea class="cf_inputbox" rows="3" id="text_7" cols="30" name="text_7"></textarea></div><div class="form_element cf_button"><input value="Invia" name="undefined" type="submit"></div><div class="clear">Β </div></div>
ok, one final question, do you have any other extensions installed ? what are them if yes ? you can send me a temporarily admin login to your website and I can check the problem and try to find whats wrong.
Cheers
Max
Cheers
Max
Hi Max,
I had a look on Pippozzo's site and couldn't see anything amiss. It does send email from the normal email link on content pages - and doesn't seem to send anything from the form. The only odd thing I noticed was that the site url is an ip address on port 89 - like http://112.123.00.255:89/folder/index.php I don't see why that might cause any problem though.
Bob
I had a look on Pippozzo's site and couldn't see anything amiss. It does send email from the normal email link on content pages - and doesn't seem to send anything from the form. The only odd thing I noticed was that the site url is an ip address on port 89 - like http://112.123.00.255:89/folder/index.php I don't see why that might cause any problem though.
Bob
Hi Bob,
Recently the same issue happened to another user using joomfish and after alot of tracking we found it was joomfish causing the issue and when he upgraded his joomfish to pro version all got fixed, so if this is a dev site it worth testing on a fresh install and see if its the same!
Regards,
Max
Recently the same issue happened to another user using joomfish and after alot of tracking we found it was joomfish causing the issue and when he upgraded his joomfish to pro version all got fixed, so if this is a dev site it worth testing on a fresh install and see if its the same!
Regards,
Max
A new installation without Joomfish?
There is no users with Joomfish and ChronoForms?
Thanks for your interest
There is no users with Joomfish and ChronoForms?
Thanks for your interest
Hi Pippozzo,
Which extensions do you have installed on your site at the moment ? is it easy to make a new quick joomla install ?
Which extensions do you have installed on your site at the moment ? is it easy to make a new quick joomla install ?
I've Mosets Hot Property and Joomfish... I can try a new installation but only for test not for final release unfortunately.
... and now i've another big problem...π But on monday i can try if it's necessary
Thanks!
... and now i've another big problem...π But on monday i can try if it's necessary
Thanks!
I think its Joomfish making the problem!
Whoa not so quick! I have also been following this thread. I do not have Joomfish and I am getting the same error message. Actually I do not have any extensions loaded. My error shows each time that a form is submitted and the email will not be sent. It was fine until I started trying to save data into a DB table and now I cannot get rid of the error. I went back to the start and I am not trying to save to the DB anymore but the error remains.
thanks,
Ralph
thanks,
Ralph
Hi ralfeez,
do you have Cache ON ? do you have any <form or /form> tags in your form code ? are you using the plugin to show the form in an article ?
do you have Cache ON ? do you have any <form or /form> tags in your form code ? are you using the plugin to show the form in an article ?
No cache,no plugin used, and no Form tags
Here is where it is bombing out. Line #109 in chronocontact.php. I don't understand the checkToken() code yet, so I am not sure why.
thank you,
Ralph
Here is where it is bombing out. Line #109 in chronocontact.php. I don't understand the checkToken() code yet, so I am not sure why.
function uploadandmail()
{
global $mainframe;
$database =& JFactory::getDBO();
$posted = JRequest::get( 'post' , JREQUEST_ALLOWRAW );
// Block SPAM through the submit URL
if(!JRequest::checkToken()){
echo "You are not allowed to access this URL";
return;
}
if ( empty($posted) ) {
echo "You are not allowed to access this URL directly, POST array is empty";
return;
}
thank you,
Ralph
Hi ralfeez,
Which version of Joomla do you have? The checkToken is a new security check added a couple of releases ago.
Bob
Which version of Joomla do you have? The checkToken is a new security check added a couple of releases ago.
Bob
Having the exact same problem with Joomla 1.5.7. It stopped working after I updated the chronocontact.html with the licensed version I received so reverting back to the old one with the Joomla Link but a fix is needed soonπ
Now it is broke on my Joomla 1.5.0 site also.π
This is what I was able to do, re-installed and it works fine on 1.5.7 as expected but the license file cannot be used here for some reason not sure why...I had the 5 site license and I am only using it on the 3rd site unless it is a 5 form license?
Now it is broke on my Joomla 1.5.0 site also.π
This is what I was able to do, re-installed and it works fine on 1.5.7 as expected but the license file cannot be used here for some reason not sure why...I had the 5 site license and I am only using it on the 3rd site unless it is a 5 form license?
Hi chrono_user,
the issue is not related to the license at all, don't worry, have you read my ideas here:
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=11329&st=0&sk=t&sd=a&start=15#p15943
which extensions do you have on this website ?
do you mean that once the license patch is added the problem appears and once the old file is restored the problem goes away ?
Regards,
Max
the issue is not related to the license at all, don't worry, have you read my ideas here:
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=11329&st=0&sk=t&sd=a&start=15#p15943
which extensions do you have on this website ?
do you mean that once the license patch is added the problem appears and once the old file is restored the problem goes away ?
Regards,
Max
if my ideas didn't work for you then at file components/com_chronocontact/chronocontact.php find this code:
remove those lines:
Cheers,
Max
function uploadandmail()
{
global $mainframe;
$database =& JFactory::getDBO();
$posted = JRequest::get( 'post' , JREQUEST_ALLOWRAW );
// Block SPAM through the submit URL
if(!JRequest::checkToken()){
echo "You are not allowed to access this URL";
return;
}
if ( empty($posted) ) {
echo "You are not allowed to access this URL directly, POST array is empty";
return;
}
remove those lines:
if(!JRequest::checkToken()){
echo "You are not allowed to access this URL";
return;
}Cheers,
Max
Hi Ralph,
if you are able to give me a temp access to your site to be able to work on this issue then this will be great, I can't generate this issue here!
Cheers,
Max
if you are able to give me a temp access to your site to be able to work on this issue then this will be great, I can't generate this issue here!
Cheers,
Max
Max,
I can remove the same lines, but what is causing it? Is it going to bite me later?
Ralph
I can remove the same lines, but what is causing it? Is it going to bite me later?
Ralph
Hi ralfeez,
Here's an article from the Joomal Docs wiki explaining this security feature.
In short to help prevent 'Cross sSite Request Forgery' attacks, Joomla checks that the person posting a form reply is the same as the person who opened the form. It does this using a token that is stored in the user's session data and is checked on form submit.
If the token isn't stored when the for is created, or the session expires, or something else happens . . . then the session will fail and you get this error message.
I think it would be better if we re-showed the form on failure with a new token and an error message. If you want to try this then replace
Bob
Here's an article from the Joomal Docs wiki explaining this security feature.
In short to help prevent 'Cross sSite Request Forgery' attacks, Joomla checks that the person posting a form reply is the same as the person who opened the form. It does this using a token that is stored in the user's session data and is checked on form submit.
If the token isn't stored when the for is created, or the session expires, or something else happens . . . then the session will fail and you get this error message.
I think it would be better if we re-showed the form on failure with a new token and an error message. If you want to try this then replace
if(!JRequest::checkToken()){
echo "You are not allowed to access this URL";
return;
}withif(!JRequest::checkToken()){
global $mainframe;
$mainframe->enqueuemessage('We're sorry, there was a problem with the form submission', 'error');
showform($_POST);
$error_found = true;
return;
}NB: Not tested and probably needs debugging!!Bob
Max,
This is what I am using on two different sites
1) Joomla 1.5.7 with CForms 3.0 Stable
2) Joomla 1.5.0 with CForms 3.0 Stable
I created my forms and emails and everything was working fine on both sites. So then I uploaded the license chronocontact.html and that is when I started getting this error message.
I backed up my forms and re-installed CForms 3.0 Stable again and restored my forms and all is good (when I copied the chronocontact.html from the V3.0 package alone it still did not work so re-installed)
Hope this helps in narrowing it down.
This is what I am using on two different sites
1) Joomla 1.5.7 with CForms 3.0 Stable
2) Joomla 1.5.0 with CForms 3.0 Stable
I created my forms and emails and everything was working fine on both sites. So then I uploaded the license chronocontact.html and that is when I started getting this error message.
I backed up my forms and re-installed CForms 3.0 Stable again and restored my forms and all is good (when I copied the chronocontact.html from the V3.0 package alone it still did not work so re-installed)
Hope this helps in narrowing it down.
Hi chrono_user,
there is no reason for this to happen really, can you install a joomla test site on either server and give this issue a new test on a fresh joomla install and let me know please ?
Let me know, I will test this more here too!
Cheers,
Max
there is no reason for this to happen really, can you install a joomla test site on either server and give this issue a new test on a fresh joomla install and let me know please ?
Let me know, I will test this more here too!
Cheers,
Max
I have the same problem:
I tried to debug and get these results:
* Form SPAM passed first check OK
* Form submissions passed the limit (if enabled) OK
* Form passed the Image verification (if enabled) OK
* Form passed the server side validation (if enabled) OK
* Form passed the plugins step (if enabled) OK
* Emails loaded on OK
* Form passed before all email code evaluation OK
* Debug End
I joomla 1.5.7 and I'm trying on a folder under the main site where I instead chronoform joomla 1.0.15 and 2.3.9 and everything works perfectly.
Another problem is that I load the form inside a cotenuto and just load the page tells me that the antispam code is not correct (because to me this error message?)
How do I ensure that when an email arrives (for now not get anything: () is the form so that the field is from what is Presno inside the email form? (In the earlier version I went in Special Field and rimepivo these fields:
'From email address' field name
'From name' field name
It worked perfectly,
last thing: I had paid the component and not remember how do I remove the link
thank you very much
I tried to debug and get these results:
* Form SPAM passed first check OK
* Form submissions passed the limit (if enabled) OK
* Form passed the Image verification (if enabled) OK
* Form passed the server side validation (if enabled) OK
* Form passed the plugins step (if enabled) OK
* Emails loaded on OK
* Form passed before all email code evaluation OK
* Debug End
I joomla 1.5.7 and I'm trying on a folder under the main site where I instead chronoform joomla 1.0.15 and 2.3.9 and everything works perfectly.
Another problem is that I load the form inside a cotenuto and just load the page tells me that the antispam code is not correct (because to me this error message?)
How do I ensure that when an email arrives (for now not get anything: () is the form so that the field is from what is Presno inside the email form? (In the earlier version I went in Special Field and rimepivo these fields:
'From email address' field name
'From name' field name
It worked perfectly,
last thing: I had paid the component and not remember how do I remove the link
thank you very much
Hi riga,
we got a mix of issues here, which problem do you have exactly ? no email or wrong verification code message or "you are not allowed to access this url" message ?
Cheers
Max
we got a mix of issues here, which problem do you have exactly ? no email or wrong verification code message or "you are not allowed to access this url" message ?
Cheers
Max
Hi Max,
I try to compile the form and at this point but does not get any email
Stefano
I try to compile the form and at this point but does not get any email
Stefano
Ok, turn the Debug ON, what can you see once form is submitted ?
I set that when I send an email must load a page and charging him normally, but in reality not get anything ....
This topic is locked and no more replies can be posted.


