Fork me on GitHub

Feproc or Fetax will not work  Bottom

  • I had a perfectly running installation of PostNuke. Everything was running fine until my ISP decided to upgrade PHP to version 4.3.7 This instantly broke my site and nothing would display but the main menu. I then set out to repair problem, but since it would not give me a admin screen I had to remove and reinstall site. I actually performed a upgrade to retain settings (saved config.php and copied it back after installing). I then set about to adding my modules one at a time, and when I got to Forms Express, BAM site was broke again. I then deleted module (FTP) and attempted to initializem, and now it would not initialize.

    I finally discovered that the problem is the secon to last line in pntables in the Forms Express module and it began working...problem is I have nothing to handle the forms input....

    Fetax will intialize but I do not get a icon for it in the admin menu....


    FEproc will intialize and seem like it is going to work, but it will not properly import the handlers and it gives me the following error when I try to add sets or view handlers I get
    "Get failed SELECT AS "id", AS "name", AS "description", AS "successid" FROM WHERE nuke_feproc_workflow.fp_type = 'set' ORDER BY nuke_feproc_workflow.fp_name LIMIT 30" and it will not let me created sets properly

    Please help as I have to get this site up and running properly ASAP
  • What exactly did you do to solve the problem with the main module? Once I have that figured out we can try and figure out what's wrong with the others.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • I just had to comment out the second to the last line in the pntables file in the Forms Express module. This is a fix I found on the Postnuke NOC page and it allowed me to install/initialize Forms Express (It would not initialize before commenting out this line. All that is on this line is

    );

    Something in PHP 4.3.7 doesnt like this but commenting it out allows script to work. Unfortunately neither forms processor, Fetax or FEproc , works
  • What line is it though? The second to last line in the file I have is commented out already.. Can you post the code that you removed.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • mhalbrook

    What line is it though? The second to last line in the file I have is commented out already.. Can you post the code that you removed.
    The code is just this...

    ); <-this is all that was on th eline I commented out and it worked. I know that really doesnt help you much, but thats all it is...are you saying that yours is already commented out? And the line I am referring to is in pntables.php for the Forms Express module........

    And thank you in advance for trying to help me out with this
  • Code

    $pntable['FormExpressCache_column'] = array( 'form_id'   => $FormExpressCache . '.fx_form_id'
                                                   , 'form_data'   => $FormExpressCache . '.fx_form_data'
                                                   );


    You mean that one?

    --
    Home Page | Find on Facebook | Follow on Twitter
  • mhalbrook

    Code

    $pntable['FormExpressCache_column'] = array( 'form_id'   => $FormExpressCache . '.fx_form_id'
                                                   , 'form_data'   => $FormExpressCache . '.fx_form_data'
                                                   );


    You mean that one?
    No I think you are looking at the wrong file. The line I had to comment out was in pntables.php, in the Forms Express module. It is the second to last line
  • I've been trying to get FormsExpress to initialize with no luck. It creates the tables, but then fails.

    Fatal error: Call to a member function on a non-object in /home/peacevoi/public_html/tribedev/modules/FormExpress/pninit.php on line 154

    Any ideas or help would be ...uh..helpful.

    Thanks,

    Michael
  • kaseeno

    mhalbrook

    Code

    $pntable['FormExpressCache_column'] = array( 'form_id'   => $FormExpressCache . '.fx_form_id'
                                                   , 'form_data'   => $FormExpressCache . '.fx_form_data'
                                                   );


    You mean that one?
    No I think you are looking at the wrong file. The line I had to comment out was in pntables.php, in the Forms Express module. It is the second to last line


    No, that is the pntables.php file. Can you zip up and e-mail me the file in question?

    --
    Home Page | Find on Facebook | Follow on Twitter
  • his is the end of my pntables.php

    form_item_id form_item_id
    form_id form_id
    sequence sequence
    item_type item_type
    item_name item_name
    required required
    prompt prompt
    prompt_position prompt_position
    item_value item_value
    default_value default_value
    cols cols
    rows rows
    max_length max_length
    item_attributes item_attributes
    multiple multiple
    group_title group_title
    relative_position relative_position
    active active
    */
    ); <-Thi sis the line I removed
    ?>

    Hope this helps, and thanks for helping me with this,
  • That's not in the file normally. I just checked the CVS commit I did to my CVS and it's not there, and I made no changes to the files before I commited them.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • If that is not in your file maybe I have a older version perhaps....where can I download your CVS commit, maybe that will solve my problem
  • You must be using the 0.3.3 version from http://contrib.virkpaanettet.dk. My system is using PHP Version 4.1.2, register_globals=on, safe_mode=off, 0.7.2.6-Phoenix and I could also never initialize the module.

    I finally hacked (commented) out the following lines in pninit.php to make it work. Now it loads and seems to work okay but only time will tell.

    //if (!pnModLoad('FormExpress', 'admin')) {
    // pnSessionSetVar('errormsg', _LOADFAILED);
    // return $output->GetOutput();
    //}

    //Load the sample form
    //$ModName = basename( dirname( __FILE__ ) );
    //FormExpress_loadform(FormExpress_serialize2form("modules/$ModName/example.fxm"));
    //FormExpress_loadform(FormExpress_serialize2form("modules/$ModName/example2.fxm"));
  • This can be fixed by using version 1.2 of queryutil.php in CVS. I commented on this on Klavs' (the current maintainer) site.

    Quote

    FEproc will intialize and seem like it is going to work, but it will not properly import the handlers and it gives me the following error when I try to add sets or view handlers I get
    "Get failed SELECT AS "id", AS "name", AS "description", AS "successid" FROM WHERE nuke_feproc_workflow.fp_type = 'set' ORDER BY nuke_feproc_workflow.fp_name LIMIT 30" and it will not let me created sets properly.
  • Shawn, that problem is related to you having XTE installed. Now you need to get your host to either upgrade PHP or find a new host, that's inexcusably old a version to be using.

    --
    Home Page | Find on Facebook | Follow on Twitter

This list is based on users active over the last 60 minutes.