facile forms error

Discuss the development and implementation of Joomla! components here.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
User avatar
Ty2u
Joomla! Guru
Joomla! Guru
Posts: 861
Joined: Tue Aug 23, 2005 6:41 am
Contact:

facile forms error

Post by Ty2u » Fri Jan 13, 2006 2:27 am

I am getting a huge error in facile forms. 

The thing is that it works fine when I use Joomlalite on my local machine but not on my clients server.

It is php 4.3.2

Relevant PHP Settings:   
Safe Mode: OFF
Open basedir: /home/httpd/vhosts/thedomainnamewashere.com/httpdocs:/tmp
Display Errors: OFF
Short Open Tags: ON
File Uploads: ON
Magic Quotes: OFF
Register Globals: ON
Output Buffering: ON
Session save path: /tmp
Session auto start: 0
XML enabled: Yes
Zlib enabled: Yes
Disabled Functions: none

Joomla 1.0.4

I couldnt seem to replicate the openbasedir with joomla lite though.  They have 404sef urls on but it seems to still have an error with them off and I dont know if that is it or if it is something in their .htaccess or server settings.  I just dont know.  Its driving my nuts.

Here is the error.

Code: Select all

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Error message   : Wrong parameter count for preg_match()

+Enter Before form piece ff_InitLib at line 1

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_Constants)
  +Enter Piece ff_Constants at line 1
  -Leave Piece ff_Constants at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_expstring)
  +Enter Piece ff_expstring at line 1
  -Leave Piece ff_expstring at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_makePageUrl)
  +Enter Piece ff_makePageUrl at line 1
  -Leave Piece ff_makePageUrl at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_makeFormUrl)
  +Enter Piece ff_makeFormUrl at line 1
  -Leave Piece ff_makeFormUrl at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_makeSelfUrl)
  +Enter Piece ff_makeSelfUrl at line 1
  -Leave Piece ff_makeSelfUrl at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_die)
  +Enter Piece ff_die at line 1
  -Leave Piece ff_die at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_dying)

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_redirect)
  +Enter Piece ff_redirect at line 1
  -Leave Piece ff_redirect at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_redirectParentX)
  +Enter Piece ff_redirectParentX at line 1
  -Leave Piece ff_redirectParentX at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_redirectPage)
  +Enter Piece ff_redirectPage at line 1
  -Leave Piece ff_redirectPage at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_redirectForm)
  +Enter Piece ff_redirectForm at line 1
  -Leave Piece ff_redirectForm at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_redirectSelf)
  +Enter Piece ff_redirectSelf at line 1
  -Leave Piece ff_redirectSelf at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_setCheckedX)
  +Enter Piece ff_setCheckedX at line 1
  -Leave Piece ff_setCheckedX at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_setSelectedX)
  +Enter Piece ff_setSelectedX at line 1
  -Leave Piece ff_setSelectedX at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_setValueX)
  +Enter Piece ff_setValueX at line 1
  -Leave Piece ff_setValueX at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_getPageByNameX)
  +Enter Piece ff_getPageByNameX at line 1
  -Leave Piece ff_getPageByNameX at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_getParam)
  +Enter Piece ff_getParam at line 1
  -Leave Piece ff_getParam at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_getSubmit)
  +Enter Piece ff_getSubmit at line 1
  -Leave Piece ff_getSubmit at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_impString)
  +Enter Piece ff_impString at line 1
  -Leave Piece ff_impString at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_select)
  +Enter Piece ff_select at line 1
  -Leave Piece ff_select at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_selectValue)
  +Enter Piece ff_selectValue at line 1
  -Leave Piece ff_selectValue at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_query)
  +Enter Piece ff_query at line 1
  -Leave Piece ff_query at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : Before form piece ff_InitLib at line 1
Error message   : Wrong parameter count for preg_match()

  eval(Piece ff_markdown)
  +Enter Piece ff_markdown at line 1
  -Leave Piece ff_markdown at line 0
-Leave Before form piece ff_InitLib at line 0

*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Error message   : Wrong parameter count for preg_match()


*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : data1 of display[1] at line 1
Error message   : Wrong parameter count for preg_match()


*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : data1 of display[2] at line 1
Error message   : Wrong parameter count for preg_match()


*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : data1 of display[3] at line 1
Error message   : Wrong parameter count for preg_match()


*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : data1 of display[4] at line 1
Error message   : Wrong parameter count for preg_match()


*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : data1 of display[5] at line 1
Error message   : Wrong parameter count for preg_match()


*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : data1 of display[6] at line 1
Error message   : Wrong parameter count for preg_match()


*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : data1 of display[7] at line 1
Error message   : Wrong parameter count for preg_match()


*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : data1 of display[8] at line 1
Error message   : Wrong parameter count for preg_match()


*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : data1 of display[9] at line 1
Error message   : Wrong parameter count for preg_match()


*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : data1 of display[10] at line 1
Error message   : Wrong parameter count for preg_match()


*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : data1 of display[11] at line 1
Error message   : Wrong parameter count for preg_match()


*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : data1 of display[12] at line 1
Error message   : Wrong parameter count for preg_match()


*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : data1 of display[13] at line 1
Error message   : Wrong parameter count for preg_match()


*** EXCEPTION CAUGHT BY FACILE FORMS ***
PHP error level : E_WARNING
PHP filename    : /home/httpd/vhosts/thedomainnamewashere.com/httpdocs/components/com_facileforms/facileforms.process.php
PHP linenumber  : 677
Last known pos  : data1 of display[14] at line 1
Error message   : Wrong parameter count for preg_match()

My form is attached.

using facile forms 1.4.4

I have tried everything I can think and find and nothing is working. Tried changing php settings to match them as best I can.

Thanks for any help!!!!!!!!  I can even pay someone 20 bucks for their help if they can spare an hour to help me.

Ryan
You do not have the required permissions to view the files attached to this post.
Last edited by Anonymous on Fri Jan 13, 2006 7:38 pm, edited 1 time in total.
TY2U.com Designs http://ty2u.com - Professional Joomla! Extensions

User avatar
Ty2u
Joomla! Guru
Joomla! Guru
Posts: 861
Joined: Tue Aug 23, 2005 6:41 am
Contact:

Re: facile forms error

Post by Ty2u » Fri Jan 13, 2006 4:10 am

i have figured something out.  if i submit the form anyway, or disable facile tracing in the init it goes to the com_contact url which is kind of odd.  But when i replease the com_contact&itemid=95 stuff with com_facileforms it goes to the confirmation/thankyou page of my form but doesnt store anything in the database or send an email.

Maybe this is the openbase dir?  I dont know.  I dont know how to fix this :(
TY2U.com Designs http://ty2u.com - Professional Joomla! Extensions

User avatar
Ty2u
Joomla! Guru
Joomla! Guru
Posts: 861
Joined: Tue Aug 23, 2005 6:41 am
Contact:

Re: facile forms error

Post by Ty2u » Fri Jan 13, 2006 7:09 pm

well it does not help to ff_redirect to that page because it still doesnt send an email or store it in a database and also shows the full template in the frame.  I still get trace errors and have to disable tracing.  ???
TY2U.com Designs http://ty2u.com - Professional Joomla! Extensions

User avatar
Ty2u
Joomla! Guru
Joomla! Guru
Posts: 861
Joined: Tue Aug 23, 2005 6:41 am
Contact:

Re: facile forms error

Post by Ty2u » Fri Jan 13, 2006 7:56 pm

ok, i discovered that it also does it in the rock n roll script after they submit.

and on the forms i then discovered that it is on the form pieces at Before Form i set Library to the FF::ff_InitLib this causes the error.

If i use disable tracing or set it to none there is no error but it doesnt seem to submit or redirect, just get a blank frame after that.  no records or emails.

i tried in the submit pieces under edit form to change the redirect line to this...

Code: Select all

    $url = ff_makeFormUrl(
       'OtherForm', 
       
       '&ff_page=2'.
       '&ff_param_related='.urlencode($value1).
       '&ff_param_txtCompany='.urlencode($value2).
       '&ff_param_txtFirst='.urlencode($value3).
       '&ff_param_txtLast='.urlencode($value4).
       '&ff_param_txtPrimary='.urlencode($value5).
       '&ff_param_txtAlt='.urlencode($value6).
       '&ff_param_selBestTime='.urlencode($value7).
       '&ff_param_txtFax='.urlencode($value8).
       '&ff_param_txtEmail='.urlencode($value9).
       '&ff_param_txtAdd1='.urlencode($value10).
       '&ff_param_txtAdd2='.urlencode($value11).
       '&ff_param_txtCity='.urlencode($value12).
       '&ff_param_selState='.urlencode($value13).
       '&ff_param_txtZIP='.urlencode($value14).
       '&ff_param_txtComments='.urlencode($value15)
    );
    
    ff_redirect($url);
but that still seems to give the same errors and doesnt work.

if i change the form pieces to custom and enter in $this->execPieceByName('ff_InitLib'); it still has a big error pop up.
Last edited by Anonymous on Fri Jan 13, 2006 8:05 pm, edited 1 time in total.
TY2U.com Designs http://ty2u.com - Professional Joomla! Extensions

User avatar
Ty2u
Joomla! Guru
Joomla! Guru
Posts: 861
Joined: Tue Aug 23, 2005 6:41 am
Contact:

Re: facile forms error

Post by Ty2u » Fri Jan 13, 2006 8:12 pm

when i comment out //if (!function_exists('ff_getParam'))      $this->execPieceByName('ff_getParam'); in the ff_InitLib piece it has no errors.

so i dont know if this is somethign to do with the parameters the way i have it but it seems like maybe it is.  i dont know what to do to fix it though yet.
TY2U.com Designs http://ty2u.com - Professional Joomla! Extensions

Peter Koch
Joomla! Explorer
Joomla! Explorer
Posts: 374
Joined: Thu Aug 18, 2005 8:54 pm

Re: facile forms error

Post by Peter Koch » Fri Jan 13, 2006 8:12 pm

Looks like a problem I have seen with old php versions where preg_match does not support all parameters.

No serious issue however, you need only disable tracing and cannot use facile forms tracing facility with that php version.
Last edited by Anonymous on Fri Jan 13, 2006 8:15 pm, edited 1 time in total.

User avatar
Ty2u
Joomla! Guru
Joomla! Guru
Posts: 861
Joined: Tue Aug 23, 2005 6:41 am
Contact:

Re: facile forms error

Post by Ty2u » Fri Jan 13, 2006 8:15 pm



in my page 2 of the form i have a display static text element which shows the submitted results using the above line.

I think this has to be the problem but im just not sure what to change.
TY2U.com Designs http://ty2u.com - Professional Joomla! Extensions

Peter Koch
Joomla! Explorer
Joomla! Explorer
Posts: 374
Joined: Thu Aug 18, 2005 8:54 pm

Re: facile forms error

Post by Peter Koch » Fri Jan 13, 2006 8:19 pm

Enter this line at the very beginning of the before form piece and the begin submit piece:

Code: Select all

//+trace dis
You should disable tracing anyway on productive sites. More details about the trace facility can be found here:

http://www.facileforms.biz/content/view/33/47/
Last edited by Anonymous on Fri Jan 13, 2006 8:28 pm, edited 1 time in total.

User avatar
Ty2u
Joomla! Guru
Joomla! Guru
Posts: 861
Joined: Tue Aug 23, 2005 6:41 am
Contact:

Re: facile forms error

Post by Ty2u » Fri Jan 13, 2006 8:48 pm

heeeey, thanks for noticing me :)

I have disabled tracing before but that doesnt do anything.

Now when I submit the form it seems to go to the wrong url, it doesnt go to the form properly.  I am so lost.

It will go to the wrong component.  it goes to com_content or com_contact or something but not com_facileforms.  and i dont really know what it is going to because i cant see the url as it is showing in an iframe.  but i do have firefox and the webdeveloper thing but i cant seem to figure out how to see the parameters in the iframe and what the exact url is even but it seems to be a com_content one maybe but it appears like it is the same page only it is not showing the form anymore, inside the frame is just the full template and a page of the site that i dont think is even suppposed to be there.

I have definately read that more info about the trace many times over.  I normally find that there isnt anything I cant figure out eventually but this was supposed to be a 20 dollar job and its turned into a several day job and its driving me nuts.  I do notice that the version of php on the clients server is a tiny bit older than the one in joomlalite but i dont know if that is it or what.

i disabled all the sef stuff but that doesnt seem to be the problem.  i dont really know what is.
TY2U.com Designs http://ty2u.com - Professional Joomla! Extensions

Peter Koch
Joomla! Explorer
Joomla! Explorer
Posts: 374
Joined: Thu Aug 18, 2005 8:54 pm

Re: facile forms error

Post by Peter Koch » Fri Jan 13, 2006 8:55 pm

To see the full url, redirection needs to be done with the GET method. In firefox you can then right click in the frame and make the frame be displayed in a separate tab.

User avatar
Ty2u
Joomla! Guru
Joomla! Guru
Posts: 861
Joined: Tue Aug 23, 2005 6:41 am
Contact:

Re: facile forms error

Post by Ty2u » Fri Jan 13, 2006 9:12 pm

heh, as luck would have it 404sef somehow purged the urls of the website.

this is worse than a nightmare.

btw, i notice you do a lot to support facile forms but it seems like since it is a more complex component not many people of the community can help and therefore its really hard to get support for this.

however, i do really appreciate your time.

ok so i changed the line ff_redirect($url); to ff_redirect($url,'GET'); and maybe this will help

but apprently not.  and when i got to open the frame in a new window it just goes to index.php

(it clearly is not the same page you go to when you go to just index.php)
TY2U.com Designs http://ty2u.com - Professional Joomla! Extensions

User avatar
Ty2u
Joomla! Guru
Joomla! Guru
Posts: 861
Joined: Tue Aug 23, 2005 6:41 am
Contact:

Re: facile forms error

Post by Ty2u » Fri Jan 13, 2006 9:30 pm

ok i changed the form piece back to this

ff_redirectForm('CONTACTUS','&ff_page=2&ff_param_related='.$value1.'&ff_param_txtCompany='.$value2.'&ff_param_txtFirst='.$value3.'&ff_param_txtLast='.$value4.'&ff_param_txtPrimary='.$value5.'&ff_param_txtAlt='.$value6.'&ff_param_selBestTime='.$value7.'&ff_param_txtFax='.$value8.'&ff_param_txtEmail='.$value9.'&ff_param_txtAdd1='.$value10.'&ff_param_txtAdd2='.$value11.'&ff_param_txtCity='.$value12.'&ff_param_selState='.$value13.'&ff_param_txtZIP='.$value14.'&ff_param_txtComments='.$value15,'GET');

and it redirects to

index.php?option=com_content&Itemid=95&ff_name=CONTACTUS&ff_frame=1&ff_border=1&ff_page=2&ff_param_related=Personal&ff_param_txtCompany=test&ff_param_txtFirst=test&ff_param_txtLast=test&ff_param_txtPrimary=test&ff_param_txtAlt=&ff_param_selBestTime=none&ff_param_txtFax=&ff_param_txtEmail=test@ty2u.com&ff_param_txtAdd1=test&ff_param_txtAdd2=&ff_param_txtCity=test&ff_param_selState=FL&ff_param_txtZIP=test&ff_param_txtComments=test

and if i change this part com_content&Itemid=95& to com_facileforms it seems to show the data but it is shown outside of where the frame normally is and shows the rest of the sites template and that just isnt right.  it also doesnt appear to save a record or send an email.

This is where I have been before when I disabled tracing.
TY2U.com Designs http://ty2u.com - Professional Joomla! Extensions

Peter Koch
Joomla! Explorer
Joomla! Explorer
Posts: 374
Joined: Thu Aug 18, 2005 8:54 pm

Re: facile forms error

Post by Peter Koch » Sat Jan 14, 2006 8:49 am

Ok, try this patch:

Go to the piece manager, switch to package FF and edit ff_makeFormUrl.

Replace line 17 which is originally:

Code: Select all

$url .= 'index.php?option='.$ff_processor->option;
so it is new:

Code: Select all

$url .= 'index.php?option=com_facileforms';

User avatar
Ty2u
Joomla! Guru
Joomla! Guru
Posts: 861
Joined: Tue Aug 23, 2005 6:41 am
Contact:

Re: facile forms error

Post by Ty2u » Sat Jan 14, 2006 7:49 pm

Hey Peter,

Thanks alot for that patch.  It sort of works so thats pretty sweet :)

What it does now on submit is refresh to a different content page and not just a different iframe page, and so the buttons and whatever else on the page arent there anymore that were part of the content item but perhaps this is ok anyway as its just a confirmation page.

However it still doesnt appear to send an email and store the record in the database like its set to in the form settings so it isnt very useful to the client yet.  I dont see anything now on errors or anything though.  It looks ok but it doesnt work.

Cheers!
TY2U.com Designs http://ty2u.com - Professional Joomla! Extensions

User avatar
Ty2u
Joomla! Guru
Joomla! Guru
Posts: 861
Joined: Tue Aug 23, 2005 6:41 am
Contact:

Re: facile forms error

Post by Ty2u » Mon Jan 16, 2006 8:35 pm

well i have not discovered anything new yet.  unfortunately i guess there is simply nothing i can do and will have to find some other way i think.  :(
TY2U.com Designs http://ty2u.com - Professional Joomla! Extensions

User avatar
Ty2u
Joomla! Guru
Joomla! Guru
Posts: 861
Joined: Tue Aug 23, 2005 6:41 am
Contact:

Re: facile forms error

Post by Ty2u » Tue Jan 17, 2006 10:08 pm

ok, i shut of the paramaters in facileforms by removing all the form script inserts that referred to them.

i successfully got it to switch to a proper page by putting the switchpage call into the forms Submitted Script script tab.

It emails and saves to database now and says a thank you message.

But it does not show the information again so that will have to be looked at in the future.  Thanks for your help Peter.
TY2U.com Designs http://ty2u.com - Professional Joomla! Extensions


Locked

Return to “Components”