Forums

Internet Explorer 6 will not redirect

jpipitone 18 Jan, 2008
After submitting the form, FireFox redirects just fine.

Internet Explorer tries to go to:

index.php?option=com_chronocontact&task=send&chronoformname=employeeinfo

and fails...........Page could not be displayed.

FireFox tries to go to the same place and ends up here:

index.php?option=com_content&task=view&id=15&Itemid=39

This is what I've placed in the Redirect URL field. This is a content item that is basically a Thank You page.

Why do you think IE fails, but FireFox works?
GreyHead 18 Jan, 2008
Hi jpipitone,

I've got no idea why this might happen. Do you have SEF on? Is the form on-line so I can see it?

If you want a simple Thank You page then see this FAQ, you don't need a redirect but can put code in the 'OnSubmit after email' box (which is pretty much how the DeBug report is shown).

Bob
jpipitone 18 Jan, 2008
Thanks - that worked great, except now I'm seeing this error below the page. Could this be because I created the table data, and then updated the form? Is there a way to update the tables in my database or do I have to delete and re-create the form?

ine 66 PHP Warning: implode() [function.implode]: Bad arguments. in D:\oursite.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 66 PHP Notice: Undefined index: LaptopMac in D:\oursite.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 69 PHP Notice: Undefined index: LaptopPC in D:\oursite.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 69 PHP Notice: Undefined index: LaptopDock in D:\oursite.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 69 PHP Notice: Undefined index: DesktopMac in D:\oursite.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 69 PHP Notice: Undefined index: DesktopPC in D:\oursite.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 69 PHP Notice: Undefined index: Monitor in D:\oursite.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 69 PHP Notice: Undefined index: Keyboard in D:\oursite.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 69 PHP Notice: Undefined index: Mouse in D:\oursite.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 69 PHP Notice: Undefined index: SalesLogix in D:\oursite.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 69 PHP Notice: Undefined index: DataTrax in D:\oursite.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 69 PHP Notice: Undefined index: GreatPlains in D:\oursite.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 69 PHP Notice: Undefined index: FileMaker in D:\oursite.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 69 PHP Notice: Undefined index: Photoshop in D:\oursite.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 69 PHP Notice: Undefined index: Quark in D:\oursite.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 69 PHP Notice: Undefined index: Dreamweaver in D:\oursite.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 69


Post edited by: jpipitone, at: 2008/01/18 00:28<br><br>Post edited by: jpipitone, at: 2008/01/18 00:29
jpipitone 18 Jan, 2008
Another note, that is the error I get in FireFox - IE 6 still tries to go to http://sitename.com/index.php ?option=com_chronocontact &task=send &chronoformname=employeeinfo

And bombs out with a Page could not be displayed.

Edited: spaces added to break up long url (it's not a real one)<br><br>Post edited by: GreyHead, at: 2008/01/18 11:09
GreyHead 18 Jan, 2008
Hi jpipitone,

The eval at line 492 is the AutoGenerated code for the database. It look as though this has got out of sync with your form. Basically the error messages say that the Database is trying to save $_POST['LaptopMac'] etc. but can't find them.

Maybe you've copied the another, or edited the form field names without changing the AutoGenerated code?

Bob
GreyHead 18 Jan, 2008
Hi jpipitone,

That's the submit URL for the form so it may be that IE6 is never getting as far as the redirect.

Bob
jpipitone 23 Jan, 2008
Bob,

I've re-created the form and re-created the tables in the backend. I've tested submitting the form with Safari, Firefox (On Windows and Mac platforms) as well as Internet Explorer 6 and 7.

Internet Explorer 6 still will not redirect to the thank you page, however the form is still submitted.

Internet Explorer 7 DOES redirect to the thank you page, Firefox DOES redirect to the thank you page.

Internet Explorer 6 still displays a "Page could not be displayed" message.

Is this a bug?
jpipitone 23 Jan, 2008
I did an experiment and removed the redirect. Now IE 6 displays the page, but with the following error at the end:

ref='function.implode'>function.implode]: Bad arguments. in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 65 PHP Notice: Undefined index: fawcette in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 66 PHP Warning: implode() [function.implode]: Bad arguments. in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 66 PHP Notice: Undefined index: redevnews in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 67 PHP Warning: implode() [function.implode]: Bad arguments. in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 67 PHP Notice: Undefined index: washingtontechnology in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 68 PHP Warning: implode() [function.implode]: Bad arguments. in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 68 PHP Notice: Undefined index: LaptopMac in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 71 PHP Notice: Undefined index: LaptopPC in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 71 PHP Notice: Undefined index: SalesLogix in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 71 PHP Notice: Undefined index: Reset in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php(492) : eval()'d code on line 71
jpipitone 23 Jan, 2008
Another experiment: I've removed the form completely and re-pasted in the code from scratch. I haven't created the tables yet, but now IE 6 is redirecting.

This is the error:

<!-- 1201048038 -->d index:  rechargermag in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 288

PHP Notice:  Undefined index:  theconferencesonline in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 285

PHP Notice:  Undefined index:  theconferencesonline in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 288

PHP Notice:  Undefined index:  entmag in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 285

PHP Notice:  Undefined index:  entmag in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 288

PHP Notice:  Undefined index:  rechargermagazine in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 285

PHP Notice:  Undefined index:  rechargermagazine in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 288

PHP Notice:  Undefined index:  theedspot in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 285

PHP Notice:  Undefined index:  theedspot in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 288

PHP Notice:  Undefined index:  esj in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 285

PHP Notice:  Undefined index:  esj in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 288

PHP Notice:  Undefined index:  reddevmag in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 285

PHP Notice:  Undefined index:  reddevmag in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 288

PHP Notice:  Undefined index:  theedstore in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 285

PHP Notice:  Undefined index:  theedstore in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 288

PHP Notice:  Undefined index:  etcgroupllc in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 285

PHP Notice:  Undefined index:  etcgroupllc in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 288

PHP Notice:  Undefined index:  reddevnews in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 285

PHP Notice:  Undefined index:  reddevnews in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 288

PHP Notice:  Undefined index:  thejournal in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 285

PHP Notice:  Undefined index:  thejournal in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 288

PHP Notice:  Undefined index:  fawcette in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 285

PHP Notice:  Undefined index:  fawcette in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 288

PHP Notice:  Undefined index:  redevnews in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 285

PHP Notice:  Undefined index:  redevnews in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 288

PHP Notice:  Undefined index:  washingtontechnology in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 285

PHP Notice:  Undefined index:  washingtontechnology in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 288

PHP Notice:  Undefined index:  Reset in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 285

PHP Notice:  Undefined index:  Reset in D:\it.ourdomain.com\components\com_chronocontact\chronocontact.php on line 288
GreyHead 24 Jan, 2008
Hi jpipitone,

See my reply in message #5024 above, looks like your database table is mismatched with the form. Maybe you have Autogenerated code left in from a previous version.

Bob
jpipitone 24 Jan, 2008
I removed the form and then re-added it.

Is it possible that I have to go back into the database manually and remove the table that ChronoForms creates, and then re-add it in the Joomla backend?
GreyHead 24 Jan, 2008
Hi jpipitone,

You should be able to reuse the existing table - provided that the table name #__chronoforms_xx matches up and the the column names match up to the names in your form.

It looks as though you have some major mismatches though so you might be better off dropping the table, deleting the autogenerated code, then making a new copy of the form and recreating a new table.

Bob
mover 19 Feb, 2008
I have the same problem. No one advice above doesn't help.

Notice: Undefined index: photo in /home/kapcent/public_html/components/com_chronocontact/chronocontact.php on line 285

Notice: Undefined index: photo in /home/kapcent/public_html/components/com_chronocontact/chronocontact.php on line 288


I have the form:
<input name="photo" type="file" size="25">


What can it be?<br><br>Post edited by: mover, at: 2008/02/19 01:54
Max_admin 20 Feb, 2008
Hi,

Is this J1.0 or J1.5 ? which ChronoForms version ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
mover 21 Feb, 2008
Hi! Version of Joomla is 1.0. And ChronoForms - 2.3.8
GreyHead 21 Feb, 2008
Hi mover,

There's something odd with your form here. Please take a backup copy from the Forms Manager and post it here or email it to me at the address in my sig and I'll take a closer look.

Bob
mover 22 Feb, 2008
Ok, here

Thank you, Bob [file name=resume.cfbak size=5390]http://www.chronoengine.com/components/com_fireboard/uploaded/files/resume.cfbak[/file]
GreyHead 22 Feb, 2008
Hi mover,

OK. I've found out what's causing it, there's a harmless bugette in the code that sets off a php notice. The easy way to fix it is to go to Global Configuration | Server and set Error reporting to 'System default' (it's probably on 'Maximum' now.

If you want to fix the code then look for this code around line 284 of chronocontact.php
if ( is_array($_POST[$name])) {
  $fields[$name] = implode(", ", $_POST[$name]);
} else {
  $fields[$name] = $_POST[$name];
}
and replace it with this
if ( array_key_exists($name, $_POST) ) {
  if ( is_array($_POST[$name])) {
    $fields[$name] = implode(", ", $_POST[$name]);
  } else {
    $fields[$name] = $_POST[$name];
  }
} elseif ( array_key_exists($name, $_FILES) ) { 
  $fields[$name] = $_FILES[$name]['name'];
}
Bob

Max: To fix for the next release please<br><br>Post edited by: GreyHead, at: 2008/02/22 08:31
mover 22 Feb, 2008
Firstly, I try to fix the code and get this

Parse error: syntax error, unexpected T_STRING in /home/kapcent/public_html/components/com_chronocontact/chronocontact.php on line 1



Then I changed option in the Global Configuration - form works ok!

Thanks a lot!
This topic is locked and no more replies can be posted.